Visa ett inlägg
Oläst 2011-09-19, 15:42 #2
JeZZifelt JeZZifelt är inte uppkopplad
Flitig postare
 
Reg.datum: Feb 2006
Inlägg: 326
JeZZifelt JeZZifelt är inte uppkopplad
Flitig postare
 
Reg.datum: Feb 2006
Inlägg: 326
Hittade min lösning tillslut:

<script type="text/javascript">
<!--
time = new Date();
hours = time.getHours();
starthour = 22
endhour = 10
if(hours >= starthour && hours < endhour)
{
location.href = "offline.php"
}
else
{

}


//-->
</script>
JeZZifelt är inte uppkopplad   Svara med citatSvara med citat