Attachment 'ScriptFlisol2.js'
Download 1 var d = new Date();
2 dom = d.getDate();
3 month = d.getMonth();
4 year = d.getYear();
5 if (year < 2000) year = year - 100;
6 else year = year - 2000;
7
8 if (year == 13 && month == 2)
9 days = 27 + (31 - dom);
10 else if (year == 13 && month == 3 && dom < 27)
11 days = 27 - dom;
12 else
13 days = 0;
14 if (days < 10) days = '0' + days.toString();
15
16 var base = '/ContadorFlisol/Flisol-';
17
18 document.write('<div style="width:217px;font-family:sans-serif" align="center"><a href="http://www.flisol.net/FLISOL2013/RepublicaDominicana"><img id="cuenta_atras" src="http://flisol.net/FLISOL2013/RepublicaDominicana?action=AttachFile&do=get&target=Flisol-'+days+'.png" width="217" height="170" border="0" alt="FLISOL 2013 pronto!!"></a></div>'); //cambiar www.aqui-tu-servidor.com por la URL de tu servidor, también se puede cambiar www.flisol.net para que apunte directamente al wiki de tu país ;)
19
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.