/** * Moves the order of a record * @param integer The increment to reorder by */ function orderWeblinks($uid, $inc, $option) { josSpoofCheck(); global $database; $row = new mosWeblink($database); $row->load((int) $uid); $row->updateOrder(); $row->move($inc, "published >= 0"); $row->updateOrder(); mosRedirect("index2.php?option={$option}"); }
/** * Moves the order of a record * @param integer The increment to reorder by */ function orderWeblinks($uid, $inc, $option) { global $database; $row = new mosWeblink($database); $row->load($uid); $row->move($inc, "published >= 0"); mosRedirect("index2.php?option={$option}"); }