Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Копирование html;PHP - кода
#1
здравствуйте!! подскажите программу для Копирование html;php кода странички Сайта, Например combats.ru Sad
Ответ
#2
бк еще жив

лолкекчебурек
Ответ
#3
ап
Ответ
#4
Back-End извне не скопировать.
Ответ
#5
Воспользуйтесь в браузере CTRL+S, чтобы сохранить html веб-страничку целиком, а вот php скопировать не получится - если бы это можно было делать, никто бы не создавал сайты на php kappa.
Ответ
#6
здравствуйте!! Ищу человека который поможет HTML-кода!! вот скрин [Изображение: hh034t] бы хотелось сделать [Изображение: hh02kz] ну конечно за ваш труд оплата обеспечена!

Добавлено через 1 минуту
https://prnt.sc/hh034t вот скрин

https://prnt.sc/hh02kz бы хотелось сделат

Добавлено через 13 минут
inf.php вот сам код
[PHP]<?php
//ob_start("ob_gzhandler");
ob_start();
session_start();
include "connect.php";
include "functions.php";
include "functions/info.php";
$own=$user;
function chars($val){
$search = array('#\&#si','#\"#si','#\<#si','#\>#si');
$replace = array('&amp;','&quot;','&lt;','&gt;');
$val = preg_replace($search, $replace, $val);
return $val;
}
function bbcode($val){
$val=htmlspecialchars($val);
$search = array(
'#\[b\](.*?)\[/b\]#is',
'#\&amp;lt;I\&amp;gt;(.*?)\&amp;lt;/I\&amp;gt;#si',
'#\&amp;lt;U\&amp;gt;(.*?)\&amp;lt;/U\&amp;gt;#si',
'#\&amp;lt;CODE\&amp;gt;(.*?)\&amp;lt;/CODE\&amp;gt;#si',
'#\[s\](.*?)\[/s\]#is',
'#\[left\](.*?)\[/left\]#is',
'#\[center\](.*?)\[/center\]#is',
'#\[right\](.*?)\[/right\]#is',
'#\[justify\](.*?)\[/justify\]#is',
'#\&amp;lt;size\&amp;gt;(.*?)\&amp;lt;/size\&amp;gt;#si',
'#\&amp;lt;img\&amp;gt;(.*?)\&amp;lt;/img\&amp;gt;#si',
'#\&amp;lt;youtube\&amp;gt;(.*?)\&amp;lt;/youtube\&amp;gt;#si',
'#\&amp;lt;url\&amp;gt;(.*?)\&amp;lt;/url\&amp;gt;#si',
'#\&lt;#si',
'#\&gt;#si',
'#\&amp;lt;#si',
'#\&amp;gt;#si',

'`((?<!//)(www\.\S+[[:alnum:]]/?))`si'

);
$replace = array(
"<B>\$1</B>",
"<I>\$1</I>",
"<U>\$1</U>",
"<CODE>\$1</CODE>",
"<S>\$1</S>",
"<left>\$1</left>",
"<center>\$1</center>",
"<right>\$1</right>",
"<justify>\$1</justify>",
'<span style="font-size:20px;">$1</span>',
'<img id="full" width="35%" hight="35%" src="\\1">',
'<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>',
'<a href="\\1" target="_blank">$1</a>',
"<",
">",
"<",
">",


'<a href="$1" rel="nofollow" target="_blank">$1</a>',

);
$val = preg_replace($search, $replace, $val);
return $val;
}
function getuser($us) {
global $user, $user8;
$user8 = mysql_fetch_array(mq("SELECT `id` FROM `users` WHERE id='$us' LIMIT 1"));
nick99 ($user8['id']);
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE id='$us' LIMIT 1;"));
}
if ($_GET['login']) {
$us=mqfa1("select id from users where login='$_GET[login]'");
if (!$us) {
$user=mqfa("select * from allusers where login='$_GET[login]'");
$us=@$user["id"];
if ($us) {
$infrec=mqfa("select * from infcache where id='$us'");
if (!$infrec["persout"]) {
restoreuser($us);
getuser($us);
list($po, $noinfo)=infpersout($user);
$lastvisit=0;
} else {
$po=$infrec["persout"];
$noinfo=$infrec["noinfo"];
$lastvisit=$infrec["date"];
}
}
} else {
getuser($us);
list($po, $noinfo)=infpersout($user);
$lastvisit=0;
}
} else {
if ($_SERVER['QUERY_STRING']>_BOTSEPARATOR_) {
//if ($user['id' == 7]) echo 'test';

$usr=mqfa("select name, prototype from bots where id='".$_SERVER['QUERY_STRING']."'");
if ($usr["name"]=="Отморозок") $us=3946;
else $us=$usr["prototype"];
} else $us=(int)$_SERVER['QUERY_STRING'];
$us=mqfa1("select id from users where id='$us'");
if (!$us) {
$us=$_SERVER['QUERY_STRING'];
$user=mqfa("select * from allusers where id='$us'");
$us=@$user["id"];
if ($us) {
$infrec=mqfa("select * from infcache where id='$us'");
if (!$infrec["persout"]) {
restoreuser($us);
getuser($us);
list($po, $noinfo)=infpersout($user);
$lastvisit=0;
} else {
$po=$infrec["persout"];
$noinfo=$infrec["noinfo"];
$lastvisit=$infrec["date"];
}
}
} else {
getuser($us);
list($po, $noinfo)=infpersout($user);
$lastvisit=0;
}
}
if ($user["invis"]) {
$user["hp"]=$user["maxhp"];
$user["mana"]=$user["maxmana"];
}
if($user['redirect']) {
header("Location: ".$user['redirect']."");
die();
}

