$DB_site->query("UPDATE ph_order SET `active`='0' WHERE `active`='1' AND `length` > '0' AND `date`+`length`*86400 < '".$today."'");