X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_doubler.php;h=36d767fde3a374479c9188fee45a8df2b8ecd7cd;hb=ad851a23313d8ac6489a759a0f3d62e3bc6f4682;hp=0d49da200513bdd612f768675816d4edfb6b3b69;hpb=7f104f6fe558bb56b4205241435a2357c2feece1;p=mailer.git diff --git a/inc/modules/admin/what-list_doubler.php b/inc/modules/admin/what-list_doubler.php index 0d49da2005..36d767fde3 100644 --- a/inc/modules/admin/what-list_doubler.php +++ b/inc/modules/admin/what-list_doubler.php @@ -32,13 +32,13 @@ ************************************************************************/ // Some security stuff... -if ((!defined('__SECURITY')) || (!is_admin())) { +if ((!defined('__SECURITY')) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if (empty($_GET['mode'])) { // Chosse the overview page as default @@ -58,7 +58,7 @@ case "already": // Already payed out points case "overview": // General overview page $SUM_ALREADY = 0; $SUM_WAITING = 0; - // Number of direct already payouts and referral + // Number of direct already payouts and referal $result = SQL_QUERY("SELECT COUNT(id) FROM "._MYSQL_PREFIX."_doubler WHERE completed='Y' AND is_ref='N'", __FILE__, __LINE__); list($cnt) = SQL_FETCHROW($result); SQL_FREERESULT($result); @@ -91,7 +91,7 @@ case "overview": // General overview page } define('__DOUBLER_ALREADY_ALL_LINK', "".$SUM_ALREADY.""); - // And the same for waiting pouts (direct and referral) + // And the same for waiting pouts (direct and referal) $result = SQL_QUERY("SELECT COUNT(id) FROM "._MYSQL_PREFIX."_doubler WHERE completed='N' AND is_ref='N'", __FILE__, __LINE__); list($cnt) = SQL_FETCHROW($result); SQL_FREERESULT($result);