$_SERVER['QUERY_STRING'] = $user[0];
if(!$us) {
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta http-equiv="Content-Language" content="ru">

<TITLE>Произошла ошибка</TITLE></HEAD>
<body><p><font color=black>




Произошла ошибка: <pre>Персонаж <?=($_GET['login']?"\"".$_GET['login']."\"":"")?> не найден...</pre>
<div style='float:right; padding-right:20px;'><input style="font-size:12px;" type=button value='Вернуться' OnClick="javascript:window.history.go(-1);"></div><br>
<HR>
<div style='float:right; padding-right:20px;'>Администрация<a href="http://bkwar.com"> bkwar</a></div>
<br>
<hr>
<div><center><IMG align="center" src="img/lost.png" border="0"></center></div>
<hr>
</body>
</html>
<?
die();
}
?>
<HTML><HEAD><TITLE>Информация о <?=$user['login']?></TITLE>
<link rel=stylesheet type="text/css" href="<?=IMGBASE?>/i/main.css">
<meta content="text/html; charset=windows-1251" http-equiv=Content-type>
<link href="<?=IMGBASE?>/i/move/design2.css" rel="stylesheet" type="text/css">
<META Http-Equiv=Cache-Control Content="no-cache, max-age=0, must-revalidate, no-store">
<meta http-equiv=PRAGMA content=NO-CACHE>
<META Http-Equiv=Expires Content=0>
<style type="text/css">
img.pnged {
behavior: url(/pngbehavior.htc);
}
</style>
<script>
var main_uid= 'main';
var delay = 10; // Каждые n сек. увеличение HP на 1%
</script>
<script type="text/javascript" src='<?=IMGBASE?>/js/commoninf.js'></script>
<script type="text/javascript" src='<?=IMGBASE?>/js/LocalText.js' charset='utf-8'></script>
<script type="text/javascript" src='<?=IMGBASE?>/js/CombatsUI.js' charset='utf-8'></script>
<script type="text/javascript" src="<?=IMGBASE?>/js/inf.0.104.js" charset="utf-8"></script>

<SCRIPT>
function hideshow(){document.getElementById("mmoves").style.visibility="hidden"}
function fastshow(a){var b=document.getElementById("mmoves"),d=window.event.srcElement;if(a!=""&&b.style.visibility!="visible")b.innerHTML="<small>"+a+"</small>";a=window.event.clientY+document.documentElement.scrollTop+document.body.scrollTop+5;b.style.left=window.event.clientX+document.documentElement.scrollLeft+document.body.scrollLeft+3+"px";b.style.top=a+"px";if(b.style.visibility!="visible")b.style.visibility="visible"}
//var CtrlPress = false;
function info(login)
{
login = login.replace('%', '%25');
while (login.indexOf('+')>=0) login = login.replace('+', '%2B');
while (login.indexOf('#')>=0) login = login.replace('#', '%23');
while (login.indexOf('?')>=0) login = login.replace('?', '%3F');
// if (CtrlPress) { window.open('/zayavka.php?logs=1&date=&filter='+login, '_blank'); }
// else { window.location.href='/inf.php?login='+login; }
}
//document.onmousedown = Down;
//function Down() {CtrlPress = window.event.ctrlKey}
</SCRIPT>
<div id="mmoves" style=" visibility:hidden; z-index: 100; overflow:visible; position:absolute; border-color:#666666; border-styleConfusedolid; border-width: 1px; padding: 2px;"></div>





<TABLE style="HEIGHT: 100%" border=0 cellSpacing=0 cellPadding=0 width="100%">
<TR>
<?php if ($user['align'] == '0' or $user['align'] == '9') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0/tl0.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0/tc0.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0/tr0.jpg" width=19 height=50></TD>
</TR>

<TR>
<TD background="http://bkwar.com/i/screeninfo/0/ml0.jpg">&nbsp;</TD>
<TD valign="top"><br>




<!-- Благодать-->
<?php } elseif ($user['align'] == '30') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/30/tl16.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/30/tc16.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/30/tr16.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/30/ml16.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Мироздатель-->
<?php } elseif ($user['align'] == '33') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/33/tl15.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/33/tc15.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/33/tr15.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/33/ml15.jpg">&nbsp;</TD>
<TD valign="top"><br>

<!-- Повелитель Воды-->
<?php } elseif ($user['align'] == '42') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/42/tl19.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/42/tc19.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/42/tr19.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/42/ml19.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Воздуха-->
<?php } elseif ($user['align'] == '43') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/43/tl21.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/43/tc21.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/43/tr21.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/43/ml21.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Земли-->
<?php } elseif ($user['align'] == '44') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/44/tl22.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/44/tc22.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/44/tr22.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/44/ml22.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Огня-->
<?php } elseif ($user['align'] == '45') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/45/tl20.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/45/tc20.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/45/tr20.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/45/ml20.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Волынщик -->
<?php } elseif ($user['align'] == '34') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/34/tl12.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/34/tc12.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/34/tr12.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/34/ml12.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Искцшение -->
<?php } elseif ($user['align'] == '35') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/35/tl13.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/35/tc13.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/35/tr13.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/35/ml13.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Мусорщик -->
<?php } elseif ($user['align'] == '36') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/36/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/36/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/36/tr11.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/36/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Падальщик -->
<?php } elseif ($user['align'] == '37') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/37/tl14.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/37/tc14.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/37/tr14.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/37/ml14.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Вечности-->
<?php } elseif ($user['align'] == '38') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/38/tl23.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/38/tc23.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/38/tr23.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/38/ml23.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Металла-->
<?php } elseif ($user['align'] == '39') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/39/tl24.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/39/tc24.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/39/tr24.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/39/ml24.jpg">&nbsp;</TD>
<TD valign="top"><br>
<!-- Повелитель Снов -->
<?php } elseif ($user['align'] == '40') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/40/tl25.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/40/tc25.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/40/tr25.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/40/ml25.jpg">&nbsp;</TD>
<TD valign="top"><br>

