![]() |
|
Bug Site - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Off-Topic (The Outer World) (https://lckb.dev/forum/forumdisplay.php?fid=198) +---- Forum: General Discussion (https://lckb.dev/forum/forumdisplay.php?fid=147) +---- Thread: Bug Site (/showthread.php?tid=2018) |
- Tokyo - 06-08-2013 The home page is blank while on my PC it works fine DEMO : 2 The walking : 2 2 ... - ren0d1 - 06-08-2013 Idk but your index-page have only this script <script type="text/javascript"> <!-- function clock() { document.write(<span id="clock"></span> ;// heres the PHP code that spawn out the server local time // now we represent the server time as javascript date var server = new Date(<?=$sy?>, <?=$sm?>, <?=$sd?>, <?=$sh?>, <?=intval($si)?>, <?=intval($ss)?> .getTime();// calculate the client time var client = new Date().getTime(); // run our ticker tick(client-server); } function tick(diff) { var d = new Date(new Date().getTime()-diff); var i = d.getMinutes(); if(i < 10) i=0+i; var s = d.getSeconds(); if(s < 10) s=0+s; var clock = document.getElementById("clock"); if(clock) { clock.innerHTML=Current Server Time: + d.getHours()+:+i+:+s; setTimeout(tick( + diff + );, 1000); } } //--> </script> so normaly you only have to see a clock. |