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/cnt.js Normal file
View file

@ -0,0 +1,32 @@
var pp;
function t() {
v = new Date();
var btc = document.getElementById('btc');
n = new Date();
ss = pp;
s = ss - Math.round((n.getTime() - v.getTime()) / 1000.);
m = 0;
h = 0;
if ( s < 0 ) {
btc.innerHTML = "Termin&eacute;<br>" + "<a href=?cp=" + pl + ">Continuer</a>"
} 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
}
btc.innerHTML = h + ":" + m + ":" + s + "<br><a href=" + ps + "?cmd=" + pk + "&cp=" + pl + ">Annuler</a>"
}
pp = pp - 1;
window.setTimeout("t();", 999);
}