// Add description as navigation point
ADD_DESCR("admin", basename(__FILE__));
-OPEN_TABLE("100%", "admin_content admin_content_align", "");
-global $link;
-
if (empty($_GET['do'])) unset($_GET['do']);
if (((empty($_POST['t_wait'])) || (empty($_POST['payment']))) && (!empty($_GET['do'])) && ($_GET['do'] == "add"))
{
$result = SQL_QUERY(trim($s), __FILE__, __LINE__);
if (empty($content))
{
- if (SQL_AFFECTEDROWS($link, __FILE__, __LINE__) == 1)
+ if (SQL_AFFECTEDROWS() == 1)
{
$content = "<SPAN class=\"admin_done\">".SETTINGS_SAVED."</SPAN>";
}
// Form for adding new referral levels
LOAD_TEMPLATE("admin_add_payment");
}
-CLOSE_TABLE();
+
//
?>