1392 lines
62 KiB
PHP
1392 lines
62 KiB
PHP
<?php
|
||
if (!isset($backdoor)) {
|
||
define('GAME', true);
|
||
|
||
//10:05 Âíèìàíèå! Âû óñïåøíî ïîïîëíèëè ñâîé èãðîâîé ñ÷¸ò íà <b>0.13 ÅÊÐ</b>. Ïðèÿòíîé Âàì èãðû!
|
||
|
||
include('_incl_data/__config.php');
|
||
include('_incl_data/class/__db_connect.php');
|
||
$u = User::start();
|
||
if (!isset($u->info['id'])) {
|
||
header('location: https://new-combats.com/');
|
||
die();
|
||
}
|
||
|
||
class upload
|
||
{
|
||
|
||
protected function __construct() {}
|
||
|
||
//static $save_path = '/var/www/bk2ru/data/www/new-combats.com/clan_prw/';
|
||
static $save_path = 'clan_prw/';
|
||
static $error = '';
|
||
|
||
static function saveimg(
|
||
$name, $max_mb = 2, $exts = 'jpg|png|jpeg|gif', $cnm = '', $mnw = 0, $mxw = 0, $mnh = 0, $mxh = 0
|
||
) {
|
||
if (isset($_FILES[$name])) {
|
||
$f = &$_FILES[$name];
|
||
if (isset($f['tmp_name'])) {
|
||
$width = 0;
|
||
$height = 0;
|
||
list($width, $height) = getimagesize($f['tmp_name']);
|
||
}
|
||
|
||
if ($mnw != 0 && $mnw > $width) {
|
||
self::$error = 'Ìèíèìàëüíàÿ øèðèíà êàðòèíêè ' . $mnw . ' ïèêñåëåé. (Ðàçìåð ýòîé êàðòèíêè ' . $width . 'x' . $height . ')';
|
||
} elseif ($mxw != 0 && $mxw < $width) {
|
||
self::$error = 'Ìàêñèìàëüíàÿ øèðèíà êàðòèíêè ' . $mxw . ' ïèêñåëåé. (Ðàçìåð ýòîé êàðòèíêè ' . $width . 'x' . $height . ')';
|
||
} elseif ($mnh != 0 && $mnh > $height) {
|
||
self::$error = 'Ìèíèìàëüíàÿ âûñîòà êàðòèíêè ' . $mnh . ' ïèêñåëåé. (Ðàçìåð ýòîé êàðòèíêè ' . $width . 'x' . $height . ')';
|
||
} elseif ($mxh != 0 && $mxh < $height) {
|
||
self::$error = 'Ìàêñèìàëüíàÿ âûñîòà êàðòèíêè ' . $mxh . ' ïèêñåëåé. (Ðàçìåð ýòîé êàðòèíêè ' . $width . 'x' . $height . ')';
|
||
} elseif (!is_dir(self::$save_path)) {
|
||
self::$error = 'Îøèáêà íà ñòîðîíå ñåðâåðà!';
|
||
} elseif (($f['size'] <= $max_mb * 1024 * 1024) && ($f['size'] > 0)) {
|
||
if (
|
||
(preg_match('/\.(' . $exts . ')$/i', $f['name'], $ext)) &&
|
||
(preg_match('/image/i', $f['type']))
|
||
) {
|
||
|
||
$ext[1] = strtolower($ext[1]);
|
||
$fn = uniqid('f_', true) . '.' . $ext[1];
|
||
$fn2 = uniqid('f_', true) . '.gif';
|
||
if ($cnm != '') {
|
||
$fn = $cnm;
|
||
$fn2 = $cnm;
|
||
}
|
||
if (move_uploaded_file($f['tmp_name'], self::$save_path . $fn)) {
|
||
// ñèñòåìà èçìåíåíèÿ ðàçìåðà , òðåáóåòñÿ Rimage
|
||
//Rimage::resize(self::$save_path . $fn, self::$save_path . $fn2);
|
||
//@unlink(self::$save_path . $fn); // óäàëåíèå ôàéëà
|
||
return [$fn2, $fn, self::$save_path . $fn];
|
||
} else {
|
||
self::$error = 'Îøèáêà çàãðóçêè ôàéëà';
|
||
}
|
||
} else {
|
||
self::$error = 'Íåâåðíûé òèï ôàéëà. Äîïóñòèìûå òèïû : ' . $exts . '';
|
||
}
|
||
} else {
|
||
self::$error = 'Íåâåðíûé ðàçìåð ôàéëà. Ìàêñèìàëüíûé ðàçìåð ôàéëà ' . $max_mb . ' ÌÁ';
|
||
}
|
||
} else {
|
||
self::$error = 'Ôàéë íå íàéäåí';
|
||
}
|
||
return false;
|
||
} // end saveimg
|
||
|
||
} // end class
|
||
|
||
$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];
|
||
} else {
|
||
$ball = mysql_fetch_array(
|
||
mysql_query('SELECT SUM(`ekr`) FROM `pay_operation` WHERE `uid` = "' . $user['id'] . '" AND `good` > 0 LIMIT 1')
|
||
);
|
||
$ball = 0 + $ball[0];
|
||
}
|
||
|
||
$day1def = 50; //ñêîëüêî åêð. â äåíü ìîæíî ìåíÿòü íà êð.
|
||
$day2def = 1000 * ($u->info['level'] - 7); //ñêîëüêî êð. â äåíü ìîæíî ìåíÿòü íà åêð.
|
||
|
||
$day1 = $day1def;
|
||
$day2 = $day2def;
|
||
|
||
if ($day2 < 0) {
|
||
$day2 = 0;
|
||
}
|
||
|
||
$timetoday = strtotime(date('d.m.Y'));
|
||
//
|
||
$dc1 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÅÊÐ íà ÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$dc2 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÊÐ íà ÅÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$dc1 = $dc1[0];
|
||
$dc2 = $dc2[0];
|
||
|
||
$day1 = round($day1 + $dc1, 2);
|
||
$day2 = round($day2 + $dc2, 2);
|
||
|
||
if ($day1 < 0) {
|
||
$day1 = 0;
|
||
}
|
||
if ($day2 < 0) {
|
||
$day2 = 0;
|
||
}
|
||
|
||
|
||
$b1 = 0; //áîíóñ íàêîïèòåëüíûé
|
||
|
||
$bt = mysql_fetch_array(mysql_query('SELECT * FROM `bank_table` ORDER BY `time` DESC LIMIT 1'));
|
||
|
||
$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],
|
||
];
|
||
|
||
$bns2 = [
|
||
[0, 0],
|
||
[10, 10],
|
||
[20, 10],
|
||
[30, 10],
|
||
[40, 10],
|
||
[50, 10],
|
||
[60, 10],
|
||
[70, 10],
|
||
[80, 10],
|
||
[90, 10],
|
||
[100, 20],
|
||
];
|
||
|
||
$i = 0;
|
||
while ($i < count($bns)) {
|
||
if (isset($bns[$i][0]) && $ball > $bns[$i][0]) {
|
||
$b1 = $i;
|
||
}
|
||
$i++;
|
||
}
|
||
|
||
if (isset($backdoor)) {
|
||
$i = 0;
|
||
while ($i < count($bns2)) {
|
||
if (isset($bns2[$i][0]) && $pay['ekr'] >= $bns2[$i][0]) {
|
||
$b2 = $i;
|
||
}
|
||
$i++;
|
||
}
|
||
}
|
||
|
||
if (isset($backdoor)) {
|
||
return;
|
||
}
|
||
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'])) {
|
||
$u->error = 'Äàííûé îáðàç íå íàéäåí! Âîçìîæíî îí óæå áûë ïîäòâåðæäåí!';
|
||
} elseif ($o['price'] > $u->info['money2']) {
|
||
$u->error = 'Íà ñ÷åòó íåäîñòàòî÷íî ÅÊÐ';
|
||
} 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) {
|
||
//Ëè÷íûé èëè Êëàíîâûé
|
||
copy('clan_prw/' . $o['img'], './img.new-combats.com/i/obraz/' . $o['sex'] . '/buy' . $o['id'] . '.gif');
|
||
} elseif ($o['type'] == 3) {
|
||
//Ïèòîìåö
|
||
copy('clan_prw/' . $o['img'], './img.new-combats.com/pet/buy' . $o['id'] . '.gif');
|
||
} elseif ($o['type'] == 5) {
|
||
//Ïèòîìåö
|
||
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) {
|
||
//Ëè÷íûé è êëàíîâûé
|
||
mysql_query(
|
||
'INSERT INTO `obraz` (
|
||
`sex`,`uid`,`img`,`usr_add`,`clan`
|
||
) VALUES (
|
||
"' . $o['sex'] . '","' . $o['uid1'] . '","buy' . $o['id'] . '.gif","' . $o['uid'] . '","' . $o['clan'] . '"
|
||
)'
|
||
);
|
||
} elseif ($o['type'] == 3) {
|
||
//Ïèòîìöà
|
||
mysql_query(
|
||
'INSERT INTO `obraz_pet` (
|
||
`uid`,`time`,`img`
|
||
) VALUES (
|
||
"' . $u->info['id'] . '","' . time() . '","' . mysql_real_escape_string('buy' . $o['id'] . '.gif') . '"
|
||
)'
|
||
);
|
||
} elseif ($o['type'] == 5) {
|
||
//Ñìàéëèê
|
||
$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) {
|
||
$u->error = 'Ëè÷íûé îáðàç óñïåøíî óñòàíîâëåí! Ìîæåòå âûáðàòü åãî â èíâåíòàðå, â ðàçäåëå Îáðàç.';
|
||
} elseif ($o['type'] == 2) {
|
||
$u->error = 'Êëàíîâûé îáðàç óñïåøíî óñòàíîâëåí! Ìîæåòå âûáðàòü åãî â èíâåíòàðå, â ðàçäåëå Îáðàç.';
|
||
} elseif ($o['type'] == 3) {
|
||
$u->error = 'Ëè÷íûé îáðàç ïèòîìöà óñïåøíî óñòàíîâëåí! Ìîæåòå âûáðàòü åãî â èíâåíòàðå, â ðàçäåëå Çâåðè.';
|
||
} elseif ($o['type'] == 5) {
|
||
$u->error = 'Ëè÷íûé ñìàéëèê óñïåøíî óñòàíîâëåí! Ìîæåòå âûáðàòü åãî â ðàçäåëå Ëè÷íûå ñìàéëèêè. Êîä ñìàéëèêà <b>:s' . $o['id'] . ':</b>';
|
||
}
|
||
}
|
||
} elseif (isset($_FILES['img'])) {
|
||
//Ëè÷íûé îáðàç
|
||
$ekr = 100;
|
||
if ($u->info['money2'] < $ekr) {
|
||
echo '{"err":"Íà ñ÷åòó íåäîñòàòî÷íî ÅÊÐ"}';
|
||
} else {
|
||
$obraz = 'f_shadow1_' . $u->info['id'] . '-' . md5((time() - rand(0, 1000)) . '#shadow1') . '.gif';
|
||
//
|
||
if ($file = upload::saveimg('img', 0.5, 'gif', $obraz, 120, 120, 220, 220)) {
|
||
//
|
||
//$u->info['money2'] -= $ekr;
|
||
//mysql_query('UPDATE `users` SET `money2` = "'.$u->info['money2'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
||
//
|
||
mysql_query(
|
||
'INSERT INTO `_obraz` ( `uid`,`time`,`price`,`good`,`cancel`,`img`,`sex`,`type`,`clan` ) VALUES (
|
||
"' . $u->info['id'] . '",
|
||
"' . time() . '",
|
||
"' . mysql_real_escape_string($ekr) . '",
|
||
"0",
|
||
"0",
|
||
"' . mysql_real_escape_string($obraz) . '",
|
||
"' . $u->info['sex'] . '",
|
||
"1",
|
||
"0"
|
||
) '
|
||
);
|
||
echo '{"img":"' . $obraz . '"}';
|
||
} else {
|
||
echo '{"err":"' . upload::$error . '"}';
|
||
}
|
||
}
|
||
die();
|
||
} elseif (isset($_FILES['img5'])) {
|
||
//Ëè÷íûé ñìàéëèê
|
||
$ekr = 10;
|
||
$ekr_smile = 10;
|
||
if ($u->info['money2'] < $ekr) {
|
||
echo '{"err":"Íà ñ÷åòó íåäîñòàòî÷íî ÅÊÐ"}';
|
||
} else {
|
||
$obraz = 'f_smile_' . $u->info['id'] . '-' . md5((time() - rand(0, 1000)) . '#smile') . '.gif';
|
||
//
|
||
if ($file = upload::saveimg('img5', 0.05, 'gif', $obraz, 15, 100, 15, 50)) {
|
||
//
|
||
//$u->info['money2'] -= $ekr;
|
||
//mysql_query('UPDATE `users` SET `money2` = "'.$u->info['money2'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
||
//
|
||
mysql_query(
|
||
'INSERT INTO `_obraz` ( `uid`,`time`,`price`,`good`,`cancel`,`img`,`sex`,`type`,`clan` ) VALUES (
|
||
"' . $u->info['id'] . '",
|
||
"' . time() . '",
|
||
"' . mysql_real_escape_string($ekr) . '",
|
||
"0",
|
||
"0",
|
||
"' . mysql_real_escape_string($obraz) . '",
|
||
"0",
|
||
"5",
|
||
"0"
|
||
) '
|
||
);
|
||
echo '{"img":"' . $obraz . '"}';
|
||
} else {
|
||
echo '{"err":"' . upload::$error . '"}';
|
||
}
|
||
}
|
||
die();
|
||
} elseif (isset($_FILES['img2'])) {
|
||
//Êëàíîâûé îáðàç
|
||
$ekr = 49.99;
|
||
if ($u->info['clan'] == 0) {
|
||
echo '{"err":"Âû äîëæíû ñîñòîÿòü â êëàíå"}';
|
||
} elseif ($u->info['money2'] < $ekr) {
|
||
echo '{"err":"Íà ñ÷åòó íåäîñòàòî÷íî ÅÊÐ"}';
|
||
} else {
|
||
$obraz = 'f_shadow2_' . $u->info['id'] . '-' . md5((time() - rand(0, 1000)) . '#shadow2') . '.gif';
|
||
//
|
||
if ($file = upload::saveimg('img2', 0.3, 'gif', $obraz, 120, 120, 220, 220)) {
|
||
//
|
||
//$u->info['money2'] -= $ekr;
|
||
//mysql_query('UPDATE `users` SET `money2` = "'.$u->info['money2'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
||
//
|
||
mysql_query(
|
||
'INSERT INTO `_obraz` ( `uid`,`time`,`price`,`good`,`cancel`,`img`,`sex`,`type`,`clan` ) VALUES (
|
||
"' . $u->info['id'] . '",
|
||
"' . time() . '",
|
||
"' . mysql_real_escape_string($ekr) . '",
|
||
"0",
|
||
"0",
|
||
"' . mysql_real_escape_string($obraz) . '",
|
||
"' . $u->info['sex'] . '",
|
||
"2",
|
||
"' . $u->info['clan'] . '"
|
||
) '
|
||
);
|
||
echo '{"img":"' . $obraz . '"}';
|
||
} else {
|
||
echo '{"err":"' . upload::$error . '"}';
|
||
}
|
||
}
|
||
die();
|
||
} elseif (isset($_FILES['img4'])) {
|
||
//Ïèòîìåö îáðàç
|
||
$ekr = 4.99;
|
||
if ($u->info['money2'] < $ekr) {
|
||
echo '{"err":"Íà ñ÷åòó íåäîñòàòî÷íî ÅÊÐ"}';
|
||
} else {
|
||
$obraz = 'f_shadow3_' . $u->info['id'] . '-' . md5((time() - rand(0, 1000)) . '#shadow3') . '.gif';
|
||
//
|
||
if ($file = upload::saveimg('img4', 0.3, 'gif', $obraz, 120, 120, 40, 40)) {
|
||
//
|
||
//$u->info['money2'] -= $ekr;
|
||
//mysql_query('UPDATE `users` SET `money2` = "'.$u->info['money2'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
||
//
|
||
mysql_query(
|
||
'INSERT INTO `_obraz` ( `uid`,`time`,`price`,`good`,`cancel`,`img`,`sex`,`type`,`clan` ) VALUES (
|
||
"' . $u->info['id'] . '",
|
||
"' . time() . '",
|
||
"' . mysql_real_escape_string($ekr) . '",
|
||
"0",
|
||
"0",
|
||
"' . mysql_real_escape_string($obraz) . '",
|
||
"' . $u->info['sex'] . '",
|
||
"3",
|
||
"' . $u->info['clan'] . '"
|
||
) '
|
||
);
|
||
echo '{"img":"' . $obraz . '"}';
|
||
} else {
|
||
echo '{"err":"' . upload::$error . '"}';
|
||
}
|
||
}
|
||
die();
|
||
} elseif (isset($_POST['kr001'])) {
|
||
//Îáìåí åêð íà êð.
|
||
$kr = round($_POST['kr001'], 2);
|
||
if ($c['crtoecr'] < 0.01) {
|
||
$u->error = 'Ñåãîäíÿ îáìåííèê çàêðûò.';
|
||
} elseif ($day2 < 0.01) {
|
||
$u->error = 'Ñåãîäíÿ äëÿ âàñ îáìåí çàêðûò, ïðèõîäèòå çàâòðà.';
|
||
} elseif ($kr < round($c['crtoecr'] / 100, 2)) {
|
||
$u->error = 'Ìèíèìàëüíàÿ ñóììà îáìåíà ' . round($c['crtoecr'] / 100, 2) . ' ÊÐ.';
|
||
} elseif ($kr > $day2) {
|
||
$u->error = 'Âû ìîæåòå îáìåíÿòü åùå ' . $day2 . ' ÊÐ ñåãîäíÿ.';
|
||
} elseif ($kr > $u->info['money']) {
|
||
$u->error = 'Íåäîñòàòî÷íî äåíåã äëÿ îáìåíà.';
|
||
} else {
|
||
$ekr = round($kr / $c['crtoecr'], 2);
|
||
$u->error = 'Âû óñïåøíî îáìåíÿëè ' . $kr . ' ÊÐ íà ' . $ekr . ' ÅÊÐ.';
|
||
//
|
||
$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
|
||
) . '","Îáìåí ÊÐ íà ÅÊÐ","' . $u->info['money'] . '","' . $u->info['money2'] . '"
|
||
)'
|
||
);
|
||
}
|
||
$dc1 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÅÊÐ íà ÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$dc2 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÊÐ íà ÅÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$dc1 = $dc1[0];
|
||
$dc2 = $dc2[0];
|
||
$day1 = round($day1def + $dc1, 2);
|
||
$day2 = round($day2def + $dc2, 2);
|
||
} elseif (isset($_POST['ekr2'])) {
|
||
//Îáìåí åêð íà êð.
|
||
$ekr = round($_POST['ekr2'], 2);
|
||
if ($c['ecrtocr'] * 2.5 < 0.01) {
|
||
$u->error = 'Ñåãîäíÿ îáìåííèê çàêðûò.';
|
||
} elseif ($day1 < 0.01) {
|
||
$u->error = 'Ñåãîäíÿ äëÿ âàñ îáìåí çàêðûò, ïðèõîäèòå çàâòðà.';
|
||
} elseif ($ekr < 0.01) {
|
||
$u->error = 'Ìèíèìàëüíàÿ ñóììà îáìåíà 0.01 ÅÊÐ.';
|
||
} elseif ($ekr > $day1) {
|
||
$u->error = 'Âû ìîæåòå îáìåíÿòü åùå ' . $day1 . ' ÅÊÐ ñåãîäíÿ.';
|
||
} elseif ($ekr > $u->info['money2']) {
|
||
$u->error = 'Íåäîñòàòî÷íî äåíåã äëÿ îáìåíà.';
|
||
} else {
|
||
$kr = round($ekr * $c['ecrtocr'] * 2.5, 2);
|
||
$u->error = 'Âû óñïåøíî îáìåíÿëè ' . $ekr . ' ÅÊÐ íà ' . $kr . ' ÊÐ.';
|
||
//
|
||
$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
|
||
) . '","Îáìåí ÅÊÐ íà ÊÐ","' . $u->info['money'] . '","' . $u->info['money2'] . '"
|
||
)'
|
||
);
|
||
}
|
||
$dc1 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money2`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÅÊÐ íà ÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$dc2 = mysql_fetch_array(
|
||
mysql_query(
|
||
'SELECT SUM(`money`) FROM `user_operation` WHERE `time` >= "' . $timetoday . '" AND `uid` = "' . $u->info['id'] . '" AND `type` = "Îáìåí ÊÐ íà ÅÊÐ" LIMIT 1'
|
||
)
|
||
);
|
||
$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);
|
||
$ru = preg_match("/^(([0-9à-ÿÀ-ß _-])+)$/i", $txt);
|
||
if (($ru && $en) || (!$ru && !$en)) {
|
||
$g = true;
|
||
}
|
||
return $g;
|
||
}
|
||
|
||
//
|
||
function testBad($txt)
|
||
{
|
||
$white = '-_ 0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM¨ÉÖÓÊÅÍÃØÙÇÕÚÔÛÂÀÏÐÎËÄÆÝß×ÑÌÈÒÜÁÞ¸éöóêåíãøùçõúôûâàïðîëäæýÿ÷ñìèòüáþ';
|
||
$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;
|
||
//
|
||
$login = htmlspecialchars($login, null, 'cp1251');
|
||
//
|
||
$bad = [
|
||
'Ìóñîðùèê' => 1,
|
||
'Ìèðîçäàòåëü' => 1,
|
||
];
|
||
//
|
||
$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;
|
||
//
|
||
/*
|
||
Ëîãèí ìîæåò ñîäåðæàòü îò 4 äî 16 ñèìâîëîâ, è ñîñòîÿòü òîëüêî èç áóêâ ðóññêîãî ÈËÈ àíãëèéñêîãî àëôàâèòà, öèôð, ñèìâîëîâ '_', '-' è ïðîáåëà.
|
||
Ëîãèí íå ìîæåò íà÷èíàòüñÿ èëè çàêàí÷èâàòüñÿ ñèìâîëàìè '_', '-' èëè ïðîáåëîì.
|
||
*/
|
||
//
|
||
$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;
|
||
} elseif (en_ru(str_replace('¸', 'å', str_replace('¨', 'Å', $login))) == true) {
|
||
$true = false;
|
||
}
|
||
//
|
||
if ($true == false) {
|
||
$r = false;
|
||
} else {
|
||
$r = true;
|
||
}
|
||
}
|
||
return $r;
|
||
}
|
||
|
||
if ($u->info['login'] == $_POST['login']) {
|
||
$u->error = 'Âûáåðèòå äðóãîé ëîãèí...';
|
||
} elseif ($u->info['money2'] < 25) {
|
||
$u->error = 'Íåäîñòàòî÷íî ñðåäñòâ.';
|
||
} else {
|
||
$login = htmlspecialchars($_POST['login'], null, 'cp1251');
|
||
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'
|
||
);
|
||
$u->error = 'Âû óñïåøíî ñìåíèëè ëîãèí íà "' . $u->info['login'] . '" ïåðåçàéäèòå â èãðó ñ ãëàâíîé ñòðàíèöû.';
|
||
} else {
|
||
$u->error = 'Âûáåðèòå äðóãîé ëîãèí...';
|
||
}
|
||
}
|
||
} elseif (isset($_GET['buy_ekr'])) {
|
||
//
|
||
$mrh_login = "65643";
|
||
$mrh_pass1 = "qtzl0igb";
|
||
//
|
||
$inv_id = 0;
|
||
//
|
||
$out_ekr = round($_POST['ekr'], 2);
|
||
if ($out_ekr < 0) {
|
||
//
|
||
$out_ekr = 0;
|
||
}
|
||
$out_summ = round($out_ekr * $bt['cur'], 2);
|
||
$inv_desc = 'Ïðèîáðåñòè ' . $out_ekr . ' åêð., ïåðñîíàæ ¹' . $u->info['id'] . ', äèëåð ¹' . round(
|
||
(int)$_POST['ref']
|
||
) . '';
|
||
//
|
||
$shp_item = 0;
|
||
//
|
||
//Áîíóñ îïûòîâûé, ïåðâè÷íûé è íàêîïèòåëüíûé
|
||
$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);
|
||
}
|
||
//
|
||
//Äîáàâëÿåì â áàçó
|
||
mysql_query(
|
||
'INSERT INTO `pay_operation` (
|
||
`uid`,`bank`,`code`,`ekr`,`time`,`good`,`cur`,`var`,`val`,`ref`,`ref2`,`ip`,`date`
|
||
) VALUES (
|
||
"' . $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'
|
||
) . '"
|
||
)'
|
||
);
|
||
|
||
$shp_item = mysql_insert_id();
|
||
|
||
if ($shp_item > 0) {
|
||
//îæèäàåì îïëàòû
|
||
} else {
|
||
die('Îøèáêà â îáðàáîòêå ïëàòåæà, îáðàòèòåñü ê Àäìèíèñòðàöèè');
|
||
}
|
||
if ($out_ekr < 1) {
|
||
die('Ìèíèìàëüíàÿ ñóììà ïîêóïêè 1 åêð.');
|
||
}
|
||
//
|
||
// ïðåäëàãàåìàÿ âàëþòà ïëàòåæà
|
||
// default payment e-currency
|
||
$in_curr = "";
|
||
|
||
// ÿçûê
|
||
// language
|
||
$culture = "ru";
|
||
|
||
// ôîðìèðîâàíèå ïîäïèñè
|
||
// generate signature
|
||
|
||
|
||
//$crc = md5("$mrh_login:$out_summ:$inv_id:$mrh_pass1:Shp_item=$shp_item");
|
||
$crc = md5($mrh_login . ':' . $out_summ . ':' . $mrh_pass1 . ':' . $shp_item);
|
||
|
||
// ôîðìà îïëàòû òîâàðà
|
||
// payment form
|
||
$url = 'https://www.free-kassa.ru/merchant/cash.php?';
|
||
$url .= 'm=' . $mrh_login . '&';
|
||
$url .= 'oa=' . $out_summ . '&';
|
||
$url .= 'InvId=' . $inv_id . '&';
|
||
$url .= 'Desc=' . $inv_desc . '&';
|
||
$url .= 's=' . $crc . '&';
|
||
$url .= 'o=' . $shp_item . '&';
|
||
$url .= 'i=' . $in_curr . '&';
|
||
$url .= 'lang=' . $culture . '&';
|
||
//
|
||
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>" .
|
||
"Ñóììà ïëàòåæà: " . $out_ekr . " Åêð. " .
|
||
"<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>" .
|
||
"<input type=submit value='Îïëàòèòü'><Br>" .
|
||
"(Âñå ñðåäñòâà èäóò íà ðàçâèòèå è óëó÷øåíèå èãðû)" .
|
||
"</form><script>$('#F1').sumbit();</script></html>";
|
||
die();
|
||
}
|
||
|
||
?>
|
||
<HTML>
|
||
<HEAD>
|
||
<title>Ïîêóïêà ÅâðîÊðåäèòîâ - Áîéöîâñêèé Êëóá</title>
|
||
<!--<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>
|
||
<meta content="text/html; charset=windows-1251" http-equiv=Content-Type>
|
||
<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: 16px;
|
||
border: 1px solid black;
|
||
border-collapse: collapse;
|
||
text-align: center;
|
||
vertical-align: top;
|
||
}
|
||
|
||
.t {
|
||
border: 3px 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: 0px 5px 0px 5px;
|
||
}
|
||
|
||
.t .btop {
|
||
border-top: 3px solid black;
|
||
border-collapse: collapse;
|
||
}
|
||
|
||
.t .bright {
|
||
border-right: 3px solid black;
|
||
border-collapse: collapse;
|
||
}
|
||
|
||
.t .bleft {
|
||
border-left: 3px solid black;
|
||
border-collapse: collapse;
|
||
}
|
||
|
||
.t .bbottom {
|
||
border-bottom: 3px solid black;
|
||
border-collapse: collapse;
|
||
}
|
||
|
||
.t .light {
|
||
background: #D6F5D3;
|
||
color: green;
|
||
font-weight: bold;
|
||
}
|
||
|
||
</style>
|
||
|
||
</HEAD>
|
||
<body>
|
||
<div id="main">
|
||
|
||
<!--<br />
|
||
<h3>Ïîêóïêà ÅâðîÊðåäèòîâ</h3>
|
||
-->
|
||
<table style="width:98%; margin: auto;">
|
||
<!--
|
||
<tr><td colspan="2" style='font-weight:bold; color:red; padding: 10px 0 10px 0; font-size: 1.5em;'><center>Ïîïîëíåíèå ÅÊÐ âðåìåííî ïðèîñòàíîâëåíî!</center></td></tr>
|
||
-->
|
||
<?php if ($ball == 0) { ?>
|
||
<tr>
|
||
<td colspan="2" style='font-weight:bold; color:brown; padding: 10px 0 10px 0; font-size: 1.2em;'>
|
||
<center style="color:red">Àêöèÿ! Ïðè ïåðâîì ïîïîëíåíèè áàëàíñà,<br/>Âû ïîëó÷àåòå äîïîëíèòåëüíî 20%
|
||
ÅÊÐ ê ñóììå ïîêóïêè ÁÅÑÏËÀÒÍÎ.
|
||
<br>
|
||
</center>
|
||
</td>
|
||
</tr>
|
||
<?php }
|
||
|
||
if (isset($u->info['id'])) { ?>
|
||
<center><?php echo '<div style="padding:10px; border-bottom:1px solid #fff;">Ïåðñîíàæ: ' . $u->microLogin(
|
||
$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> 
|
||
<a href="https://new-combats.com/ekr2.php"> <img border="0" alt="interkassa" src="image/inter2.png" width="300"
|
||
height="110"></a>
|
||
<tr>
|
||
<td style="width: 500px; padding: 10px; vertical-align: top;">
|
||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px;">
|
||
<b><span style='color:#8F0000;'>Âàø íàêîïèòåëüíûé áîíóñ:</span> <font
|
||
color=green><?= $bns[$b1][1] ?>% (<?= $ball ?> ÅÊÐ)</font></b>
|
||
</fieldset>
|
||
|
||
<fieldset
|
||
style="width:480px; border: 1px solid white; padding: 10px;margin-top:15px; padding-bottom:10px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Ïîêóïêà ÅÊÐ</legend>
|
||
|
||
<form method="post" id="ekrform" action="ekr.php?buy_ekr=1"
|
||
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" onchange="calc();"
|
||
onkeyup="if(event.keyCode<35||event.keyCode>40) calc();"> <input
|
||
type="submit" class="btn btn-success" value="Ïîïîëíèòü áàëàíñ"><br/>
|
||
|
||
<!--<input type="button" class="btn btn-primary" value="Îïëàòèòü ñ ïîìîùüþ VISA / MASTERCARD" onclick="$('#ekrform').attr('action','ekr_fk_go.php'); $('#ekrform').submit();" style="width: 461px;">-->
|
||
|
||
<div id="calc"
|
||
style="font-weight: bold; margin: auto; width: 400px; margin-top: 10px; margin-bottom: 10px;">
|
||
<br/> <br/>
|
||
</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;
|
||
|
||
//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>';
|
||
}
|
||
|
||
calc();
|
||
</script>
|
||
|
||
<table style="border: 1px solid white; margin: auto; width: 400px;">
|
||
<tr style="border-bottom: 1px solid white;">
|
||
<td style="border-right: 1px solid white;padding:2px;">1 ÅÊÐ</td>
|
||
<td style="padding:2px;"><?= round($bt['cur'], 2) ?> Ðóáëåé</td>
|
||
</tr>
|
||
<tr style="border-bottom: 1px solid white;">
|
||
<td style="border-right: 1px solid white;padding:2px;">1 ÅÊÐ</td>
|
||
<td style="padding:2px;"><?= round($bt['cur'] / $bt['USD'], 2) ?> Äîëëàðà *</td>
|
||
</tr>
|
||
</table>
|
||
<small>
|
||
* - çàâèñèò îò òåêóùèõ êóðñîâ âàëþò<br/>
|
||
<b>Äîñòàâêà èãðîâîé âàëþòû ïðîèçâîäèòñÿ â àâòîìàòè÷åñêîì ðåæèìå, ñðàçó æå ïîñëå îïëàòû!</b>
|
||
<br/><br/>
|
||
Ïðè îïëàòå ìîãóò âîçíèêàòü çàäåðæêè íà ïîïîëíåíèå, îáû÷íî íå áîëåå 1 ÷àñà. Åñëè ïî èñòå÷åíèþ
|
||
íåñêîëüêèõ ÷àñîâ äåíüãè òàê è íå ïîñòóïèëè íà âàø áàëàíñ, òî íåîáõîäèìî îáðàòèòüñÿ â <a
|
||
href="https://www.free-kassa.ru/support.php" target="_blank">ñëóæáó ïîääåðæêè
|
||
FREE-KASSA</a>.
|
||
</small>
|
||
<br/><br/>
|
||
</form>
|
||
|
||
<small>
|
||
<label><input type="checkbox" name="ch1" id="ch_1"/> Âíèìàíèå! Ïðè ïîïîëíåíèè áàëàíñà âû
|
||
ñîãëàøàåòåñü ñ <a href="https://new-combats.com/encicl/law2.html" target="_blank">ñîãëàøåíèåì
|
||
î ïðåäîñòàâëåíèè ñåðâèñà èãðû « Áîéöîâñêèé Êëóá »</a>.</label><br>
|
||
<label><input type="checkbox" name="ch1" id="ch_1"/> Âíèìàíèå! Ïðè ïîïîëíåíèè áàëàíñà âû
|
||
ñîãëàøàåòåñü ñ <a href="https://new-combats.com/encicl/law3.html" target="_blank">Ïîëèòèêîé
|
||
Êîíôèåäåíöàëüíîñòè ïðîåêòà « Áîéöîâñêèé Êëóá »</a>.</label><br>
|
||
<label><input type="checkbox" name="ch1" id="ch_1"/> Âíèìàíèå! Ïðè ïîïîëíåíèè áàëàíñà âû
|
||
ñîãëàøàåòåñü ñ <a href="https://new-combats.com/encicl/law4.html" target="_blank">Äîãîâîðîì
|
||
ïóáëè÷íîé îôåðòû « Áîéöîâñêèé Êëóá »</a>.</label>
|
||
<br/>
|
||
Åñëè Âû î÷åíü õîòåëè áû ïîëîæèòü äåíüãè íà èãðîâîé ñ÷¸ò, íî íåò ïîäõîäÿùåé ïëàò¸æíîé ñèñòåìû,
|
||
îáðàòèòåñü çà ïîìîùüþ ê <b> Àäìèíèñòðàòîðó </b> ïðîåêòà.
|
||
<br/><br/>
|
||
</small>
|
||
</fieldset>
|
||
|
||
</td>
|
||
|
||
|
||
<td style="padding: 10px; vertical-align: top;">
|
||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px;">
|
||
<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>
|
||
</fieldset>
|
||
|
||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Îáìåí</legend>
|
||
<form method="post" action="ekr.php"
|
||
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 type="text"
|
||
name="ekr2"
|
||
id="ekr2"
|
||
value=""
|
||
size="5"
|
||
placeholder="<?= $day1 ?> max"
|
||
onchange="calc22();"
|
||
onkeyup="if(event.keyCode<35||event.keyCode>40) calc22();">
|
||
<input type="submit" class="btn btn-success" name="submit" id="calc2"
|
||
value="Îáìåíÿòü"><br/>
|
||
</form>
|
||
<form method="post" action="ekr.php" onsubmit="if(document.getElementById('kr001').value<<?= round(
|
||
$c['crtoecr'] / 100, 2
|
||
) ?>) {alert('Ìèíèìàëüíàÿ ñóììà îáìåíà <?= round(
|
||
$c['crtoecr'] / 100, 2
|
||
) ?> ÊÐ');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"
|
||
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();">
|
||
<input type="submit" class="btn btn-success" name="submit" id="calc3"
|
||
value="Îáìåíÿòü"><br/>
|
||
</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;
|
||
|
||
document.getElementById('calc3').value = 'Îáìåíÿòü ' + kr001 + ' ÊÐ íà ' + kr001ekr + ' ÅÊÐ';
|
||
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?>;
|
||
|
||
document.getElementById('calc2').value = 'Îáìåíÿòü ' + ekre + ' ÅÊÐ íà ' + kre.toFixed(0) + ' ÊÐ';
|
||
}
|
||
|
||
calc22();
|
||
</script>
|
||
</fieldset>
|
||
|
||
<fieldset style="border: 1px solid white; padding: 20px 11px 21px 11px;margin-top:15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Íàêîïèòåëüíûå áîíóñû</legend>
|
||
<table class="t" style="width: 500px; margin: auto;">
|
||
<tr class="b">
|
||
<td>ÅÊÐ</td>
|
||
<td class="bright ">Áîíóñ</td>
|
||
<td>ÅÊÐ</td>
|
||
<td>Áîíóñ</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">800 ÅÊÐ</td>
|
||
<td class="bright ">10%</td>
|
||
<td class="">3 000 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">30%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">700 ÅÊÐ</td>
|
||
<td class="bright ">9%</td>
|
||
<td class="">2 500 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">27%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">600 ÅÊÐ</td>
|
||
<td class="bright ">8%</td>
|
||
<td class="">2 000 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">25%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">500 ÅÊÐ</td>
|
||
<td class="bright ">7%</td>
|
||
<td class="">1 700 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">23%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">400 ÅÊÐ</td>
|
||
<td class="bright ">6%</td>
|
||
<td class="">1 500 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">21%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">300 ÅÊÐ</td>
|
||
<td class="bright ">5%</td>
|
||
<td class="">1 300 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">19%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">200 ÅÊÐ</td>
|
||
<td class="bright ">4%</td>
|
||
<td class="">1 200 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">17%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">100 ÅÊÐ</td>
|
||
<td class="bright ">3%</td>
|
||
<td class="">1 100 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">15%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">50 ÅÊÐ</td>
|
||
<td class="bright ">2%</td>
|
||
<td class="">1 000 ÅÊÐ <img src="/res/img/medals/vip.gif" title="VIP" width=20
|
||
style="margin-top:2px;"/></td>
|
||
<td class="">13%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="">10 ÅÊÐ</td>
|
||
<td class="bright ">1%</td>
|
||
<td class="">900 ÅÊÐ</td>
|
||
<td class="">11%</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
|
||
<fieldset style="border: 1px solid white; padding: 18px 12px 18px 12px;margin-top:15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Îïòîâûå áîíóñû</legend>
|
||
|
||
<table class="t" style="width: 500px; margin: auto;">
|
||
<tr class="b light">
|
||
<td>Áîíóñ</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
</tr>
|
||
<tr style="border-bottom: 2px solid black;">
|
||
<td class="b">Ñóììà</td>
|
||
<td>10 ÅÊÐ</td>
|
||
<td>20 ÅÊÐ</td>
|
||
<td>30 ÅÊÐ</td>
|
||
<td>40 ÅÊÐ</td>
|
||
<td>50 ÅÊÐ</td>
|
||
</tr>
|
||
<tr class="b light">
|
||
<td class="b">Áîíóñ</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>10%</td>
|
||
<td>20%</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="b">Ñóììà</td>
|
||
<td>60 ÅÊÐ</td>
|
||
<td>70 ÅÊÐ</td>
|
||
<td>80 ÅÊÐ</td>
|
||
<td>90 ÅÊÐ</td>
|
||
<td>100 ÅÊÐ</td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
|
||
</td>
|
||
</tr>
|
||
|
||
<!--
|
||
<tr><td colspan="2" style='font-weight:bold; padding: 10px; font-size: 0.8em;'><center>Ïðè îïëàòå ñ êðåäèòíûõ êàðò ìîãóò âîçíèêàòü çàäåðæêè íà ïîïîëíåíèå, îáû÷íî íå áîëåå 1 ÷àñà. Òàê æå ÷àñòî ïðîèñõîäèò îòêàç â ïîïîëíåíèè ÷åðåç êðåäèòíûå êàðòû, äëÿ ýòîãî íåîáõîäèìî âûáðàòü â ñïèñêå ÄÐÓÃÎÉ ñåðâèñ ïîïîëíåíèÿ ñ êðåäèòíûõ êàðò, ëèáî ïîïîëíÿòü áîëåå ìåëêèìè ÷àñòÿìè.</center></td></tr>
|
||
-->
|
||
|
||
<tr>
|
||
<td colspan="2" style='font-weight:bold; color:#8F0000; padding: 10px 0 10px 0; font-size: 1.5em;'>
|
||
<center>Êîììåð÷åñêèå óñëóãè</center>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td style="padding: 10px; vertical-align: top;">
|
||
|
||
<!-- 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">
|
||
<label id="ftitle">Ïðîñìîòð</label>
|
||
<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"';
|
||
} ?> >Ìóæñêîé îáðàç
|
||
</option>
|
||
<option value="1" <?php if ($u->info['sex'] == 1) {
|
||
echo 'selected="selected"';
|
||
} ?> >Æåíñêèé îáðàç
|
||
</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;">
|
||
<input type="button" class="btn btn-success" value="Ïîäòâåðäèòü"
|
||
style="height: 28px; line-height: 20px; width: 100px;font-size:13px;"
|
||
onclick="if(confirm('Äåéñòâèòåëüíî õîòèòå êóïèòü ýòî èçîáðàæåíèå?')) $('#fform').submit();"/>
|
||
<input type="button" class="btn btn-danger" value="Îòìåíèòü"
|
||
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>
|
||
<!-- end komplekt form -->
|
||
<fieldset style="width:480px; border: 1px solid white; padding: 10px;margin-top:15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Ïîêóïêà ëè÷íîãî îáðàçà</legend>
|
||
<small>
|
||
<b>Ñòîèìîñòü óñëóãè: 100 ÅÊÐ</b><br>
|
||
Òðåáîâàíèÿ ê ïåðñîíàëüíîìó îáðàçó:<br/>
|
||
GIF-êàðòèíêà ðàçìåðîì 120x220 (ØõÂ) è âåñîì äî 300 Êá.<br/>
|
||
<br>
|
||
Âûáåðèòå êàðòèíêó: <input type="file" id="imgFile"/>
|
||
<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;
|
||
}
|
||
|
||
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;
|
||
document.getElementById('ffsex').style.display = 'none';
|
||
document.getElementById('theLayer').style.height = 105;
|
||
$('html, body').animate({scrollTop: 0}, 'slow');
|
||
}
|
||
|
||
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');
|
||
}
|
||
|
||
$('#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,
|
||
dataType: "json", // ïîìåíÿòü íà json
|
||
success: function (data) {
|
||
if (data['img'] != undefined) {
|
||
document.getElementById('ffsex').style.display = 'none';
|
||
showImgPreview(data['img'])
|
||
} else {
|
||
alert(data['err']);
|
||
}
|
||
},
|
||
error: function (data) {
|
||
alert('Îøèáêà AJAX.')
|
||
}
|
||
});
|
||
})
|
||
</script>
|
||
</small>
|
||
</fieldset>
|
||
|
||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px; padding-bottom: 15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Ïîêóïêà ëè÷íîãî ñìàéëèêà</legend>
|
||
<small>
|
||
<b>Ñòîèìîñòü óñëóãè: <?php $ekr_smile = 10;
|
||
echo $ekr_smile; ?> ÅÊÐ</b><br>
|
||
Òðåáîâàíèÿ ê ñìàéëèêó:<br/>
|
||
GIF-êàðòèíêà ðàçìåðîì îò 15x15 äî 95x21 (ØõÂ) è âåñîì äî 30 Êá.<br/>
|
||
<br>
|
||
Âûáåðèòå êàðòèíêó: <input type="file" id="imgFile5"/>
|
||
<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,
|
||
dataType: "json", // ïîìåíÿòü íà json
|
||
success: function (data) {
|
||
if (data['img'] != undefined) {
|
||
showImgPreviewSmile(data['img'])
|
||
} else {
|
||
alert(data['err']);
|
||
}
|
||
},
|
||
error: function (data) {
|
||
alert('Îøèáêà AJAX.');
|
||
}
|
||
});
|
||
})
|
||
</script>
|
||
</small>
|
||
</fieldset>
|
||
|
||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px;">
|
||
<legend style='font-weight:bold; color:#8F0000;'>Ñìåíà èìåíè ïåðñîíàæà</legend>
|
||
<small>
|
||
<b>Ñòîèìîñòü óñëóãè: 25 ÅÊÐ</b><br>
|
||
Òåêóùåå èìÿ: <?= $u->info['login'] ?><br>
|
||
<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
|
||
placeholder="Ââåäèòå íîâîå èìÿ.." style="margin: 5px 0 5px 0;"/> <span
|
||
id="ajaxLogin"></span><br>
|
||
<input type="button" class="btn btn-success" value="Ñìåíèòü èìÿ"
|
||
onclick="if(confirm('Äåéñòâèòåëüíî õîòèòå ñìåíèòü èìÿ?')) $('#lform').submit();"/>
|
||
</form>
|
||
<script>
|
||
function check_login() {
|
||
$("#ajaxLogin").html('<b>Ïðîâåðêà äîñòóïíîñòè...</b>');
|
||
$.ajax({
|
||
url: "ajax_checklogin.php?login=" + $('#llogin').val(),
|
||
cache: false
|
||
}).done(function (html) {
|
||
$("#ajaxLogin").html(html);
|
||
});
|
||
}
|
||
</script>
|
||
</small>
|
||
</fieldset>
|
||
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td colspan="2"> </td>
|
||
</tr>
|
||
|
||
|
||
</table>
|
||
|
||
</div>
|
||
</BODY>
|
||
</HTML>
|