2022-06-06 21:30:34 +00:00
< ?
2022-12-19 18:26:14 +00:00
require_once ( '_incl_data/__config.php' );
2022-06-06 21:30:34 +00:00
?>
< HTML >< HEAD >
< link rel = stylesheet type = " text/css " href = " https://img.new-combats.com/css/main.css " >
< meta content = " text/html; charset=windows-1251 " http - equiv = Content - type >
< META Http - Equiv = Cache - Control Content = no - cache >
< meta http - equiv = PRAGMA content = NO - CACHE >
< META Http - Equiv = Expires Content = 0 >
< 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> e - mail .</ TITLE >
</ HEAD >
< body leftmargin = 10 topmargin = 20 marginwidth = 0 bgcolor = e2e0e0 >
< ?
if ( $_GET [ 'id' ] != '' && $_GET [ 'code' ] != '' ) {
define ( 'GAME' , true );
include ( " _incl_data/class/__db_connect.php " );
$confirm = mysql_query ( " SELECT * FROM `emailconfirmation` WHERE `id` = ' " . mysql_real_escape_string ( $_GET [ 'id' ]) . " ' AND `code` = ' " . mysql_real_escape_string ( $_GET [ 'code' ]) . " ' AND (`active` = '1' OR `pass` = '1' OR `email` = '1' OR `qu_an` = '1') " );
if ( mysql_num_rows ( $confirm ) == 0 or mysql_num_rows ( $confirm ) == '' ) die ( " <br><br><br><h3><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !</h3> " );
$confirm = mysql_fetch_array ( $confirm , MYSQL_ASSOC ) or die ( " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !!" );
if ( $confirm [ 'active' ] == 1 ) {
mysql_query ( " UPDATE `users` SET `emailconfirmation` = '1', `securetime` = ' " . ( time () + 259200 ) . " ' WHERE `id` = ' " . mysql_real_escape_string ( $confirm [ 'id' ]) . " ' " );
echo " <br><br><br><h3><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> /email <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </h3> " ;
} elseif ( $confirm [ 'pass' ] == 1 ) {
mysql_query ( " UPDATE `users` SET `pass` = ' " . mysql_real_escape_string ( $confirm [ 'pa_em' ]) . " ', `securetime` = ' " . ( time () + 259200 ) . " ' WHERE `id` = ' " . mysql_real_escape_string ( $confirm [ 'id' ]) . " ' " );
echo " <br><br><br><h3><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </h3> " ;
} elseif ( $confirm [ 'email' ] == 1 ) {
mysql_query ( " UPDATE `users` SET `email` = ' " . mysql_real_escape_string ( $confirm [ 'pa_em' ]) . " ', `securetime` = ' " . ( time () + 259200 ) . " ' WHERE `id` = ' " . mysql_real_escape_string ( $confirm [ 'id' ]) . " ' " );
echo " <br><br><br><h3><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> email</h3> " ;
} elseif ( $confirm [ 'qu_an' ] == 1 ) {
mysql_query ( " UPDATE `users` SET `a1` = ' " . mysql_real_escape_string ( $confirm [ 'question' ]) . " ',`q1` = ' " . mysql_real_escape_string ( $confirm [ 'answer' ]) . " ', `securetime` = ' " . ( time () + 259200 ) . " ' WHERE `id` = ' " . mysql_real_escape_string ( $confirm [ 'id' ]) . " ' " );
echo " <br><br><br><h3><3E> <> <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> </h3> " ;
}
mysql_query ( " DELETE FROM `emailconfirmation` WHERE `id` = ' " . mysql_real_escape_string ( $_GET [ 'id' ]) . " ' AND `code` = ' " . mysql_real_escape_string ( $_GET [ 'code' ]) . " ' " );
} else { ?>
< FORM >
< h4 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> e - mail </ h4 >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : < INPUT type = text name = 'entcode' value = '' size = 40 >< INPUT type = submit value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " >
</ FORM >
< ? } ?>
</ BODY >
</ HTML >