************************************************************************/
// 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
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);
}
define('__DOUBLER_ALREADY_ALL_LINK', "<A href=\"".URL."/modules.php?module=admin&what=list_doubler&mode=already&select=all\">".$SUM_ALREADY."</A>");
- // 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);