0.2.1/inc/.secret/.deba26cfafe1cb6cc264c05daaee48d821c4c2d5e0d7c6aa8 -text
0.2.1/inc/.secret/.htaccess -text
0.2.1/inc/autopurge.php -text
-0.2.1/inc/birthday_mails.php -text
0.2.1/inc/cache/.htaccess -text
0.2.1/inc/config.php -text
-0.2.1/inc/daily-reset.php -text
0.2.1/inc/databases.php -text
0.2.1/inc/db/.htaccess -text
0.2.1/inc/db/lib-mysql3.php -text
0.2.1/inc/libs/order_functions.php -text
0.2.1/inc/libs/output_functions.php -text
0.2.1/inc/libs/payout_functions.php -text
-0.2.1/inc/libs/pro_functions.php -text
0.2.1/inc/libs/rallye_functions.php -text
0.2.1/inc/libs/register_functions.php -text
0.2.1/inc/libs/rewrite_functions.php -text
0.2.1/inc/sql_error.php -text
0.2.1/inc/stats_bonus.php -text
0.2.1/inc/stylesheet.php -text
-0.2.1/inc/template.php -text
0.2.1/inc/theme-manager.php -text
0.2.1/index.php -text
0.2.1/install.php -text
0.2.1/templates/de/html/member/member_welcome_header.tpl -text
0.2.1/templates/de/html/member/member_wernis.tpl -text
0.2.1/templates/de/html/member/member_wernis_form.tpl -text
+0.2.1/templates/de/html/member/member_wernis_mode_choose.tpl -text
0.2.1/templates/de/html/member/member_wernis_row.tpl -text
0.2.1/templates/de/html/message.tpl -text
0.2.1/templates/de/html/metadata.tpl -text
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "admin"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "agb"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "beg";\r
\r
// Set mode depending on how many mails the member has to confirm\r
$locked = false;\r
- if (($ref_payout > 0) && ($CONFIG['direct_pay'] == "N")) $locked = true;\r
+ if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;\r
\r
// Is begging rallye active?\r
if ($CONFIG['beg_rallye'] == "Y")\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "birthday_confirm"; $CSS = -1;\r
{\r
// Set mode depending on how many mails the member has to confirm\r
$locked = false;\r
- if (($ref_payout > 0) && ($CONFIG['direct_pay'] == "N")) $locked = true;\r
+ if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;\r
\r
// Add points to account\r
ADD_POINTS_REFSYSTEM($uid, $GIFT, false, "0", $locked, strtolower($CONFIG['birthday_mode']));\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "click"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module to confirm\r
$GLOBALS['module'] = "confirm"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// This is a CSS file loader!\r
$CSS = "1"; $GLOBALS['module'] = "css";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "doubler";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set�module\r
$GLOBALS['module'] = "img"; $CSS = -1;\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
-if (($CONFIG['ap_active'] == "Y") && ($CONFIG['auto_purge'] > 0))\r
+if (($CONFIG['auto_purge_active'] == "Y") && ($CONFIG['auto_purge'] > 0))\r
{\r
// First calculate the timestamp\r
if (function_exists('CREATE_TIME_SELECTIONS'))\r
+++ /dev/null
-<?php\r
-// DEPRECATED!\r
-?>\r
// Some security stuff...\r
if (!defined('__SECURITY'))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
+++ /dev/null
-<?php\r
-// OBSOLETE!!!\r
-?>
\ No newline at end of file
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
$fp = @fopen(PATH.$sql.".sql", 'a');\r
return @fclose($fp);\r
}\r
+
// Open a table (you may want to add some header stuff here)\r
function OPEN_TABLE($PERCENT = "", $CLASS = "", $ALIGN="left", $VALIGN="", $td_only=false)\r
{\r
if (!empty($ADD)) OUTPUT_HTML ($ADD);\r
OUTPUT_HTML ("</TABLE>");\r
}\r
+
// Output HTML code directly or "render" it. You addionally switch the new-line character off\r
function OUTPUT_HTML ($HTML, $NEW_LINE = true) {\r
// Some global variables\r
flush();\r
}\r
}\r
+
// Add a fatal error message to the queue array\r
function ADD_FATAL ($message, $extra="")\r
{\r
$FATAL[] = sprintf($message, $extra);\r
}\r
}\r
+
// Load a template file and return it's content (only it's name; do not use ' or ")\r
function LOAD_TEMPLATE($template, $return=false, $content="")\r
{\r
return "E:".$template."<BR>\n";\r
}\r
}\r
-//\r
+
+// Send mail out to an email address\r
function SEND_EMAIL($TO, $SUBJECT, $MSG, $HTML="N", $FROM="")\r
{\r
// Compile subject line (for POINTS constant etc.)\r
function CHECK_PHPMAILER_USAGE() {\r
return (((defined('SMTP_HOSTNAME')) && (defined('SMTP_USER')) && (defined('SMTP_PASSWORD'))) || ((SMTP_HOSTNAME != "") && (SMTP_USER != "")));\r
}\r
-\r
-// Send a raw email\r
-// @private\r
+
+/*
+ * Send out a raw email with PHPMailer class or legacy mail() command
+ */\r
function SEND_RAW_EMAIL ($to, $subject, $msg, $from) {\r
// Shall we use PHPMailer class or legacy mode?\r
if (CHECK_PHPMAILER_USAGE()) {\r
}\r
}\r
//\r
-function GEN_PASS($LEN="x")\r
-{\r
+
+// Generate a password in a specified length or use default password length
+function GEN_PASS($LEN = 0) {\r
global $CONFIG;\r
- if ($LEN == "x") $LEN = $CONFIG['pass_len'];\r
+ if ($LEN == 0) $LEN = $CONFIG['pass_len'];\r
+
// Initialize array with all allowed chars\r
$ABC = explode(",", "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,-,+,_,/");\r
+
// Initialize randomizer\r
mt_srand((double) microtime() * 1000000);\r
\r
// Start creating password\r
$PASS = "";\r
- for ($i = 0; $i < $LEN; $i++)\r
- {\r
+ for ($i = 0; $i < $LEN; $i++) {\r
$PASS .= $ABC[mt_rand(0, sizeof($ABC) -1)];\r
}\r
\r
// When the size is below 40 we can also add additional security by scrambling it\r
- if (strlen($PASS) <= 40)\r
- {\r
+ if (strlen($PASS) <= 40) {\r
// Also scramble the password\r
$PASS = scrambleString($PASS);\r
- }\r
+ }
+
+ // Return the password\r
return $PASS;\r
}\r
//\r
return mktime($H, $M, $S, $MONTH, $DAY, $YEAR);\r
}\r
//\r
-function LOAD_URL($URL)\r
-{\r
+function LOAD_URL($URL) {\r
// Add some data to URL if cookies are not accepted\r
if ((!defined('__COOKIES')) || (!__COOKIES)) $URL = ADD_URL_DATA($URL);\r
\r
// Probe for bot from search engine\r
- if ((eregi("spider", getenv('HTTP_USER_AGENT'))) || (eregi("bot", getenv('HTTP_USER_AGENT'))) || (eregi("spider", getenv('HTTP_USER_AGENT'))))\r
- {\r
+ if ((eregi("spider", getenv('HTTP_USER_AGENT'))) || (eregi("bot", getenv('HTTP_USER_AGENT'))) || (eregi("spider", getenv('HTTP_USER_AGENT')))) {\r
// Search engine bot detected so let's rewrite many chars for the link\r
$URL = htmlentities(strip_tags($URL), ENT_QUOTES);\r
\r
// Output new location link as anchor\r
OUTPUT_HTML ("<A href=\"".$URL."\">".$URL."</A>\n");\r
- }\r
- elseif (!headers_sent())\r
- {\r
+ } elseif (!headers_sent()) {\r
// Load URL when headers are not sent\r
@header ("Location: ".str_replace("&", "&", $URL));\r
- }\r
- else\r
- {\r
+ } else {\r
// Output error message\r
include(PATH."inc/header.php");\r
OUTPUT_HTML (LOAD_URL_ERROR_1.$URL.LOAD_URL_ERROR_2);\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
define('WERNIS_ADMIN_API_ID', "WDS66-API-ID (api_id=x)");\r
define('WERNIS_ADMIN_API_MD5', "WDS66-API-Key (api_md5=xxxxx; 32-stellig)");\r
define('WERNIS_ADMIN_CONFIG_NOTE', "<A href=\"http://www.wds66.com/ref.php?refid=10437\" target=\"_blank\">Hier</A> können Sie schon für <strong>5,00€</strong>=<strong>25.000 Abfragen</strong> ein API-Account beantragen (dazu ist ein <strong>kostenloses</strong> {!POINTS!}-Account dennoch nötig!)");\r
-\r
+define('MEMBER_WERNIS_MODE_CHOOSE', "Möchten Sie {!POINTS!} zu Ihrem WDS66-Hauptaccount ausbezahlt bekommen oder {!POINTS!} hier einzahlen?");\r
+define('MEMBER_WERNIS_MODE_WITHDRAW', "{!POINTS!} einzahlen");
+define('MEMBER_WERNIS_MODE_PAYOUT', "{!POINTS!} auszahlen");
+
//\r
?>\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// This function must be run *BEFORE* a link is removed from table 'mxchange_user_links' !\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Caching class\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add HTML to the output stream\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
+++ /dev/null
-<?php\r
-// OBSOLETE: MOVED INTO inc/functions.php!\r
-?>\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
+
+/**
+ * Function to secure input strings
+ *
+ * @param $str The unsecured string
+ * @return $str A (hopefully) secured string against HTML and other things
+ */
+function secureString ($str) {
+ $str = trim(strip_tags($str));
+ $str = htmlentities($str, ENT_QUOTES);
+ return $str;
+}
\r
// Run only once this security check/exchange\r
if (defined('__SECURITY')) return;\r
}\r
\r
// At last secure the $_SERVER['PHP_SELF'] element\r
-$_SERVER['PHP_SELF'] = htmlentities(strip_tags($_SERVER['PHP_SELF']), ENT_QUOTES);\r
+$_SERVER['PHP_SELF'] = secureString($_SERVER['PHP_SELF']);\r
\r
// Split it up into path and filename\r
$SELF_DIR = dirname($_SERVER['PHP_SELF']);\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
-//\r
-function WERNIS_OUTPUT_WERNIS_LIST($POINTS) {\r
- trigger_error(__METHOD__.":STUB!");\r
-}\r
//\r
?>\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
//\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("birthday")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("bonus")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
// Add description as navigation point
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
\r
// Mail confirmation links\r
define('_CFG_AUTO_PURGE', CREATE_TIME_SELECTIONS($CONFIG['auto_purge'], "auto_purge", "MWD"));\r
- if ($CONFIG['ap_active'] == "N")\r
+ if ($CONFIG['auto_purge_active'] == "N")\r
{\r
define('_CFG_AP_ACTIVE_N', " checked");\r
define('_CFG_AP_ACTIVE_Y', "");\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
} elseif ((!EXT_IS_ACTIVE("other")) || (GET_EXT_VERSION("other") == "")) {\r
// Missing extension!\r
define('_CFG_UNCONFIRMED' , $CONFIG['unconfirmed']);\r
define('_CFG_MAX_TLENGTH' , $CONFIG['max_tlength']);\r
define('_CFG_CODE_LENGTH' , $CONFIG['code_length']);\r
- define('_CFG_ACT_SYSTEM' , $CONFIG['activate_system']);\r
+ define('_CFG_ACT_SYSTEM' , $CONFIG['activate_xchange']);\r
define('_CFG_MAX_SEND' , $CONFIG['max_send']);\r
define('_CFG_REJECT_URL' , $CONFIG['reject_url']);\r
\r
define('_CFG_URL_TLOCK' , CREATE_TIME_SELECTIONS($CONFIG['url_tlock'] , "url_tlock" , "WDh"));\r
define('_CFG_PROFILE_LOCK' , CREATE_TIME_SELECTIONS($CONFIG['profile_lock'] , "profile_lock" , "WDh"));\r
define('_CFG_PROFILE_UPDATE', CREATE_TIME_SELECTIONS($CONFIG['profile_update'], "profile_update" , "YM"));\r
- define('_CFG_PROF_REUPDATE' , CREATE_TIME_SELECTIONS($CONFIG['prof_reupdate'] , "resend_profile_update", "MWD"));\r
+ define('_CFG_PROF_REUPDATE' , CREATE_TIME_SELECTIONS($CONFIG['resend_profile_update'] , "resend_profile_update", "MWD"));\r
}\r
else\r
{\r
define('_CFG_URL_TLOCK' , "<INPUT type=\"text\" name=\"url_tlock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$CONFIG['url_tlock'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");\r
define('_CFG_PROFILE_LOCK' , "<INPUT type=\"text\" name=\"profile_lock\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$CONFIG['profile_lock'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");\r
define('_CFG_PROFILE_UPDATE', "<INPUT type=\"text\" name=\"profile_update\" class=\"admin_normal\" size=\"10\" maxlength=\"255\" value=\"".$CONFIG['profile_update']."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");\r
- define('_CFG_PROF_REUPDATE' , "<INPUT type=\"text\" name=\"resend_profile_update\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$CONFIG['prof_reupdate'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");\r
+ define('_CFG_PROF_REUPDATE' , "<INPUT type=\"text\" name=\"resend_profile_update\" class=\"admin_normal\" size=\"6\" maxlength=\"255\" value=\"".$CONFIG['resend_profile_update'] ."\"> <FONT class=\"tiny\">(".SECS.")</FONT>");\r
}\r
\r
if ($CONFIG['test_text'] == "N")\r
define('_CFG_URL_BLIST_N', "");\r
define('_CFG_URL_BLIST_Y', " checked");\r
}\r
- if ($CONFIG['order_multi'] == "N")\r
+ if ($CONFIG['order_multi_page'] == "N")\r
{\r
define('_CFG_ORDER_MULTI_N', " checked");\r
define('_CFG_ORDER_MULTI_Y', "");\r
define('_CFG_AUTOSEND_ACTIVE_N', "");\r
define('_CFG_AUTOSEND_ACTIVE_Y', " checked");\r
}\r
- if ($CONFIG['send_update'] == "N")\r
+ if ($CONFIG['send_prof_update'] == "N")\r
{\r
define('_CFG_SEND_UPDATE_N', " checked");\r
define('_CFG_SEND_UPDATE_Y', "");\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
reg_points_mode='%s',\r
ref_payout='%d'\r
WHERE config='0' LIMIT 1",\r
- $_POST['direct_pay'],\r
+ $_POST['allow_direct_pay'],\r
$_POST['refmode'],\r
$REF\r
);\r
{\r
// Setup some settings like direct pay and so on\r
// Including new add-mode for one-time referral bonus\r
- switch ($CONFIG['direct_pay'])\r
+ switch ($CONFIG['allow_direct_pay'])\r
{\r
case "Y":\r
define('__DIRECT_Y', " checked");\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
define('LEAST_CATS_VALUE' , $CONFIG['least_cats']);\r
define('__CFG_SHOW_REFID' , ADD_SELECTION("yn", $CONFIG['display_refid'], "display_refid"));\r
define('__TIMEOUT_SELECTION', CREATE_TIME_SELECTIONS($CONFIG['ip_timeout'], "ip_timeout", "Dhm"));\r
- define('__CFG_DBL_EMAIL' , ADD_SELECTION("yn", $CONFIG['dbl_email'], "check_double_email"));\r
- define('__CFG_DBL_PASS' , ADD_SELECTION("yn", $CONFIG['dbl_pass'] , "check_double_pass"));\r
+ define('__CFG_DBL_EMAIL' , ADD_SELECTION("yn", $CONFIG['check_double_email'], "check_double_email"));\r
+ define('__CFG_DBL_PASS' , ADD_SELECTION("yn", $CONFIG['check_double_pass'] , "check_double_pass"));\r
define('__REF_PAYOUT' , $CONFIG['ref_payout']);\r
\r
// Load normal template\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
define('LEAST_CATS_VALUE' , round($CONFIG['least_cats']));\r
define('__CFG_SHOW_REFID' , ADD_SELECTION("yn", $CONFIG['display_refid'] , "display_refid"));\r
define('__TIMEOUT_SELECTION', CREATE_TIME_SELECTIONS($CONFIG['ip_timeout'] , "ip_timeout", "Dhm"));\r
- define('__CFG_DBL_EMAIL' , ADD_SELECTION("yn", $CONFIG['dbl_email'] , "check_double_email"));\r
- define('__CFG_DBL_PASS' , ADD_SELECTION("yn", $CONFIG['dbl_pass'] , "check_double_pass"));\r
+ define('__CFG_DBL_EMAIL' , ADD_SELECTION("yn", $CONFIG['check_double_email'] , "check_double_email"));\r
+ define('__CFG_DBL_PASS' , ADD_SELECTION("yn", $CONFIG['check_double_pass'] , "check_double_pass"));\r
define('__CFG_CAT_DEFAULT' , ADD_SELECTION("yn", $CONFIG['register_default'], "register_default"));\r
\r
// Load normal template\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
global $link;\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
else\r
{\r
// Guest stats\r
- switch (strtolower($CONFIG['gstats_mode']))\r
+ switch (strtolower($CONFIG['guest_stats']))\r
{\r
case "members":\r
define('__MEMBERS_RADIO', " checked selected");\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin())) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
} elseif ((!EXT_IS_ACTIVE("user")) || (GET_EXT_VERSION("user") == "")) {\r
// Not active!\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
} elseif ((!EXT_IS_ACTIVE("user")) || (GET_EXT_VERSION("user") == "")) {\r
// Missing extension!\r
************************************************************************/\r
\r
// Some security stuff...\r
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
-{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
-}\r
+}
+\r
// Add description as navigation point\r
ADD_DESCR("admin", basename(__FILE__));\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add desciption as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Is an administrator\r
$userid = _IS_ADMIN;\r
}\r
- elseif (($mem == "N") && ($admin == "N"))\r
+ elseif (($mem == "N") && ($admin == "N"))\r
{\r
// Is a guest\r
$userid = _IS_GUEST;\r
{\r
OUTPUT_HTML("<A href=\"".URL."/modules.php?module=admin&what=list_user&u_id=".$userid."\">".$userid."</A>");\r
}\r
- else\r
+ else\r
{\r
OUTPUT_HTML($userid);\r
}\r
</TABLE>");\r
}\r
//\r
-?>\r
+?>
// Some security stuff...\r
if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!EXT_IS_ACTIVE("online"))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
// Add description as navigation point
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("active")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("doubler")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!EXT_IS_ACTIVE("mediadata"))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("rallye")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("register")))\r
$FAILED = true;\r
}\r
}\r
- if (($_POST['addy'] != "!") && ($CONFIG['dbl_email'] == "Y") && (!IS_ADMIN()))\r
+ if (($_POST['addy'] != "!") && ($CONFIG['check_double_email'] == "Y") && (!IS_ADMIN()))\r
{\r
// Does the email address already exists in our database?\r
$CHK = SEARCH_EMAIL_USERTAB($_POST['addy']);\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
ADD_DESCR("guest", basename(__FILE__));\r
\r
// Derterminate which stats we want and set mode and title for the link below stats block\r
-if (!isset($_GET['mode'])) $_GET['mode'] = strtolower($CONFIG['gstats_mode']);\r
+if (!isset($_GET['mode'])) $_GET['mode'] = strtolower($CONFIG['guest_stats']);\r
switch ($_GET['mode'])\r
{\r
- case "members": $CONFIG['gstats_mode'] = "MEMBERS"; $lmode = "modules"; $ltitle = GUEST_STATS_MODULES; break;\r
- case "modules": $CONFIG['gstats_mode'] = "MODULES"; $lmode = "members"; $ltitle = GUEST_STATS_MEMBERS; break;\r
+ case "members": $CONFIG['guest_stats'] = "MEMBERS"; $lmode = "modules"; $ltitle = GUEST_STATS_MODULES; break;\r
+ case "modules": $CONFIG['guest_stats'] = "MODULES"; $lmode = "members"; $ltitle = GUEST_STATS_MEMBERS; break;\r
}\r
\r
OPEN_TABLE("100%", "guest_content", "center", "top");\r
-switch ($CONFIG['gstats_mode'])\r
+switch ($CONFIG['guest_stats'])\r
{\r
case "MEMBERS": // Statistics about your members\r
// Members yesterday / today online\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("top10")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
// Add description as navigation point\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!EXT_IS_ACTIVE("sql_patches", true))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
elseif (!IS_LOGGED_IN())
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
elseif (!IS_LOGGED_IN())
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
{\r
// Check if category and number of receivers is okay\r
$ADD = "";\r
- if (($CONFIG['order_multi'] == "Y") && (!empty($_POST['zip']))) $ADD = "AND d.zip LIKE '".bigintval($_POST['zip'])."{PER}'";\r
+ if (($CONFIG['order_multi_page'] == "Y") && (!empty($_POST['zip']))) $ADD = "AND d.zip LIKE '".bigintval($_POST['zip'])."{PER}'";\r
\r
// Check for userids\r
$result = SQL_QUERY_ESC("SELECT DISTINCT c.userid FROM "._MYSQL_PREFIX."_user_cats AS c\r
$result_ver = SQL_QUERY_ESC("SELECT zip FROM "._MYSQL_PREFIX."_user_data WHERE userid=%d".$HTML." AND receive_mails > 0 AND status='CONFIRMED' LIMIT 1",\r
array(bigintval($ucat)), __FILE__, __LINE__);\r
\r
- if ((SQL_NUMROWS($result_ver) == 1) && (!empty($_POST['zip'])) && ($CONFIG['order_multi'] == "Y"))\r
+ if ((SQL_NUMROWS($result_ver) == 1) && (!empty($_POST['zip'])) && ($CONFIG['order_multi_page'] == "Y"))\r
{\r
list($zip) = SQL_FETCHROW($result_ver);\r
SQL_FREERESULT($result_ver);\r
}\r
\r
// 01 2 21 12 2 23 443 3 3210\r
- if ((!empty($_POST['data'])) || (($CONFIG['order_multi'] == "N") && ((!IS_ADMIN()) && (!$HTML_EXT))))\r
+ if ((!empty($_POST['data'])) || (($CONFIG['order_multi_page'] == "N") && ((!IS_ADMIN()) && (!$HTML_EXT))))\r
{\r
// Pre-output categories\r
$CAT = "";\r
if ($HTML_EXT)\r
{\r
// Add some content when html extension is active\r
- if (($CONFIG['order_multi'] == "Y") || (IS_ADMIN())) $ADD = "<TR><TD colspan=\"2\" class=\"seperator bottom2\" height=\"5\"> </TD></TR>\n";\r
+ if (($CONFIG['order_multi_page'] == "Y") || (IS_ADMIN())) $ADD = "<TR><TD colspan=\"2\" class=\"seperator bottom2\" height=\"5\"> </TD></TR>\n";\r
define('MEMBER_HTML_EXTENSION', LOAD_TEMPLATE("member_order-html_intro", true));\r
}\r
else\r
define('MEMBER_HTML_EXTENSION', "<TR><TD colspan=\"2\"><INPUT type=\"hidden\" name=\"html\" value=\"N\"></TD></TR>");\r
}\r
// Do we want ZIP code or not?\r
- if (($CONFIG['order_multi'] == "Y") || (IS_ADMIN()))\r
+ if (($CONFIG['order_multi_page'] == "Y") || (IS_ADMIN()))\r
{\r
// Yes\r
$content = array(\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {\r
// Don't call this directly!\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
} elseif (!IS_LOGGED_IN()) {\r
// Not logged in\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif (!IS_LOGGED_IN())\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
-} elseif (!IS_LOGGED_IN()) {\r
+} elseif (!IS_LOGGED_IN()) {
+ // User is not logged in\r
LOAD_URL(URL."/modules.php?module=index");\r
-} elseif ((!EXT_IS_ACTIVE("wernis")) && (!IS_ADMIN())) {\r
+} elseif ((!EXT_IS_ACTIVE("wernis")) && (!IS_ADMIN())) {
+ // Extension "wernis" is not activated\r
ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "wernis");\r
return;\r
}\r
\r
// Add description as navigation point\r
ADD_DESCR("member", basename(__FILE__));\r
+
+// Is the mode set (withdraw or payout)
+if (!isset($_GET['mode'])) {
+ // Let the user choose what he wants to do
+ LOAD_TEMPLATE("member_wernis_mode_choose");
+}
\r
//\r
?>\r
$URL = "";\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("order")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
elseif ((!EXT_IS_ACTIVE("")) && (!IS_ADMIN()))
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("bonus")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("newsletter")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
{\r
// Connect to DB\r
$link = SQL_CONNECT($MySQL['host'], $MySQL['login'], $MySQL['password'], __FILE__, __LINE__);\r
- if ($link)\r
+ if ($link !== false)\r
{\r
$db = SQL_SELECT_DB($MySQL['dbase'], $link, __FILE__, __LINE__);\r
- if ($db)\r
+ if ($db !== false)\r
{\r
- // Load configuration stuff 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34\r
+ // Load configuration stuff\r
$result = SQL_QUERY("SELECT pass_len, points_register, points_ref, least_cats, check_double_email, check_double_pass, admin_notify, url_tlock, test_text, max_tlength, test_subj, autosend_active, max_send, url_blacklist, auto_purge, auto_purge_active, last_update, unconfirmed, profile_lock, online_timeout, mad_timestamp, mad_count, profile_update, send_prof_update, resend_profile_update, code_length, patch_level, patch_ctime, guest_stats, ref_payout, activate_xchange, order_multi_page, display_refid, ip_timeout, allow_direct_pay, config FROM "._MYSQL_PREFIX."_config WHERE config='0' LIMIT 1", __FILE__, __LINE__);\r
\r
- if (SQL_NUMROWS($result) == 1)\r
- {\r
+ if (SQL_NUMROWS($result) == 1) {\r
// Load data when previous SQL query did not fail\r
- if ($result) $DUMMY = SQL_FETCHROW($result);\r
-\r
- // We copy the fetched data to the CONFIG array (or can you remember which number is for which config value??? ;-) )\r
- $CONFIG = array(\r
- 'pass_len' => $DUMMY[0], // Minimum password length\r
- 'points_register' => $DUMMY[1], // How many points the new member gets on registration\r
- 'points_ref' => $DUMMY[2], // How many points a members gets on direct referral\r
- 'least_cats' => $DUMMY[3], // Minimum number of categories to be selected\r
- 'dbl_email' => $DUMMY[4], // Shall we check if the email address is already in out database?\r
- 'dbl_pass' => $DUMMY[5], // Shall we - silencly - check if another user is using the same password?\r
- 'admin_notify' => $DUMMY[6], // Shall I notify the admin if a member has changed his profile?\r
- 'url_tlock' => $DUMMY[7], // Time in seconds to lock same ordered URL\r
- 'test_text' => $DUMMY[8], // Shall I test the text against URLs?\r
- 'max_tlength' => $DUMMY[9], // How long shall the ordered text be?\r
- 'test_subj' => $DUMMY[10], // Shall I test the subject against URLs?\r
- 'autosend_active' => $DUMMY[11], // Active / Deactive auto-send feature? (currently disabled feature)\r
- 'max_send' => $DUMMY[12], // How many shall I send in one time from the pool?\r
- 'url_blacklist' => $DUMMY[13], // Shall I enable or disable the URL black-list feature?\r
- 'auto_purge' => $DUMMY[14], // How many days shall mails stay in stats table? (disabled!)\r
- 'ap_active' => $DUMMY[15], // Shall auto-purge be enabled or disbaled? (disabled!)\r
- 'last_update' => $DUMMY[16], // Last update when reset on database was\r
- 'unconfirmed' => $DUMMY[17], // How many unconfirmed mails shall I allow to order new mails?\r
- 'profile_lock' => $DUMMY[18], // Time in seconds to keep a member's profile write-protected after he changes something\r
- 'online_timeout' => $DUMMY[19], // Session expiration in online list\r
- 'profile_update' => $DUMMY[22], // How many seconds between profile update notification?\r
- 'send_update' => $DUMMY[23], // Shall I send profile update notifications to your members?\r
- 'prof_reupdate' => $DUMMY[24], // Seconds between re-notifications for profile update?\r
- 'code_length' => $DUMMY[25], // Length of the code the member has to re-type\r
- 'patch_level' => $DUMMY[26], // Installed patch level in database\r
- 'patch_ctime' => $DUMMY[27], // Latest patch file\r
- 'gstats_mode' => $DUMMY[28], // Guest statistics mode: About your members, module clicks or inactive\r
- 'ref_payout' => $DUMMY[29], // After how many confirmed mails shall the referral bonus be paid? (0 = disable feature)\r
- 'activate_system' => $DUMMY[30], // Automatic activation of your exchange after x days (0 = disable feature)\r
- 'order_multi' => $DUMMY[31], // Shall I activate multiple pages in order form? This will enable sending by ZIP code\r
- 'display_refid' => $DUMMY[32], // Shall I display the refid in registration form or not?\r
- 'ip_timeout' => $DUMMY[33], // Timeout for same IP number in registration form\r
- 'direct_pay' => $DUMMY[34], // Shall I pay "clicked" points directly or not? Not is default.\r
- );\r
- unset($DUMMY);\r
+ if (!$result) {
+ // Something went wrong
+ ADD_FATAL(FATAL_CANNOT_LOAD_CONFIG);
+ return;
+ }\r
+
+ // Load the configuration
+ $CONFIG = array_merge($CONFIG, SQL_FETCHARRAY($result));
\r
// Initialize include-file-pool\r
$INC_POOL = array();\r
$dummy = CHECK_MODULE($GLOBALS['module']);\r
if ($dummy == "done") COUNT_MODULE($GLOBALS['module']);\r
unset($dummy);\r
- if ($CONFIG['activate_system'] > 0) ACTIVATE_EXCHANGE();\r
+ if ($CONFIG['activate_xchange'] > 0) activateExchange();\r
}\r
else\r
{\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Return - hopefully - the requested data\r
return $ret;\r
}\r
-//\r
-function ACTIVATE_EXCHANGE()\r
-{\r
+// Aiut\r
+function activateExchange() {\r
global $CONFIG;\r
$result = SQL_QUERY("SELECT userid FROM "._MYSQL_PREFIX."_user_data WHERE status='CONFIRMED' AND max_mails > 0", __FILE__, __LINE__);\r
- if (SQL_NUMROWS($result) >= $CONFIG['activate_system'])\r
+ if (SQL_NUMROWS($result) >= $CONFIG['activate_xchange'])\r
{\r
// Free memory\r
SQL_FREERESULT($result);\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
-if (($CONFIG['send_update'] == "Y") && ($CONFIG['profile_update'] > 0) && ($CONFIG['prof_reupdate']))\r
+if (($CONFIG['send_prof_update'] == "Y") && ($CONFIG['profile_update'] > 0) && ($CONFIG['resend_profile_update']))\r
{\r
// Ok, we shall send update notifications...\r
$TIMEOUT = bigintval(time() - $CONFIG['profile_update']);\r
- $TIMEOUT2 = bigintval(time() - $CONFIG['prof_reupdate']);\r
+ $TIMEOUT2 = bigintval(time() - $CONFIG['resend_profile_update']);\r
\r
// Load personal data 0 1 2 3 4 5 6\r
$result = SQL_QUERY_ESC("SELECT userid, email, sex, surname, family, last_update, joined\r
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
{
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
elseif ((!EXT_IS_ACTIVE("")) && (!IS_ADMIN()))
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("bonus")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("engine")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
elseif ((!EXT_IS_ACTIVE("holiday")) && (!IS_ADMIN()))\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
+++ /dev/null
-<?php\r
-// OBSOLETE!!!\r
-?>\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "index";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "install";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "lead-confirm";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "login";\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Tell everyone we are in this module\r
$GLOBALS['module'] = "mailid"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Tell everyone we are in this module\r
$GLOBALS['module'] = "mailid"; $CSS = "0";\r
if (bigintval($_POST['gfx_check']) == $img_code)\r
{\r
// Right code entered add points and remove entry\r
- if (($ref_pay > 0) && ($CONFIG['direct_pay'] == "N"))\r
+ if (($ref_pay > 0) && ($CONFIG['allow_direct_pay'] == "N"))\r
{\r
// Don't add points over the referral system\r
$locked = true;\r
$CSS = 0;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
$GLOBALS['userid'] = 0;\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Secure the module name (very important line!)\r
$GLOBALS['module'] = htmlentities(strip_tags($_GET['module']), ENT_QUOTES);\r
break;\r
\r
case "404":\r
- ADD_FATAL(LLANG_MOD_REG_404_1.$GLOBALS['module'].LANG_MOD_REG_404_2);\r
+ ADD_FATAL(LANG_MOD_REG_404_1.$GLOBALS['module'].LANG_MOD_REG_404_2);\r
break;\r
\r
case "locked":\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "ref"; $CSS = -1;\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set this because we have no module in URI\r
$GLOBALS['module'] = "show_bonus"; $CSS = 0;\r
-Mit dieser Erweiterung können Sie Ihren Mitgliedern eine Auszahlung ihrer Internet-Währung <A href="http://www.wds66.com/ref.php?refid=10438" target="_blank">Wernis</A> auf ihr WDS66-Hauptaccount überweisen lassen. Sie als Wernis-Anbieter brauchen dazu selbstverständlich ein Wernis-Account mit einem API-Account. Mehr dazu auf <A href="http://www.wds66.com/ref.php?refid=10438" target="_blank">www.wds66.com</A>\r
+Mit dieser Erweiterung können Sie Ihren Mitgliedern eine Auszahlung ihrer Internet-Währung <A href="http://www.wds66.com/ref.php?refid=10438" target="_blank">Wernis</A> auf ihr WDS66-Hauptaccount überweisen lassen. Sie als Wernis-Anbieter brauchen dazu selbstverständlich ein Wernis-Account mit einem API-Account. Mehr dazu auf <A href="http://www.wds66.com/ref.php?refid=10438" target="_blank">www.wds66.com</A>. Damit Ihr System einheitlicher ist, sollten Sie unter <A href="{!URL!}/modules.php?module=admin&what=config_other" target="_blank">Sonstige Einstellungen</A> die Währung Ihres {!MT_WORD2!} auf Wernis umstellen.
\ No newline at end of file
--- /dev/null
+<table border="0" cellspacing="0" cellpadding="0" class="member_table dashed">
+<tr>
+ <td class="member_title2 bottom2" style="padding:5px" colspan="2">
+ {--MEMBER_WERNIS_MODE_CHOOSE--}
+ </td>
+</tr>
+<tr>
+ <td width="50%" align="center" class="right2" height="40>"
+ <a class="menu_blur" style="height:40px" href="{!URL!}/modules.php?module=login&what=wernis&mode=widthdraw">
+ <div style="padding-top:10px">{--MEMBER_WERNIS_MODE_WITHDRAW--}</div>
+ </a>
+ </td>
+ <td width="50%" align="center">
+ <a class="menu_blur" style="height:40px" href="{!URL!}/modules.php?module=login&what=wernis&mode=payout">
+ <div style="padding-top:3px">{--MEMBER_WERNIS_MODE_PAYOUT--}</div>
+ </a>
+ </td>
+</tr>
+</table>
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Some security stuff...\r
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
{\r
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
require($INC);\r
}\r
\r
// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "view"; $CSS = -1;\r