Example #1
0
            echo $hf_id_obj->update(array("int_cleanup" => "0"));
        }
    }
}
if (isset($_GET['action'])) {
    if ($_GET['action'] == "delete-job") {
        if (isset($_POST['id'])) {
            $DELETE_JOB = new job_id_user();
            $DELETE_JOB->get_from_hashrange($u->id_user, $_POST['id']);
            if ($DELETE_JOB->id != "undefined") {
                // CLEAR JOB FLAGS
                $DELETE_JOB->delete_job_flags();
                // CLEAR PH_* ENTRIES
                $DELETE_JOB->delete_ph_decendants();
                $DELETE_JOB->delete_job_new();
                $DELETE_JOB->delete_job_status();
                $DELETE_JOB->delete();
            }
        }
        // END IF (ID SET)
    }
    // END IF (ACTION IS DELETE-JOB)
}
if (isset($_GET['action'])) {
    if (strpos($_GET['action'], "update-match-entry") !== false) {
        if (isset($_POST['id_expr']) && isset($_POST['idx_id']) && isset($_POST['id_entry_type']) && isset($_POST['id_entry_subtype'])) {
            // move up or down
            $move_by_pos_or_neg = 0;
            if (isset($_POST['btnUp'])) {
                $move_by_pos_or_neg = -1;
            }