AntiBK/module/char_map.php

25 lines
1.0 KiB
PHP
Raw Normal View History

<?
defined('AntiBK') or die("Доступ запрещен!");
?>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td align="center" valign="top" width="210"><?$char->equip->showCharacter();?></td>
<td align="left" valign="top" nowrap style="padding-left: 3px;"><br>
<?
foreach ($behaviour as $key => $min_level)
echo ($level >= $min_level) ?"$lang[$key] $char_stats[$key]<br>" :"";
echo ($char_stats['ups'] > 0) ?" <a class='nick' href='?action=skills'>+ $lang[ups]</a> " :'';
echo ($char_stats['skills'] > 0 && $level > 1) ?"&bull; <a class='nick' href='?action=skills'><b> $lang[skills]</b></a><br>" :"<br>";
echo "<br>";
echo "$lang[exp] <b>".getExp($exp)."</b> (".getExp($next_up).")<br>";
echo "$lang[level] $level<br>";
echo "$lang[wins] $win<br>";
echo "$lang[loses] $lose<br>";
echo "$lang[draws] $draw<br>";
echo "$lang[money] <b>".getMoney($money)."</b> кр.";
echo ($clan) ?"<br>$lang[clan] $clan" :'';
?>
</td>
</tr>
<tr><td colspan="2"><small><?echo $char->equip->needItemRepair();?></small></td></tr>
</table>