<!-- Справедливость -->
<?php } elseif ($user['align'] == '41') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/41/tl26.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/41/tc26.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/41/tr26.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/41/ml26.jpg">&nbsp;</TD>
<TD valign="top"><br>




<?php } elseif ($user['align'] == '0.98') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>


<TR>
<TD background="http://bkwar.com/i/screeninfo/0/ml0.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '111') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0/tl0.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0/tc0.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0/tr0.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0/ml0.jpg">&nbsp;</TD>
<TD valign="top"><br>

<?php } elseif ($user['align'] == '112') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.99/tl18.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.99/tc18.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.99/tr18.jpg" width=19 height=50></TD>
</TR>
<TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.99/ml18.jpg">&nbsp;</TD>
<TD valign="top"><br>

<?php } elseif ($user['align'] == '0.99') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.99/tl18.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.99/tc18.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.99/tr18.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.99/ml18.jpg">&nbsp;</TD>
<TD valign="top"><br>

<?php } elseif ($user['align'] == '0.99' or ($user['align'] > '0.99' and $user['align'] < '1.99')) { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.99/tl18.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.99/tc18.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.99/tr18.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.99/ml18.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '7') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/7/tl25.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/7/tc25.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/7/tr25.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/7/ml25.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '2.5') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/tl15.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/tc15.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/tr15.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/ml15.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '2.51') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/2.51/tl19.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/2.51/tc19.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/2.51/tr19.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/2.51/ml19.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '1.91') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/tl15.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/tc15.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/tr15.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/ml15.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '1.99') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/tl15.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/tc15.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/tr15.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/ml15.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '3.99') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.98/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] > '3' && $user['align'] < '3.99') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.98/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '666') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.98/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>

<?php } elseif ($user['align'] == '4') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.98/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>
<?php } elseif ($user['align'] == '3.091') { ?>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/tl11.jpg" width=19 height=50></TD>
<TD background="http://bkwar.com/i/screeninfo/0.98/tc11.jpg"></TD>
<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/tr11.jpg" width=19 height=50></TD>
</TR>
<TR>
<TD background="http://bkwar.com/i/screeninfo/0.98/ml11.jpg">&nbsp;</TD>
<TD valign="top"><br>

<?php } ?>

<?php if ($user['align'] == '0.98') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/11.png' width="135" height="140" border="0"><br>
<?php } elseif ($user['align'] == '0.99') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/17.png' width="135" height="140" border="0"><br>
<?php } elseif ($user['align'] == '7') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/25.png' width="135" height="140" border="0"><br>
<!-- Благодать-->
<?php } elseif ($user['align'] == '30') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/30.png' width="135" height="140" border="0"><br>
<!-- Мироздатель-->
<?php } elseif ($user['align'] == '33') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/33.png' width="135" height="140" border="0"><br>



<!-- Волынщик -->
<?php } elseif ($user['align'] == '34') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/34.png' width="135" height="140" border="0"><br>
<!-- Искушение -->
<?php } elseif ($user['align'] == '35') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/35.png' width="135" height="140" border="0"><br>

<!-- Мусорщик -->
<?php } elseif ($user['align'] == '36') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/36.png' width="135" height="140" border="0"><br>
<!-- Падальщик -->
<?php } elseif ($user['align'] == '37') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/37.png' width="135" height="140" border="0"><br>

<!-- Повелитель Вечности -->
<?php } elseif ($user['align'] == '38') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/38.png' width="135" height="140" border="0"><br>
<!-- Повелитель Металла -->
<?php } elseif ($user['align'] == '39') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/39.png' width="135" height="140" border="0"><br>
<!-- Повелитель Снов -->
<?php } elseif ($user['align'] == '40') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/40.png' width="135" height="140" border="0"><br>

<!-- Справедливость -->
<?php } elseif ($user['align'] == '41') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/41.png' width="135" height="140" border="0"><br>


<!-- Повелитель Воды-->
<?php } elseif ($user['align'] == '42') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/42.png' width="135" height="140" border="0"><br>
<!-- Повелитель Воздуха-->
<?php } elseif ($user['align'] == '43') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/43.png' width="135" height="140" border="0"><br>
<!-- Повелитель Земли-->
<?php } elseif ($user['align'] == '44') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/44.png' width="135" height="140" border="0"><br>
<!-- Повелитель Огня-->
<?php } elseif ($user['align'] == '45') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 15px; top:0px;' src='/i/znaki/45.png' width="135" height="140" border="0"><br>


<?php } elseif ($user['align'] == '0') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/0.png' width="135" height="140" border="0"><br>
<?php } elseif ($user['align']>2 && $user['align']<3) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/15.png' width="135" height="140" border="0"><br>
<?php } elseif ($user['align']>3.001 && $user['align']<3.999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/13.png' width="135" height="140" border="0"><br>
<?php } elseif ($user['align']>1.01 && $user['align']<1.999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:0px;' src='/i/znaki/18.png' width="135" height="140" border="0"><br>
<?php } ?>
</head>
</html>
</center>

