468 lines
20 KiB
PHP
468 lines
20 KiB
PHP
|
<?php
|
|||
|
if(!defined('GAME'))
|
|||
|
{
|
|||
|
die();
|
|||
|
}
|
|||
|
|
|||
|
if($u->room['file']=='berezka')
|
|||
|
{
|
|||
|
|
|||
|
//if( isset($u->bank['id']) && $u->bank['moneyBuy'] > 0 ) {
|
|||
|
$u->bank = array('id'=>0);
|
|||
|
//}
|
|||
|
|
|||
|
$u->info['inBerezka'] = 1;
|
|||
|
|
|||
|
if(isset($u->stats['shopSaleEkr'],$_GET['sale'])){
|
|||
|
$bns = 0+$u->stats['shopSaleEkr'];
|
|||
|
if($bns!=0){
|
|||
|
if($bns>0){
|
|||
|
$bns = '+'.$bns;
|
|||
|
}
|
|||
|
//$shopProcent = $u->shopSaleM( $shopProcent , $itm );
|
|||
|
if($shopProcent>90){ $shopProcent = 90; }
|
|||
|
if($shopProcent<10){ $shopProcent = 10; }
|
|||
|
//echo '<div style="color:grey;"> <b><3E> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '.$bns.'%</b></div>';
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if(!isset($_GET['otdel']))
|
|||
|
{
|
|||
|
$_GET['otdel'] = 1;
|
|||
|
}
|
|||
|
|
|||
|
$sid = 2;
|
|||
|
|
|||
|
$sale_ekr = true;
|
|||
|
if( $c['shop_type2'] == 0 ) {
|
|||
|
$sale_ekr = false;
|
|||
|
}
|
|||
|
//if( $u->stats['silver'] > 0 ) {
|
|||
|
// $sale_ekr = true;
|
|||
|
//}else{
|
|||
|
// if( isset($_GET['sale']) ) {
|
|||
|
// unset($_GET['sale']);
|
|||
|
// }
|
|||
|
//}
|
|||
|
|
|||
|
$error = '';
|
|||
|
|
|||
|
if(isset($_GET['buy']) && isset($u->bank['id'])){
|
|||
|
if($u->newAct($_GET['sd4'])==true)
|
|||
|
{
|
|||
|
$re = $u->buyItem($sid,(int)$_GET['buy'],(int)$_GET['x']);
|
|||
|
}else{
|
|||
|
$re = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?';
|
|||
|
}
|
|||
|
}elseif(isset($_GET['sale']) && isset($_GET['item']) && $u->newAct($_GET['sd4']) && isset($u->bank['id']) && $sale_ekr == true ) {
|
|||
|
$id = (int)$_GET['item'];
|
|||
|
$itm = mysql_fetch_array(mysql_query('SELECT `im`.*,`iu`.*, count(`iuu`.id) as inGroupCount
|
|||
|
FROM `items_users` AS `iu`
|
|||
|
LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`)
|
|||
|
LEFT JOIN `items_users` as `iuu` ON (`iuu`.inGroup = `iu`.inGroup AND `iuu`.item_id = `im`.id )
|
|||
|
WHERE `iuu`.`uid`="'.$u->info['id'].'" AND `iu`.`uid`="'.$u->info['id'].'" AND `iu`.`data` NOT LIKE "%|zazuby=%" AND `im`.`price2` > 0 AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "'.mysql_real_escape_string($id).'" LIMIT 1'));
|
|||
|
$po = $u->lookStats($itm['data']);
|
|||
|
if($u->info['allLock'] > time()) {
|
|||
|
$po['nosale'] = 1;
|
|||
|
}
|
|||
|
|
|||
|
//$effvip = mysql_fetch_array(mysql_query('SELECT `id`,`timeUse` FROM `eff_users` WHERE `data` LIKE "%add_silver=%" AND `uid` = "'.$u->info['id'].'" ORDER BY `id` DESC LIMIT 1'));
|
|||
|
//$cblim = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `ekr_sale` WHERE `uid` = "'.$u->info['id'].'" AND `time` >= '.$effvip['timeUse'].' LIMIT 1'));
|
|||
|
|
|||
|
/*if( $cblim[0] >= $u->stats['silver'] * 5 ) {
|
|||
|
$error = '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> VIP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
}else*/
|
|||
|
if( ($itm['gift'] != '' && $itm['gift'] != '0') && ( $itm['type'] == 37 || $itm['type'] == 38 || $itm['type'] == 39 || $itm['type'] == 63 ) ) {
|
|||
|
$error = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! :)';
|
|||
|
}elseif(isset($po['nosale'])){
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ...';
|
|||
|
}elseif(isset($po['fromshop']) && ($po['fromshop'] != 777 && $po['fromshop'] != 2)){
|
|||
|
$error = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>...';
|
|||
|
}elseif($itm['gift'] != '0' && $itm['gift'] != '') {
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ... <20><><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ;)';
|
|||
|
}elseif(isset($po['frompisher'])){
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ... <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
//}elseif(isset($po['srok'] <= '5000000' )){
|
|||
|
//$error = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ...';
|
|||
|
}elseif(isset($itm['id'])){
|
|||
|
if($itm['2price']>0){
|
|||
|
$itm['price2'] = $itm['2price'];
|
|||
|
}
|
|||
|
$shpCena = round($itm['price2'],2);
|
|||
|
$plmx = 0;
|
|||
|
if($itm['iznosMAXi']!=$itm['iznosMAX'] && $itm['iznosMAX']!=0){
|
|||
|
$plmx = round($itm['iznosMAX']);
|
|||
|
}else{
|
|||
|
$plmx = $itm['iznosMAXi'];
|
|||
|
}
|
|||
|
if($itm['iznosNOW']>0){
|
|||
|
$prc1 = floor($itm['iznosNOW'])/ceil($plmx)*100;
|
|||
|
}else{
|
|||
|
$prc1 = 0;
|
|||
|
}
|
|||
|
$shpCena = $u->shopSaleM( $shpCena , $itm );
|
|||
|
$shpCena = $shpCena/100*(100-$prc1);
|
|||
|
if($itm['iznosMAX']>0 && $itm['iznosMAXi']>0 && $itm['iznosMAXi']>ceil($itm['iznosMAX'])){
|
|||
|
$shpCena = $shpCena/100*(ceil($itm['iznosMAX'])/$itm['iznosMAXi']*100);
|
|||
|
}
|
|||
|
if( isset($po['art']) ) {
|
|||
|
$shpCena = $u->round2($shpCena*$u->berezCena()); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 35%
|
|||
|
}else{
|
|||
|
$shpCena = $u->round2($shpCena*$u->berezCena()); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 35%
|
|||
|
}
|
|||
|
if($shpCena < 0){
|
|||
|
$shpCena = 0;
|
|||
|
}
|
|||
|
$col = $u->itemsX($itm['id']);
|
|||
|
if($col>0){
|
|||
|
$shpCena = $shpCena*$col;
|
|||
|
}
|
|||
|
if($shpCena<0){
|
|||
|
$shpCena = 0;
|
|||
|
}
|
|||
|
$upd2 = mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `id` = "'.$itm['id'].'" LIMIT 1');
|
|||
|
if($upd2){
|
|||
|
if($col>1){
|
|||
|
mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `item_id`="'.$itm['item_id'].'" AND `uid`="'.$itm['uid'].'" AND `inGroup` = "'.$itm['inGroup'].'" LIMIT '.$col.'');
|
|||
|
}
|
|||
|
$u->info['money2'] += $shpCena;
|
|||
|
$upd = mysql_query('UPDATE `users` SET `money2` = "'.$u->info['money2'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
if($upd){
|
|||
|
mysql_query('INSERT INTO `ekr_sale` (`uid`,`time`,`money2`) VALUES ("'.$u->info['id'].'","'.time().'","'.mysql_real_escape_string($shpCena).'")');
|
|||
|
$u->info['catch'] += $shpCena;
|
|||
|
mysql_query('UPDATE `users` SET `catch` = "'.$u->info['catch'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "'.$itm['name'].' [x'.$col.']" <20><> '.$shpCena.' <20><><EFBFBD>.';
|
|||
|
mysql_query('UPDATE `items_users` SET `inGroup` = "0",`delete` = "'.time().'" WHERE `inGroup` = "'.$itm['id'].'" AND `uid` = "'.$u->info['id'].'" LIMIT '.$itm['group_max'].'');
|
|||
|
$u->addDelo(2,$u->info['id'],'"<font color="green">System.Ekrshop</font>": <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "'.$itm['name'].' (x'.$col.')" [itm:'.$itm['id'].'] <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <B>'.$shpCena.' <20><><EFBFBD>.</B>.',time(),$u->info['city'],'System.Ekrshop',0,$shpCena);
|
|||
|
}else{
|
|||
|
$u->addDelo(2,$u->info['id'],'"<font color="green">System.Ekrshop</font>": <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "'.$itm['name'].' (x'.$col.')" [itm:'.$itm['id'].'] <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <B>'.$shpCena.' <20><><EFBFBD>.</B> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).',time(),$u->info['city'],'System.Ekrshop',0,0);
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ...';
|
|||
|
}
|
|||
|
}else{
|
|||
|
$error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...';
|
|||
|
}
|
|||
|
}else{
|
|||
|
$error = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.';
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if($re!=''){ echo '<div align="right"><font color="red"><b>'.$re.'</b></font></div>'; } ?>
|
|||
|
<script type="text/javascript">
|
|||
|
function AddCount(name, txt){
|
|||
|
document.getElementById("hint4").innerHTML = '<table border=0 width=100% cellspacing=1 cellpadding=0 bgcolor="#CCC3AA"><tr><td align=center><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD></td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</TD></tr><tr><td colspan=2>'+
|
|||
|
'<form method=post><table border=0 width=100% cellspacing=0 cellpadding=0 bgcolor="#FFF6DD"><tr><INPUT TYPE="hidden" name="set" value="'+name+'"><td colspan=2 align=center><B><I>'+txt+'</td></tr><tr><td width=80% align=right>'+
|
|||
|
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>.) <INPUT TYPE="text" NAME="count" id=count size=4></td><td width=20%> <INPUT TYPE="submit" value=" <20><> ">'+
|
|||
|
'</TD></TR></form></TABLE></td></tr></table>';
|
|||
|
document.getElementById("hint4").style.visibility = 'visible';
|
|||
|
document.getElementById("hint4").style.left = '100px';
|
|||
|
document.getElementById("hint4").style.top = '100px';
|
|||
|
document.getElementById("count").focus();
|
|||
|
}
|
|||
|
function closehint3() {
|
|||
|
document.getElementById('hint4').style.visibility='hidden';
|
|||
|
Hint3Name='';
|
|||
|
}
|
|||
|
</script>
|
|||
|
<style type="text/css">
|
|||
|
|
|||
|
.pH3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; }
|
|||
|
.class_ {
|
|||
|
font-weight: bold;
|
|||
|
color: #C5C5C5;
|
|||
|
cursor:pointer;
|
|||
|
}
|
|||
|
.class_st {
|
|||
|
font-weight: bold;
|
|||
|
color: #659BA3;
|
|||
|
cursor:pointer;
|
|||
|
}
|
|||
|
.class__ {
|
|||
|
font-weight: bold;
|
|||
|
color: #FFFFFF;
|
|||
|
cursor:pointer;
|
|||
|
background-color: #659BA3;
|
|||
|
}
|
|||
|
.class__st {
|
|||
|
font-weight: bold;
|
|||
|
color: #FFFFFF;
|
|||
|
cursor:pointer;
|
|||
|
background-color: #659BA3;
|
|||
|
font-size: 10px;
|
|||
|
}
|
|||
|
.class_old {
|
|||
|
font-weight: bold;
|
|||
|
color: #919191;
|
|||
|
cursor:pointer;
|
|||
|
}
|
|||
|
.class__old {
|
|||
|
font-weight: bold;
|
|||
|
color: #FFFFFF;
|
|||
|
cursor:pointer;
|
|||
|
background-color: #838383;
|
|||
|
font-size: 10px;
|
|||
|
}
|
|||
|
.shop_menu_txt { background-color: #d5d5d5; }
|
|||
|
</style>
|
|||
|
<TABLE width="100%" cellspacing="0" cellpadding="0">
|
|||
|
<tr><td valign="top">
|
|||
|
<center><font color=brown><big><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></big><br></font><br><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> 90%.</b></center>
|
|||
|
<?php
|
|||
|
echo '<b style="color:red">'.$error.'</b>';
|
|||
|
?>
|
|||
|
<br />
|
|||
|
<TABLE width="100%" cellspacing="0" cellpadding="4">
|
|||
|
<TR>
|
|||
|
<form name="F1" method="post">
|
|||
|
<TD valign="top" align="left">
|
|||
|
<? if(isset($u->bank['id']) && ($u->bank['money2']>=0.00 || $u->info['admin']>0)){ ?>
|
|||
|
<!--<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-->
|
|||
|
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#a5a5a5">
|
|||
|
<div id="hint3" style="visibility:hidden"></div>
|
|||
|
<tr>
|
|||
|
<td align="center" height="21">
|
|||
|
<?php
|
|||
|
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)*/
|
|||
|
if(!isset($_GET['sale']) && isset($_GET['otdel']))
|
|||
|
{
|
|||
|
$otdels_small_array = array (1=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>"</b>',2=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',3=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',4=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD>"</b>',5=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',6=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',7=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',8=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',28=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD>"</b>',9=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"</b>',10=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"</b>',11=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD>"</b>',12=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',13=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD>"</b>',14=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',15=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD>"</b>',16=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',17=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',18=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',19=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',20=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',21=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',22=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',23=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',24=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',25=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',26=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',27=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD> "<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</b>',29=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b>',30=>'<b><3E><><EFBFBD></b>',31=>'<b><3E><><EFBFBD><EFBFBD></b>',32=>'<b><3E><><EFBFBD><EFBFBD></b>',33=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD></b>',34=>'<b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b>');
|
|||
|
if(isset($otdels_small_array[$_GET['otdel']]))
|
|||
|
{
|
|||
|
echo $otdels_small_array[$_GET['otdel']];
|
|||
|
}
|
|||
|
|
|||
|
} elseif (isset($_GET['sale']))
|
|||
|
{
|
|||
|
echo '
|
|||
|
<B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"</B>';
|
|||
|
}
|
|||
|
?>
|
|||
|
</tr>
|
|||
|
<tr><td>
|
|||
|
<!--<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> / <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-->
|
|||
|
<table width="100%" CELLSPACING="1" CELLPADDING="1" bgcolor="#a5a5a5">
|
|||
|
<?php
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
if(isset($_GET['sale'])) {
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$itmAll = $u->genInv(16,'`iu`.`uid`="'.$u->info['id'].'" AND
|
|||
|
( `iu`.`data` LIKE "%fromshop=777|%" OR `iu`.`data` LIKE "%fromshop=777" OR `iu`.`data` LIKE "%fromshop=2|%" OR `iu`.`data` LIKE "%fromshop=2" ) AND
|
|||
|
`iu`.`delete`="0" AND `im`.`price2` > 0 AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ORDER BY `lastUPD` DESC');
|
|||
|
if($itmAll[0]==0)
|
|||
|
{
|
|||
|
$itmAllSee = '<tr><td align="center" bgcolor="#e2e0e0"><3E><><EFBFBD><EFBFBD><EFBFBD></td></tr>';
|
|||
|
}else{
|
|||
|
$itmAllSee = $itmAll[2];
|
|||
|
}
|
|||
|
//echo '<tr><td align="center" bgcolor="#e2e0e0"><small><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<br><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> 0-7 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> 90%, <20><><EFBFBD><EFBFBD> 8-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> 95%, <20><><EFBFBD><EFBFBD> 9-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> 70%.</b><br><font color=red><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! </small></td></tr>'.$itmAllSee;
|
|||
|
if( $u->shopSaleM(100,array('data'=>'tr_lvl=10')) == $u->shopSaleM(100,array()) ) {
|
|||
|
$procv = $u->shopSaleM(100,array('data'=>'tr_lvl=10')).'%';
|
|||
|
}else{
|
|||
|
$procv = ''.$u->shopSaleM(100,array('data'=>'tr_lvl=10')).'-'.$u->shopSaleM(100,array()).'%';
|
|||
|
}
|
|||
|
echo '<tr><td align="center" bgcolor="#e2e0e0"><small><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<br><b>(<28><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)</b><br><font color=red><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! </small></td></tr>'.$itmAllSee;
|
|||
|
}else{
|
|||
|
$u->shopItems($sid);
|
|||
|
}
|
|||
|
?>
|
|||
|
</TABLE>
|
|||
|
</TD></TR>
|
|||
|
</TABLE>
|
|||
|
<div align="center">
|
|||
|
<? }else{ ?>
|
|||
|
<div align="center"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<br />
|
|||
|
<br />
|
|||
|
<?
|
|||
|
if(isset($_POST['bank']) && isset($u->bank['id']))
|
|||
|
{
|
|||
|
echo '<font color="red"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></font>';
|
|||
|
}elseif(isset($_POST['bank']) && !isset($u->bank['id']))
|
|||
|
{
|
|||
|
echo '<font color="red"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.</b></font>';
|
|||
|
}
|
|||
|
?>
|
|||
|
<br /><br />
|
|||
|
<table width="300" border="0" cellspacing="0" cellpadding="0">
|
|||
|
<tr>
|
|||
|
<td bgcolor="#B1A996"><div align="center"><strong><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></strong></div></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td bgcolor="#DDD5C2" style="padding:5px;"><div align="center"><small><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br />
|
|||
|
<select name="bank" id="bank">
|
|||
|
<?
|
|||
|
$scet = mysql_query('SELECT `id` FROM `bank` WHERE `block` = "0" AND `uid` = "'.$u->info['id'].'"');
|
|||
|
while ($num_scet = mysql_fetch_array($scet))
|
|||
|
{
|
|||
|
echo "<option>".$u->getNum($num_scet['id'])."</option>";
|
|||
|
}
|
|||
|
?>
|
|||
|
</select>
|
|||
|
<input style="margin-left:5px;" type="password" name="bankpsw" id="bankpsw" />
|
|||
|
<label></label>
|
|||
|
</small>
|
|||
|
<input style="margin-left:3px;" type="submit" name="button" id="button" value=" ok " />
|
|||
|
</div></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<br />
|
|||
|
</div>
|
|||
|
<? } ?>
|
|||
|
</div></TD>
|
|||
|
</FORM>
|
|||
|
</TR>
|
|||
|
</TABLE>
|
|||
|
<td width="280" valign="top">
|
|||
|
<TABLE cellspacing="0" cellpadding="0"><TD width="100%"> </TD><TD>
|
|||
|
<table border="0" cellpadding="0" cellspacing="0">
|
|||
|
<tr align="right" valign="top">
|
|||
|
<td>
|
|||
|
<!-- -->
|
|||
|
<? echo $goLis; ?>
|
|||
|
<!-- -->
|
|||
|
<table border="0" cellspacing="0" cellpadding="0">
|
|||
|
<tr>
|
|||
|
<td nowrap="nowrap">
|
|||
|
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
|
|||
|
<tr>
|
|||
|
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
|
|||
|
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.11&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.11',1); ?>"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></td>
|
|||
|
</tr>
|
|||
|
|
|||
|
<!--<tr>
|
|||
|
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
|
|||
|
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.298&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.298',1); ?>"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></td>
|
|||
|
</tr>-->
|
|||
|
|
|||
|
</table>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</td></table>
|
|||
|
</td></table>
|
|||
|
<div><br />
|
|||
|
<? if(isset($u->bank['id'])){ ?>
|
|||
|
<div align="center"><center>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <b><?=$u->aves['now']?>/<?=$u->aves['max']?></b> <br />
|
|||
|
<EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <b style="color:#339900;"><font color=darkgreen><?php echo round($u->info['money2'],2); ?> <20><><EFBFBD>.</b></font>
|
|||
|
<br><br><a href="https://new-combats.com/ekr2.php" target="_blank" style="height:20px;color:#fff;" class="btn btn-danger"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD></a></center><br>
|
|||
|
<center>
|
|||
|
<?php
|
|||
|
if(isset($u->bank['id']) && ($u->bank['money2']>=0.00 || $u->info['admin']>0)){
|
|||
|
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
|
|||
|
if($sale_ekr == true) {
|
|||
|
if(!isset($_GET['sale'])){
|
|||
|
//if( $u->stats['silver'] > 0 ) {
|
|||
|
echo '<INPUT TYPE="button" class="btn" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>" onclick="location=\'?otdel='.$_GET['otdel'].'&sale=1\'"> ';
|
|||
|
//}else{
|
|||
|
// echo '<INPUT style="color:grey" TYPE="button" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>" onclick="alert(\'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> VIP\');"> ';
|
|||
|
//}
|
|||
|
} else {
|
|||
|
echo '<INPUT TYPE="button" class="btn" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>" onclick="location=\'?otdel='.$_GET['otdel'].'\'"> ';
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
?>
|
|||
|
<INPUT TYPE="button" class="btn" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" onclick="location = '<? echo $_SERVER['REQUEST_URI']; ?>';">
|
|||
|
</center>
|
|||
|
<BR>
|
|||
|
</div>
|
|||
|
<? if(isset($u->bank['id']) && ($u->bank['money2']>=0.00 || $u->info['admin']>0)){ ?>
|
|||
|
<div style="background-color:#A5A5A5;padding:1"><center><B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B></center></div>
|
|||
|
<div style="line-height:17px;">
|
|||
|
<?php
|
|||
|
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)*/
|
|||
|
$otdels_array = array (
|
|||
|
1=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>',
|
|||
|
2=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
3=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
4=>' <3B><><EFBFBD><EFBFBD>',
|
|||
|
5=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
6=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
7=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
8=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
9=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
10=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
11=>' <3B><><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
12=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
13=>' <3B><><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
14=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
15=>' <3B><><EFBFBD><EFBFBD>',
|
|||
|
16=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
17=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
18=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
19=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
20=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
21=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
22=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
23=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
24=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
25=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
26=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
27=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
28=>' <3B><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
29=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
29=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
30=>' <3B><><EFBFBD>',
|
|||
|
31=>' <3B><><EFBFBD><EFBFBD>',
|
|||
|
32=>' <3B><><EFBFBD><EFBFBD>',
|
|||
|
33=>' <3B><><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
34=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
35=>' <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
|
|||
|
36=>" <span style='color: #ff0000'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>",
|
|||
|
'');
|
|||
|
$i=1;
|
|||
|
while ($i!=-1)
|
|||
|
{
|
|||
|
if(isset($otdels_array[$i]))
|
|||
|
{
|
|||
|
if(isset($_GET['otdel']) && $_GET['otdel']==$i)
|
|||
|
{
|
|||
|
$color = 'C7C7C7';
|
|||
|
} else {
|
|||
|
$color = 'e2e0e0';
|
|||
|
}
|
|||
|
if($i == 1) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/1.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 6) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/2.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 15) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/3.png"> <b><3E><><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 16) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/4.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 19) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/6.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 21) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/7.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 22) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/5.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 23) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/8.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
} elseif($i == 28) {
|
|||
|
echo '<div class="shop_menu_txt"><img height="12" width="12" src="i/shop_ico/9.png"> <b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div>';
|
|||
|
}
|
|||
|
echo '
|
|||
|
<A HREF="?otdel='.$i.'"><DIV style="background-color: #'.$color.'">
|
|||
|
'.$otdels_array[$i].'
|
|||
|
</A></DIV>
|
|||
|
';
|
|||
|
} else {
|
|||
|
$i = -2;
|
|||
|
}
|
|||
|
$i++;
|
|||
|
}
|
|||
|
|
|||
|
if(isset($_GET['gifts']))
|
|||
|
{
|
|||
|
$color = 'C7C7C7';
|
|||
|
}
|
|||
|
echo '</DIV>';
|
|||
|
}
|
|||
|
?>
|
|||
|
</div>
|
|||
|
<? } ?>
|
|||
|
</td>
|
|||
|
</table>
|
|||
|
<br>
|
|||
|
<div id="textgo" style="visibility:hidden;"></div>
|
|||
|
<?
|
|||
|
}
|
|||
|
?>
|