Sveiki. Norėjau pasveikinti jus su atkaklumu arba ištverme. Tai viena iš dviejų paskutinių svetainių, paremtų v7. Ar negaila švaistyti ilgametės patirties ir pereiti prie v9?
Isirasiau xregister moda ir meta man sia klaida:
Deprecated: Function eregi_replace() is deprecated in /usr/home/www1/ftp/Jump3r1/register.php on line 64
Deprecated: Function eregi_replace() is deprecated in /usr/home/www1/ftp/Jump3r1/register.php on line 65
Deprecated: Function eregi_replace() is deprecated in /usr/home/www1/ftp/Jump3r1/register.php on line 66
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: register.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once \"maincore.php\";
require_once THEMES.\"templates/header.php\";
include LOCALE.LOCALESET.\"register.php\";
include LOCALE.LOCALESET.\"user_fields.php\";
if (iMEMBER || !$settings['enable_registration']) { redirect(\"index.php\"); }
if (isset($_GET['activate'])) {
if (!preg_check(\"/^[0-9a-z]{32}$/\", $_GET['activate'])) { redirect(\"index.php\"); }
$result = dbquery(\"SELECT * FROM \".DB_NEW_USERS.\" WHERE user_code='\".$_GET['activate'].\"'\");
if (dbrows($result)) {
$data = dbarray($result);
$user_info = unserialize($data['user_info']);
$user_status = $settings['admin_activation'] == \"1\" ? \"2\" : \"0\";
$profile_method = \"validate_insert\"; $db_fields = \"\"; $db_values = \"\";
$result = dbquery(\"SELECT * FROM \".DB_USER_FIELDS.\" ORDER BY field_order\");
if (dbrows($result)) {
while($data = dbarray($result)) {
if (file_exists(LOCALE.LOCALESET.\"user_fields/\".$data['field_name'].\".php\")) {
include LOCALE.LOCALESET.\"user_fields/\".$data['field_name'].\".php\";
}
if (file_exists(INCLUDES.\"user_fields/\".$data['field_name'].\"_include.php\")) {
include INCLUDES.\"user_fields/\".$data['field_name'].\"_include.php\";
}
}
}
$profile_method = \"validate_insert\"; $db_fields = \"\"; $db_values = \"\";
$result = dbquery(\"SELECT * FROM \".DB_USER_FIELDS.\" ORDER BY field_order\");
if (dbrows($result)) {
while($data = dbarray($result)) {
if (file_exists(LOCALE.LOCALESET.\"user_fields/\".$data['field_name'].\".php\")) {
include LOCALE.LOCALESET.\"user_fields/\".$data['field_name'].\".php\";
}
if (file_exists(INCLUDES.\"user_fields/\".$data['field_name'].\"_include.php\")) {
include INCLUDES.\"user_fields/\".$data['field_name'].\"_include.php\";
}
}
}
}