<center>
<html>
<head>
<?php if ($user['align'] == '0.908') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:5px;' src='/i/znaki/11.png' width="150" height="160" border="0"><br>
<?php } elseif ($user['klassperss'] == 1) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/128.png' width="130" height="130" border="0" title="Силовик"><br>

<?php } elseif ($user['klassperss'] == 9) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/32.png' width="130" height="130" border="0" title="Лучник"><br>

<?php } elseif ($user['klassperss'] == 4) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/256.png' width="130" height="130" border="0" title="Танк"><br>
<?php } elseif ($user['klassperss'] == 2) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:2px;' src='http://img.combats.ru/roles/L/512.png' width="130" height="130" border="0" title="Уворотчик"><br>
<?php } elseif ($user['klassperss'] == 3) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:0px;' src='http://img.combats.ru/roles/L/1024.png' width="135" height="135" border="0" title="Критовик"><br>
<?php } elseif ($user['klassperss'] == 7) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/8.png' width="130" height="130" border="0" title="Маг Воздуха"><br>
<?php } elseif ($user['klassperss'] == 5) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/2.png' width="130" height="135" border="0" title="Маг Огня"><br>
<?php } elseif ($user['klassperss'] == 6) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/4.png' width="130" height="135" border="0" title="Маг Воды"><br>

<?php } elseif ($user['mearth']>10 && $user['mearth']<300 && ($user['intel']>90)) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 150px; top:5px;' src='http://img.combats.ru/roles/L/16.png' width="130" height="135" border="0" title="Маг Земли"><br>

<?php } elseif ($user['align']>1.01 && $user['align']<1.999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 10px; top:250px;' src='/i/misc/16.png' title="Светлое Братство"><br>
<?php } ?>
</head>
</html>
</center>

<center>
<html>
<head>
<?php if ($user['align'] == '0.908') { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 5px; top:5px;' src='/i/znaki/11.png' width="150" height="160" border="0"><br>
<?php } elseif ($user['win']>10000 && $user['align']<1000000000000) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 295px; top:9px;' src='/i/znaki/ud.png' width="113" height="113" border="0" title="Знак Победы"><br>
<?php } ?>
</head>
</html>
</center>


<center>
<html>
<head>
<?php if ($user['blagodat'] == 1) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 425px; top:2px;' src='http://bkwar.com/i/premium/bl/1crown-1.png' width="130" height="130" border="0" title="Благодать Алхимика 1"><br>
<?php } elseif ($user['blagodat'] == 2) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 425px; top:2px;' src='http://bkwar.com/i/premium/bl/2crown-1.png' width="130" height="130" border="0" title="Благодать Алхимика 2"><br>

<?php } elseif ($user['blagodat'] == 3) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 425px; top:2px;' src='http://bkwar.com/i/premium/bl/3crown-1.png' width="130" height="130" border="0" title="Благодать Алхимика 3"><br>

<?php } elseif ($user['blagodat'] == 4) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 425px; top:2px;' src='http://bkwar.com/i/premium/bl/4crown-1.png' width="130" height="130" border="0" title="Благодать Алхимика 4"><br>
<?php } elseif ($user['blagodat'] == 5) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 425px; top:2px;' src='http://bkwar.com/i/premium/bl/5crown-1.png' width="130" height="130" border="0" title="Благодать Алхимика 5"><br>
<?php } ?>
</head>
</html>
</center>



<center>
<html>
<head>
<?php if ($user['level']>0 && $user['level']<999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 10px; top:145px;' src='/i/znaki/inf_scroll.png' width="100" height="100" border="0"><A target='_blank'style='position: absolute; right: 35px; top:250px; onfocus='this.blur()' href='http://scrolls.bkwar.com/'><small>Scrolls</small></A><br>
<?php } ?>
</head>
</html>
</center>


<center>
<html>
<head>
<?php if ($user['level']>0 && $user['level']<999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 10px; top:290px;' src='/i/znaki/inf_photoscroll.png' width="100" height="100" border="0"><A target='_blank'style='position: absolute; right: 20px; top:395px; onfocus='this.blur()' href='http://scrolls.bkwar.com/?notes=photos&id='><small>Photo Scrolls</small></A><br>
<?php } ?>
</head>
</html>
</center>

<center>
<html>
<head>
<?php if ($user['level']>0 && $user['level']<999) { ?>
&nbsp; &nbsp; &nbsp; &nbsp; <img align=right style='position: absolute; right: 10px; top:435px;' src='/i/znaki/achieve.png' width="100" height="100" border="0"><A target='_blank'style='position: absolute; right: 35px; top:535px; onfocus='this.blur()' href='http://bkwar.com/news/'><small>Новости</small></A><br>
<?php } ?>
</head>
</html>
</center>

<style type="text/css">
hr { height: 1px; }
</style>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY onLoad="setHP(<?=$user['hp']?>,<?=$user['maxhp']?>,<?if (!$user['battle']){echo"10";}else{echo"0";}?>)">



<?

//$online=mqfa('SELECT * from online where id=\''.$us.'\'');
//if (!$online) $online=mqfa('SELECT * from allonline where id=\''.$us.'\'');
//$date = getDateInterval($online['date']);
if ($lastvisit) {
//$po=preg_replace("/<!--tme-->.*?<!---->/", date("Y.m.d H:i", $lastvisit), $po);
$po=preg_replace("/<!--tme2-->.*?<!---->/", getDateInterval($lastvisit), $po);
}

