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