include to require_once

This commit is contained in:
Ivor Barhansky 2022-06-25 16:02:40 +03:00
parent 1406f27cd6
commit 03a4fa1275
84 changed files with 2741 additions and 17188 deletions

File diff suppressed because it is too large Load Diff

View File

@ -798,7 +798,7 @@ $r .= '<script>top.startHpRegen("main",'.($pl['id']+1000000000000).','.(0+$stt['
$i = count($a);
}
} elseif($s[0] == 'repl_ptp') {
include('dnaction/_dungeon_replace.php');
require_once('dnaction/_dungeon_replace.php');
die();
//header('Location: ../../modules_data/location/_dungeon_replace.php');
}elseif($s[0]=='add_eff') {

View File

@ -1,72 +1,51 @@
<?
if(!defined('GAME'))
{
<?php
if (!defined('GAME')) {
die();
}
class Filter {
//
public $spamtxt = 'acreshoperu|club|ly|gd|click|do|mibb|ml|us|cc|ee|gl|vc|bit|cutt|ow|is|ali|Utka|utka|su|Droplr|Bc|mirbk|worldofcombats|shambalru|oldcombats|oldbk2|oldbk|sebkru|oldbknet|welcombats|mycombats|vipbk|goldbk|recombats|legbkcom|febkru|skycombats|cambats|zagadnet|su0ru|suru|kgam|vkcc|acreshoperu|xaasu|googl|warcombatscom|skycombatsru|mycombatsnet|mycombatsru |worldcombatsru|oldcombats|fcitysu|isgd|ebby|greatcombatsru|greatcombats| uáto |cestparla|vbk2com|petitlienfr|scurtime|7pcguma| uto|yyyyt|÷î÷ðô|úcc|warcombatsxcom|wqdnl|qpsru|yahsru|ur1ca|gua|Lyrlfi|ally|hikg|haasu|mubkdoam|karues|0ll0ru|combatszcom|s0eru|bitdo|Clckru|uto|óáèðàåìçâåçäî÷êè|rkssu|ryru|mtgco|tynee|silverbkcom|hlru|h4lru|úcc|pfinkstenucoznet|5fsru|x0by|bkwarcom|realfight|rcombatsru|bcvc|toly|1likru|nnbb|urlinua|combatsz|cuttus|lly|zipvn|qrurlcc|seosprint|8bkz|kombatfight|warbk|owly|rebk|izipus|wonderlands|oldsbk|hecsu|combatslink|combatz|totc|alnoworld|bkz|bkxo|anberbk|sbkru|myêîìáàòñ|pysme|<>Š2<C5A0>“ |urlidru|legcombats|realcombats|ñáêðó|wbtlink|Kombatsfighitru |combatsclubru|legendbattles|darkarmada|obk2com|Cruelbknet|vbk2com|mirozdatel|gggg|rcombats|oldmains|bitly|obkcom|sbk2ru|goodbk|allbk|lastbk|îëäêîìáàòñ|crazycombats|linkac|s3sso|owly|cruelbk|likebk|isgd|fightbk|vbkcom|ëåãáêêîì|vgd|hardfight|my-combats|my-combatc|mbk|goo|bkwar|anti|ws|s3s|bakubk|idealbk|bespridel|perbk|adminbk|online|cf|artovik|probk|twar|oyy|krbk|habk|timebk|sbi|s b i|eea|sokbk|inbk|refbk|administratorbk|perfektbk|darkbk|dark|s3s|bk20|analogbk|monstrbk|bk2005|legendabk|awOev|cruelcity|tlgr|vntr|supbk|azhon0p|cu|tn|af|svel|kwn|krati|ohh|gHjq|Narlands|ogw|lur|lmy|idz|hop|eee|bestbk|pixl|ssylka|THEBESTBK|f34r|exelendbk|9tl|9tk|qil|adminbk|2t9|sportbk|NjQ0|net|jq|bishky|getl|ixz|nvm|prok|5char|tdl|pick|jj|FORM|zik|biz|sns|snsh|pnut|Ventus-terra|pb8|short|legendabk|prnt|utf|coombats|Silver|Premium|Account|tiny|êîìáàòñ|ñóï|orDåNŠ|nbk|orden|acreshoperu|shambalru|oldcombats|oldbk2|oldbk|sebkru|oldbknet|welcombats|mycombats|vipbk|goldbk|recombats|legbkcom|febkru|skycombats|COOMBATS|cambats|zagadnet|.ru|.net|.tk|.ucoz|www|.ua|.tv|.info|.org|.su|.ñó|.êîì|.èíôî|. ru|. com|. net|. tk|. ucoz|. ua|. tv|. info|. org|. su|. ñó|. êîì|. èíôî|realdeal|ïîèñêå|ãóãë|ïîèñêîâèê|kortr|MIBBK|vip|Îðäåí|Îpäåí|neverwords|xcombat|world|death|legendbattles|plu|dbe|kombatz|over|âorläcombt|dek|ci8|ðô|ÐÔ|ÁÊ2|êîïèðóéòå|';
public $abuse = array(
"ëîõ","ìóäàê","ãàíäîí","ïèäàðàñ","÷ìî","õóé","õóéíÿ","õóéíè","øëþõà","ïàñêóäà","áëÿ",'áëÿòü','áëÿäü',
'åáëàí','øàëàâà','åáàë','åáàòü','äðî÷èòü'
,'óåáèùå', 'õ ó é', 'ñóêà', 'ïèçäà', 'õóéëî', 'ïèäàð', 'õóéëî', 'ïèçäþê', 'áëÿäèíà', 'ïèçäåö', 'àõóåòü', 'åáó'
);
//
public function str_count($str,$col)
class Filter
{
public function str_count($str, $col)
{
if (strlen($str) > $col)
{
$str = substr($str,0,$col);
if (strlen($str) > $col) {
$str = substr($str, 0, $col);
}
return ($str);
}
//
//Ñìàéëèêè
public $sm = array("laugh"=>1,"fingal"=>1,"eek"=>1,"smoke"=>1,"hi"=>1,"bye"=>1,"king"=>1,"king2"=>1,"boks2"=>1,"boks"=>1,"gent"=>1,"lady"=>1,"tongue"=>1,"smil"=>1,"rotate"=>1,"ponder"=>1,"bow"=>1,"angel"=>1,"angel2"=>1,"hello"=>1,"dont"=>1,"idea"=>1,"mol"=>1,"super"=>1,"beer"=>1,"drink"=>1,"baby"=>1,"tongue2"=>1,"sword"=>1,"agree"=>1,"loveya"=>1,"kiss"=>1,"kiss2"=>1,"kiss3"=>1,"kiss4"=>1,"rose"=>1,"love"=>1,"love2"=>1,"confused"=>1,"yes"=>1,"no"=>1,"shuffle"=>1,"nono"=>1,"maniac"=>1,"privet"=>1,"ok"=>1,"ninja"=>1,"pif"=>1,"smash"=>1,"alien"=>1,"pirate"=>1,"gun"=>1,"trup"=>1,"mdr"=>1,"sneeze"=>1,"mad"=>1,"friday"=>1,"cry"=>1,"grust"=>1,"rupor"=>1,"fie"=>1,"nnn"=>1,"row"=>1,"red"=>1,"lick"=>1,"help"=>1,"wink"=>1,"jeer"=>1,"tease"=>1,"nunu"=>1,"inv"=>1,"duel"=>1,"susel"=>1,"nun"=>1,"kruger"=>1,"flowers"=>1,"horse"=>1,"hug"=>1,"str"=>1,"alch"=>1,"pal"=>1,"mag"=>1,"sniper"=>1,"vamp"=>1,"doc"=>1,"doc2"=>1,"sharp"=>1,"naem"=>1,"naem2"=>1,"naem3"=>1,"invis"=>1,"chtoza"=>1,"beggar"=>1,"sorry"=>1,"sorry2"=>1,
"creator"=>1,"grace"=>1,"dustman"=>1,"carreat"=>1,"lordhaos"=>1,"ura"=>1,"elix"=>1,"dedmoroz"=>1,"snegur"=>1,"showng"=>1,"superng"=>1,"podz"=>1,"sten"=>1,"devil"=>1,"cat"=>1,"owl"=>1,"lightfly"=>1,"snowfight"=>1,"rocket"=>1,"ball"=>1,"smile"=>1,"fuck"=>1);
public $sm = ["laugh" => 1, "fingal" => 1, "eek" => 1, "smoke" => 1, "hi" => 1, "bye" => 1, "king" => 1, "king2" => 1, "boks2" => 1, "boks" => 1, "gent" => 1, "lady" => 1, "tongue" => 1, "smil" => 1, "rotate" => 1, "ponder" => 1, "bow" => 1, "angel" => 1, "angel2" => 1, "hello" => 1, "dont" => 1, "idea" => 1, "mol" => 1, "super" => 1, "beer" => 1, "drink" => 1, "baby" => 1, "tongue2" => 1, "sword" => 1, "agree" => 1, "loveya" => 1, "kiss" => 1, "kiss2" => 1, "kiss3" => 1, "kiss4" => 1, "rose" => 1, "love" => 1, "love2" => 1, "confused" => 1, "yes" => 1, "no" => 1, "shuffle" => 1, "nono" => 1, "maniac" => 1, "privet" => 1, "ok" => 1, "ninja" => 1, "pif" => 1, "smash" => 1, "alien" => 1, "pirate" => 1, "gun" => 1, "trup" => 1, "mdr" => 1, "sneeze" => 1, "mad" => 1, "friday" => 1, "cry" => 1, "grust" => 1, "rupor" => 1, "fie" => 1, "nnn" => 1, "row" => 1, "red" => 1, "lick" => 1, "help" => 1, "wink" => 1, "jeer" => 1, "tease" => 1, "nunu" => 1, "inv" => 1, "duel" => 1, "susel" => 1, "nun" => 1, "kruger" => 1, "flowers" => 1, "horse" => 1, "hug" => 1, "str" => 1, "alch" => 1, "pal" => 1, "mag" => 1, "sniper" => 1, "vamp" => 1, "doc" => 1, "doc2" => 1, "sharp" => 1, "naem" => 1, "naem2" => 1, "naem3" => 1, "invis" => 1, "chtoza" => 1, "beggar" => 1, "sorry" => 1, "sorry2" => 1,
"creator" => 1, "grace" => 1, "dustman" => 1, "carreat" => 1, "lordhaos" => 1, "ura" => 1, "elix" => 1, "dedmoroz" => 1, "snegur" => 1, "showng" => 1, "superng" => 1, "podz" => 1, "sten" => 1, "devil" => 1, "cat" => 1, "owl" => 1, "lightfly" => 1, "snowfight" => 1, "rocket" => 1, "ball" => 1, "smile" => 1, "fuck" => 1];
public function e($t) {
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("#'.date('d.m.Y').' %'.date('H:i:s').': <b>'.mysql_real_escape_string($t).'</b>","capitalcity","Èãðîìèð","6","1","-1")');
public function e($t)
{
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("#' . date('d.m.Y') . ' %' . date('H:i:s') . ': <b>' . mysql_real_escape_string($t) . '</b>","capitalcity","Èãðîìèð","6","1","-1")');
}
public function setOnline($online,$uid,$afk)
public function setOnline($online, $uid, $afk)
{
$add = 0;
if(time()-$online>=1)
{
if(time()-$online < 60) {
$add += time()-$online;
}else{
if (time() - $online >= 1) {
if (time() - $online < 60) {
$add += time() - $online;
} else {
$add += 60;
}
}
//$this->e('test');
$afk = 0;
if($add>0)
{
$on = mysql_fetch_array(mysql_query('SELECT * FROM `online` WHERE `uid` = "'.$uid.'" LIMIT 1'));
if(isset($on['id']))
{
if ($add > 0) {
$on = mysql_fetch_array(mysql_query('SELECT * FROM `online` WHERE `uid` = "' . $uid . '" LIMIT 1'));
if (isset($on['id'])) {
$mt = 0;
$lst = time();
if(date('d',$on['lastUp'])!=date('d',$lst))
{
if (date('d', $on['lastUp']) != date('d', $lst)) {
$on['time_today'] = $add;
}else{
} else {
$on['time_today'] += $add;
}
$add = $on['time_all']+$add;
$afkNow = 0;
$afkAll = 0;
if($afk==1)
{
$mt = time();
}
mysql_query('UPDATE `online` SET `mainTime` = "'.$mt.'",`time_today` = "'.$on['time_today'].'",`lastUp` = "'.$lst.'",`time_all` = "'.$add.'" WHERE `id` = "'.$on['id'].'" LIMIT 1');
$add = $on['time_all'] + $add;
mysql_query('UPDATE `online` SET `mainTime` = "' . $mt . '",`time_today` = "' . $on['time_today'] . '",`lastUp` = "' . $lst . '",`time_all` = "' . $add . '" WHERE `id` = "' . $on['id'] . '" LIMIT 1');
}
}
}
@ -74,22 +53,18 @@ class Filter {
public function mystr($string)
{
$str = strtolower($string);
if(strtolower('S')!='s')
{
if (strtolower('S') != 's') {
$ru = 'ÀÁÂÃÄŨÆÇÈÉÊËÌÍÎÐÏÑÒÓÔÕÖ×ØÙÚÜÛÝÞß';
$ru2 = 'àáâãäå¸æçèéêëìíîðïñòóôõö÷øùúüûýþÿ';
$en = 'QWERTYUIOPASDFGHJKLZXCVBNM';
$en2 = 'qwertyuiopasdfghjklzxcvbnm';
$i = 0;
while($i<33)
{
if(isset($ru[$i]))
{
$str = strtr($str,$ru[$i],$ru2[$i]);
while ($i < 33) {
if (isset($ru[$i])) {
$str = strtr($str, $ru[$i], $ru2[$i]);
}
if(isset($en[$i]))
{
$str = strtr($str,$en[$i],$en2[$i]);
if (isset($en[$i])) {
$str = strtr($str, $en[$i], $en2[$i]);
}
$i++;
}
@ -97,65 +72,24 @@ class Filter {
return $str;
}
public function reverse_i($str)
{
/*$newstr = '';
for ($i=1; $i<=strlen($str); $i++)
{
$newstr .= substr($str, -$i, 1);
} */
$newstr = $str;
return $newstr;
}
public function antimat($txt) {
global $u;
$txt = ' '.$txt.' ';
//$vc = iconv( 'windows-1251' , 'UTF-8' , 'ÂÖ');
/*if( $u->info['admin'] > 0 ) {
$i = 0;
while( $i < count( $this->abuse ) ) {
$txt = iconv( 'windows-1251' , 'UTF-8' , $txt );
//
$word = $this->abuse[$i];
$word = iconv( 'windows-1251' , 'UTF-8' , $word);
//
$txt = str_replace(' #'.$word.'#is '," <i><f c=".$word." />&lt;".$vc."&gt;</i> ",$txt);
$txt = iconv( 'UTF-8' , 'windows-1251' , $txt );
$i++;
}
}else{*/
$i = 0;
while( $i < count( $this->abuse ) ) {
$txt = str_ireplace(' '.$this->abuse[$i].' ',' <i><f c='.$this->abuse[$i].' />&lt;ÂÖ&gt;</i> ',$txt);
$i++;
}
//}
return $txt;
}
public function spamFiltr($txt)
{
$txt = str_replace('¸','å',$txt);
$txt = str_replace('¸', 'å', $txt);
$nospam = 0;
$txt = str_replace('&gt;','',$txt);
$txt = str_replace('&lt;','',$txt);
$txt = str_replace('&quot;','',$txt);
$txt = str_replace('&gt;', '', $txt);
$txt = str_replace('&lt;', '', $txt);
$txt = str_replace('&quot;', '', $txt);
$txt = $this->mystr($txt);
$i = 0;
$j = 0;
while($i <= count($this->sm))
{
if(isset($this->sm[$i]))
{
$txt = preg_replace('/:'.$this->sm[$i].':/',"",$txt);
while ($i <= count($this->sm)) {
if (isset($this->sm[$i])) {
$txt = preg_replace('/:' . $this->sm[$i] . ':/', "", $txt);
}
$i++;
}
/* ôèëüòð */
//$spam = $this->spamtxt;
$spam = mysql_fetch_array(mysql_query('SELECT * FROM `spam_word` WHERE `id` = 1 LIMIT 1'));
$spam = $spam['data'];
//
@ -163,127 +97,68 @@ class Filter {
$testEN = preg_replace('/[^A-Z]*/i', '', $txt);
$testEN2 = $txt;
$testEN2 = str_replace('&quot;','',$testEN2);
$testEN2 = str_replace('&nbsp;','',$testEN2);
$testEN2 = str_replace('à','a',$testEN2);
$testEN2 = str_replace('á','b',$testEN2);
$testEN2 = str_replace('ñ','c',$testEN2);
$testEN2 = str_replace('â','b',$testEN2);
$testEN2 = str_replace('å','e',$testEN2);
$testEN2 = str_replace('ò','t',$testEN2);
$testEN2 = str_replace('î','o',$testEN2);
$testEN2 = str_replace('ð','p',$testEN2);
$testEN2 = str_replace('ì','m',$testEN2);
$testEN2 = str_replace('í','h',$testEN2);
$testEN2 = str_replace('ó','y',$testEN2);
$testEN2 = str_replace('ê','k',$testEN2);
$testEN2 = str_replace('è','u',$testEN2);
$testEN2 = str_replace('õ','x',$testEN2);
$testEN2 = str_replace('ÿ','9',$testEN2);
$testEN2 = str_replace('()','o',$testEN2);
$testEN2 = str_replace('0','o',$testEN2);
$testEN2 = str_replace('&quot;', '', $testEN2);
$testEN2 = str_replace('&nbsp;', '', $testEN2);
$testEN2 = str_replace('à', 'a', $testEN2);
$testEN2 = str_replace('á', 'b', $testEN2);
$testEN2 = str_replace('ñ', 'c', $testEN2);
$testEN2 = str_replace('â', 'b', $testEN2);
$testEN2 = str_replace('å', 'e', $testEN2);
$testEN2 = str_replace('ò', 't', $testEN2);
$testEN2 = str_replace('î', 'o', $testEN2);
$testEN2 = str_replace('ð', 'p', $testEN2);
$testEN2 = str_replace('ì', 'm', $testEN2);
$testEN2 = str_replace('í', 'h', $testEN2);
$testEN2 = str_replace('ó', 'y', $testEN2);
$testEN2 = str_replace('ê', 'k', $testEN2);
$testEN2 = str_replace('è', 'u', $testEN2);
$testEN2 = str_replace('õ', 'x', $testEN2);
$testEN2 = str_replace('ÿ', '9', $testEN2);
$testEN2 = str_replace('()', 'o', $testEN2);
$testEN2 = str_replace('0', 'o', $testEN2);
$testEN2 = preg_replace('/[^a-z]*/i', '', $testEN2);
$testEN2 = preg_replace('/[^A-Z]*/i', '', $testEN2);
$testRU = preg_replace('/[^à-ÿ]*/i', '', $txt);
$testRU = preg_replace('/[^À-ß]*/i', '', $txt);
$testRU2 = $txt;
$testRU2 = str_replace('a','à',$testRU2);
$testRU2 = str_replace('b','á',$testRU2);
$testRU2 = str_replace('c','ñ',$testRU2);
$testRU2 = str_replace('b','â',$testRU2);
$testRU2 = str_replace('e','å',$testRU2);
$testRU2 = str_replace('t','ò',$testRU2);
$testRU2 = str_replace('o','î',$testRU2);
$testRU2 = str_replace('p','ð',$testRU2);
$testRU2 = str_replace('m','ì',$testRU2);
$testRU2 = str_replace('h','í',$testRU2);
$testRU2 = str_replace('y','ó',$testRU2);
$testRU2 = str_replace('k','ê',$testRU2);
$testRU2 = str_replace('x','õ',$testRU2);
$testRU2 = str_replace('u','è',$testRU2);
$testRU2 = str_replace('()','î',$testRU2);
$testRU2 = str_replace('0','î',$testRU2);
$testRU2 = preg_replace('/[^à-ÿ]*/i', ' ', $testRU2);
$testRU2 = str_replace('a', 'à', $testRU2);
$testRU2 = str_replace('b', 'á', $testRU2);
$testRU2 = str_replace('c', 'ñ', $testRU2);
$testRU2 = str_replace('b', 'â', $testRU2);
$testRU2 = str_replace('e', 'å', $testRU2);
$testRU2 = str_replace('t', 'ò', $testRU2);
$testRU2 = str_replace('o', 'î', $testRU2);
$testRU2 = str_replace('p', 'ð', $testRU2);
$testRU2 = str_replace('m', 'ì', $testRU2);
$testRU2 = str_replace('h', 'í', $testRU2);
$testRU2 = str_replace('y', 'ó', $testRU2);
$testRU2 = str_replace('k', 'ê', $testRU2);
$testRU2 = str_replace('x', 'õ', $testRU2);
$testRU2 = str_replace('u', 'è', $testRU2);
$testRU2 = str_replace('()', 'î', $testRU2);
$testRU2 = str_replace('0', 'î', $testRU2);
$testRU2 = preg_replace('/[^À-ÿ]*/i', ' ', $testRU2);
$testRU2 = preg_replace('/[^À-ß]*/i', ' ', $testRU2);
$i = 0; $spe = explode('|',$spam);
while($i<=count($spe))
{
if(isset($spe[$i]) && $spe[$i]!='' && $spe[$i] != 'new-combats.com')
{
if( stristr($testEN,$spe[$i]) == true ) {
$nospam .= '%'.$spe[$i];
}elseif( stristr($testRU,$spe[$i]) == true ) {
$nospam .= '%'.$spe[$i];
}
/*if(preg_match("/".($spe[$i])."/i",($testEN)))
{
$nospam .= '%'.$spe[$i];
}elseif(preg_match("/".($spe[$i])."/i",($testRU)))
{
$nospam .= '%'.$spe[$i];
}*//*elseif(preg_match("/".($spe[$i])."/i",($testRU2)))
{
$nospam .= '%'.$spe[$i];
}elseif(preg_match("/".($spe[$i])."/i",($testEN2)))
{
$nospam .= '%'.$spe[$i];
}*/
$i = 0;
$spe = explode('|', $spam);
while ($i <= count($spe)) {
if (
isset($spe[$i]) &&
$spe[$i] != '' &&
$spe[$i] != 'new-combats.com' &&
(
stristr($testEN, $spe[$i]) ||
stristr($testRU, $spe[$i])
)
) {
$nospam .= '%' . $spe[$i];
}
$i++;
}
return $nospam;
}
public function getSmiles($txt,$lg)
{
global $c,$u;
$i = 0;
$j = 0;
$txt = ' '.$txt;
$h = explode(':',$txt);
$user_sm = array();
if($lg!=false)
{
$k = 0;
$ke = explode(',',$u->info['add_smiles']);
while($k<count($ke))
{
if(isset($ke[$k]) && $ke[$k]!='')
{
$user_sm[$ke[$k]] = 1;
}
$k++;
}
}
while($i <= count($this->sm))
{
if(isset($h[$i]))
{
if(isset($this->sm[$h[$i]]) || isset($user_sm[$h[$i]]))
{
if($j<3)
{
$clk = 'onClick=\"top.addSm(\''.$h[$i].'\');\" style=\"cursor:pointer;\"';
if(isset($user_sm[$h[$i]]))
{
$clk = 'title=\"Èìåííîé ñìàéëèê\"';
}
$h[$i] = '*not_dbl_ponts*<img '.$clk.' src=\"https://img.new-combats.com/i/smile/'.$h[$i].'.gif\">*not_dbl_ponts*';
$j++;
}
}
}
$i++;
}
$txt = implode($h,':');
$txt = str_replace(':*not_dbl_ponts*','',$txt);
$txt = str_replace('*not_dbl_ponts*:','',$txt);
$txt = str_replace('*not_dbl_ponts*','',$txt);
$txt = trim($txt,' ');
return $txt;
}
public function __clone()
{
trigger_error('Äóáëèðîâàíèå íå äîïóñêàåòñÿ.', E_USER_ERROR);
@ -291,4 +166,3 @@ class Filter {
}
$filter = new Filter();
?>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -181,7 +181,7 @@ class dialog
$act0 = explode('=',$act[0]);
if( $act0[0] == 'fileqst' ) {
if(file_exists('_incl_data/class/quest/'.htmlspecialchars($act0[1]).'.php')) {
include('_incl_data/class/quest/'.htmlspecialchars($act0[1]).'.php');
require_once('_incl_data/class/quest/'.htmlspecialchars($act0[1]).'.php');
}else{
$txt .= '<br><b><font color=red>Êâåñò íå íàéäåí â ñïèñêàõ NPS...</b></font>';
}

View File

@ -1,7 +1,7 @@
<?php
define('GAME',time());
include('_incl_data/class/__db_connect.php');
require_once('_incl_data/class/__db_connect.php');
if (isset($_COOKIE['login']))
{
$u = mysql_fetch_array(mysql_query('SELECT `id`,`admin` FROM `users` WHERE `login` = "'.mysql_real_escape_string($_COOKIE['login']).'" AND `pass` = "'.mysql_real_escape_string($_COOKIE['pass']).'" LIMIT 1'));

View File

@ -6,7 +6,7 @@ $tm = explode(' ', $tm);
$tm = $tm[0] + $tm[1];
if (!isset($CRON_CORE)) {
include('../../_incl_data/__config.php');
require_once('../../_incl_data/__config.php');
}
if (isset($_GET['cron_core'])) {
@ -19,7 +19,7 @@ if (isset($_GET['cron_core'])) {
if (!isset($CRON_CORE)) {
define('GAME', true);
include('../../_incl_data/class/__db_connect.php');
require_once('../../_incl_data/class/__db_connect.php');
}
function e($t)
@ -62,10 +62,10 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' || isset($CRON_CORE))
unset($tm);
$js = '';
include('../../_incl_data/class/__user.php');
include('../../_incl_data/class/__magic.php');
include('../../_incl_data/class/_cron_.php');
include('../../_incl_data/class/__quest.php');
require_once('../../_incl_data/class/__user.php');
require_once('../../_incl_data/class/__magic.php');
require_once('../../_incl_data/class/_cron_.php');
require_once('../../_incl_data/class/__quest.php');
if ($u->info['battle'] == 0) {
$btl_last = mysql_fetch_array(mysql_query('SELECT `id`,`battle` FROM `battle_users` WHERE `uid` = "' . $u->info['id'] . '" AND `finish` = "0" LIMIT 1'));
@ -98,8 +98,8 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' || isset($CRON_CORE))
}
}
include('../../_incl_data/class/__battle.php');
include('log_text.php');
require_once('../../_incl_data/class/__battle.php');
require_once('log_text.php');
$btl->is = $u->is;
$btl->items = $u->items;
$btl->info = $btl->battleInfo($u->info['battle']);

View File

@ -18,22 +18,8 @@
$tm = explode(' ',$tm);
$tm = $tm[0]+$tm[1];
if(!isset($CRON_CORE)) {
//include('../../_incl_data/__config.php');
/*if($_SESSION['tbr']>$tm)
{
die('<script>ggcode="'.$code.'";if(t057!=null){clearTimeout(t057);}</script>');
}else{
$_SESSION['tbr'] = $tm+0.350;
}*/
}
unset($tm);
$js = '';
//include('../../_incl_data/class/__user.php');
//include('../../_incl_data/class/__magic.php');
//include('../../_incl_data/class/_cron_.php');
//include('../../_incl_data/class/__quest.php');
if( $u->info['battle'] == 0 ) {
$btl_last = mysql_fetch_array(mysql_query('SELECT `id`,`battle` FROM `battle_users` WHERE `uid` = "'.$u->info['id'].'" AND `finish` = "0" LIMIT 1'));

View File

@ -19,7 +19,7 @@
$tm = $tm[0]+$tm[1];
if(!isset($CRON_CORE)) {
//include('../../_incl_data/__config.php');
//require_once('../../_incl_data/__config.php');
/*if($_SESSION['tbr']>$tm)
{
die('<script>ggcode="'.$code.'";if(t057!=null){clearTimeout(t057);}</script>');
@ -30,10 +30,10 @@
unset($tm);
$js = '';
//include('../../_incl_data/class/__user.php');
//include('../../_incl_data/class/__magic.php');
//include('../../_incl_data/class/_cron_.php');
//include('../../_incl_data/class/__quest.php');
//require_once('../../_incl_data/class/__user.php');
//require_once('../../_incl_data/class/__magic.php');
//require_once('../../_incl_data/class/_cron_.php');
//require_once('../../_incl_data/class/__quest.php');
if( $u->info['battle'] == 0 ) {
$btl_last = mysql_fetch_array(mysql_query('SELECT `id`,`battle` FROM `battle_users` WHERE `uid` = "'.$u->info['id'].'" AND `finish` = "0" LIMIT 1'));

View File

@ -15,7 +15,7 @@ if(getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && get
*/
define('GAME',true);
include('../../_incl_data/class/__db_connect.php');
require_once('../../_incl_data/class/__db_connect.php');
function e($t) {
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Êðèòè÷åñêàÿ îøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","-NIGHTmare-","6","1","-1")');
@ -67,7 +67,7 @@ if(isset($CRON_CORE))
$tm = $tm[0]+$tm[1];
if(!isset($CRON_CORE)) {
include('../../_incl_data/__config.php');
require_once('../../_incl_data/__config.php');
if($_SESSION['tbr']>$tm)
{
die('<script>ggcode="'.$code.'";if(t057!=null){clearTimeout(t057);}</script>');
@ -78,10 +78,10 @@ if(isset($CRON_CORE))
unset($tm);
$js = '';
include('../../_incl_data/class/__user.php');
include('../../_incl_data/class/__magic.php');
include('../../_incl_data/class/_cron_.php');
include('../../_incl_data/class/__quest.php');
require_once('../../_incl_data/class/__user.php');
require_once('../../_incl_data/class/__magic.php');
require_once('../../_incl_data/class/_cron_.php');
require_once('../../_incl_data/class/__quest.php');
if(!isset($CRON_CORE)) {
if(!isset($u->info['id']) || ($u->info['joinIP']==1 && $u->info['ip']!=$_SERVER['HTTP_X_REAL_IP']))
@ -98,8 +98,8 @@ if(isset($CRON_CORE))
mysql_query("UPDATE `users` SET `online`='".time()."',`timeMain`='".time()."' WHERE `id`='".$u->info['id']."' LIMIT 1");
}
}
include('../../_incl_data/class/__battle.php');
include('log_text.php');
require_once('../../_incl_data/class/__battle.php');
require_once('log_text.php');
$btl->is = $u->is;
$btl->items = $u->items;
$btl->info = $btl->battleInfo($u->info['battle']);

View File

@ -4,7 +4,7 @@ die();
if(!isset($CRON_CORE)) {
define('GAME',true);
include('../../_incl_data/class/__db_connect.php');
require_once('../../_incl_data/class/__db_connect.php');
}
function e($t) {
@ -58,7 +58,7 @@ if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' || isset($CRON_CORE))
$tm = $tm[0]+$tm[1];
if(!isset($CRON_CORE)) {
include('../../_incl_data/__config.php');
require_once('../../_incl_data/__config.php');
if($_SESSION['tbr']>$tm)
{
die('<script>ggcode="'.$code.'";if(t057!=null){clearTimeout(t057);}</script>');
@ -69,10 +69,10 @@ if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' || isset($CRON_CORE))
unset($tm);
$js = '';
include('../../_incl_data/class/__user.php');
include('../../_incl_data/class/__magic.php');
include('../../_incl_data/class/_cron_.php');
include('../../_incl_data/class/__quest.php');
require_once('../../_incl_data/class/__user.php');
require_once('../../_incl_data/class/__magic.php');
require_once('../../_incl_data/class/_cron_.php');
require_once('../../_incl_data/class/__quest.php');
if(!isset($CRON_CORE)) {
if(!isset($u->info['id']) || ($u->info['joinIP']==1 && $u->info['ip']!=$_SERVER['HTTP_X_REAL_IP']))
@ -135,8 +135,8 @@ if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' || isset($CRON_CORE))
mysql_query("UPDATE `users` SET `online`='".time()."',`timeMain`='".time()."' WHERE `id`='".$u->info['id']."' LIMIT 1");
}
}
include('../../_incl_data/class/__battle.php');
include('log_text.php');
require_once('../../_incl_data/class/__battle.php');
require_once('log_text.php');
$btl->is = $u->is;
$btl->items = $u->items;
$btl->info = $btl->battleInfo($u->info['battle']);

874
main.php

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ if($u->room['file']=='cp')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -160,7 +160,7 @@ if(isset($_GET['loc']))
if($u->info['room']==209)
{
include('_incl_data/class/__zv.php');
require_once('_incl_data/class/__zv.php');
}
if($re!=''){ $re = $re.'&nbsp;'; }

View File

@ -29,7 +29,7 @@ if($u->room['file']=='ab/cp')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -29,7 +29,7 @@ if($u->room['file']=='ab/cp2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -206,7 +206,7 @@ if (!isset($_GET['r'])) {
} else {
echo 'information is lost.';
} ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top">
<div align="right">
<?= !empty($re) ? '<span style="color: red; font-weight: bold">' . $re . '</span>' : '' ?>

View File

@ -29,7 +29,7 @@ if($u->room['file']=='ab/izlom16')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -17,7 +17,7 @@ if(isset($_POST['level']))
if(file_exists('_incl_data/class/__zv.php')) {
if(!isset($zv))
{
include('_incl_data/class/__zv.php');
require_once('_incl_data/class/__zv.php');
}
$zv->startIzlom(1,((int)$_POST['level']));
}else{

View File

@ -93,7 +93,7 @@ if($u->room['file']=='ab/quest')
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" valign="top"><? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -129,7 +129,7 @@ if($u->room['file']=='an/bk'){
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<table border="0" cellpadding="0" cellspacing="0">
@ -141,7 +141,7 @@ if($u->room['file']=='an/bk'){
<td id="ViewLocation"><?php
if(true == false){
?><script><?php
include('modules_data/location/fight-club.database.php');
require_once('modules_data/location/fight-club.database.php');
?>
var json = <?php echo json_encode($Response); ?>;
var tgo = <?php echo ($tmGo*10); ?>;

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/bk2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<table border="0" cellpadding="0" cellspacing="0">

View File

@ -107,7 +107,7 @@ function WeatherBegin() { // IE main animation function
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -107,7 +107,7 @@ function WeatherBegin() { // IE main animation function
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/kinght')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/torg')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zalu')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zalu_pal')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zv1')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zv2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zv3')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='an/zv4')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -11,7 +11,7 @@ if($u->room['file']=='bk'){
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<table border="0" cellpadding="0" cellspacing="0">
@ -23,7 +23,7 @@ if($u->room['file']=='bk'){
<td id="ViewLocation"><?php
if($u->info['login'] == 'mZer0ne'){
?><script><?php
include('modules/location/fight-club.database.php');
require_once('modules/location/fight-club.database.php');
?>
var json = <?php echo json_encode($Response); ?>;
var tgo = <?php echo ($tmGo*10); ?>;

View File

@ -12,7 +12,7 @@ if($u->room['file']=='bk2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<table border="0" cellpadding="0" cellspacing="0">

View File

@ -10,13 +10,13 @@ $old_battle = true;
if( isset($_COOKIE['newbattle']) ) {
$old_battle = false;
include('btl_2.php');
require_once('btl_2.php');
die();
}
include('jx/battle/log_text.php');
require_once('jx/battle/log_text.php');
if( $old_battle == true ) {
@ -761,9 +761,9 @@ function timedCount() { //reflesh_btn
refleshPoints();
</script>
<?
include('_incl_data/class/_cron_.php');
include('_incl_data/class/__battle.php');
include('jx/battle/refresh1.php'); ?>
require_once('_incl_data/class/_cron_.php');
require_once('_incl_data/class/__battle.php');
require_once('jx/battle/refresh1.php'); ?>
</div>
<?

View File

@ -3,8 +3,8 @@ if(!defined('GAME'))
{
die();
}
include('/home/newcom1/public_html/_incl_data/__config.php');
include('/home/newcom1/public_html/_incl_data/class/__db_connect.php');
require_once('/home/newcom1/public_html/_incl_data/__config.php');
require_once('/home/newcom1/public_html/_incl_data/class/__db_connect.php');
if($u->room['file']=='cp1')
{
@ -92,7 +92,7 @@ function AtackNoWindow()
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;">
<span style="font-size:12px;">

View File

@ -108,7 +108,7 @@ function WeatherBegin() { // IE main animation function
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">

View File

@ -106,7 +106,7 @@ function WeatherBegin() { // IE main animation function
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -11,7 +11,7 @@ if($u->room['file']=='cp4') {
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -6,7 +6,7 @@ if(!defined('GAME'))
if($u->room['file']=='dragopsh') {
include('_incl_data/class/__dungeon.php');
require_once('_incl_data/class/__dungeon.php');
$lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$u->info['dnow'].'" LIMIT 1'));
if( !isset($lab['id']) ) {

View File

@ -69,7 +69,7 @@ if(isset($_GET['back'])) {
unset($dp);
}
include('_incl_data/class/__dungeon.php');
require_once('_incl_data/class/__dungeon.php');
if(!isset($d->info['id'])) {
$_GET['exitd'] = true;
@ -307,7 +307,7 @@ if( $d->point['fileadd']==1 && $d->point['file']!='0' && $d->point['file']!=''){
if( $d->point['fileadd']==0 && $d->point['file']!='0' && $d->point['file']!=''){
$file = explode('=',$d->point['file']);
if( file_exists('modules_data/location/'.$file[0]) ) {
include('modules_data/location/'.$file[0]);
require_once('modules_data/location/'.$file[0]);
} else {
if( $file[3]<1 || $file[3]>4 ) {
$file[3] = 1;

View File

@ -673,7 +673,7 @@ if( $dungeonGroupList == '' ) {
if( $roomSection == 0 ) { echo $dungeonGroupList; }
if( $roomSection == 1 ) {
# endQuest çàâåðøàåì çàäàíèå ïî íàæàòèþ.
if( isset( $_GET['endQuest'] ) && $_GET['endQuest'] != '' ){
if(!empty($_GET['endQuest'])){
$action = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = '.$u->info['id'].' AND `id`="'.$_GET['endQuest'].'" AND `vals` = "go" LIMIT 1'));
$quest = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `id` = "'.str_replace('start_quest','',$action['vars']).'" LIMIT 1'));
if( $q->questCheckEnd($quest)==1 ){
@ -693,7 +693,10 @@ if( $roomSection == 1 ) {
while( $pl = mysql_fetch_array( $sp ) ) {
if($pl['room'] == $u->info['room']){
$pq = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `id` = "'.str_replace('start_quest','',$pl['vars']).'" LIMIT 1'));
if( $q->questCheckEnd($pq)==1 ) $qsee2 = '<input style="margin-top:6px;" type="button" value="Çàâåðøèòü çàäàíèå" onclick="location=\'main.php?rz=1&amp;endQuest='.$pl['id'].'\'">'; else $qsee2 = '';
if( $q->questCheckEnd($pq)==1 or $u->info['login'] == 'òåñò1') {
if ($u->info['login'] == 'òåñò1') {print_r($pl['id'] . ' ');}
$qsee2 = '<input style="margin-top:6px;" type="button" value="Çàâåðøèòü çàäàíèå" onclick="location=\'main.php?rz=1&amp;endQuest=' . $pl['id'] . '\'">';
} else $qsee2 = '';
$qsee .= '
<a href="main.php?rz=1&end_qst_now='.$pq['id'].'"><img src="https://img.new-combats.com/i/clear.gif" title="Îòêàçàòüñÿ îò çàäàíèÿ"></a>

View File

@ -12,7 +12,7 @@ if($u->room['file']=='em/cp') {
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='em/cp2') {
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='fe/bk')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -29,7 +29,7 @@ if($u->room['file']=='fe/cp')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -29,7 +29,7 @@ if($u->room['file']=='fe/sclep')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv1')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv3')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv4')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -1,5 +1,5 @@
<?php
include('modules_data/location/fight-club.database.php');
require_once('modules_data/location/fight-club.database.php');
if(!defined('GAME')){
die();
}
@ -15,7 +15,7 @@ if(!defined('GAME')){
echo 'information is lost.';
}
?></td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules/stats_loc.php'); ?></td>
<td valign="top"><div align="right"><?php
if($u->error!=''){
echo '<font color="red"><b>'.$u->error.'</b></font>';

View File

@ -16,7 +16,7 @@ if(isset($_POST['level']))
if(file_exists('_incl_data/class/__zv.php')) {
if(!isset($zv))
{
include('_incl_data/class/__zv.php');
require_once('_incl_data/class/__zv.php');
}
$zv->startIzlom(1,((int)$_POST['level']));
}else{

View File

@ -12,7 +12,7 @@ if($u->room['file']=='kinght')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if( $u->error != '' ) { ?>
<font color=red><b>

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/bk')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -29,7 +29,7 @@ if($u->room['file']=='nc/cp')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv1')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv3')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='nc/zv4')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -2,7 +2,7 @@
if(!defined('GAME')) { die(); }
if($u->room['file'] == 'newtower') {
include('_incl_data/class/__zv.php');
require_once('_incl_data/class/__zv.php');
$bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "'.$u->info['inTurnir'].'" LIMIT 1'));
$bmid = 0;
if(!isset($bs['id']) || $bs['status'] == 0) { die('Òóðíèð íå íàéäåí.'); }

View File

@ -123,7 +123,7 @@ if($u->room['file']=='novich')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table width="510" border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='perehod')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -11,7 +11,7 @@ if($u->room['file']=='poklon') {
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -13,7 +13,7 @@ if($u->room['file']=='ric_zv')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -11,7 +11,7 @@ if($u->room['file']=='room_xot') {
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -29,7 +29,7 @@ if($u->room['file']=='nc/cp')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='torg')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<? if( $u->error != '' ) { ?>
<font color=red><b>

View File

@ -13,7 +13,7 @@ if($u->room['file']=='trade_zv')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -7,7 +7,7 @@ if(!defined('GAME'))
if($u->room['file']=='turnir')
{
include('_incl_data/class/__turnir.php');
require_once('_incl_data/class/__turnir.php');
$tur->locationSee();

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zalu')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zalu_pal')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zalu_pal2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zalu_pal3')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zalu_pal4')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zv1')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zv2')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zv3')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -12,7 +12,7 @@ if($u->room['file']=='zv4')
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -16,7 +16,7 @@ if($u->room['file']=='zv_svet')
echo '<br><center>'.$u->abilsRoom('look').'</center>';
?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">

View File

@ -8,8 +8,8 @@ header('Content-Type: text/html; charset=windows-1251');
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')
{
define('GAME',true);
include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php');
require_once('_incl_data/__config.php');
require_once('_incl_data/class/__db_connect.php');
include('_incl_data/class/__user.php');
if(isset($u->tfer['id']) && $u->info['align'] != 2)
{

1117
online.php

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
<?
define('GAME',true);
include('../_incl_data/__config.php');
include('../_incl_data/class/__db_connect.php');
require_once('../_incl_data/__config.php');
require_once('../_incl_data/class/__db_connect.php');
$p = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`level`,`sex`,`clan`,`align`,`city`,`cityreg` FROM `users` WHERE `id` = "'.mysql_real_escape_string($_GET['user']).'" LIMIT 1'));