echo $po;

if (($own['align'] > '2' && $own['align'] < '3') || ($own['align'] > '1' && $own['align'] < '2') || $own['align'] == '777') {


?>
<HR>
<H3>Анкетные данные</H3><BR>

<b>Имя:</b> <?=$user['realname']?><BR><b>Пол:</b>
<?php
if($user['sex']) { echo "Мужской";} else {echo "Женский";}
if ($user['city']) { echo "<BR><b>Город:</b> {$user['city']}"; }
if ($user['http']) { echo "<BR><b>Домашняя страница:</b> <A href=\"".((substr($user['http'],0,4)=='http'?"":"http://").$user['http'])."\" target=_blank>".((substr($user['http'],0,4)=='http'?"":"http://").$user['http'])."</a>"; }
if ($user['skype']) {echo "<BR><b>Skype:</b> {$user['skype']}"; }
if ($user['icq'] && !$user['hide_icq']) {
echo "<BR><b>ICQ:</b> {$user['icq']} <IMG src='http://wwp.icq.com/scripts/online.dll?icq={$user['icq']}&img=9' width=55 height=14>";
}
if ($user['telefon']) {echo "<BR>Номер Телефона: {$user['telefon']}"; }
if ($user['lozung']) { echo "<BR>Девиз: <CODE>{$user['lozung']}</CODE>"; }?>
<BR><br>Увлечения / хобби:<BR><CODE> <?=bbcode(nl2br(htmlspecialchars($user['info'])))."</div>";
} elseif ($user['showmyinfo'] && !$noinfo) {
echo"<div style=\"font-size:12px\">
<HR><H3>Анкетные данные</H3>
<b>Имя:</b>{$user['realname']}";
if ($user['showmyinfo']) { echo"
<BR><b>Пол:</b>";}?> <?php
if ($user['showmyinfo']) {
if($user['sex']) { echo "Мужской";} else {echo "Женский";}
if ($user['city']) { echo "<BR><b>Город:</b> {$user['city']}"; }
if ($user['http']) { echo "<BR><b>Домашняя страница:</b> <A href=\"".((substr($user['http'],0,4)=='http'?"":"http://").$user['http'])."\" target=_blank>".((substr($user['http'],0,4)=='http'?"":"http://").$user['http'])."</a>"; }
if ($user['icq']) {echo "<BR><b>ICQ:</b> {$user['icq']}"; }
if ($user['skype']) {echo "<BR><b>Скайп:</b> {$user['skype']}"; }
if ($user['lozung']) { echo "<BR><b>Девиз:</b> <CODE>{$user['lozung']}</CODE>"; }
}
if ($user['info']) { echo "<BR><BR><b>Увлечения / хобби:</b><BR><BR><CODE>";}
$user['info']=str_replace(" <BR> <BR>","",$user['info']);
if ($user['infpic'] && $user['id']==1597) {echo "00:40 [Вознесение] to [Совесть] <IMG border=0 src=\"".IMGBASE."/chat/smiles/".$user['infpic']."\"></br>";}
elseif ($user['infpic']) {echo "<IMG border=0 src=\"".IMGBASE."/i/".$user['infpic']."\"></br>";}
echo nl2br($user['info']);
echo "</CODE>";
}

if ($user['showmyinfo']=='0') echo'<br><font color="red">Информация Скрыта</color>';
echo "<div style=\"font-size:12px\">";
$okld=0;
if (($own['align'] > '1.1' && $own['align'] < '2') || ($own['align'] > '2' && $own['align'] < '3') || ($own['align'] > '3.02' && $own['align'] < '4')) {
$okld=1;
}
if ($user["id"]!=7 && $user["id"]!=22040 && $user["id"]!=4489014 && $user["id"]!=4489010 && $user["id"]!=4488998) {

if ($own["align"]==5) $okld=1;
if ($okld==1) {
$ld1="<br><br><font style='text'>За персонажем замечены следующие темные делишки:</font><br><br>";
$ldd = mysql_query("SELECT * FROM `lichka` WHERE `pers` = '{$user['id']}' ORDER by `id` ASC;");
while ($ld = mysql_fetch_array($ldd)) {
$dat=date("d.m.Y H:i",$ld['date']);
$text=$ld['text'];
$ld1.="<CODE>$dat $text </CODE><br>";
}
echo $ld1;
}


$okdop=0;
if (($own['align'] > '1.1' && $own['align'] < '2') || ($own['align'] > '2' && $own['align'] < '3') || ($own['align'] > '3.02' && $own['align'] < '4' && $own['align'] != '1.21')) {
$okdop=1;
}
if ($own["align"]==5) $okdop=1;

$okdop=0;
if (($own['align'] > '1' && $own['align'] < '2') || ($own['align'] > '2' && $own['align'] < '3') || ($own['align'] > '3' && $own['align'] < '4')) {
$okdop=1;
}
if ($okdop==1) {
echo "<br><H4><u>Дополнительные сведения: </u></H4>";
$user_bank=mysql_fetch_array(mysql_query("SELECT sum(`cr`) as `cr`,sum(`ekr`) as `ecr`,sum(`id`) as `id` from `bank` where `owner`='".$user['id']."'"));

?>
День рождения: <? echo"{$user['borndate']} <br>"; ?>
IP при регистрации: <? echo"<a href=http://www.ripe.net/fcgi-bin/whois?form_type=simple&full_query_string=&searchtext=".$user['ip']." target=_blank><b>".$user['ip']."</b></a><br>";?>
E-mail: <? echo "{$user['email']} <br>";?>
Число неиспользованных UP-ов: <? echo"{$user['stats']} <br>";?>
Кредитов: <? echo"{$user['money']} <br></font>";?>

ЕвроКредитов: <? echo"{$user['ekr']} <br></font>";?>

Очки чести: <? echo"{$user['honorpoints']} <br></font>";?>

Реф. сайт: <? echo "{$user['otkuda']} <br>";?>
Реферальная ссылка ID (чья): <? echo "{$user['refer']} ("; nick2($user['refer']); echo ")<br>";?>
Комната: <? echo "{$user['room']} <br>";?>

<H4><u>Банк: </u></H4><br>
Номер счета в (Банке): <font color=red><b><? echo"{$user_bank['id']}</b></font><br></font>";?>
ЕвроКредитов (Банк): <font color=red><b><? echo"{$user_bank['ecr']} </b></font><br></font>";?>
Кредитов (Банк): <font color=red><b><? echo"{$user_bank['cr']} </b></font><br></font>";?>



<H4><u>Характеристики: </u></H4><br>
ID: <? echo"{$user['id']}<br>";?>
Уровень: <? echo"{$user['level']}<br>";?>
Oпыт: <? echo"{$user['exp']}<br>";?>
До апа: <? echo"{$user['nextup']}<br>";?>
Свободных статов <? echo"{$user['stats']} <br>";?>
Свободных покупных пещерных статов <? echo"{$user['podzem_stats']} <br>";?>
Свободных умений <? echo"{$user['master']} <br>";?>
Свободных покупных пещерных умений <? echo"{$user['podzem_master']} <br>";?>
VIP <? echo"{$user['vip']} <br>";?>
Сила : <? echo"{$user['sila']} <br>";?>
Ловкость : <? echo"{$user['lovk']} <br>";?>
Инта : <? echo"{$user['inta']} <br>";?>
Вынос. : <? echo"{$user['vinos']} <br>";?>
Интелект : <? echo"{$user['intel']} <br>";?>
Мудрость : <? echo"{$user['mudra']} <br>";?>
Духовность : <? echo"{$user['spirit']} <br>";?>
Умения ножи : <? echo"{$user['noj']} <br>";?>
Умения мечи : <? echo"{$user['mec']} <br>";?>
Умения топоры : <? echo"{$user['topor']} <br>";?>
Умения дубины : <? echo"{$user['dubina']} <br>";?>
Умения посохами : <? echo"{$user['posoh']} <br>";?>
Умения стихией огня : <? echo"{$user['mfire']} <br>";?>
Умения стихией воды : <? echo" {$user['mwater']} <br>";?>
Умения стихией воздуха : <? echo"{$user['mair']} <br>";?>
Умения стихией земли : <? echo"{$user['mearth']} <br>";?>
Умения стихией света : <? echo"{$user['mlight']} <br>";?>
Умения стихией серой магии : <? echo"{$user['mgray']} <br>";?>
Умения стихией тьмы : <? echo"{$user['mdark']} <br>";?>

<?
$dop.="<br><H4><u>Заходы с одного компьютера: </u></H4>";
$lplist = mysql_query("SELECT * FROM `delo_multi` WHERE `idperslater` = '{$user['id']}' OR `idpersnow` = '{$user['id']}';");
while ($iplog = mysql_fetch_array($lplist)) {
$ookk=1;
if ($iplog[1] == 111 || $iplog[2] == 111 || $iplog[1] == 4717 || $iplog[2] == 4717 || $iplog[1] == 1659 || $iplog[2] == 1659 || $iplog[1] == 1 || $iplog[2] == 1) {
$ookk=0;
}
if ($ookk == 1) {
$dop.=$iplog[3]." ".nick3($iplog[1])." => ".nick3($iplog[2])."<BR>";
}
}

if (($own['align'] > '2' && $own['align'] < '3')) {
$lplist = mysql_query("SELECT * FROM `iplog` WHERE `owner` = '{$user['id']}' ORDER by `id` DESC LIMIT 10;");
$dop.="<br>Последние заходы персонажа:";
$dop.="<table border=0><tr><td>&nbsp;</td><td><center><b>Дата</b></center></td><td><center><b>IP</b></center></td></tr>";
$ind=0;
while ($iplog = mysql_fetch_array($lplist)) {
$ind++;
$dat=date("d.m.y H:i",$iplog['date']);
$ip=$iplog['ip'];
$dop.="<tr><td>&nbsp; $ind &nbsp;</td><td>&nbsp;&nbsp; $dat &nbsp;&nbsp;</td><td>&nbsp; $ip &nbsp;&nbsp;</td></tr>";
}
$dop.="</table>";
}
echo $dop;
}

}
$own=mysql_fetch_array(mysql_query("SELECT `id`,`align`,`login` FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
if($own['align']=='2.5' or $own['align']=='2.5'){


if($_POST['del']){
$invs = mysql_query("SELECT * FROM `inventory` WHERE `id`='".$_POST['del']."'");
$bbc = mysql_fetch_array($invs);
if($bbc['dressed']==1){
dropitem($bbc['type']);
if($bbc['type']==5){
dropitem(6);
dropitem(7);
}
}
mysql_query("UPDATE `users` SET `money`=money+".$bbc['cost'].",`ekr`=ekr+".$bbc['ecost']." WHERE `id` = '{$own['id']}' LIMIT 1;");
mysql_query("DELETE FROM `inventory` WHERE `id` = '{$_POST['del']}' LIMIT 1;");
}

$invv = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' ORDER by `id` DESC;");
echo "<br><H4><u>Вещи в инвентаре:</u></H4>";
echo "<table border=1><tr><td><center><b>Название</b></center></td><td><center><b>кр.</b></center></td><td><center><b>екр.</b></center></td><td><center><b>Долговечность</b></center></td></td><td><center><b>Картинка</b></center></td></td><td><center><b>Действия</b></center></td></td></tr>";
$ind=0;
while ($inv = mysql_fetch_array($invv)) {
$ip=$iplog['ip'];
echo "<form action=\"\" method=\"post\"><tr><td>&nbsp;&nbsp; ".$inv['name']." &nbsp;&nbsp;</td><td>&nbsp; ".$inv['cost']." &nbsp;&nbsp;</td><td>&nbsp; ".$inv['ecost']." &nbsp;&nbsp;</td><td>&nbsp;".$inv['duration']."/".$inv['maxdur']."</td><td>&nbsp;<img src='http://bkwar.com/i/sh/{$inv['img']}'></td><td>&nbsp;

<input name=\"del\" type=\"hidden\" value=\"".$inv['id']."\">
<input name=\"ok\" type=\"submit\" value=\"Удалить\">

&nbsp;&nbsp;</td></tr></form>";
}
echo "</table><form action='' method='post'><input name='bbb' type='submit' value='раздеть персонажа'></form>";

if($_POST['bbb']){undressall($user['id']);}
}
?>
<br><div align=left>
<?php include("mail_ru.php"); ?>
<div>
<BR>
<BR>
<?php if ($user['align'] == '0' or $user['align'] == '9') { ?>
<TD background="http://bkwar.com/i/screeninfo/0/mr0.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0/bl0.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0/bc0.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0/br0.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '0.98') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '0.99' or ($user['align'] > '0.99' and $user['align'] < '1.99')) { ?>
<TD background="http://bkwar.com/i/screeninfo/0.99/mr18.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.99/bl18.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.99/bc18.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.99/br18.jpg" width=19 height=50></TD>
</TR>

<?php } elseif ($user['align'] == '112') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.99/mr18.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.99/bl18.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.99/bc18.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.99/br18.jpg" width=19 height=50></TD>
</TR>

<?php } elseif ($user['align'] == '7') { ?>
<TD background="http://bkwar.com/i/screeninfo/7/mr25.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/7/bl25.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/7/bc25.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/7/br25.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '2.5') { ?>
<TD background="http://bkwar.com/i/screeninfo/mr15.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/bl15.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/bc15.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/br15.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '2.51') { ?>
<TD background="http://bkwar.com/i/screeninfo/2.51/mr19.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/2.51/bl19.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/2.51/bc19.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/2.51/br19.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '1.91') { ?>
<TD background="http://bkwar.com/i/screeninfo/mr15.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/bl15.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/bc15.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/br15.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '1.99') { ?>
<TD background="http://bkwar.com/i/screeninfo/mr15.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/bl15.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/bc15.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/br15.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '3.99') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '3.01') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '666') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>

<?php } elseif ($user['align'] == '4') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>

<?php } elseif ($user['align'] > '3' && $user['align'] < '3.99') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0.98/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0.98/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0.98/br11.jpg" width=19 height=50></TD>
</TR>
<?php } elseif ($user['align'] == '111') { ?>
<TD background="http://bkwar.com/i/screeninfo/0.98/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/0/bl0.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/0/bc0.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/0/br0.jpg" width=19 height=50></TD>
</TR>




<!-- Благодадть -->
<?php } elseif ($user['align'] == '30') { ?>
<TD background="http://bkwar.com/i/screeninfo/30/mr16.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/30/bl16.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/30/bc16.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/30/br16.jpg" width=19 height=50></TD>
</TR>
<!-- Мироздатель -->
<?php } elseif ($user['align'] == '33') { ?>
<TD background="http://bkwar.com/i/screeninfo/33/mr15.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/33/bl15.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/33/bc15.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/33/br15.jpg" width=19 height=50></TD>
</TR>

<!-- Повелитель Воды -->
<?php } elseif ($user['align'] == '42') { ?>
<TD background="http://bkwar.com/i/screeninfo/42/mr19.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/42/bl19.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/42/bc19.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/42/br19.jpg" width=19 height=50></TD>
</TR>
<!-- Повелитель Воздуха-->
<?php } elseif ($user['align'] == '43') { ?>
<TD background="http://bkwar.com/i/screeninfo/43/mr21.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/43/bl21.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/43/bc21.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/43/br21.jpg" width=19 height=50></TD>
</TR>

<!-- Повелитель Земли-->
<?php } elseif ($user['align'] == '44') { ?>
<TD background="http://bkwar.com/i/screeninfo/44/mr22.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/44/bl22.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/44/bc22.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/44/br22.jpg" width=19 height=50></TD>
</TR>

<!-- Повелитель Огня-->
<?php } elseif ($user['align'] == '45') { ?>
<TD background="http://bkwar.com/i/screeninfo/45/mr20.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/45/bl20.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/45/bc20.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/45/br20.jpg" width=19 height=50></TD>
</TR>

<!-- Волынщик -->
<?php } elseif ($user['align'] == '34') { ?>
<TD background="http://bkwar.com/i/screeninfo/34/mr12.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/34/bl12.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/34/bc12.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/34/br12.jpg" width=19 height=50></TD>
</TR>
<!-- Искушение -->
<?php } elseif ($user['align'] == '35') { ?>
<TD background="http://bkwar.com/i/screeninfo/35/mr13.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/35/bl13.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/35/bc13.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/35/br13.jpg" width=19 height=50></TD>
</TR>
<!-- Мусорщик -->
<?php } elseif ($user['align'] == '36') { ?>
<TD background="http://bkwar.com/i/screeninfo/36/mr11.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/36/bl11.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/36/bc11.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/36/br11.jpg" width=19 height=50></TD>
</TR>
<!-- Падальщик -->
<?php } elseif ($user['align'] == '37') { ?>
<TD background="http://bkwar.com/i/screeninfo/37/mr14.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/37/bl14.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/37/bc14.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/37/br14.jpg" width=19 height=50></TD>
</TR>
<!-- Повелитель Вечности-->
<?php } elseif ($user['align'] == '38') { ?>
<TD background="http://bkwar.com/i/screeninfo/38/mr23.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/38/bl23.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/38/bc23.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/38/br23.jpg" width=19 height=50></TD>
</TR>
<!-- Повелитель Металла-->
<?php } elseif ($user['align'] == '39') { ?>
<TD background="http://bkwar.com/i/screeninfo/39/mr24.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/39/bl24.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/39/bc24.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/39/br24.jpg" width=19 height=50></TD>
</TR>

<!-- Повелитель Снов -->
<?php } elseif ($user['align'] == '40') { ?>
<TD background="http://bkwar.com/i/screeninfo/40/mr25.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/40/bl25.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/40/bc25.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/40/br25.jpg" width=19 height=50></TD>
</TR>

<!-- Справедливость -->
<?php } elseif ($user['align'] == '41') { ?>
<TD background="http://bkwar.com/i/screeninfo/41/mr26.jpg"></TD></TR>

<TR>
<TD style="HEIGHT: 50px"><IMG src="http://bkwar.com/i/screeninfo/41/bl26.jpg" width=19 height=50></TD>

<TD style="WIDTH: 100%" background="http://bkwar.com/i/screeninfo/41/bc26.jpg"><div align=center><font color=0797E1>&copy; [2013 - 2014 <A style="color: white" href="http://www.bkwar.com" target="_blank">bkwar.com</A>]</font></div></TD>

<TD><IMG src="http://bkwar.com/i/screeninfo/41/br26.jpg" width=19 height=50></TD>
</TR>
<?php } ?>

