************************************************************************/
// Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
-} elseif (!IS_LOGGED_IN()) {
+} elseif (!IS_MEMBER()) {
LOAD_URL("modules.php?module=index");
} elseif (!EXT_IS_ACTIVE("mailid")) {
LOAD_URL("modules.php?module=login");
if (SQL_NUMROWS($result) > 0)
{
// Please confirm these mails!
- $sum = "0"; $SW = 2; $OUT = "";
+ $sum = 0; $SW = 2; $OUT = "";
while (list($id, $id2, $type) = SQL_FETCHROW($result))
{
// Load data from stats table...