Строчка имени, клана, склонности.
This commit is contained in:
parent
f4d51b69af
commit
0183cfed0e
@ -78,7 +78,21 @@ class User
|
||||
{
|
||||
$captions = 'Уровень:<br>Сила:<br>Ловкость:<br>Интуиция:<br>Выносливость:<br>Интеллект:<br>Мудрость:<br>Местонахождение:';
|
||||
$variables = $this->level . '<br>' . $this->strength . '<br>' . $this->dexterity . '<br>' . $this->intuition . '<br>' . $this->endurance . '<br>' . $this->intelligence . '<br>' . $this->wisdom . '<br>' . $this->getRoomName($this->room);
|
||||
if ($this->align) {
|
||||
$nameString = sprintf('<img src="/i/align_%s.png" >', $this->align);
|
||||
}
|
||||
if ($this->block) {
|
||||
$nameString .= '<span class="private"><s>'.$this->login.'</s></span>';
|
||||
} else {
|
||||
$nameString .= ' <b>'.$this->login.'</b> ';
|
||||
}
|
||||
if ($this->clan) {
|
||||
$nameString .= sprintf('<img src="/i/klan/%s.png" >', ClanImage($this->clan));
|
||||
}
|
||||
echo '<div class="user-info">';
|
||||
echo '<div class="info">';
|
||||
echo '<b>' .$nameString. '</b>';
|
||||
echo '</div><!-- info -->';
|
||||
echo '<div class="stats-container">';
|
||||
echo '<div class="column">';
|
||||
echo $captions;
|
||||
|
@ -396,6 +396,10 @@ div.user-info-container > div.user-info > div.stats-container {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
div.user-info-container > div.user-info > div.info {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
div.user-info-container > div.user-info > div.stats-container > div.column {
|
||||
padding: 10px;
|
||||
font-size: larger;
|
||||
|
Loading…
Reference in New Issue
Block a user