Файл: gamele.ru/js/building_v03.js
Строк: 62
<?php
var d = document;
function view_build_top()
{
if(build[11])
{
parent.frames["ch_list"].location = "/ch.php?lo=1";
}
ins_HP();
d.write('<table cellpadding=4 cellspacing=0 border=0 width=100%><tr><td width=30% height=60 background=http://image.gamele.ru/heard3.gif align=absmiddle><table cellpadding=0 cellspacing=0 border=0>');
d.write('<tr><td rowspan=3><font class=nick>'+sh_align(build[2],0)+sh_sign(build[3],build[4],build[5])+'<B>'+build[0]+'</B>['+build[1]+'] </font></td><td><img src=http://image.gamele.ru/1x1.gif width=1 height=2><br><img src=http://image.gamele.ru/gameplay/hp.gif width=0 height=6 border=0 id=fHP vspace=0 align=absmiddle><img src=http://image.gamele.ru/gameplay/nohp.gif width=0 height=6 border=0 id=eHP vspace=0 align=absmiddle></td><td rowspan=3 class=hpbar><div id=hbar></div></td></tr>');
d.write('<tr><td bgcolor=#ffffff><img src=http://image.gamele.ru/1x1.gif width=1 height=1></td></tr>');
d.write('<tr><td><img src=http://image.gamele.ru/gameplay/ma.gif width=0 height=6 border=0 id=fMP vspace=0 align=absmiddle><img src=http://image.gamele.ru/gameplay/noma.gif width=0 height=6 border=0 id=eMP vspace=0 align=absmiddle></td></tr>');
d.write('</table></td><td width=65% height=60 align=absmiddle background=http://image.gamele.ru/heard3.gif><div id="ButtonPlace" align=center>'+(!build[12] ? '' : '<input type=button class=fr_but value="Квесты" onclick='QActive("'+build[12]+'");'>')+(vcode[0][0] ? ' <input type=button class=fr_but value="Ваш персонаж" '+(vcode[0][1]!='' ? 'onclick="location='?get_id=56&act=10&go=inf&vcode='+vcode[0][1]+''"' : 'DISABLED')+'> ' : '')+(vcode[1][0] ? ' <input type=button class=fr_but value="Инвентарь" '+(vcode[1][1]!='' ? 'onclick="location='?get_id=56&act=10&go=inv&vcode='+vcode[1][1]+''"' : 'DISABLED')+'> ' : '')+(vcode[2][0] ? ' <input type=button class=fr_but value="'+UpButton(build[6])+'" '+(vcode[2][1]!='' ? 'onclick="location='?get_id=56&act=10&go=up&vcode='+vcode[2][1]+''"' : 'DISABLED')+'> ' : '')+'<input type=button class=fr_but_dis value="'+build[8]+'" DISABLED></div></td><div align=right><td align=absmiddle background=http://image.gamele.ru/heard2.gif><a href="javascript:top.exit_redir();"><img src=http://image.gamele.ru/1x1.gif align=absmiddle width=25 height=25 border=0></a></td></div></tr></table>');
cha_HP();
}
function view_build_bottom()
{
d.write('<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#FFFFFF><img src=http://image.gamele.ru/1x1.gif width=1 height=4></td></tr><tr><td align=center>'+view_t()+'</td></tr><tr><td bgcolor=#FFFFFF><img src=http://image.gamele.ru/1x1.gif width=1 height=10></td></tr></table>');
}
?>