2022-08-25 17:08:08 +00:00
< ? php
define ( 'GAME' , true );
2023-01-10 16:29:32 +00:00
//10:05 Внимание! Вы успешно пополнили свой игровой счїт на <b>0.13 Е К Р </b>. Приятной Вам игры!
2022-08-25 17:08:08 +00:00
require_once ( '_incl_data/__config.php' );
require_once ( '_incl_data/class/__db_connect.php' );
$u = User :: start ();
if ( ! isset ( $u -> info [ 'id' ])) {
header ( 'location: https://new-combats.com/' );
die ();
2022-08-25 11:23:36 +00:00
}
2022-08-25 17:08:08 +00:00
$ball = mysql_fetch_array (
mysql_query (
'SELECT SUM(`ekr`) FROM `pay_operation` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `good` > 0 LIMIT 1'
)
);
$ball = 0 + $ball [ 0 ];
2023-01-10 16:29:32 +00:00
$day1def = 50 ; //сколько екр. в день можно менять на кр.
$day2def = 1000 * ( $u -> info [ 'level' ] - 7 ); //сколько кр. в день можно менять на екр.
2022-08-25 11:23:36 +00:00
$day1 = $day1def ;
$day2 = $day2def ;
2022-08-25 17:08:08 +00:00
if ( $day2 < 0 ) {
$day2 = 0 ;
}
2022-08-25 11:23:36 +00:00
$timetoday = strtotime ( date ( 'd.m.Y' ));
//
2022-08-25 17:08:08 +00:00
$dc1 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен Е К Р на К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
$dc2 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен К Р на Е К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
2022-08-25 11:23:36 +00:00
$dc1 = $dc1 [ 0 ];
$dc2 = $dc2 [ 0 ];
2022-08-25 17:08:08 +00:00
$day1 = round ( $day1 + $dc1 , 2 );
$day2 = round ( $day2 + $dc2 , 2 );
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
if ( $day1 < 0 ) {
$day1 = 0 ;
}
if ( $day2 < 0 ) {
$day2 = 0 ;
}
2022-08-25 11:23:36 +00:00
2023-01-10 16:29:32 +00:00
$b1 = 0 ; //бонус накопительный
2022-08-25 11:23:36 +00:00
$bt = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `bank_table` ORDER BY `time` DESC LIMIT 1' ));
2022-08-25 17:08:08 +00:00
$bns = [
[ 0 , 0 , 0 ],
[ 10 , 1 , 0 ],
[ 50 , 2 , 0 ],
[ 100 , 3 , 0 ],
[ 200 , 4 , 0 ],
[ 300 , 5 , 0 ],
[ 400 , 6 , 0 ],
[ 500 , 7 , 0 ],
[ 600 , 8 , 0 ],
[ 700 , 9 , 0 ],
[ 800 , 10 , 0 ],
[ 900 , 11 , 0 ],
[ 1000 , 13 , 1 ],
[ 1100 , 15 , 2 ],
[ 1200 , 17 , 3 ],
[ 1300 , 19 , 4 ],
[ 1500 , 21 , 5 ],
[ 1700 , 23 , 6 ],
[ 2000 , 25 , 7 ],
[ 2500 , 27 , 8 ],
[ 3000 , 30 , 9 ],
];
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
$bns2 = [
[ 0 , 0 ],
[ 10 , 10 ],
[ 20 , 10 ],
[ 30 , 10 ],
[ 40 , 10 ],
[ 50 , 10 ],
[ 60 , 10 ],
[ 70 , 10 ],
[ 80 , 10 ],
[ 90 , 10 ],
[ 100 , 20 ],
];
2022-08-25 11:23:36 +00:00
$i = 0 ;
2022-08-25 17:08:08 +00:00
while ( $i < count ( $bns )) {
if ( isset ( $bns [ $i ][ 0 ]) && $ball > $bns [ $i ][ 0 ]) {
$b1 = $i ;
}
$i ++ ;
2022-08-25 11:23:36 +00:00
}
2022-08-25 17:08:08 +00:00
if ( isset ( $backdoor )) {
$i = 0 ;
while ( $i < count ( $bns2 )) {
if ( isset ( $bns2 [ $i ][ 0 ]) && $pay [ 'ekr' ] >= $bns2 [ $i ][ 0 ]) {
$b2 = $i ;
}
$i ++ ;
}
2022-08-25 11:23:36 +00:00
}
2022-08-25 17:08:08 +00:00
if ( ! isset ( $backdoor )) {
if ( isset ( $_POST [ 'do' ]) && $_POST [ 'do' ] == 'newShadow' ) {
$o = mysql_fetch_array (
mysql_query (
'SELECT * FROM `_obraz` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `good` = 0 AND `cancel` = 0 AND `img` = "' . mysql_real_escape_string (
$_POST [ 'ffinput' ]
) . '" LIMIT 1'
)
);
if ( ! isset ( $o [ 'id' ])) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Данный образ не найден! Возможно он уже был подтвержден!' ;
2022-08-25 17:08:08 +00:00
} elseif ( $o [ 'price' ] > $u -> info [ 'money2' ]) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Н а счету недостаточно Е К Р ' ;
2022-08-25 17:08:08 +00:00
} else {
//
$u -> info [ 'money2' ] -= $o [ 'price' ];
mysql_query (
'UPDATE `users` SET `money2` = "' . $u -> info [ 'money2' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
//
mysql_query ( 'UPDATE `_obraz` SET `good` = "' . time () . '" WHERE `id` = "' . $o [ 'id' ] . '" LIMIT 1' );
if ( $o [ 'type' ] == 1 || $o [ 'type' ] == 2 ) {
2023-01-10 16:29:32 +00:00
//Личный или Клановый
2022-08-25 17:08:08 +00:00
copy (
'clan_prw/' . $o [ 'img' ], './img.new-combats.com/i/obraz/' . $o [ 'sex' ] . '/buy' . $o [ 'id' ] . '.gif'
);
} elseif ( $o [ 'type' ] == 3 ) {
2023-01-10 16:29:32 +00:00
//Питомец
2022-08-25 17:08:08 +00:00
copy ( 'clan_prw/' . $o [ 'img' ], './img.new-combats.com/pet/buy' . $o [ 'id' ] . '.gif' );
} elseif ( $o [ 'type' ] == 5 ) {
2023-01-10 16:29:32 +00:00
//Питомец
2022-08-25 17:08:08 +00:00
copy ( 'clan_prw/' . $o [ 'img' ], './img.new-combats.com/i/smile/s' . $o [ 'id' ] . '.gif' );
}
//
if ( $_POST [ 'ffsex' ] == 1 ) {
$o [ 'sex' ] = 1 ;
} elseif ( $_POST [ 'ffsex' ] == 0 ) {
$o [ 'sex' ] = 0 ;
}
//
if ( $o [ 'clan' ] > 0 ) {
$o [ 'uid1' ] = 0 ;
} else {
$o [ 'uid1' ] = $o [ 'uid' ];
}
//
if ( $o [ 'type' ] == 1 || $o [ 'type' ] == 2 ) {
2023-01-10 16:29:32 +00:00
//Личный и клановый
2022-08-25 17:08:08 +00:00
mysql_query (
' INSERT INTO `obraz` (
2022-08-25 11:23:36 +00:00
`sex` , `uid` , `img` , `usr_add` , `clan`
) VALUES (
2022-08-25 17:08:08 +00:00
" ' . $o['sex'] . ' " , " ' . $o['uid1'] . ' " , " buy' . $o['id'] . '.gif " , " ' . $o['uid'] . ' " , " ' . $o['clan'] . ' "
) '
);
} elseif ( $o [ 'type' ] == 3 ) {
2023-01-10 16:29:32 +00:00
//Питомца
2022-08-25 17:08:08 +00:00
mysql_query (
' INSERT INTO `obraz_pet` (
2022-08-25 11:23:36 +00:00
`uid` , `time` , `img`
) VALUES (
2022-08-25 17:08:08 +00:00
" ' . $u->info ['id'] . ' " , " ' . time() . ' " , " ' . mysql_real_escape_string('buy' . $o['id'] . '.gif') . ' "
) '
);
} elseif ( $o [ 'type' ] == 5 ) {
2023-01-10 16:29:32 +00:00
//Смайлик
2022-08-25 17:08:08 +00:00
$u -> info [ 'add_smiles' ] .= ',s' . $o [ 'id' ] . '' ;
$u -> info [ 'add_smiles' ] = ltrim ( $u -> info [ 'add_smiles' ], ',' );
mysql_query (
'UPDATE `users` SET `add_smiles` = "' . $u -> info [ 'add_smiles' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
}
//
if ( $o [ 'type' ] == 1 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Личный образ успешно установлен! Можете выбрать е г о в инвентаре, в разделе Образ.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $o [ 'type' ] == 2 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Клановый образ успешно установлен! Можете выбрать е г о в инвентаре, в разделе Образ.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $o [ 'type' ] == 3 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Личный образ питомца успешно установлен! Можете выбрать е г о в инвентаре, в разделе Звери.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $o [ 'type' ] == 5 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Личный смайлик успешно установлен! Можете выбрать е г о в разделе Личные смайлики. Код смайлика <b>:s' . $o [ 'id' ] . ':</b>' ;
2022-08-25 17:08:08 +00:00
}
}
} elseif ( isset ( $_FILES [ 'img' ])) {
2023-01-10 16:29:32 +00:00
//Личный образ
2022-08-25 17:08:08 +00:00
$ekr = 100 ;
if ( $u -> info [ 'money2' ] < $ekr ) {
2023-01-10 16:29:32 +00:00
echo '{"err":"Н а счету недостаточно Е К Р "}' ;
2022-08-25 17:08:08 +00:00
} else {
$obraz = 'f_shadow1_' . $u -> info [ 'id' ] . '-' . md5 (( time () - rand ( 0 , 1000 )) . '#shadow1' ) . '.gif' ;
$upload = new Uploader ( 'img' , $obraz );
$upload -> setSavePath ( 'clan_prw/' );
$upload -> setExtentions ( 'gif' );
$upload -> setMaxFileSize ( . 5 );
$upload -> setDimensions ( 120 , 220 );
//
if ( $file = $upload -> saveimg ()) {
mysql_query (
' INSERT INTO `_obraz` ( `uid` , `time` , `price` , `good` , `cancel` , `img` , `sex` , `type` , `clan` ) VALUES (
" ' . $u->info ['id'] . ' " ,
" ' . time() . ' " ,
" ' . mysql_real_escape_string( $ekr ) . ' " ,
2022-08-25 11:23:36 +00:00
" 0 " ,
" 0 " ,
2022-08-25 17:08:08 +00:00
" ' . mysql_real_escape_string( $obraz ) . ' " ,
" ' . $u->info ['sex'] . ' " ,
2022-08-25 11:23:36 +00:00
" 1 " ,
" 0 "
2022-08-25 17:08:08 +00:00
) '
);
echo '{"img":"' . $obraz . '"}' ;
} else {
echo '{"err":"' . Uploader :: $error . '"}' ;
}
}
die ();
} elseif ( isset ( $_FILES [ 'img5' ])) {
2023-01-10 16:29:32 +00:00
//Личный смайлик
2022-08-25 17:08:08 +00:00
$ekr = 10 ;
$ekr_smile = 10 ;
if ( $u -> info [ 'money2' ] < $ekr ) {
2023-01-10 16:29:32 +00:00
echo '{"err":"Н а счету недостаточно Е К Р "}' ;
2022-08-25 17:08:08 +00:00
} else {
$obraz = 'f_smile_' . $u -> info [ 'id' ] . '-' . md5 (( time () - rand ( 0 , 1000 )) . '#smile' ) . '.gif' ;
$upload = new Uploader ( 'img5' , $obraz );
$upload -> setSavePath ( 'clan_prw/' );
$upload -> setExtentions ( 'gif' );
$upload -> setMaxFileSize ( . 05 );
$upload -> setWidth ( 100 , 15 );
$upload -> setHeight ( 50 , 15 );
//
if ( $file = $upload -> saveimg ()) {
mysql_query (
' INSERT INTO `_obraz` ( `uid` , `time` , `price` , `good` , `cancel` , `img` , `sex` , `type` , `clan` ) VALUES (
" ' . $u->info ['id'] . ' " ,
" ' . time() . ' " ,
" ' . mysql_real_escape_string( $ekr ) . ' " ,
2022-08-25 11:23:36 +00:00
" 0 " ,
" 0 " ,
2022-08-25 17:08:08 +00:00
" ' . mysql_real_escape_string( $obraz ) . ' " ,
2022-08-25 11:23:36 +00:00
" 0 " ,
" 5 " ,
" 0 "
2022-08-25 17:08:08 +00:00
) '
);
echo '{"img":"' . $obraz . '"}' ;
} else {
echo '{"err":"' . Uploader :: $error . '"}' ;
}
}
die ();
} elseif ( isset ( $_FILES [ 'img2' ])) {
2023-01-10 16:29:32 +00:00
//Клановый образ
2022-08-25 17:08:08 +00:00
$ekr = 49.99 ;
if ( $u -> info [ 'clan' ] == 0 ) {
2023-01-10 16:29:32 +00:00
echo '{"err":"Вы должны состоять в клане"}' ;
2022-08-25 17:08:08 +00:00
} elseif ( $u -> info [ 'money2' ] < $ekr ) {
2023-01-10 16:29:32 +00:00
echo '{"err":"Н а счету недостаточно Е К Р "}' ;
2022-08-25 17:08:08 +00:00
} else {
$obraz = 'f_shadow2_' . $u -> info [ 'id' ] . '-' . md5 (( time () - rand ( 0 , 1000 )) . '#shadow2' ) . '.gif' ;
$upload = new Uploader ( 'img2' , $obraz );
$upload -> setSavePath ( 'clan_prw/' );
$upload -> setExtentions ( 'gif' );
$upload -> setMaxFileSize ( . 3 );
$upload -> setDimensions ( 120 , 220 );
//
if ( $file = $upload -> saveimg ()) {
mysql_query (
' INSERT INTO `_obraz` ( `uid` , `time` , `price` , `good` , `cancel` , `img` , `sex` , `type` , `clan` ) VALUES (
" ' . $u->info ['id'] . ' " ,
" ' . time() . ' " ,
" ' . mysql_real_escape_string( $ekr ) . ' " ,
2022-08-25 11:23:36 +00:00
" 0 " ,
" 0 " ,
2022-08-25 17:08:08 +00:00
" ' . mysql_real_escape_string( $obraz ) . ' " ,
" ' . $u->info ['sex'] . ' " ,
2022-08-25 11:23:36 +00:00
" 2 " ,
2022-08-25 17:08:08 +00:00
" ' . $u->info ['clan'] . ' "
) '
);
echo '{"img":"' . $obraz . '"}' ;
} else {
echo '{"err":"' . Uploader :: $error . '"}' ;
}
}
die ();
} elseif ( isset ( $_FILES [ 'img4' ])) {
2023-01-10 16:29:32 +00:00
//Питомец образ
2022-08-25 17:08:08 +00:00
$ekr = 4.99 ;
if ( $u -> info [ 'money2' ] < $ekr ) {
2023-01-10 16:29:32 +00:00
echo '{"err":"Н а счету недостаточно Е К Р "}' ;
2022-08-25 17:08:08 +00:00
} else {
$obraz = 'f_shadow3_' . $u -> info [ 'id' ] . '-' . md5 (( time () - rand ( 0 , 1000 )) . '#shadow3' ) . '.gif' ;
$upload = new Uploader ( 'img4' , $obraz );
$upload -> setSavePath ( 'clan_prw/' );
$upload -> setExtentions ( 'gif' );
$upload -> setMaxFileSize ( . 3 );
$upload -> setDimensions ( 120 , 40 );
//
if ( $file = $upload -> saveimg ()) {
mysql_query (
' INSERT INTO `_obraz` ( `uid` , `time` , `price` , `good` , `cancel` , `img` , `sex` , `type` , `clan` ) VALUES (
" ' . $u->info ['id'] . ' " ,
" ' . time() . ' " ,
" ' . mysql_real_escape_string( $ekr ) . ' " ,
2022-08-25 11:23:36 +00:00
" 0 " ,
" 0 " ,
2022-08-25 17:08:08 +00:00
" ' . mysql_real_escape_string( $obraz ) . ' " ,
" ' . $u->info ['sex'] . ' " ,
2022-08-25 11:23:36 +00:00
" 3 " ,
2022-08-25 17:08:08 +00:00
" ' . $u->info ['clan'] . ' "
) '
);
echo '{"img":"' . $obraz . '"}' ;
} else {
echo '{"err":"' . Uploader :: $error . '"}' ;
}
}
die ();
} elseif ( isset ( $_POST [ 'kr001' ])) {
2023-01-10 16:29:32 +00:00
//Обмен екр на кр.
2022-08-25 17:08:08 +00:00
$kr = round ( $_POST [ 'kr001' ], 2 );
if ( $c [ 'crtoecr' ] < 0.01 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Сегодня обменник закрыт.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $day2 < 0.01 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Сегодня для вас обмен закрыт, приходите завтра.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $kr < round ( $c [ 'crtoecr' ] / 100 , 2 )) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Минимальная сумма обмена ' . round ( $c [ 'crtoecr' ] / 100 , 2 ) . ' К Р .' ;
2022-08-25 17:08:08 +00:00
} elseif ( $kr > $day2 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Вы можете обменять еще ' . $day2 . ' К Р сегодня.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $kr > $u -> info [ 'money' ]) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Недостаточно денег для обмена.' ;
2022-08-25 17:08:08 +00:00
} else {
$ekr = round ( $kr / $c [ 'crtoecr' ], 2 );
2023-01-10 16:29:32 +00:00
$u -> error = 'Вы успешно обменяли ' . $kr . ' К Р на ' . $ekr . ' Е К Р .' ;
2022-08-25 17:08:08 +00:00
//
$u -> info [ 'money' ] -= $kr ;
$u -> info [ 'money2' ] += $ekr ;
//
mysql_query (
'UPDATE `users` SET `money` = "' . $u -> info [ 'money' ] . '",`money2` = "' . $u -> info [ 'money2' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
mysql_query (
' INSERT INTO `user_operation` ( `uid` , `time` , `money` , `money2` , `type` , `b1` , `b2` ) VALUES (
" ' . $u->info ['id'] . ' " , " ' . time() . ' " , " ' . round(- $kr , 2) . ' " , " ' . round(
$ekr , 2
2023-01-10 16:29:32 +00:00
) . '","Обмен К Р на Е К Р ","' . $u -> info [ 'money' ] . '","' . $u -> info [ 'money2' ] . ' "
2022-08-25 17:08:08 +00:00
) '
);
}
$dc1 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен Е К Р на К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
$dc2 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен К Р на Е К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
$dc1 = $dc1 [ 0 ];
$dc2 = $dc2 [ 0 ];
$day1 = round ( $day1def + $dc1 , 2 );
$day2 = round ( $day2def + $dc2 , 2 );
} elseif ( isset ( $_POST [ 'ekr2' ])) {
2023-01-10 16:29:32 +00:00
//Обмен екр на кр.
2022-08-25 17:08:08 +00:00
$ekr = round ( $_POST [ 'ekr2' ], 2 );
if ( $c [ 'ecrtocr' ] * 2.5 < 0.01 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Сегодня обменник закрыт.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $day1 < 0.01 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Сегодня для вас обмен закрыт, приходите завтра.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $ekr < 0.01 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Минимальная сумма обмена 0.01 Е К Р .' ;
2022-08-25 17:08:08 +00:00
} elseif ( $ekr > $day1 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Вы можете обменять еще ' . $day1 . ' Е К Р сегодня.' ;
2022-08-25 17:08:08 +00:00
} elseif ( $ekr > $u -> info [ 'money2' ]) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Недостаточно денег для обмена.' ;
2022-08-25 17:08:08 +00:00
} else {
$kr = round ( $ekr * $c [ 'ecrtocr' ] * 2.5 , 2 );
2023-01-10 16:29:32 +00:00
$u -> error = 'Вы успешно обменяли ' . $ekr . ' Е К Р на ' . $kr . ' К Р .' ;
2022-08-25 17:08:08 +00:00
//
$u -> info [ 'money' ] += $kr ;
$u -> info [ 'money2' ] -= $ekr ;
//
mysql_query (
'UPDATE `users` SET `money` = "' . $u -> info [ 'money' ] . '",`money2` = "' . $u -> info [ 'money2' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
mysql_query (
' INSERT INTO `user_operation` ( `uid` , `time` , `money` , `money2` , `type` , `b1` , `b2` ) VALUES (
" ' . $u->info ['id'] . ' " , " ' . time() . ' " , " ' . round( $kr , 2) . ' " , " ' . round(
- $ekr , 2
2023-01-10 16:29:32 +00:00
) . '","Обмен Е К Р на К Р ","' . $u -> info [ 'money' ] . '","' . $u -> info [ 'money2' ] . ' "
2022-08-25 17:08:08 +00:00
) '
);
}
$dc1 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен Е К Р на К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
$dc2 = mysql_fetch_array (
mysql_query (
2023-01-10 16:29:32 +00:00
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `type` = "Обмен К Р на Е К Р " LIMIT 1'
2022-08-25 17:08:08 +00:00
)
);
$dc1 = $dc1 [ 0 ];
$dc2 = $dc2 [ 0 ];
$day1 = round ( $day1def + $dc1 , 2 );
$day2 = round ( $day2def + $dc2 , 2 );
} elseif ( isset ( $_POST [ 'login' ])) {
//
function en_ru ( $txt )
{
$g = false ;
$en = preg_match ( " /^(([0-9a-zA-Z _-])+) $ /i " , $txt );
2023-01-10 16:29:32 +00:00
$ru = preg_match ( " /^(([0-9а -яА-Я _-])+) $ /i " , $txt );
2022-08-25 17:08:08 +00:00
if (( $ru && $en ) || ( ! $ru && ! $en )) {
$g = true ;
}
return $g ;
}
//
function testBad ( $txt )
{
2023-01-10 16:29:32 +00:00
$white = '-_ 0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMїЙЦУ К Е Н ГШЩЗ Х ЪФЫВ А ПР О ЛДЖЭЯЧС М ИТ Ь БЮїйцу ке нг шщзх ъфыва пр о лджэячс митьб ю' ;
2022-08-25 17:08:08 +00:00
$r = false ;
$i = 0 ;
while ( $i != - 1 ) {
if ( isset ( $txt [ $i ])) {
$g = false ;
$j = 0 ;
while ( $j != - 1 ) {
if ( isset ( $white [ $j ])) {
if ( $white [ $j ] == $txt [ $i ]) {
$g = true ;
}
} else {
$j = - 2 ;
}
$j ++ ;
}
if ( $g == false ) {
$r = true ;
}
} else {
$i = - 2 ;
}
$i ++ ;
}
return $r ;
}
function is_login ( $login )
{
$r = true ;
//
2023-01-10 17:26:14 +00:00
$login = htmlspecialchars ( $login , null );
2022-08-25 17:08:08 +00:00
//
$bad = [
2023-01-10 16:29:32 +00:00
'Мусорщик' => 1 ,
'Мироздатель' => 1 ,
2022-08-25 17:08:08 +00:00
];
//
$login_db = mysql_fetch_array (
mysql_query (
'SELECT `id` FROM `users` WHERE `login` = "' . mysql_real_escape_string ( $login ) . '" LIMIT 1'
)
);
if ( isset ( $login_db [ 'id' ]) || isset ( $bad [ $login ])) {
$r = false ;
} else {
$true = true ;
//
/*
2023-01-10 16:29:32 +00:00
Логин может содержать от 4 до 16 символов , и состоять только из букв русского ИЛИ английского алфавита , цифр , символов '_' , '-' и пробела .
Логин не может начинаться или заканчиваться символами '_' , '-' или пробелом .
2022-08-25 17:08:08 +00:00
*/
//
$login = str_replace ( ' ' , ' ' , $login );
$login = str_replace ( '%' , ' ' , $login );
$login = str_replace ( ' ' , ' ' , $login );
//
if ( strlen ( $login ) > 16 ) {
$true = false ;
} elseif ( strlen ( $login ) < 4 ) {
$true = false ;
} elseif ( strripos ( $login , ' ' ) == true ) {
$true = false ;
} elseif ( substr ( $login , 1 ) == ' ' || substr ( $login , - 1 ) == ' ' ) {
$true = false ;
} elseif ( substr ( $login , 1 ) == '-' || substr ( $login , - 1 ) == '-' ) {
$true = false ;
} elseif ( substr ( $login , 1 ) == '_' || substr ( $login , - 1 ) == '_' ) {
$true = false ;
} elseif ( testBad ( $login ) == true ) {
$true = false ;
2023-01-10 16:29:32 +00:00
} elseif ( en_ru ( str_replace ( 'ї' , 'е ' , str_replace ( 'ї' , 'Е ' , $login ))) == true ) {
2022-08-25 17:08:08 +00:00
$true = false ;
}
//
if ( $true == false ) {
$r = false ;
} else {
$r = true ;
}
}
return $r ;
}
if ( $u -> info [ 'login' ] == $_POST [ 'login' ]) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Выберите другой логин...' ;
2022-08-25 17:08:08 +00:00
} elseif ( $u -> info [ 'money2' ] < 25 ) {
2023-01-10 16:29:32 +00:00
$u -> error = 'Недостаточно средств.' ;
2022-08-25 17:08:08 +00:00
} else {
2023-01-10 17:26:14 +00:00
$login = htmlspecialchars ( $_POST [ 'login' ], null );
2022-08-25 17:08:08 +00:00
if ( is_login ( $login ) == true ) {
mysql_query (
' INSERT INTO `lastnames` ( `uid` , `login` , `newlogin` , `time` ) VALUES (
" ' . $u->info ['id'] . ' " , " ' . $u->info ['login'] . ' " , " ' . mysql_real_escape_string(
$login
) . '","' . time () . ' "
) '
);
$u -> info [ 'login_last' ] = $u -> info [ 'login' ];
$u -> info [ 'login' ] = $login ;
$u -> info [ 'money2' ] -= 25 ;
//
mysql_query (
" UPDATE `items_users` SET `data` = replace( `data` , 'sudba= " . $u -> info [ 'login_last' ] . " ', 'sudba= " . mysql_real_escape_string (
$u -> info [ 'login' ]
) . " ') WHERE `data` LIKE '%sudba= " . mysql_real_escape_string (
$u -> info [ 'login_last' ]
) . " %' AND `uid` = ' " . $u -> info [ 'id' ] . " ' "
);
//
mysql_query (
'UPDATE `users` SET `login` = "' . mysql_real_escape_string (
$u -> info [ 'login' ]
) . '", `money2` = "' . $u -> info [ 'money2' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2023-01-10 16:29:32 +00:00
$u -> error = 'Вы успешно сменили логин на "' . $u -> info [ 'login' ] . '" перезайдите в игру с главной страницы.' ;
2022-08-25 17:08:08 +00:00
} else {
2023-01-10 16:29:32 +00:00
$u -> error = 'Выберите другой логин...' ;
2022-08-25 17:08:08 +00:00
}
}
} elseif ( isset ( $_GET [ 'buy_ekr' ])) {
//
$mrh_login = " 15922 " ; //"65643";
$mrh_pass1 = " 6?ljVLf]RSiBM2F " ;
//
$inv_id = 0 ;
//
$out_ekr = round ( $_POST [ 'ekr' ], 2 );
if ( $out_ekr < 0 ) {
//
$out_ekr = 0 ;
}
$out_summ = round ( $out_ekr * $bt [ 'cur' ], 2 );
2023-01-10 16:29:32 +00:00
$inv_desc = 'Приобрести ' . $out_ekr . ' екр., персонаж №' . $u -> info [ 'id' ] . ', дилер №' . round (
2022-08-25 17:08:08 +00:00
( int ) $_POST [ 'ref' ]
) . '' ;
//
$shp_item = 0 ;
//
2023-01-10 16:29:32 +00:00
//Бонус опытовый, первичный и накопительный
2022-08-25 17:08:08 +00:00
$out_ekr0 = $out_ekr ;
//
$out_ekr += round ( $out_ekr0 / 100 * $bns [ $b1 ][ 1 ], 2 );
$i = 0 ;
while ( $i < count ( $bns2 )) {
if ( isset ( $bns2 [ $i ][ 0 ]) && $out_ekr >= $bns2 [ $i ][ 0 ]) {
$b2_2 = $i ;
}
$i ++ ;
}
$out_ekr += round ( $out_ekr0 / 100 * $bns2 [ $b2_2 ][ 1 ], 2 );
if ( $ball == 0 ) {
$out_ekr += round ( $out_ekr0 / 100 * 20 , 2 );
}
//
2023-01-10 16:29:32 +00:00
//Добавляем в базу
2022-08-25 17:08:08 +00:00
mysql_query (
' INSERT INTO `pay_operation` (
2022-08-25 11:23:36 +00:00
`uid` , `bank` , `code` , `ekr` , `time` , `good` , `cur` , `var` , `val` , `ref` , `ref2` , `ip` , `date`
) VALUES (
2022-08-25 17:08:08 +00:00
" ' . $u->info ['id'] . ' " , " ' . $u->bank ['id'] . ' " , " ' . mysql_real_escape_string(
( int ) $_GET [ 'code' ]
) . '","' . mysql_real_escape_string ( $out_ekr ) . ' " ,
" ' . time() . ' " , " 0 " , " ' . mysql_real_escape_string(
$cur [ 'cur' ]
) . '","buy_ekr","0","' . mysql_real_escape_string ( $u -> info [ 'host_reg' ]) . ' " ,
" ' . mysql_real_escape_string((int) $_GET['ref'] ) . ' " , " ' . mysql_real_escape_string(IP) . ' " , " ' . date(
'Y-m-d H:i:s'
) . ' "
) '
);
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
$shp_item = mysql_insert_id ();
if ( $shp_item > 0 ) {
2023-01-10 16:29:32 +00:00
//ожидаем оплаты
2022-08-25 17:08:08 +00:00
} else {
2023-01-10 16:29:32 +00:00
die ( 'Ошибка в обработке платежа, обратитесь к Администрации' );
2022-08-25 11:23:36 +00:00
}
2022-08-25 17:08:08 +00:00
if ( $out_ekr < 1 ) {
2023-01-10 16:29:32 +00:00
die ( 'Минимальная сумма покупки 1 екр.' );
2022-08-25 11:23:36 +00:00
}
2022-08-25 17:08:08 +00:00
//
2023-01-10 16:29:32 +00:00
// предлагаемая валюта платежа
2022-08-25 17:08:08 +00:00
// default payment e-currency
$in_curr = " " ;
2023-01-10 16:29:32 +00:00
// язык
2022-08-25 17:08:08 +00:00
// language
$culture = " ru " ;
$currency = " RUB " ;
2023-01-10 16:29:32 +00:00
// формирование подписи
2022-08-25 17:08:08 +00:00
// generate signature
//$crc = md5("$mrh_login:$out_summ:$inv_id:$mrh_pass1:Shp_item=$shp_item");
$crc = md5 (
$mrh_login . ':' . $out_summ . ':' . $mrh_pass1 . ':' . $currency . ':' . $shp_item
); //$sign = md5($merchant_id.':'.$order_amount.':'.$secret_word.':'.$currency.':'.$order_id);
2023-01-10 16:29:32 +00:00
// форма оплаты товара
2022-08-25 17:08:08 +00:00
// payment form
$url = 'https://pay.freekassa.ru/?' ;
$url .= 'm=' . $mrh_login . '&' ;
$url .= 'oa=' . $out_summ . '&' ;
$url .= 'currency=' . $currency . '&' ;
$url .= 'o=' . $shp_item . '&' ;
$url .= 's=' . $crc ;
header ( 'location: ' . $url );
die ();
print " <html> " .
" <script type= \" text/javascript \" src= \" js/jquery.js \" ></script><form id= \ 'F1 \ ' action='https://www.free-kassa.ru/merchant/cash.php' method=POST> " .
2023-01-10 16:29:32 +00:00
" Сумма платежа: " . $out_ekr . " Екр. " .
2022-08-25 17:08:08 +00:00
" <input type=hidden name=m value= $mrh_login > " .
" <input type=hidden name=oa value= $out_summ > " .
" <input type=hidden name=InvId value= $inv_id > " .
" <input type=hidden name=Desc value=' $inv_desc '> " .
" <input type=hidden name=s value= $crc > " .
" <input type=hidden name=ovalue=' $shp_item '> " .
" <input type=hidden name=i value= $in_curr > " .
" <input type=hidden name=lang value= $culture > " .
2023-01-10 16:29:32 +00:00
" <input type=submit value='Оплатить'><Br> " .
" (В с е средства идут на развитие и улучшение игры) " .
2022-08-25 17:08:08 +00:00
" </form><script> $ ('#F1').sumbit();</script></html> " ;
die ();
}
?>
< HTML >
< HEAD >
2023-01-10 16:29:32 +00:00
< title > Покупка ЕвроКредитов - Бойцовский Клуб </ title >
2022-08-25 17:08:08 +00:00
<!--< link rel = stylesheet type = " text/css " href = " /i/main.css " >-->
< script type = " text/javascript " src = " https://new-combats.com/res/js/jquery-1.7.1.min.js " ></ script >
2023-01-10 17:26:14 +00:00
2022-08-25 17:08:08 +00:00
< link href = " /res/css/style.css " rel = " stylesheet " type = " text/css " media = " all " />
< META Http - Equiv = Cache - Control Content = no - cache >
< meta http - equiv = PRAGMA content = NO - CACHE >
< META Http - Equiv = Expires Content = 0 >
< style type = " text/css " >
. t , . t tr , . t tr td {
font - family : Times New Roman ;
font - size : 16 px ;
border : 1 px solid black ;
border - collapse : collapse ;
text - align : center ;
vertical - align : top ;
}
. t {
border : 3 px solid black ;
border - collapse : collapse ;
}
. t . al {
text - align : left ;
}
. t . vam {
vertical - align : middle ;
}
. t . ac {
text - align : center ;
}
. t . b {
font - weight : bold ;
}
. t . p {
padding : 0 px 5 px 0 px 5 px ;
}
. t . btop {
border - top : 3 px solid black ;
border - collapse : collapse ;
}
. t . bright {
border - right : 3 px solid black ;
border - collapse : collapse ;
}
. t . bleft {
border - left : 3 px solid black ;
border - collapse : collapse ;
}
. t . bbottom {
border - bottom : 3 px solid black ;
border - collapse : collapse ;
}
. t . light {
background : #D6F5D3;
color : green ;
font - weight : bold ;
}
</ style >
</ HEAD >
< body >
< div id = " main " >
<!--< br />
2023-01-10 16:29:32 +00:00
< h3 > Покупка ЕвроКредитов </ h3 >
2022-08-25 17:08:08 +00:00
-->
< table style = " width:98%; margin: auto; " >
<!--
2023-01-10 16:29:32 +00:00
< tr >< td colspan = " 2 " style = 'font-weight:bold; color:red; padding: 10px 0 10px 0; font-size: 1.5em;' >< center > Пополнение Е К Р временно приостановлено !</ center ></ td ></ tr >
2022-08-25 17:08:08 +00:00
-->
< ? php if ( $ball == 0 ) { ?>
< tr >
< td colspan = " 2 " style = 'font-weight:bold; color:brown; padding: 10px 0 10px 0; font-size: 1.2em;' >
2023-01-10 16:29:32 +00:00
< center style = " color:red " > Акция ! При первом пополнении баланса , < br /> Вы получаете дополнительно
20 % Е К Р к сумме покупки БЕСПЛАТНО .
2022-08-25 17:08:08 +00:00
< br >
</ center >
</ td >
</ tr >
< ? php }
if ( isset ( $u -> info [ 'id' ])) { ?>
2023-01-10 16:29:32 +00:00
< center >< ? php echo '<div style="padding:10px; border-bottom:1px solid #fff;">Персонаж: ' . $u -> microLogin (
2022-08-25 17:08:08 +00:00
$u -> info [ 'id' ], 1
) . '</div>' ; ?> </center>
< ? php }
if ( $u -> error != '' ) {
echo '<div style="padding:10px;"><b><font color="red">' . $u -> error . '</font></b></div>' ;
}
?>
< a href = " https://new-combats.com/ekr.php " > < img border = " 0 " alt = " freekassa " src = " image/free.png " width = " 300 "
height = " 110 " ></ a >& nbsp
< tr >
< td style = " width: 500px; padding: 10px; vertical-align: top; " >
< fieldset style = " border: 1px solid white; padding: 10px;margin-top:15px; " >
2023-01-10 16:29:32 +00:00
< b >< span style = 'color:#8F0000;' > Ваш накопительный бонус :</ span > < font
color = green >< ? = $bns [ $b1 ][ 1 ] ?> % (<?= $ball ?> Е К Р )</font></b>
2022-08-25 17:08:08 +00:00
</ fieldset >
< fieldset
style = " width:480px; border: 1px solid white; padding: 10px;margin-top:15px; padding-bottom:10px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Покупка Е К Р </ legend >
2022-08-25 17:08:08 +00:00
< form method = " post " id = " ekrform " action = " ekr.php?buy_ekr=1 "
2023-01-10 16:29:32 +00:00
onsubmit = " if(document.getElementById('ch_1').checked==false) { alert('Вы не согласились с пользовательским соглашением.');return false;} else { if(document.getElementById('ch_2').checked==false) { alert('Вы не согласились с условиями оплаты.');return false;};}; if(document.getElementById('ekr').value<1) { alert('Нельзя купить менее 1 Е К Р !');return false;}; " >
< b > Сумма Е К Р :</ b > < input type = " text " name = " ekr " id = " ekr " value = " " size = " 8 "
2022-08-25 17:08:08 +00:00
onchange = " calc(); "
onkeyup = " if(event.keyCode<35||event.keyCode>40) calc(); " > & nbsp ;
2023-01-10 16:29:32 +00:00
< input type = " submit " class = " btn btn-success " value = " Пополнить баланс " >< br />
2022-08-25 17:08:08 +00:00
2023-01-10 16:29:32 +00:00
<!--< input type = " button " class = " btn btn-primary " value = " Оплатить с помощью VISA / MASTERCARD " onclick = " $ ('#ekrform').attr('action','ekr_fk_go.php'); $ ('#ekrform').submit(); " style = " width: 461px; " >-->
2022-08-25 17:08:08 +00:00
< div id = " calc "
style = " font-weight: bold; margin: auto; width: 400px; margin-top: 10px; margin-bottom: 10px; " >
& nbsp ; < br />& nbsp ; < br />& nbsp ;
</ div >
< script >
function bonus_n ( a ) {
var pr = < ? = ( 0 + $bns [ $b1 ][ 1 ]) ?> ;
return ( Math . floor (( a * pr / 100 ) * 100 ) / 100 );
};
function bonus_s ( a ) {
if ( a >= 100 ) {
pr = 20 ;
} else if ( a >= 90 ) {
pr = 10 ;
} else if ( a >= 80 ) {
pr = 10 ;
} else if ( a >= 70 ) {
pr = 10 ;
} else if ( a >= 60 ) {
pr = 10 ;
} else if ( a >= 50 ) {
pr = 10 ;
} else if ( a >= 40 ) {
pr = 10 ;
} else if ( a >= 30 ) {
pr = 10 ;
} else if ( a >= 20 ) {
pr = 10 ;
} else if ( a >= 10 ) {
pr = 10 ;
} else {
pr = 0 ;
}
return ( Math . floor (( a * pr / 100 ) * 100 ) / 100 );
};
function calc () {
document . getElementById ( 'ekr' ) . value = document . getElementById ( 'ekr' ) . value . replace ( / [ ^ \d\ . ] +/ g , '' );
//if(document.getElementById('ekr').value<0.1) document.getElementById('ekr').value=0.1;
//if(document.getElementById('ekr').value>120) document.getElementById('ekr').value=120;
var ekr = document . getElementById ( 'ekr' ) . value ;
if ( ekr . match ( /^ [ - \ + ] ? [ \d ] + \ . ? [ \d ] * $ / ) === null ) {
ekr = 0 ;
}
ekr4 = ekr = Math . round ( ekr * 100 ) / 100 ;
var ekr4 = ekr . toFixed ( 2 );
if ( document . getElementById ( 'ekr' ) . value != ekr ) {
document . getElementById ( 'ekr' ) . value = ekr ;
}
//alert(ekr);
var ekr2 = bonus_n ( ekr ); //alert(ekr2);
var ekr3 = bonus_s ( ekr ); //alert(ekr3);
var ekr7 = 0 ;
ekr2 = Math . floor ( ekr2 * 100 ) / 100 ;
ekr3 = Math . floor ( ekr3 * 100 ) / 100 ;
var ekr7 = 0 ;
< ? php if ( $ball == 0 ) { ?>
ekr7 = Math . floor (( ekr / 5 ) * 100 ) / 100 ;
< ? php } ?>
//var ekrr = parseFloat(ekr) + parseFloat(ekr2) + parseFloat(ekr3);
var ekrr = ekr + ekr2 + ekr3 + ekr7 ;
ekrr = Math . round ( ekrr * 100 ) / 100 ;
2023-01-10 16:29:32 +00:00
//document.getElementById('calc').innerHTML = ekr+' + '+ekr2+' + '+ekr3+' = '+ekrr+' Е К Р ';
document . getElementById ( 'calc' ) . innerHTML = 'Накопительный бонус: <font color=green>' + ekr2 + ' Е К Р </font><br />Оптовый бонус: <font color=green>' + ekr3 + ' Е К Р </font><?php if($ball == 0) { ?><br />Акция на 1-о е пополнение: <font color=red>' + ekr7 + ' Е К Р </font><?php } ?><br />Итого: <font color=green>' + ekrr + ' Е К Р </font>' ;
2022-08-25 17:08:08 +00:00
}
calc ();
</ script >
< table style = " border: 1px solid white; margin: auto; width: 400px; " >
< tr style = " border-bottom: 1px solid white; " >
2023-01-10 16:29:32 +00:00
< td style = " border-right: 1px solid white;padding:2px; " > 1 Е К Р </ td >
< td style = " padding:2px; " >< ? = round ( $bt [ 'cur' ], 2 ) ?> Рублей</td>
2022-08-25 17:08:08 +00:00
</ tr >
< tr style = " border-bottom: 1px solid white; " >
2023-01-10 16:29:32 +00:00
< td style = " border-right: 1px solid white;padding:2px; " > 1 Е К Р </ td >
< td style = " padding:2px; " >< ? = round ( $bt [ 'cur' ] / $bt [ 'USD' ], 2 ) ?> Доллара *</td>
2022-08-25 17:08:08 +00:00
</ tr >
</ table >
< small >
2023-01-10 16:29:32 +00:00
* - зависит от текущих курсов валют < br />
< b > Доставка игровой валюты производится в автоматическом режиме , сразу же после
оплаты !</ b >
2022-08-25 17:08:08 +00:00
< br />< br />
2023-01-10 16:29:32 +00:00
При оплате могут возникать задержки на пополнение , обычно не более 1 часа . Если по
истечению нескольких часов деньги так и не поступили на ваш баланс , то необходимо
обратиться в < a href = " https://www.free-kassa.ru/support.php " target = " _blank " > службу
поддержки FREE - KASSA </ a >.
2022-08-25 17:08:08 +00:00
</ small >
< br />< br />
</ form >
< small >
2023-01-10 16:29:32 +00:00
< label >< input type = " checkbox " name = " ch1 " id = " ch_1 " /> Внимание ! При пополнении баланса вы
соглашаетесь с < a href = " https://new-combats.com/encicl/law2.html " target = " _blank " > соглашением
о предоставлении сервиса игры & laquo ; Бойцовский Клуб & raquo ; </ a >.</ label >< br >
< label >< input type = " checkbox " name = " ch1 " id = " ch_1 " /> Внимание ! При пополнении баланса вы
соглашаетесь с < a href = " https://new-combats.com/encicl/law3.html " target = " _blank " > Политикой
Конфиеденцальности проекта & laquo ; Бойцовский Клуб & raquo ; </ a >.</ label >< br >
< label >< input type = " checkbox " name = " ch1 " id = " ch_1 " /> Внимание ! При пополнении баланса вы
соглашаетесь с < a href = " https://new-combats.com/encicl/law4.html " target = " _blank " > Договором
публичной оферты & laquo ; Бойцовский Клуб & raquo ; </ a >.</ label >
2022-08-25 17:08:08 +00:00
< br />
2023-01-10 16:29:32 +00:00
Если Вы очень хотели бы положить деньги на игровой счїт , но нет подходящей платїжной
системы , обратитесь за помощью к < b > Администратору </ b > проекта .
2022-08-25 17:08:08 +00:00
< br />< br />
</ small >
</ fieldset >
</ td >
< td style = " padding: 10px; vertical-align: top; " >
< fieldset style = " border: 1px solid white; padding: 10px;margin-top:15px; " >
2023-01-10 16:29:32 +00:00
< b >< span style = 'color:#8F0000;' > Ваш баланс счїта : < font color = green >< b >< ? = $u -> info [ 'money2' ] ?> Е К Р </b></font> и <font
color = black >< b >< ? = $u -> info [ 'money' ] ?> К Р </b></font>.</span></b>
2022-08-25 17:08:08 +00:00
</ fieldset >
< fieldset style = " border: 1px solid white; padding: 10px;margin-top:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Обмен </ legend >
2022-08-25 17:08:08 +00:00
< form method = " post " action = " ekr.php "
2023-01-10 16:29:32 +00:00
onsubmit = " if(document.getElementById('ekr2').value><?= $day1 ?>) { alert('Сегодня вы можете еще обменять не более <?= $day1 ?> Е К Р ');return false;} else if(document.getElementById('ekr2').value<0.01||document.getElementById('ekr2').value><?= $day1 ?>) { alert('З а 1 раз Вы можете обменять сумму от 0.01 до <?= $day1 ?> Е К Р .');return false;} else { return confirm('Вы действительно хотите обменять '+document.getElementById('ekr2').value+' Е К Р на '+(document.getElementById('ekr2').value*<?= $c['ecrtocr'] * 2.5 ?>)+' К Р ? В обратном направлении обмен с К Р на Е К Р будет невозможен.');}; " >
Обменять Е К Р на К Р по курсу < b > 1 Е К Р =< ? = $c [ 'ecrtocr' ] * 2.5 ?> К Р </b>: <input
2022-08-25 17:08:08 +00:00
type = " text " name = " ekr2 " id = " ekr2 " value = " " size = " 5 " placeholder = " <?= $day1 ?> max "
onchange = " calc22(); " onkeyup = " if(event.keyCode<35||event.keyCode>40) calc22(); " >
& nbsp ; < input type = " submit " class = " btn btn-success " name = " submit " id = " calc2 "
2023-01-10 16:29:32 +00:00
value = " Обменять " >< br />
2022-08-25 17:08:08 +00:00
</ form >
< form method = " post " action = " ekr.php "
onsubmit = " if(document.getElementById('kr001').value<<?= round(
$c [ 'crtoecr' ] / 100 , 2
2023-01-10 16:29:32 +00:00
) ?> ) {alert('Минимальная сумма обмена <?= round(
2022-08-25 17:08:08 +00:00
$c [ 'crtoecr' ] / 100 , 2
2023-01-10 16:29:32 +00:00
) ?> К Р ');return false;}else if(document.getElementById('kr001').value><?= $day2 ?>) {alert('Сегодня вы можете еще обменять не более <?= $day2 ?> К Р ');return false;} else {return confirm('Вы действительно хотите обменять '+document.getElementById('kr001').value+' К Р на '+(Math.round(document.getElementById('kr001').value/10)/50)+' Е К Р ? Отменить операцию обмена будет невозможно.');};">
Обменять К Р на Е К Р по курсу < b >< ? = $c [ 'crtoecr' ] ?> К Р =1Е К Р </b>: <input type="text"
2022-08-25 17:08:08 +00:00
style = " margin-left:1px; "
name = " kr001 "
id = " kr001 " value = " "
placeholder = " <?= $day2 ?> max "
size = " 5 "
onchange = " calc24(); "
onkeyup = " if(event.keyCode<35||event.keyCode>40) calc23(); " >
& nbsp ; < input type = " submit " class = " btn btn-success " name = " submit " id = " calc3 "
2023-01-10 16:29:32 +00:00
value = " Обменять " >< br />
2022-08-25 17:08:08 +00:00
</ form >
< script >
function calc23 () {
document . getElementById ( 'kr001' ) . value = document . getElementById ( 'kr001' ) . value . replace ( / [ ^ \d ] +/ g , '' );
var kr001 = document . getElementById ( 'kr001' ) . value ;
kr001 = Math . floor ( kr001 / 10 ) * 10 ;
var kr001ekr = kr001 / < ? = $c [ 'crtoecr' ] ?> ;
//kr001ekr = kr001ekr.toFixed(2);
//document.getElementById('kr001').value = kr001;
2023-01-10 16:29:32 +00:00
document . getElementById ( 'calc3' ) . value = 'Обменять ' + kr001 + ' К Р на ' + kr001ekr + ' Е К Р ' ;
2022-08-25 17:08:08 +00:00
return kr001 ;
}
function calc24 () {
document . getElementById ( 'kr001' ) . value = calc23 ();
if ( document . getElementById ( 'kr001' ) . value == 0 ) document . getElementById ( 'kr001' ) . value = '' ;
}
calc24 ();
function calc22 () {
document . getElementById ( 'ekr2' ) . value = document . getElementById ( 'ekr2' ) . value . replace ( / [ ^ \d\ . ] +/ g , '' );
var ekre = document . getElementById ( 'ekr2' ) . value ;
if ( ekre . match ( /^ [ - \ + ] ? [ \d ] + \ . ? [ \d ] * $ / ) === null ) {
ekre = 0 ;
}
ekre = Math . floor ( ekre * 100 ) / 100 ;
var ekr4 = ekre . toFixed ( 2 );
if ( document . getElementById ( 'ekr2' ) . value != ekre ) {
document . getElementById ( 'ekr2' ) . value = ekr4 ;
}
var kre = parseFloat ( ekre ) * < ? = $c [ 'ecrtocr' ] * 2.5 ?> ;
2023-01-10 16:29:32 +00:00
document . getElementById ( 'calc2' ) . value = 'Обменять ' + ekre + ' Е К Р на ' + kre . toFixed ( 0 ) + ' К Р ' ;
2022-08-25 17:08:08 +00:00
}
calc22 ();
</ script >
</ fieldset >
< fieldset style = " border: 1px solid white; padding: 20px 11px 21px 11px;margin-top:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Накопительные бонусы </ legend >
2022-08-25 17:08:08 +00:00
< table class = " t " style = " width: 500px; margin: auto; " >
< tr class = " b " >
2023-01-10 16:29:32 +00:00
< td > Е К Р </ td >
< td class = " bright " > Бонус </ td >
< td > Е К Р </ td >
< td > Бонус </ td >
2022-08-25 17:08:08 +00:00
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 800 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 10 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 3 000 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 30 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 700 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 9 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 2 500 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 27 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 600 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 8 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 2 000 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 25 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 500 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 7 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 700 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 23 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 400 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 6 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 500 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 21 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 300 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 5 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 300 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 19 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 200 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 4 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 200 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 17 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 100 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 3 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 100 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 15 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 50 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 2 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 1 000 Е К Р < img src = " /res/img/medals/vip.gif " title = " VIP " width = 20
2022-08-25 17:08:08 +00:00
style = " margin-top:2px; " /></ td >
< td class = " " > 13 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " " > 10 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " bright " > 1 %</ td >
2023-01-10 16:29:32 +00:00
< td class = " " > 900 Е К Р </ td >
2022-08-25 17:08:08 +00:00
< td class = " " > 11 %</ td >
</ tr >
</ table >
</ fieldset >
< fieldset style = " border: 1px solid white; padding: 18px 12px 18px 12px;margin-top:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Оптовые бонусы </ legend >
2022-08-25 17:08:08 +00:00
< table class = " t " style = " width: 500px; margin: auto; " >
< tr class = " b light " >
2023-01-10 16:29:32 +00:00
< td > Бонус </ td >
2022-08-25 17:08:08 +00:00
< td > 10 %</ td >
< td > 10 %</ td >
< td > 10 %</ td >
< td > 10 %</ td >
< td > 10 %</ td >
</ tr >
< tr style = " border-bottom: 2px solid black; " >
2023-01-10 16:29:32 +00:00
< td class = " b " > Сумма </ td >
< td > 10 Е К Р </ td >
< td > 20 Е К Р </ td >
< td > 30 Е К Р </ td >
< td > 40 Е К Р </ td >
< td > 50 Е К Р </ td >
2022-08-25 17:08:08 +00:00
</ tr >
< tr class = " b light " >
2023-01-10 16:29:32 +00:00
< td class = " b " > Бонус </ td >
2022-08-25 17:08:08 +00:00
< td > 10 %</ td >
< td > 10 %</ td >
< td > 10 %</ td >
< td > 10 %</ td >
< td > 20 %</ td >
</ tr >
< tr >
2023-01-10 16:29:32 +00:00
< td class = " b " > Сумма </ td >
< td > 60 Е К Р </ td >
< td > 70 Е К Р </ td >
< td > 80 Е К Р </ td >
< td > 90 Е К Р </ td >
< td > 100 Е К Р </ td >
2022-08-25 17:08:08 +00:00
</ tr >
</ table >
</ fieldset >
</ td >
</ tr >
<!--
2023-01-10 16:29:32 +00:00
< tr >< td colspan = " 2 " style = 'font-weight:bold; padding: 10px; font-size: 0.8em;' >< center > При оплате с кредитных карт могут возникать задержки на пополнение , обычно не более 1 часа . Так же часто происходит отказ в пополнении через кредитные карты , для этого необходимо выбрать в списке ДРУГОЙ сервис пополнения с кредитных карт , либо пополнять более мелкими частями .</ center ></ td ></ tr >
2022-08-25 17:08:08 +00:00
-->
< tr >
< td colspan = " 2 " style = 'font-weight:bold; color:#8F0000; padding: 10px 0 10px 0; font-size: 1.5em;' >
2023-01-10 16:29:32 +00:00
< center > Коммерческие услуги </ center >
2022-08-25 17:08:08 +00:00
</ td >
</ tr >
< tr >
2022-12-30 19:03:37 +00:00
< td colspan = " 2 " style = " padding: 10px; vertical-align: top; " >
2022-08-25 17:08:08 +00:00
<!-- komplekt form -->
< div class = " komplekt-form " id = " theLayer "
style = " position: absolute; left: -300px; top: 160px; visibility:hidden; width: 150px; height:320px; " >
< div class = " form-title " id = " titleBar " >
2023-01-10 16:29:32 +00:00
< label id = " ftitle " > Просмотр </ label >
2022-08-25 17:08:08 +00:00
< button type = " button " class = " close "
onclick = " document.getElementById('theLayer').style.visibility = 'hidden';return false "
data - dismiss = " modal " aria - hidden = " true " > x
</ button >
</ div >
< div class = " form " >
< form method = " post " id = " fform " action = " ekr.php " >
< input type = " hidden " name = " do " value = " newShadow " />
< input type = " hidden " id = " ffinput " name = " ffinput " value = " " />
< center >
< img src = " " id = " ffimg " width = " 120 " height = " 220 " style = " margin-bottom: 5px; " />< br >
< div style = " padding:5px; " >
< select name = " ffsex " id = " ffsex " >
< option value = " 0 " < ? php if ( $u -> info [ 'sex' ] == 0 ) {
echo 'selected="selected"' ;
2023-01-10 16:29:32 +00:00
} ?> >Мужской образ
2022-08-25 17:08:08 +00:00
</ option >
< option value = " 1 " < ? php if ( $u -> info [ 'sex' ] == 1 ) {
echo 'selected="selected"' ;
2023-01-10 16:29:32 +00:00
} ?> >Женский образ
2022-08-25 17:08:08 +00:00
</ option >
</ select >
</ div >
< div style = " width:240px; margin-left:-6px;background:#cbc4aa;padding:5px 0px 5px 0px;border:1px solid #cbc4aa;background-color:#eee;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;outline:none;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box; " >
2023-01-10 16:29:32 +00:00
< input type = " button " class = " btn btn-success " value = " Подтвердить "
2022-08-25 17:08:08 +00:00
style = " height: 28px; line-height: 20px; width: 100px;font-size:13px; "
2023-01-10 16:29:32 +00:00
onclick = " if(confirm('Действительно хотите купить это изображение?')) $ ('#fform').submit(); " />
< input type = " button " class = " btn btn-danger " value = " Отменить "
2022-08-25 17:08:08 +00:00
onclick = " document.getElementById('theLayer').style.visibility = 'hidden';return false "
style = " height: 28px; line-height: 20px; width: 100px;font-size:13px; " />
</ div >
</ center >
</ form >
</ div >
</ div >
2022-12-30 19:03:37 +00:00
< table style = " width: 100% " >
< tr >
< td style = " vertical-align: baseline; " >< fieldset style = " width:480px; border: 1px solid white; padding: 10px;margin:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Покупка личного образа </ legend >
2022-12-30 19:03:37 +00:00
< small >
2023-01-10 16:29:32 +00:00
< b > Стоимость услуги : 100 Е К Р </ b >< br >
Требования к персональному образу :< br />
GIF - картинка размером 120 x220 ( ШхВ ) и весом до 300 К б .< br />
2022-12-30 19:03:37 +00:00
< br >
2023-01-10 16:29:32 +00:00
Выберите картинку : < input type = " file " id = " imgFile " />
2022-12-30 19:03:37 +00:00
< script >
function showImgPreview ( img ) {
document . getElementById ( 'theLayer' ) . style . visibility = " visible " ;
document . getElementById ( 'theLayer' ) . style . left = 300 ;
document . getElementById ( 'theLayer' ) . style . top = 300 ;
$ ( 'img#ffimg' ) . attr ( 'src' , 'https://new-combats.com/clan_prw/' + img );
document . getElementById ( 'ffinput' ) . value = img ;
$ ( 'img#ffimg' ) . attr ( 'height' , '220' );
document . getElementById ( 'theLayer' ) . style . height = 290 ;
}
2022-08-25 17:08:08 +00:00
2022-12-30 19:03:37 +00:00
function showImgPreviewPet ( img ) {
document . getElementById ( 'theLayer' ) . style . visibility = " visible " ;
document . getElementById ( 'theLayer' ) . style . left = 300 ;
document . getElementById ( 'theLayer' ) . style . top = 300 ;
$ ( 'img#ffimg' ) . attr ( 'src' , 'https://new-combats.com/clan_prw/' + img );
$ ( 'img#ffimg' ) . attr ( 'height' , '40' );
//$('#theLayer').attr('height','120');
document . getElementById ( 'ffinput' ) . value = img ;
2022-08-25 17:08:08 +00:00
document . getElementById ( 'ffsex' ) . style . display = 'none' ;
2022-12-30 19:03:37 +00:00
document . getElementById ( 'theLayer' ) . style . height = 105 ;
$ ( 'html, body' ) . animate ({ scrollTop : 0 }, 'slow' );
2022-08-25 17:08:08 +00:00
}
2022-12-30 19:03:37 +00:00
function showImgPreviewSmile ( img ) {
document . getElementById ( 'theLayer' ) . style . visibility = " visible " ;
document . getElementById ( 'theLayer' ) . style . left = 300 ;
document . getElementById ( 'theLayer' ) . style . top = 300 ;
$ ( 'img#ffimg' ) . attr ( 'src' , 'https://new-combats.com/clan_prw/' + img );
$ ( 'img#ffimg' ) . attr ( 'width' , null );
$ ( 'img#ffimg' ) . attr ( 'height' , null );
document . getElementById ( 'ffinput' ) . value = img ;
document . getElementById ( 'ffsex' ) . style . display = 'none' ;
document . getElementById ( 'theLayer' ) . style . height = 105 ;
$ ( 'html, body' ) . animate ({ scrollTop : 0 }, 'slow' );
}
2022-08-25 17:08:08 +00:00
2022-12-30 19:03:37 +00:00
$ ( '#imgFile' ) . change ( function () {
var fd = new FormData ();
fd . append ( 'type' , 'person' );
fd . append ( 'img' , $ ( '#imgFile' )[ 0 ] . files [ 0 ]);
$ . ajax ({
type : 'POST' ,
url : 'ekr.php' ,
data : fd ,
processData : false ,
contentType : false ,
2023-01-10 16:29:32 +00:00
dataType : " json " , // поменять на json
2022-12-30 19:03:37 +00:00
success : function ( data ) {
if ( data [ 'img' ] != undefined ) {
document . getElementById ( 'ffsex' ) . style . display = 'none' ;
showImgPreview ( data [ 'img' ])
} else {
alert ( data [ 'err' ]);
}
},
error : function ( data ) {
2023-01-10 16:29:32 +00:00
alert ( 'Ошибка AJAX.' )
2022-12-30 19:03:37 +00:00
}
});
})
</ script >
</ small >
</ fieldset ></ td >
< td style = " vertical-align: baseline; " >< fieldset style = " border: 1px solid white; padding: 10px;margin:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Покупка личного смайлика </ legend >
2022-12-30 19:03:37 +00:00
< small >
2023-01-10 16:29:32 +00:00
< b > Стоимость услуги : < ? php $ekr_smile = 10 ;
echo $ekr_smile ; ?> Е К Р </b><br>
Требования к смайлику :< br />
GIF - картинка размером от 15 x15 до 95 x21 ( ШхВ ) и весом до 30 К б .< br />
2022-12-30 19:03:37 +00:00
< br >
2023-01-10 16:29:32 +00:00
Выберите картинку : < input type = " file " id = " imgFile5 " />
2022-12-30 19:03:37 +00:00
< script >
$ ( '#imgFile5' ) . change ( function () {
var fd = new FormData ();
fd . append ( 'type' , 'person' );
fd . append ( 'img5' , $ ( '#imgFile5' )[ 0 ] . files [ 0 ]);
$ . ajax ({
type : 'POST' ,
url : 'ekr.php' ,
data : fd ,
processData : false ,
contentType : false ,
2023-01-10 16:29:32 +00:00
dataType : " json " , // поменять на json
2022-12-30 19:03:37 +00:00
success : function ( data ) {
if ( data [ 'img' ] != undefined ) {
showImgPreviewSmile ( data [ 'img' ])
} else {
alert ( data [ 'err' ]);
}
},
error : function ( data ) {
2023-01-10 16:29:32 +00:00
alert ( 'Ошибка AJAX.' );
2022-12-30 19:03:37 +00:00
}
});
})
</ script >
</ small >
</ fieldset ></ td >
< td style = " vertical-align: baseline; " >< fieldset style = " border: 1px solid white; padding: 10px;margin:15px; " >
2023-01-10 16:29:32 +00:00
< legend style = 'font-weight:bold; color:#8F0000;' > Смена имени персонажа </ legend >
2022-12-30 19:03:37 +00:00
< small >
2023-01-10 16:29:32 +00:00
< b > Стоимость услуги : 25 Е К Р </ b >< br >
Текущее имя : < ? = $u -> info [ 'login' ] ?> <br>
2022-12-30 19:03:37 +00:00
< form method = " post " action = " ekr.php " id = " lform " >
< input type = " hidden " name = " do " value = " changeLogin " />
< input type = " text " name = " login " id = " llogin " onkeyup = " check_login(); " size = 35
2023-01-10 16:29:32 +00:00
placeholder = " Введите новое имя.. " style = " margin: 5px 0 5px 0; " /> < span
2022-12-30 19:03:37 +00:00
id = " ajaxLogin " ></ span >< br >
2023-01-10 16:29:32 +00:00
< input type = " button " class = " btn btn-success " value = " Сменить имя "
onclick = " if(confirm('Действительно хотите сменить имя?')) $ ('#lform').submit(); " />
2022-12-30 19:03:37 +00:00
</ form >
< script >
function check_login () {
2023-01-10 16:29:32 +00:00
$ ( " #ajaxLogin " ) . html ( '<b>Проверка доступности...</b>' );
2022-12-30 19:03:37 +00:00
$ . ajax ({
url : " ajax_checklogin.php?login= " + $ ( '#llogin' ) . val (),
cache : false
}) . done ( function ( html ) {
$ ( " #ajaxLogin " ) . html ( html );
});
2022-08-25 17:08:08 +00:00
}
2022-12-30 19:03:37 +00:00
</ script >
</ small >
</ fieldset ></ td >
</ tr >
</ table >
<!-- end komplekt form -->
2022-08-25 17:08:08 +00:00
</ td >
</ tr >
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
< tr >
< td colspan = " 2 " >& nbsp ; </ td >
</ tr >
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
</ table >
2022-08-25 11:23:36 +00:00
2022-08-25 17:08:08 +00:00
</ div >
</ BODY >
</ HTML >
< ? php
2022-08-25 11:23:36 +00:00
}
?>