2022-12-19 18:26:14 +00:00
< ? php
2022-12-19 21:15:56 +00:00
if ( ! defined ( 'GAME_VERSION' )) {
require_once '_incl_data/autoload.php' ;
}
2022-12-19 18:26:14 +00:00
2022-12-19 21:15:56 +00:00
use Core\Mail ;
2022-12-19 18:26:14 +00:00
use Insallah\Db ;
2022-12-19 21:15:56 +00:00
Core\Config :: init ();
Core\Database :: init ();
//const GAME = true;
//require_once('_incl_data/__config.php');
//require_once('_incl_data/class/__db_connect.php');
2022-12-19 18:26:14 +00:00
$chat = new Chat ();
$filter = new Filter ();
2022-12-19 21:15:56 +00:00
//require_once '_incl_data/mails.php';
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
function add_effn ( $uid , $id )
{
$g = [ 0 => 0 , 1 => '' ];
$eff = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `eff_main` WHERE `id2` = "' . $id . '" LIMIT 1' ));
if ( isset ( $eff [ 'id2' ])) {
$n = $eff [ 'mname' ];
$d = $eff [ 'mdata' ];
2022-12-19 21:15:56 +00:00
$ins = mysql_query (
'INSERT INTO `eff_users` (`overType`,`id_eff`,`uid`,`name`,`timeUse`,`data`) VALUES ("' . $eff [ 'oneType' ] . '","' . $eff [ 'id2' ] . '","' . $uid . '","' . $n . '","' . time (
) . '","' . $d . '")'
);
2022-06-11 11:32:31 +00:00
if ( $ins ) {
$g [ 0 ] = 1 ;
$g [ 1 ] = '...' ;
}
}
return $g ;
}
2022-06-06 21:30:34 +00:00
function en_ru ( $txt )
{
2022-06-11 11:32:31 +00:00
$g = false ;
$en = preg_match ( " /^(([0-9a-zA-Z _-])+) $ /i " , $txt );
2022-12-19 18:26:14 +00:00
$ru = preg_match ( " /^(([0-9<> -<2D> <> -<2D> _-])+) $ /i " , $txt );
2022-06-11 11:32:31 +00:00
if (( $ru && $en ) || ( ! $ru && ! $en )) {
$g = true ;
}
return $g ;
2022-06-06 21:30:34 +00:00
}
2022-06-11 11:32:31 +00:00
function hasGoodCode ( $code , $email )
{
$q = 'select 1 from secure_code where `code` = %d and email = %s order by id desc limit 1' ;
$check = mysql_fetch_row ( mysql_query ( sprintf ( $q , ( int ) $code , $email )));
if ( $check [ 0 ] !== 1 ) {
2022-12-19 18:26:14 +00:00
return '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )' ;
2022-06-11 11:32:31 +00:00
}
return 1 ;
2022-06-06 21:30:34 +00:00
}
2022-06-11 11:32:31 +00:00
function error_check ( $id , $str_u , $name = 0 )
{
//***************************************************
session_start ();
$error = '' ;
2022-12-19 18:26:14 +00:00
if ( $id == 1 && ! empty ( $str_u )) // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
{
2022-12-19 18:26:14 +00:00
$nologin = [
0 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
1 => 'angel' ,
2 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
3 => 'administration' ,
4 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
5 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
6 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
7 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
8 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
9 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
10 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
11 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
12 => '<27> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
13 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
14 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
15 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
16 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ,
];
2022-06-11 11:32:31 +00:00
$i = 0 ;
while ( $i < count ( $nologin )) {
if ( preg_match ( " / " . $nologin [ $i ] . " /i " , $str_u )) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
$i = count ( $nologin );
}
$i ++ ;
}
$str_u = str_replace ( ' ' , ' ' , $str_u );
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 4 <20> <> 20 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
if ( strlen ( $str_u ) > 20 ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 20 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> , xalop. <br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : )))), kol<6F> )=-/.' ;
2022-06-11 11:32:31 +00:00
}
if ( strlen ( $str_u ) < 4 ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 4 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> , xalop. <br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : )))), kol<6F> )=-/.' ;
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$er = en_ru ( $str_u );
if ( $er ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> , xalop. <br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : )))), kol<6F> )=-/.' ;
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
if ( substr_count ( $str_u , ' ' ) + substr_count ( $str_u , '-' ) + substr_count ( $str_u , '_' ) > 2 ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ).' ;
$error = $error . '<br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> , xalop. <br> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : )))), kol<6F> )=-/.' ;
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$q = mysql_query ( 'SELECT `id` from `users` where `login`="' . mysql_real_escape_string ( $str_u ) . '" LIMIT 1' );
if ( $q ) {
$log = mysql_fetch_array ( $q );
unset ( $q );
}
2022-12-19 21:15:56 +00:00
$q = mysql_query (
'SELECT `id` from `lastnames` where `login`="' . mysql_real_escape_string ( $str_u ) . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $q ) {
$log2 = mysql_fetch_array ( $q );
unset ( $q );
}
if ( isset ( $log [ 'id' ]) || isset ( $log2 [ 'id' ])) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . $str_u . ' <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
if ( $id == 2 && ! empty ( $str_u )) //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
{
if ( strlen ( $str_u ) < 6 || strlen ( $str_u ) > 50 ) {
2022-12-19 18:26:14 +00:00
$error = 'E-mail <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 6-<2D> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 50-<2D> <> .' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 21:15:56 +00:00
$testEREm = mysql_fetch_array (
mysql_query ( 'SELECT `mail` FROM `users` WHERE `mail` LIKE "' . $str_u . '" LIMIT 1' )
);
$emails = mysql_fetch_array (
mysql_query ( 'SELECT * FROM `ban_email` WHERE `email` LIKE "' . $str_u . '" LIMIT 1' )
);
2022-06-11 11:32:31 +00:00
if ( isset ( $testEREm [ 'mail' ])) {
2022-12-19 18:26:14 +00:00
$error = 'E-mail <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
if ( isset ( $emails [ 'email' ])) {
2022-12-19 18:26:14 +00:00
$error = 'E-mail <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
$x = 1 ;
$i = 1 ;
2022-12-19 18:26:14 +00:00
$tx = '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> :<br>' ;
2022-06-11 11:32:31 +00:00
$sp = mysql_query ( 'SELECT * FROM `trust_email`' );
while ( $pl = mysql_fetch_array ( $sp )) {
$emailtest = $pl [ 'email' ];
if ( ! preg_match ( " / " . $emailtest . " /i " , $str_u )) {
$i ++ ;
}
$tx = $tx . $pl [ 'email' ] . ' ' ;
$x ++ ;
}
if ( $i == $x ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' . $tx ;
2022-06-11 11:32:31 +00:00
}
}
if ( ! preg_match ( '#^[a-z0-9.!\#$%&\'*+-/=?^_`{|}~]+@([0-9.]+|([^\s]+\.+[a-z]{2,6}))$#si' , $str_u )) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> E-mail.<br>' ;
2022-06-11 11:32:31 +00:00
}
if ( $error != '' ) {
$gd [ 4 ] = $error ;
$good = 0 ;
} else {
$gd [ 4 ] = 1 ;
}
}
2022-12-19 18:26:14 +00:00
if ( $id == 3 && ! empty ( $str_u ) && ! empty ( $name )) //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> str_u -> mail name -> nickname
2022-06-11 11:32:31 +00:00
{
$code = rand ( 10000000 , 99999999 );
2022-12-19 21:15:56 +00:00
mysql_query (
'INSERT INTO `secure_code`(`email`, `code`, `time`) VALUES ("' . $str_u . '","' . $code . '","' . time (
) . '");'
);
Mail :: send ( $str_u , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> : ' . $code , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' . $name );
//mails($str_u, '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> : ' . $code, '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' . $name);
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
if ( $id == 4 && ! empty ( $str_u ) && ! empty ( $name )) //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> str_u -> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> name -> email
2022-06-11 11:32:31 +00:00
{
2022-12-19 21:15:56 +00:00
$testcode = mysql_fetch_array (
mysql_query ( 'SELECT code FROM `secure_code` WHERE `email` = "' . $name . '" ORDER BY id DESC LIMIT 1' )
);
2022-06-11 11:32:31 +00:00
if ( $testcode [ 'code' ] != $str_u ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )' ;
2022-06-11 11:32:31 +00:00
}
}
2022-12-19 18:26:14 +00:00
if ( $id == 5 && ! empty ( $str_u ) && ! empty ( $name )) //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> str_u -> p1 <20> <> <EFBFBD> name -> p2
2022-06-11 11:32:31 +00:00
{
if ( strlen ( $str_u ) < 8 || strlen ( $str_u ) > 30 ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 8 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 30 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : Parol228, Kotik111, Pswerd112.<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : parol228, kotik.' ;
2022-06-11 11:32:31 +00:00
}
if ( $str_u != $name ) {
2022-12-19 18:26:14 +00:00
$error = '<27> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : Parol228, Kotik111, Pswerd112.<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : parol228, kotik.' ;
}
if ( ! preg_match ( '/[a-z<> -<2D> ]+/' , $str_u )) {
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ..<2E> /a..z.' ;
$error = $error . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : Parol228, Kotik111, Pswerd112.<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : parol228, kotik.' ;
} elseif ( ! preg_match ( '/[A-Z<> -<2D> ]+/' , $str_u )) {
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ..<2E> /A..Z .' ;
$error = $error . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : Parol228, Kotik111, Pswerd112.<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : parol228, kotik.' ;
2022-06-11 11:32:31 +00:00
} else {
if ( ! preg_match ( '/[0-9]+/' , $str_u )) {
2022-12-19 18:26:14 +00:00
$error = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> .' ;
$error = $error . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : Parol228, Kotik111, Pswerd112.<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : parol228, kotik.' ;
2022-06-11 11:32:31 +00:00
}
}
}
//***************************************************
2022-12-19 18:26:14 +00:00
return $error ? : '' ;
2022-06-06 21:30:34 +00:00
}
2022-06-11 11:32:31 +00:00
if ( $_SERVER [ 'HTTP_USER_AGENT' ] != '' &&
$_SERVER [ 'HTTP_USER_AGENT' ] != 'Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0' &&
$_SERVER [ 'HTTP_USER_AGENT' ] != 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0' &&
$_SERVER [ 'HTTP_USER_AGENT' ] != 'Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0'
) {
?>
<! DOCTYPE html >
< head >
< meta http - equiv = " Content-Type " content = " text/html; charset=windows-1251 " />
2022-12-19 18:26:14 +00:00
< title > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ title >
2022-06-11 11:32:31 +00:00
< meta name = " description "
2022-12-19 18:26:14 +00:00
content = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ? <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> -<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> . <20> <> <EFBFBD> <EFBFBD> , <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . " />
2022-06-11 11:32:31 +00:00
</ head >
< meta http - equiv = " Content-Type " content = " text/html; charset=windows-1251 " />
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
< style >
body {
2022-12-19 18:26:14 +00:00
/* <20> <> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> */
/* <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> */
/* <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> */
background : #000 url(/werhr.jpg) no-repeat center center fixed;
2022-06-11 11:32:31 +00:00
}
. visible_class {
2022-12-19 18:26:14 +00:00
background - image : url ( script . png ); /* <20> <> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> */
2022-06-11 11:32:31 +00:00
background - size : 100 % 100 % ;
position : absolute ;
top : 45 % ;
left : 50 % ;
2022-12-19 18:26:14 +00:00
margin : 0 - 50 % 0 0 ;
2022-06-11 11:32:31 +00:00
#min-width: 600px;
min - height : 200 px ;
transform : translate ( - 50 % , - 50 % )
}
. visible_class input {
background : none repeat scroll 0 0 #720300;
border - color : #720300 #327CB5 #327CB5 #720300;
border - radius : 10 px 10 px 10 px 10 px ;
border - style : solid ;
border - width : 1 px ;
box - shadow : 1 px 1 px 3 px #333333;
color : #FFFFFF;
cursor : pointer ;
font - weight : bold ;
padding : 5 px ;
text - shadow : 1 px 1 px 1 px #000000;
display : block ;
margin - right : auto ;
margin - left : auto ;
}
. visible_class select {
background : none repeat scroll 0 0 #720300;
border - color : #720300 #327CB5 #327CB5 #720300;
border - radius : 10 px 10 px 10 px 10 px ;
border - style : solid ;
border - width : 1 px ;
box - shadow : 1 px 1 px 3 px #333333;
color : #FFFFFF;
cursor : pointer ;
font - weight : bold ;
padding : 5 px ;
text - shadow : 1 px 1 px 1 px #000000;
display : block ;
margin - right : auto ;
margin - left : auto ;
overflow - x : hidden ;
overflow - y : hidden ;
}
. visible_class h3 {
text - align : center ;
2022-12-19 18:26:14 +00:00
text - shadow : #000 0 0 10px; /* <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> */
2022-06-11 11:32:31 +00:00
color : #FFF;
margin - top : 20 px ;
margin - left : 50 px ;
margin - right : 50 px ;
#-webkit-text-stroke: 1px red;
}
. visible_class h4 {
text - align : center ;
text - shadow : #000 0 0 10px;
color : #ffc6c6;
margin - bottom : 50 px ;
margin - left : 50 px ;
margin - right : 50 px ;
#-webkit-text-stroke: 1px red;
}
. visible_class radio {
text - align : center ;
text - shadow : #000 0 0 10px;
color : red ;
#-webkit-text-stroke: 1px red;
}
. visible_class a : visited {
color : red ;
}
. visible_class_s input [ type = " submit " ] {
margin : 20 px 0 ;
padding : 0 10 px ;
background : #a50000;
color : #ffffff;
font - size : 22 px ;
text - transform : uppercase ;
border - width : 0 ;
border - radius : 5 px ;
cursor : pointer ;
transition : . 2 s linear
}
. visible_class_s input [ type = " submit " ] : hover {
background : #C44D58;
}
. visible_class_s {
position : absolute ;
top : 80 % ;
left : 50 % ;
2022-12-19 18:26:14 +00:00
margin : 0 - 50 % 0 0 ;
2022-06-11 11:32:31 +00:00
transform : translate ( - 50 % , - 50 % )
}
. invisible_class {
display : none ;
}
. form_radio_btn {
display : inline - block ;
margin - right : 10 px ;
}
. form_radio_btn input [ type = radio ] {
display : none ;
}
. form_radio_btn label {
display : inline - block ;
cursor : pointer ;
2022-12-19 18:26:14 +00:00
padding : 0 15 px ;
2022-06-11 11:32:31 +00:00
line - height : 34 px ;
border : 1 px solid #EEE;
color : #EEE;
border - radius : 6 px ;
user - select : none ;
}
/* Checked */
. form_radio_btn input [ type = radio ] : checked + label {
background : #790000;
color : white ;
}
/* Hover */
. form_radio_btn label : hover {
color : #FFF;
}
/* Disabled */
. form_radio_btn input [ type = radio ] : disabled + label {
background : #efefef;
color : #666;
}
. box {
background : linear - gradient ( to right , gold , darkorange );
color : white ;
-- width : 250 px ;
-- height : calc ( var ( -- width ) / 3 );
width : var ( -- width );
height : var ( -- height );
text - align : center ;
line - height : var ( -- height );
font - size : calc ( var ( -- height ) / 2.5 );
font - family : sans - serif ;
letter - spacing : 0.2 em ;
border : 1 px solid darkgoldenrod ;
border - radius : 2 em ;
transform : perspective ( 500 px ) rotateY ( - 15 deg );
text - shadow : 6 px 3 px 2 px rgba ( 0 , 0 , 0 , 0.2 );
box - shadow : 2 px 0 0 5 px rgba ( 0 , 0 , 0 , 0.2 );
transition : 0.5 s ;
position : relative ;
overflow : hidden ;
}
. box : hover {
transform : perspective ( 500 px ) rotateY ( 15 deg );
text - shadow : - 6 px 3 px 2 px rgba ( 0 , 0 , 0 , 0.2 );
box - shadow : - 2 px 0 0 5 px rgba ( 0 , 0 , 0 , 0.2 );
}
. box :: before {
content : '' ;
position : absolute ;
width : 100 % ;
height : 100 % ;
background : linear - gradient ( to right , transparent , white , transparent );
left : - 100 % ;
transition : 0.5 s ;
}
. box : hover :: before {
left : 100 % ;
}
</ style >
2022-12-19 21:15:56 +00:00
2022-06-11 11:32:31 +00:00
< form action = " register.php " method = " post " >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
if ( isset ( $_GET [ 'ref' ]) || isset ( $_POST [ 'ref' ])) {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< p >< input type = " text " name = " ref " value = " <?php
2022-06-11 11:32:31 +00:00
if ( isset ( $_GET [ 'ref' ])) {
print_r ( $_GET [ 'ref' ]);
} else {
print_r ( $_POST [ 'ref' ]);
}
?> "/></p>
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
}
if ( ! isset ( $_POST [ 'nick_u' ])) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " text " name = " nick_u " placeholder = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> nickname" /></ p >
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} elseif ( isset ( $_POST [ 'nick_u' ]) && error_check ( 1 , $_POST [ 'nick_u' ]) != " " ) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " text " name = " nick_u " value = " <?php
print_r ( $_POST [ 'nick_u' ]); ?> "/></p>
< h4 >< ? php
echo error_check ( 1 , $_POST [ 'nick_u' ]); ?> </h4>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< p > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ( login ) : < input type = " text " name = " nick_u " value = " <?php
print_r ( $_POST [ 'nick_u' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
if ( empty ( $_POST [ 'email_u' ]) && ! empty ( $_POST [ 'nick_u' ]) == true && error_check ( 1 , $_POST [ 'nick_u' ]) == " " ) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " Email " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " text " name = " email_u " placeholder = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> email" /></ p >
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ! <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ h3 ></ p >
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} elseif ( isset ( $_POST [ 'email_u' ]) && error_check ( 2 , $_POST [ 'email_u' ]) != " " ) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " Email " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " text " name = " email_u " value = " <?php
print_r ( $_POST [ 'email_u' ]); ?> "/></p>
< h4 >< ? php
echo error_check ( 2 , $_POST [ 'email_u' ]); ?> </h4>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< p >< input type = " text " name = " email_u " value = " <?php
print_r ( $_POST [ 'email_u' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-12-19 21:15:56 +00:00
if ( empty ( $_POST [ 'secure_code' ]) && ! empty ( $_POST [ 'email_u' ]) && error_check (
2 , $_POST [ 'email_u' ]
) == " " && error_check ( 3 , $_POST [ 'email_u' ], $_POST [ 'nick_u' ]) == " " ) {
2022-06-11 11:32:31 +00:00
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " Email " : < ? php
print_r ( $_POST [ 'email_u' ]) ?> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <br> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : </ h3 >
< input type = " text " name = " secure_code " placeholder = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> " /></ p >
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} elseif ( isset ( $_POST [ 'secure_code' ]) && error_check ( 4 , $_POST [ 'secure_code' ], $_POST [ 'email_u' ]) != " " ) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " Email " : < ? php
print_r ( $_POST [ 'email_u' ]) ?> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <br><3E> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : </ h3 >
< input type = " text " name = " secure_code " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> " /></ p >
< h4 >< ? php
echo error_check ( 4 , $_POST [ 'secure_code' ], $_POST [ 'email_u' ]); ?> </h4>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< p >< input type = " text " name = " secure_code " value = " <?php
print_r ( $_POST [ 'secure_code' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-12-19 21:15:56 +00:00
if (( empty ( $_POST [ 'pass1_u' ]) || empty ( $_POST [ 'pass2_u' ])) && ! empty ( $_POST [ 'secure_code' ]) && error_check (
4 , $_POST [ 'secure_code' ], $_POST [ 'email_u' ]
) == " " ) {
2022-06-11 11:32:31 +00:00
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " password " name = " pass1_u " value = " " /></ p >
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " password " name = " pass2_u " value = " " /></ p >< br >
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ h3 ></ p >
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-12-19 21:15:56 +00:00
} elseif ( ! empty ( $_POST [ 'pass1_u' ]) && ! empty ( $_POST [ 'secure_code' ]) && error_check (
5 , $_POST [ 'pass1_u' ], $_POST [ 'pass2_u' ]
) != " " ) {
2022-06-11 11:32:31 +00:00
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " password " name = " pass1_u " value = " <?php
print_r ( $_POST [ 'pass1_u' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 >
< input type = " password " name = " pass2_u " value = " <?php
print_r ( $_POST [ 'pass2_u' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ h3 ></ p >
< h4 >< ? = error_check ( 5 , $_POST [ 'pass1_u' ], $_POST [ 'pass2_u' ]); ?> </h4><br>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< p >< input type = " password " name = " pass1_u " value = " <?php
print_r ( $_POST [ 'pass1_u' ]); ?> "/></p>
< p >< input type = " password " name = " pass2_u " value = " <?php
print_r ( $_POST [ 'pass2_u' ]); ?> "/></p>
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-12-19 21:15:56 +00:00
if ( empty ( $_POST [ 'pol_u' ]) && ! empty ( $_POST [ 'pass1_u' ]) && ! empty ( $_POST [ 'pass2_u' ]) && error_check (
5 , $_POST [ 'pass1_u' ], $_POST [ 'pass2_u' ]
) == " " ) {
2022-06-11 11:32:31 +00:00
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ h3 >
2022-06-11 11:32:31 +00:00
< select name = " pol_u " size = " 2 " multiple >
2022-12-19 18:26:14 +00:00
< option value = " 10 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ option >
< option value = " 11 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ option >
2022-06-11 11:32:31 +00:00
</ select ></ p >
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
< select name = " pol_u " size = " 2 " multiple >
2022-12-19 18:26:14 +00:00
< option selected value = " <?php
print_r ( $_POST [ 'pol_u' ]); ?> "></option>
< option value = " <?php
print_r ( $_POST [ 'pol_u' ]); ?> "></option>
2022-06-11 11:32:31 +00:00
</ select ></ p >
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
if ( empty ( $_POST [ 'bday_u' ]) && ! empty ( $_POST [ 'pol_u' ])) {
?>
< div class = " visible_class " >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ h3 >
2022-06-11 11:32:31 +00:00
< input type = " date " id = " start " name = " bday_u " value = " 1980-01-01 " max = " 2003-01-01 " >
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
< div class = " invisible_class " >
2022-12-19 18:26:14 +00:00
< input type = " date " id = " start " name = " bday_u " value = " <?php
print_r ( $_POST [ 'bday_u' ]); ?> ">
2022-06-11 11:32:31 +00:00
</ div >
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
} ?>
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
if ( empty ( $_POST [ 'class_u' ]) && ! empty ( $_POST [ 'bday_u' ])) {
?>
< div class = " visible_class " >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ h3 ></ p >
2022-06-11 11:32:31 +00:00
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ! <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ,
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ h3 ></ p >
2022-06-11 11:32:31 +00:00
< div style = " margin-left: 23%; " >
< div class = " form_radio_btn " >
< p >< input name = " class_u " type = " radio " value = " 1 " id = " radio-1 " checked > < label
2022-12-19 18:26:14 +00:00
for = " radio-1 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label ></ p >
2022-06-11 11:32:31 +00:00
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 2 " id = " radio-2 " > < label for = " radio-2 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
2022-06-11 11:32:31 +00:00
</ p >
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 3 " id = " radio-3 " > < label for = " radio-3 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label ></ p >
2022-06-11 11:32:31 +00:00
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 4 " id = " radio-4 " > < label for = " radio-4 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
2022-06-11 11:32:31 +00:00
</ p >
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 5 " id = " radio-5 " > < label for = " radio-5 " > <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label ></ p >
2022-06-11 11:32:31 +00:00
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 6 " id = " radio-6 " > < label for = " radio-6 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
2022-06-11 11:32:31 +00:00
</ p >
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 7 " id = " radio-7 " > < label for = " radio-7 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
2022-06-11 11:32:31 +00:00
</ p >
</ div >
< div class = " form_radio_btn " >
2022-12-19 18:26:14 +00:00
< p >< input name = " class_u " type = " radio " value = " 8 " id = " radio-8 " > < label for = " radio-8 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
</ p >
</ div >
< div class = " form_radio_btn " >
2022-12-19 21:15:56 +00:00
< p >< input name = " class_u " type = " radio " value = " 9 " id = " radio-9 " > < label
for = " radio-9 " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ label >
2022-06-11 11:32:31 +00:00
</ p >
</ div >
</ div >
< p >
2022-12-19 18:26:14 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ! <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < a
href = 'https://new-combats.com/encicl/law2.html' > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ a > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h3 ></ p >
2022-06-11 11:32:31 +00:00
< br >
</ div >
2022-12-19 21:15:56 +00:00
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
}
2022-12-19 21:15:56 +00:00
if ( ! empty ( $_POST [ 'nick_u' ]) && ! empty ( $_POST [ 'email_u' ]) && ! empty ( $_POST [ 'secure_code' ]) && ! empty ( $_POST [ 'pol_u' ]) && ! empty ( $_POST [ 'bday_u' ]) && ! empty ( $_POST [ 'class_u' ]) && error_check (
4 , $_POST [ 'secure_code' ], $_POST [ 'email_u' ]
) == " " ) {
2022-06-11 11:32:31 +00:00
//================================
session_start ();
2022-12-19 18:26:14 +00:00
$u = User :: start ();
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
if ( $_POST [ 'ref' ] > 0 ) {
2022-12-19 21:15:56 +00:00
$ref = mysql_fetch_array (
mysql_query (
'SELECT `id`,`login` FROM `users` WHERE `id` = "' . mysql_real_escape_string (
$_POST [ 'ref' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( isset ( $ref [ 'id' ])) {
$_POST [ 'ref' ] = $ref [ 'id' ];
} else {
$_POST [ 'ref' ] = 0 ;
}
unset ( $ref );
}
2022-12-19 18:26:14 +00:00
2022-12-19 21:15:56 +00:00
mysql_query (
' INSERT INTO `users` ( `name` , `align` , `real` , `login` , `host_reg` , `pass` , `ip` , `ipreg` , `city` , `cityreg` , `room` , `timereg` ,
2022-12-19 18:26:14 +00:00
`activ` , `mail` , `bithday` , `sex` , `fnq` , `battle` , `design` , `molch2` , `level` , `hobby` , `clan_zv`
2022-06-06 21:30:34 +00:00
) VALUES (
" " ,
2022-12-19 18:26:14 +00:00
0 ,
1 ,
2022-06-11 11:32:31 +00:00
" ' . mysql_real_escape_string( $_POST['nick_u'] ) . ' " ,
2022-12-19 18:26:14 +00:00
" ' . (int) $_POST['ref'] . ' " ,
2022-06-11 11:32:31 +00:00
" ' . mysql_real_escape_string(md5( $_POST['pass1_u'] )) . ' " ,
2022-12-19 21:15:56 +00:00
" ' . UserIp::get() . ' " ,
" ' . UserIp::get() . ' " ,
2022-06-06 21:30:34 +00:00
" capitalcity " ,
" capitalcity " ,
2022-12-19 18:26:14 +00:00
9 ,
2022-06-11 11:32:31 +00:00
" ' . time() . ' " ,
2022-12-19 18:26:14 +00:00
0 ,
2022-06-11 11:32:31 +00:00
" ' . mysql_real_escape_string( $_POST['email_u'] ) . ' " ,
2022-12-19 18:26:14 +00:00
" ' . date('d.m.Y', strtotime( $_POST['bday_u'] )) . ' " ,
2022-06-11 11:32:31 +00:00
" ' . mysql_real_escape_string( $_POST['pol_u'] - 10) . ' " ,
2022-12-19 18:26:14 +00:00
0 ,
0 ,
1 ,
" ' . (time() + 86400) . ' " ,
8 ,
" " ,
0
2022-12-19 21:15:56 +00:00
) '
);
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
$uid = mysql_insert_id ();
if ( $uid > 0 ) {
if ( isset ( $_COOKIE [ 'from' ])) {
2022-12-19 21:15:56 +00:00
mysql_query (
'INSERT INTO `from` (`type`,`ip`,`uid`,`time`,`val`) VALUES ( 0, "' . UserIp :: get (
) . '",' . $uid . ', unix_timestamp(), "' . mysql_real_escape_string ( $_COOKIE [ 'from' ]) . '" ) '
);
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .
2022-12-19 21:15:56 +00:00
$pal = mysql_fetch_array (
mysql_query (
'SELECT * FROM `users` WHERE `align` > 1 AND `align` < 2 AND `online` > "' . ( time (
) - 120 ) . '" ORDER BY `online` DESC LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( ! isset ( $pal [ 'id' ])) {
2022-12-19 21:15:56 +00:00
$pal = mysql_fetch_array (
mysql_query (
'SELECT * FROM `users` WHERE `align` > 3 AND `align` < 4 AND `online` > "' . ( time (
) - 120 ) . '" ORDER BY `online` DESC LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
}
if ( isset ( $pal [ 'id' ])) {
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> $pal['login']
$paltext = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . $_POST [ 'nick_u' ] . '. <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !<21> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> . ' ;
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `chat` (`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`new`) VALUES ('capitalcity','0',' " . $pal [ 'login' ] . " ',' " . $_POST [ 'nick_u' ] . " ',' " . $paltext . " ',' " . time (
) . " ','3','0','1') "
);
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
//<2F> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :)
$text = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $_POST [ 'nick_u' ] . '</b>.<b><3E> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !<21> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !' ;
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `chat` (`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`new`) VALUES ('capitalcity','0','',' " . $_POST [ 'nick_u' ] . " ',' " . $text . " ',' " . time (
) . " ','3','0','1') "
);
2022-06-11 11:32:31 +00:00
}
2022-06-06 21:30:34 +00:00
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD>
if ( $_POST [ 'class_u' ] == 1 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 1 ); // <20> <> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 20 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=62|s2=3|s3=3|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=9|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6433 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6433 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 2101
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 2 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 8 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 20 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=21|s2=31|s3=16|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=9|a2=0|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6431 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6431 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1972
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 3 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 1 ); // <20> <> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 20 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=42|s2=3|s3=3|s4=50|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=9|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6432 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6432 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 2101
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 4 ) //<2F> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
{
2022-12-19 18:26:14 +00:00
$us = add_effn ( $uid , 7 ); // <20> <> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 20 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=24|s2=15|s3=29|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=9|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6430 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6430 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1988
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 5 ) //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
{
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 9 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 32 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 53 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 439 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=6|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6435 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6435 , $re ]
);
2022-12-19 18:26:14 +00:00
// <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1988
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 6 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 9 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 32 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 51 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 439 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=6|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6447 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6447 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1988
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 7 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 9 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 32 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 54 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 439 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=0|mg3=0|mg4=6|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6436 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6436 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1988
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 8 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 9 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 32 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 52 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 439 ); // <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=0|mg3=6|mg4=0|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6448 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6448 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1988
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
} elseif ( $_POST [ 'class_u' ] == 9 ) {
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 8 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
$us = add_effn ( $uid , 20 ); // <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES (' " . $uid . " ','s1=15|s2=23|s3=30|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=9|a2=0|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0',-75,-9,100000) "
);
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 6530 , $uid );
2022-12-19 21:15:56 +00:00
Db :: sql (
'update items_users set `1price` = (select price_1 from items_shop where items_shop.item_id = ? and sid = 1) where id = ?' ,
[ 6530 , $re ]
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
'UPDATE `users` SET `money` = `money`200 WHERE `id` = "' . $uid . '" LIMIT 1'
); //<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 2244 - 1972
2022-06-11 11:32:31 +00:00
}
if ( $_POST [ 'ref' ] > 0 ) {
2022-12-19 18:26:14 +00:00
$re = $u -> addItem ( 4811 , $uid );
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$us = add_effn ( $uid , 37 );
$us = add_effn ( $uid , 38 );
$us = add_effn ( $uid , 283 );
$us = add_effn ( $uid , 25 );
$us = add_effn ( $uid , 296 );
$us = add_effn ( $uid , 472 );
mysql_query ( 'UPDATE `users` SET `online` = "' . time () . '" WHERE `id` = "' . $uid . '" LIMIT 1' );
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
mysql_query ( " INSERT INTO `online` (`uid`,`timeStart`) VALUES (' " . $uid . " ',' " . time () . " ') " );
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$ttime = time ();
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `eff_users`(`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES
( 412 , '" . $uid . "' , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> [1]' , 'add_gold=1|add_speedhp=35|add_speedmp=35|add_exp=35|add_repair_discount=25|add_speed_dungeon=10|add_hpVinos=5|add_m10=5|add_m11=5|add_za=25|add_zma=25' , 52 , " . $ttime . " , 0 , '' , 0 , 0 , 0 , '' , 1 , - 1 , 0 , 0 , 1 , '' , 0 , 0 , 0 , 0 , 0 ) "
);
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
$ipm1 = mysql_fetch_array (
mysql_query (
'SELECT * FROM `logs_auth` WHERE `uid` = ' . $uid . ' AND `ip`!="' . UserIp :: get (
) . '" ORDER BY `id` LIMIT 1'
)
);
$ppl = mysql_query (
'SELECT * FROM `logs_auth` WHERE `ip`!="" AND (`ip` = "' . UserIp :: get (
) . '" OR `ip`="' . $ipm1 [ 'ip' ] . '" OR `ip`="' . $_COOKIE [ 'ip' ] . '")'
);
2022-06-11 11:32:31 +00:00
while ( $spl = mysql_fetch_array ( $ppl )) {
2022-12-19 21:15:56 +00:00
$ml = mysql_fetch_array (
mysql_query (
'SELECT `id` FROM `mults` WHERE (`uid` = "' . $spl [ 'uid' ] . '" AND `uid2` = "' . $uid . '") OR (`uid2` = "' . $spl [ 'uid' ] . '" AND `uid` = "' . $uid . '") LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( ! isset ( $ml [ 'id' ]) && $spl [ 'ip' ] != '' && $spl [ 'ip' ] != '127.0.0.1' ) {
2022-12-19 21:15:56 +00:00
mysql_query (
'INSERT INTO `mults` (`uid`,`uid2`,`ip`) VALUES ("' . $uid . '","' . $spl [ 'uid' ] . '","' . $spl [ 'ip' ] . '")'
);
2022-06-11 11:32:31 +00:00
}
}
2022-12-19 21:15:56 +00:00
mysql_query (
" INSERT INTO `logs_auth` (`uid`,`ip`,`browser`,`type`,`time`,`depass`) VALUES (' " . $uid . " ',' " . UserIp :: get (
) . " ',' " . $_SERVER [ 'HTTP_USER_AGENT' ] . " ','1',' " . time () . " ','') "
);
2022-06-11 11:32:31 +00:00
2022-12-19 18:26:14 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 21:15:56 +00:00
mysql_query (
" UPDATE `users` SET `online`= unix_timestamp(),`ip` = ' " . UserIp :: get (
) . " ' WHERE id = ' " . $uid . " ' LIMIT 1 "
);
2022-06-11 11:32:31 +00:00
2022-12-19 18:26:14 +00:00
if (
! setcookie ( 'login' , $_POST [ 'nick_u' ], ( time () + 60 * 60 * 24 * 7 ), '' , '.new-combats.com' ) ||
! setcookie ( 'pass' , md5 ( $_POST [ 'pass1_u' ]), ( time () + 60 * 60 * 24 * 7 ), '' , '.new-combats.com' ) ||
! setcookie ( 'registrationModal' , 'true' , ( time () + 60 * 60 * 24 * 7 ), '' , 'new-combats.com' )
) {
die ( '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> cookie.' );
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
Db :: sql ( 'insert into users_learning_status (uid) values (?)' , [ $uid ]);
2022-12-19 21:15:56 +00:00
die (
' <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !< br >< script > function test (){ top . location . href = " https://new-combats.com/bk " ; } setTimeout ( " test() " , 100 ); </ script > '
);
2022-06-11 11:32:31 +00:00
}
}
} else {
?>
2022-12-19 18:26:14 +00:00
< div class = " visible_class_s " >< p >< input class = " box " type = " submit " ></ p ></ div >
2022-06-11 11:32:31 +00:00
</ form >
2022-12-19 21:15:56 +00:00
2022-12-19 18:26:14 +00:00
< ? php
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
}