function delete_tad_web_action($ActionID = "") { global $xoopsDB, $xoopsUser; $anduid = onlyMine(); $sql = "delete from " . $xoopsDB->prefix("tad_web_action") . " where ActionID='{$ActionID}' {$anduid}"; $xoopsDB->queryF($sql) or redirect_header($_SERVER['PHP_SELF'], 3, mysql_error()); }
function delete_tad_web_files($fsn = "") { global $xoopsDB, $xoopsUser, $TadUpFiles; $anduid = onlyMine(); $sql = "delete from " . $xoopsDB->prefix("tad_web_files") . " where fsn='{$fsn}' {$anduid}"; $xoopsDB->queryF($sql) or redirect_header($_SERVER['PHP_SELF'], 3, mysql_error()); $TadUpFiles->set_col("fsn", $fsn); $TadUpFiles->del_files(); }