</TABLE>
</body>
</HTML>
<?
$own=mysql_fetch_array(mysql_query("SELECT `id`,`align`,`login` FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
if($own['align']=='2.5' or $own['align']=='2.6'){
?>
<center><div style="margin:0; margin-top:8px"><div style="margin-bottom:4px"><input type="button" value="Рефералы" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Скрыть'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Рефералы'; }"></div><div ><div style="display: none;">
<tr>
<TD align=center nowrap>
<fieldset>
<?
$data = mysql_query("SELECT `id`, `login`, `status`, `level`, `room`, `align`, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM users WHERE refer='$user[id]' ORDER BY level DESC");
$i=0;
while($row = mysql_fetch_array($data)){
$i++;
if($i==1){echo"<center>Список игроков которых Вы привели:</center><br>";}




if ($row['online']>0) {
echo '<A HREF="javascript:top.AddToPrivate(\'',nick7($row['id']),'\', top.CtrlPress)" target=refreshed><img src="i/lock.gif" width=20 height=15></A>';
nick2($row['id']);
if ($row['id'] == $user['deal']) {
echo ' - '.$row['status'].'';
}
$rrm = $rooms[$row['room']];
echo ' - <i>',$rrm,'</i><BR>'...
Ответ
#7
M1xF1ght, Данный код не безопасен - по многим причинам.
К тому-же, поддержка таких скриптов, не актуальна, по многим причинам.
Мой вам совет - по скорее задуматься, пока вас не взломали.
Я так думаю, что у вас, все такие скрипты.
Придется полностью писать с нуля, под определенную задачу.
Стоимость разработки зависит от т. з. (технического задания).
Но у вашего скрипт-кода, к сожалению, нет будущего.
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Наемник в среде программирования Pascal Basic Perl PHP Html Kotlin js c++ c# python web razrab Argyment 1 980 01-27-2023, 12:45 PM
Последний пост: Argyment
  Калькулятор ( js +html ) gorodetskiy 1 2,757 08-02-2012, 03:04 PM
Последний пост: gorodetskiy
  Изучаем HTML, XHTML и CSS Комиссар 16 8,244 07-13-2012, 07:22 PM
Последний пост: Комиссар
  Урезать длинну кода Effas 10 3,846 03-07-2012, 12:25 AM
Последний пост: Azagthtot
  верстка макета в HTML код Duha199612 7 3,721 01-25-2012, 08:36 PM
Последний пост: [STIGMATED]
  Предзагрузка картинки html Horus92 6 5,046 05-22-2011, 10:51 AM
Последний пост: Azagthtot
  html, css, div и бекграунды ****Ice_Man**** 2 3,002 02-06-2011, 01:09 AM
Последний пост: ****Ice_Man****
  Как обучиться HTML,PHP? pankration 13 6,310 06-26-2010, 01:56 PM
Последний пост: Aquanox

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)