Файл: gamele.ru/inc/forpost/master.php
Строк: 124
<table cellpadding=0 cellspacing=0 border=0 align=center width=760>
<tr><td><img src=http://image.gamele.ru/1x1.gif width=1 height=10></td></tr>
<tr><td bgcolor=#ffffff align=center><img src=http://image.gamele.ru/gameplay/workshop.jpg width=760 height=255 border=0><div id="wind" style="position:absolute; visibility: hidden; z-index:1000;left: 50%; top: 155px;margin-left: -137px;"></div></td></tr>
<tr><td><img src=http://image.gamele.ru/1x1.gif width=1 height=1></td></tr>
<tr><td bgcolor=#e0e0e0><table cellpadding=0 cellspacing=1 border=0 width=100%><tr><td colspan=2 bgcolor=#F9f9f9><div align=center><font class=inv><b> У Вас с собой <?=$player[nv]?> ER и вещей массой: <?= number_format($plstt[71], 2, '.', '')?> Максимальный вес: <?= number_format($mass, 2, '.', '')?></b></div></td></tr>
<tr><td bgcolor=#ffffff><table cellpadding=0 cellspacing=6 border=0 align=center width=100%>
<?
//выводим элементы нужного типа
echo'
<script>
writebuttons = function(e,a){
switch(e){
case 'mod':
document.getElementById(a+'mod').className = "";
document.getElementById(a+'modb').className = "cc0000";
document.getElementById(a+'cmodb').className = "";
document.getElementById(a+'upb').className = "";
document.getElementById(a+'up').className = "invis";
document.getElementById(a+'cmod').className = "invis";
break;
case 'up':
document.getElementById(a+'up').className = "";
document.getElementById(a+'upb').className = "cc0000";
document.getElementById(a+'modb').className = "";
document.getElementById(a+'mod').className = "invis";
document.getElementById(a+'cmod').className = "invis";
document.getElementById(a+'cmodb').className = "";
break;
case 'cmod':
document.getElementById(a+'upb').className = "";
document.getElementById(a+'modb').className = "";
document.getElementById(a+'cmod').className = "";
document.getElementById(a+'cmodb').className = "cc0000";
document.getElementById(a+'mod').className = "invis";
document.getElementById(a+'up').className = "invis";
break;
}
}
</script>';
//
function blocks($bl){
if($bl!="") {
switch($bl)
{
case 40: echo "<font class=weaponch><b><font color=#cc0000>Блокировка 1-ой точки</font></b><br>"; break;
case 70: echo "<font class=weaponch><b><font color=#cc0000>Блокировка 2-х точек</font></b><br>"; break;
case 90: echo "<font class=weaponch><b><font color=#cc0000>Блокировка 3-х точек</font></b><br>"; break;
}}
}
$pl_st=allparam($player);
$filt="AND `items`.`type`!='w0' AND `items`.`type`!='w61' AND `items`.`type`!='w27' AND `items`.`type`!='w85' AND `items`.`type`!='w61' AND `items`.`type`!='w70' AND `items`.`type`!='w29' AND `items`.`type`!='w30' AND `items`.`type`!='w66' AND `items`.`type`!='w69' AND `items`.`type`!='w68'";
$it=mysql_query("SELECT `invent`.*, `items`.* FROM `items` INNER JOIN `invent` ON `items`.`id` = `invent`.`protype` WHERE `invent`.`pl_id`='".$player[id]."' and `invent`.`used`='0' and `invent`.`dprice`='0' and `invent`.`arenda`='0' and `invent`.`death`='0' and `items`.`dcat`!='99' and `invent`.`auction`='0' and `items`.`color`='0' ".$filt.";");
while ($ITEM = mysql_fetch_assoc($it)){
include($_SERVER["DOCUMENT_ROOT"]."/inc/master/master_items".".php");
include($_SERVER["DOCUMENT_ROOT"]."/inc/master/master_ups".".php");
}
echo'
</td></tr>';
include($_SERVER["DOCUMENT_ROOT"]."/inc/master/master_upcheck".".php");
?>
<div align=center>
<SCRIPT language="JavaScript">
counterview('');
</SCRIPT>
</div>
</td></tr>
</table>
<SCRIPT language='JavaScript'>
NewLinksView();
</SCRIPT>