View file update.php
<?php if(date("H:i")=='00:00'){ $time = time()-864000; mysql_query("update `kat_sites` set `in`='0', `out`='0'"); mysql_query("delete from `kat_go` where `time`>'$time'"); echo'<br/>=)'; }else{echo'<br/>=(';} ?>
<?php if(date("H:i")=='00:00'){ $time = time()-864000; mysql_query("update `kat_sites` set `in`='0', `out`='0'"); mysql_query("delete from `kat_go` where `time`>'$time'"); echo'<br/>=)'; }else{echo'<br/>=(';} ?>