Initial commit

This commit is contained in:
Gregory PLANCHAT 2011-06-07 09:23:48 +02:00
commit d7619777af
915 changed files with 59386 additions and 0 deletions

32
scripts/cntneu.js Normal file
View file

@ -0,0 +1,32 @@
function t(){
v=new Date();
var bxx=document.getElementById('bxx');
n=new Date();
ss=pp;
s=ss-Math.round((n.getTime()-v.getTime())/1000.);
m=0;h=0;
if(s<0){
bxx.innerHTML="Uko<6B>czono<br>"+"<a href=b_building.php?session="+ps+"&cp="+pl+">Dalej</a>";
document.location.href="b_building.php?session="+ps+"&cp="+pl;
}else{
if(s>59){
m=Math.floor(s/60);
s=s-m*60
}
if(m>59){
h=Math.floor(m/60);
m=m-h*60
}
if(s<10){
s="0"+s
}
if(m<10){
m="0"+m
}
bxx.innerHTML=h+":"+m+":"+s+"<br><a href=b_building.php?session="+ps+"&unbau="+pk+"&cp="+pl+">Przerwij</a>"
}
pp=pp-1;
window.setTimeout("t();",999);
}