function delete_move_next_html_t() { global $PHP_SELF; if (preg_match("/read_body/i", "{$PHP_SELF}")) { //Will only be here if we're in the READ_BODY file. global $delete_id, $move_id; if ($delete_id) { delete_move_next_delete(); } elseif ($move_id) { delete_move_next_move(); } } }
function delete_move_next_action() { if (sqgetGlobalVar('delete_id', $delete_id, SQ_GET)) { delete_move_next_delete(); fix_sort_array(); } elseif (sqgetGlobalVar('move_id', $move_id, SQ_POST)) { delete_move_next_move(); fix_sort_array(); } }