Skip to content

Instantly share code, notes, and snippets.

@dregenor
Created May 16, 2012 13:34
Show Gist options
  • Save dregenor/2710363 to your computer and use it in GitHub Desktop.
Save dregenor/2710363 to your computer and use it in GitHub Desktop.
{if $data.player == false}
<div class="user-info-block notautorized">
<p class="text">
Привет!<br>
Зарегистрируйся на play.sports.ru, находи и рассказывай о лучших площадках, общайся с другими игроками и играй в футбол!
</p>
</div>
{elseif $data.player.notreg}
<div class="user-info-block autorized">
<p class="text">
Привет, {$data.player.name}<br>
Зарегистрируйся на play.sports.ru, находи и рассказывай о лучших площадках, общайся с другими игроками и играй в футбол!
</p>
</div>
{else}
<div class="user-info-block">
<div class="img-box"><img src="../images/pic1.jpg" alt=""></div>
<div class="overBox">
<div class="nickname"><a href="/play/player/{$data.player.id}.html">{$data.player.name}</a></div>
<div>{$data.player.prop.position.0.name|_:position}</div>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th>Возраст</th>
<td>{$data.player.dtime}</td>
</tr>
<tr>
<th>Сильная нога</th>
<td>{$data.player.prop.trait["preferred foot"].value|_:"preferred foot"}</td>
</tr>
<tr>
<th>Играет</th>
<td>{$data.player.sports.208.0.play_since}</td>
</tr>
<tr>
<th>Статус</th>
<td>{$data.player.prop.trait.has_team.value|_:"has_team"}</td>
</tr>
<tr>
<th>Рост</th>
<td>{$data.player.height}</td>
</tr>
<tr>
<th>Вес</th>
<td>{$data.player.weight}</td>
</tr>
</tbody>
</table>
</div>
</div>
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment