Сихронизация с актуальной версией.
This commit is contained in:
68
inf.php
68
inf.php
@@ -1,17 +1,16 @@
|
||||
<?
|
||||
<?php
|
||||
if(isset($_GET['md5'])) {
|
||||
die(md5($_GET['md5']));
|
||||
}
|
||||
header('Content-Type: text/html; charset=cp1251');
|
||||
include_once('_incl_data/__config.php');
|
||||
$c['inf'] = true;
|
||||
define('GAME',true);
|
||||
const GAME = true;
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
include_once('_incl_data/class/__user.php');
|
||||
|
||||
define('LOWERCASE',3);
|
||||
define('UPPERCASE',1);
|
||||
const LOWERCASE = 3;
|
||||
const UPPERCASE = 1;
|
||||
|
||||
$uplogin = explode('&',$_SERVER['QUERY_STRING']);
|
||||
$uplogin = $uplogin[0];
|
||||
@@ -92,7 +91,6 @@ if($uplogin == 'delete' || $utf8Login == 'delete' || $utf8Login2 == 'delete') {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!isset($inf['id']))
|
||||
{
|
||||
unset($inf);
|
||||
@@ -382,29 +380,6 @@ if($inf['clan']>0)
|
||||
$pc = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id`="'.$inf['clan'].'" LIMIT 1'));
|
||||
}
|
||||
|
||||
if(isset($_GET['short']))
|
||||
{
|
||||
$n = '
|
||||
';
|
||||
$o = 0;
|
||||
if($inf['online']>time()-520)
|
||||
{
|
||||
$o = 1;
|
||||
}
|
||||
$sh = '';
|
||||
$sh .= 'id='.$inf['id'].$n;
|
||||
$sh .= 'login='.$inf['login'].$n;
|
||||
$sh .= 'level='.$inf['level'].$n;
|
||||
$sh .= 'align='.$inf['align'].$n;
|
||||
$sh .= 'clan='.$pc['name_mini'].$n;
|
||||
$sh .= 'sex='.$inf['sex'].$n;
|
||||
$sh .= 'city='.$inf['city'].$n;
|
||||
$sh .= 'city_reg='.$inf['cityreg'].$n;
|
||||
$sh .= 'room_name='.$room['name'].$n;
|
||||
$sh .= 'online='.$o.$n;
|
||||
die($sh);
|
||||
}
|
||||
|
||||
$nopal = false;
|
||||
|
||||
if( $u->info['align'] < $inf['align'] && $inf['align'] > 1 && $inf['align'] < 2 && $u->info['admin'] == 0 ) {
|
||||
@@ -699,9 +674,6 @@ function closeGift() {
|
||||
}
|
||||
function tstlgnthm() {
|
||||
if( window.opener && ( window.opener.textmsg != undefined || window.opener.parent.textmsg != undefined ) ) {
|
||||
/*
|
||||
<img onclick="window.opener.chat.toUser(\'' + data.login + '\',\'private\');" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" width="20" height="15" class="cp" src="https://' + cfg.img + '/images/lock3.gif">
|
||||
*/
|
||||
if( window.opener.textmsg != undefined ) {
|
||||
$('#lgnthm').html( '<img onclick="window.opener.chat.addto(\'<?=$inf['login']?>\',\'private\');" style="cursor:pointer" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" src="https://img.new-combats.com/i/lock3.gif" width="20" height="15">' + $('#lgnthm').html() );
|
||||
return
|
||||
@@ -727,10 +699,6 @@ if(isset($uer)){ echo '<div align="left"><font color=\'red\'>'.$uer.'</font></di
|
||||
<div align="center" style="margin-left:11px;"><?
|
||||
$st = array(); $st2 = array(); $st = $u->getStats($inf['id'],1,0,true); $st2 = $st[1]; $st = $st[0];
|
||||
|
||||
//if( $u->info['admin'] > 0 ) {
|
||||
// echo '<div><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '.$st['reting'].'</div>';
|
||||
//}
|
||||
|
||||
$rgd = $u->regen($inf['id'],$st,1); $us = $u->getInfoPers($inf['id'],1,$st); if( isset($bs['id']) && $bs['type_btl'] == 2 && ($u->info['x'] != $inf['x'] || $u->info['y'] != $inf['y'])) { $us[0] = '<div align="center" style="width:255px;height300px;"><br><br><br><br><br><br><br><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<br><3E><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<br><br><br><br><br><br><br></div>'; } if($us!=false){ echo $us[0]; }else{ echo 'information is lost.'; } ?></div>
|
||||
<!-- pos2 -->
|
||||
<div align="left"></div><div align="left"></div><script>tstlgnthm();lafstReg[<? echo $inf['id']; ?>] = 1;
|
||||
@@ -1035,7 +1003,7 @@ $kp = array(
|
||||
<? if( $inf['admin'] == 0 ) { ?>
|
||||
<? if($inf['city2']!='') { echo '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <b>'.$u->city_name[$inf['city2']].'</b><br />'; } ?>
|
||||
<20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <? if($inf['timereg']==0 || $inf['timereg'] < 1430772917){ echo '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...'; }else{ echo date('d.m.Y H:i',$inf['timereg']); } ?> <br>
|
||||
<? if( $inf['palpro'] > time() && true == false ) { ?>
|
||||
<? if( $inf['palpro'] > time() ) { ?>
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><> <?=date('d.m.Y H:i',$inf['palpro'])?><br>
|
||||
<? }
|
||||
}else{
|
||||
@@ -1068,11 +1036,6 @@ $kp = array(
|
||||
}
|
||||
?>
|
||||
<?
|
||||
$pk = mysql_fetch_array(mysql_query('SELECT SUM(`ekr`) FROM `pay_operation` WHERE `uid` = "'.$inf['id'].'" AND `good` > 0 LIMIT 1'));
|
||||
if ($pk[0]>0)
|
||||
{
|
||||
echo '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> : <b>'.$pk[0].'</b> <20><><EFBFBD><br />';
|
||||
}
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
$names = '';
|
||||
$sp = mysql_query('SELECT * FROM `lastnames` WHERE `uid` = "'.$inf['id'].'" ORDER BY `time` DESC');
|
||||
@@ -1121,9 +1084,8 @@ $kp = array(
|
||||
if($inf['win_t'] > 0) {
|
||||
?>
|
||||
<div align="left" style="height:1px; width:300px; background-color:#999999; margin:3px;"></div>
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <? echo number_format(round($inf['win_t']), 0, ",", " "); ?><BR>
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <? echo number_format(round($inf['lose_t']), 0, ",", " "); ?><BR>
|
||||
<!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <? echo number_format(round($inf['win_t']*1.79-$inf['lose_t']*2.15), 0, ",", " "); ?><BR> -->
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <?= number_format(round($inf['win_t']), 0, ",", " ") ?><BR>
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <?= number_format(round($inf['lose_t']), 0, ",", " ") ?><BR>
|
||||
<? }?>
|
||||
</div>
|
||||
<?
|
||||
@@ -1360,10 +1322,6 @@ $kp = array(
|
||||
}
|
||||
}
|
||||
|
||||
if ($inf['id'] == 26212831) {
|
||||
$ico[3].= '<div class="dvfirs"><div class="dvsec"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> </div><div class="dvtre"><3E><><EFBFBD><EFBFBD> <b>4</b> : </div><progress value="64" max="100" class="prog0"> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> </progress></div>';
|
||||
}
|
||||
|
||||
$ico[3].='</div>';
|
||||
}
|
||||
|
||||
@@ -1485,7 +1443,17 @@ $kp = array(
|
||||
|
||||
unset($ico);
|
||||
|
||||
if(($inf['align']>=2 && $inf['align'] < 3 && ($inf['haos']>time() || $inf['haos']==1)) || $inf['banned']>0 || $inf['jail']>time())
|
||||
if(
|
||||
(
|
||||
$inf['align']>=2 &&
|
||||
$inf['align'] < 3 &&
|
||||
(
|
||||
$inf['haos']>time() ||
|
||||
$inf['haos']==1
|
||||
)
|
||||
) ||
|
||||
$inf['banned']>0 ||
|
||||
$inf['jail']>time())
|
||||
{
|
||||
$to = '';
|
||||
if($inf['align']>=2 && $inf['align'] < 3 && ($inf['haos']>time() || $inf['haos']==1))
|
||||
|
||||
Reference in New Issue
Block a user