Query("DELETE FROM rep_".$ltabel." WHERE (Unix='".user_unix()."' OR Unix<'".(user_unix()-604800)."') AND UserID='".user_id()."'"); } function Report_Header($tlapor="", $tperiod="") { $thasil = '
'.strtoupper($_SESSION['__WEB_APP']['REG_NAME']); $thasil .= (($tlapor=="") ? "" : '
'.$tlapor) . '
'; $thasil .= ($tperiod=="") ? "" : '
'.$tperiod.''; $thasil .= '

'; echo $thasil; } ?>