session_start(); define('AntiBK', true); include("engline/config.php"); include("engline/dbsimple/Generic.php"); include("engline/functions/functions.php"); $adb = DbSimple_Generic::connect($database['adb']); $adb->query("SET NAMES ? ",$database['db_encoding']); $adb->setErrorHandler("databaseErrorHandler"); $step = getVar('step'); ?>
if (!($adb->selectCell("SELECT `reminder` FROM `server_info`;")))
$step = 'stop';
switch ($step)
{
case 'stop':
?>
break;
default :
case '':
$rem_login = (checks('rem_login')) ?$_SESSION['rem_login'] :'';
?>
Назад'); $rem_answer = (checks('rem_answer')) ?$_SESSION['rem_answer'] :''; $rem_birthday = (checks('rem_birthday')) ?$_SESSION['rem_birthday'] :''; $guid = $adb->selectCell("SELECT `guid` FROM `characters` WHERE `login` = ?s", $_SESSION['rem_login']); $question = $adb->selectCell("SELECT `secretquestion` FROM `character_info` WHERE `guid` = ?d", $guid); ?>
|