mirror of
https://github.com/openvk/openvk
synced 2025-07-07 16:29:50 +03:00
ok
This commit is contained in:
parent
95825b4b92
commit
7c1502b4b9
3 changed files with 37 additions and 28 deletions
|
@ -424,7 +424,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label"><span class="nobold">{_politViews}:</span></td>
|
<td class="label"><span class="nobold">{_politViews}:</span></td>
|
||||||
<td class="data"><a href="/search?type=users&query=&politViews={$user->getPoliticalViews()}">{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</a></td>
|
<td class="data"><a {if $user->getPoliticalViews() != 0}href="/search?type=users&query=&politViews={$user->getPoliticalViews()}"{/if}>{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getBirthday())">
|
<tr n:if="!is_null($user->getBirthday())">
|
||||||
<td class="label"><span class="nobold">{_birth_date}:</span></td>
|
<td class="label"><span class="nobold">{_birth_date}:</span></td>
|
||||||
|
@ -486,6 +486,7 @@
|
||||||
<td class="label"><span class="nobold">{_interests}: </span></td>
|
<td class="label"><span class="nobold">{_interests}: </span></td>
|
||||||
<td class="data">
|
<td class="data">
|
||||||
{var $interests = explode(", ", $user->getInterests())}
|
{var $interests = explode(", ", $user->getInterests())}
|
||||||
|
|
||||||
{foreach $interests as $interest}
|
{foreach $interests as $interest}
|
||||||
<a href="/search?type=users&query=&interests={urlencode($interest)}">{$interest}</a>{if $interest != end($interests)},{/if}
|
<a href="/search?type=users&query=&interests={urlencode($interest)}">{$interest}</a>{if $interest != end($interests)},{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
@ -496,33 +497,41 @@
|
||||||
<td class="label"><span class="nobold">{_favorite_music}: </span></td>
|
<td class="label"><span class="nobold">{_favorite_music}: </span></td>
|
||||||
<td class="data">
|
<td class="data">
|
||||||
{var $musics = explode(", ", $user->getFavoriteMusic())}
|
{var $musics = explode(", ", $user->getFavoriteMusic())}
|
||||||
|
|
||||||
{foreach $musics as $music}
|
{foreach $musics as $music}
|
||||||
<a href="/search?type=users&query=&fav_mus={urlencode($music)}">{$music}</a>{if $music != end($musics)},{/if}
|
<a href="/search?type=users&query=&fav_mus={urlencode($music)}">{$music}</a>{if $music != end($musics)},{/if}
|
||||||
{/foreach}</td>
|
{/foreach}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getFavoriteFilms())">
|
<tr n:if="!is_null($user->getFavoriteFilms())">
|
||||||
<td class="label"><span class="nobold">{_favorite_films}: </span></td>
|
<td class="label"><span class="nobold">{_favorite_films}: </span></td>
|
||||||
<td class="data">
|
<td class="data">
|
||||||
{var $films = explode(", ", $user->getFavoriteFilms())}
|
{var $films = explode(", ", $user->getFavoriteFilms())}
|
||||||
|
|
||||||
{foreach $films as $film}
|
{foreach $films as $film}
|
||||||
<a href="/search?type=users&query=&fav_films={urlencode($film)}">{$film}</a>{if $film != end($films)},{/if}
|
<a href="/search?type=users&query=&fav_films={urlencode($film)}">{$film}</a>{if $film != end($films)},{/if}
|
||||||
{/foreach}</td>
|
{/foreach}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getFavoriteShows())">
|
<tr n:if="!is_null($user->getFavoriteShows())">
|
||||||
<td class="label"><span class="nobold">{_favorite_shows}: </span></td>
|
<td class="label"><span class="nobold">{_favorite_shows}: </span></td>
|
||||||
<td class="data">
|
<td class="data">
|
||||||
{var $shows = explode(", ", $user->getFavoriteShows())}
|
{var $shows = explode(", ", $user->getFavoriteShows())}
|
||||||
|
|
||||||
{foreach $shows as $show}
|
{foreach $shows as $show}
|
||||||
<a href="/search?type=users&query=&fav_shows={urlencode($show)}">{$show}</a>{if $show != end($shows)},{/if}
|
<a href="/search?type=users&query=&fav_shows={urlencode($show)}">{$show}</a>{if $show != end($shows)},{/if}
|
||||||
{/foreach}</td>
|
{/foreach}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getFavoriteBooks())">
|
<tr n:if="!is_null($user->getFavoriteBooks())">
|
||||||
<td class="label"><span class="nobold">{_favorite_books}: </span></td>
|
<td class="label"><span class="nobold">{_favorite_books}: </span></td>
|
||||||
<td class="data">
|
<td class="data">
|
||||||
{var $books = explode(", ", $user->getFavoriteBooks())}
|
{var $books = explode(", ", $user->getFavoriteBooks())}
|
||||||
|
|
||||||
{foreach $books as $book}
|
{foreach $books as $book}
|
||||||
<a href="/search?type=users&query=&fav_books={urlencode($book)}">{$book}</a>{if $book != end($books)},{/if}
|
<a href="/search?type=users&query=&fav_books={urlencode($book)}">{$book}</a>{if $book != end($books)},{/if}
|
||||||
{/foreach}</td>
|
{/foreach}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getFavoriteQuote())">
|
<tr n:if="!is_null($user->getFavoriteQuote())">
|
||||||
<td class="label"><span class="nobold">{_favorite_quotes}: </span></td>
|
<td class="label"><span class="nobold">{_favorite_quotes}: </span></td>
|
||||||
|
|
Loading…
Reference in a new issue