|
|
1. sor: |
1. sor: |
| [[kép:wikifokep.png|780px|center|link=]] | | [[kép:wikifokep.png|780px|center|link=]] |
| | | |
− | <html><center>
| |
| | | |
− | <!--
| |
− | <script type="text/javascript">
| |
− | // http://www.ricocheting.com/code/javascript/html-generator/countdown-timer
| |
− | dateFuture1 = new Date(2011,9,02,22,00,00);
| |
− | function GetCount(ddate,iid){
| |
− |
| |
− | dateNow = new Date();
| |
− | amount = ddate.getTime() - dateNow.getTime();
| |
− | delete dateNow;
| |
− | amt = Math.floor(amount/1000)
| |
− | if(amount < 0){
| |
− | document.getElementById(iid).innerHTML="Vége a Titokzatos láda eventnek!";
| |
− |
| |
− | }
| |
− | else{
| |
− | days=0;hours=0;mins=0;secs=0;out="";
| |
− | if(amt > 14400){
| |
− | amount = Math.floor(amount/1000)-14400;
| |
− | }
| |
− | else{
| |
− | amount = Math.floor(amount/1000);
| |
− | }
| |
− | days=Math.floor(amount/86400);//days
| |
− | amount=amount%86400;
| |
− |
| |
− | hours=Math.floor(amount/3600);
| |
− | amount=amount%3600;
| |
− |
| |
− | mins=Math.floor(amount/60);
| |
− | amount=amount%60;
| |
− |
| |
− | secs=Math.floor(amount);
| |
− |
| |
− | (days != 0) ? out+=days + " nap ": "";
| |
− | (hours != 0) ? out+=hours + " óra ": "";
| |
− | out+=mins + " perc ";
| |
− | out+=secs + " mp ";
| |
− | out = out.substr(0);
| |
− |
| |
− | out = out.substr(0);
| |
− | if(amt > 14400){
| |
− | document.getElementById(iid).innerHTML="<a href=http://www.nextworld2.hu/ target=_blank>Titokzatos láda</a> a <a href=http://www.nextworld2.hu/ target=_blank>Tárgy boltban </a>" +out+ " múlva!"
| |
− | }
| |
− | else{
| |
− | document.getElementById(iid).innerHTML="<font color=green>Még " +out+ "-ig veheted meg a Tárgy boltból a <a href=http://www.nextworld2.hu/ target=_blank>Titokzatos ládát</a>!</font>";
| |
− | }
| |
− |
| |
− | setTimeout(function(){GetCount(ddate,iid)}, 1000);
| |
− | }
| |
− | }
| |
− |
| |
− | window.onload=function(){
| |
− | GetCount(dateFuture1, 'cb1');
| |
− | };
| |
− | </script>
| |
− | <div id="cb1"></div></font><a href="http://www.nextworld2.hu/" target="_blank">Hivatalos kiírás</a></center>
| |
− | -->
| |
− | </center>
| |
− | </html>
| |
| {| width="100%" border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border-style:solid; border-width:1px; border-color:black; border-collapse:collapse; empty-cells:show;" | | {| width="100%" border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border-style:solid; border-width:1px; border-color:black; border-collapse:collapse; empty-cells:show;" |
| |- align="center" style="border:1px solid; border-color:#000000; background: #17160f; color:#f0d9a2;" | | |- align="center" style="border:1px solid; border-color:#000000; background: #17160f; color:#f0d9a2;" |