mirror of
https://github.com/openvk/openvk
synced 2025-07-07 08:19:49 +03:00
ok
This commit is contained in:
parent
95825b4b92
commit
7c1502b4b9
3 changed files with 37 additions and 28 deletions
|
@ -262,7 +262,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $type !== "groups" && $type !== "apps"} {*В OpenVK не сохраняется дата создания группы*}
|
{if $type !== "groups" && $type !== "apps"} {* В OpenVK не сохраняется дата создания группы *}
|
||||||
<div class="searchOption">
|
<div class="searchOption">
|
||||||
<div class="searchOptionName" id="n_dates" onclick="hideParams('dates')"><img src="/assets/packages/static/openvk/img/hide.png" class="searchHide">{_s_by_date}</div>
|
<div class="searchOptionName" id="n_dates" onclick="hideParams('dates')"><img src="/assets/packages/static/openvk/img/hide.png" class="searchHide">{_s_by_date}</div>
|
||||||
<div class="searchOptionBlock" id="s_dates">
|
<div class="searchOptionBlock" id="s_dates">
|
||||||
|
@ -284,9 +284,9 @@
|
||||||
max={date('Y-m-d')}></p>
|
max={date('Y-m-d')}></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if $type === "users"}
|
{if $type === "users"}
|
||||||
<div class="searchOption">
|
<div class="searchOption">
|
||||||
<div class="searchOptionName" id="n_main" onclick="hideParams('main')"><img src="/assets/packages/static/openvk/img/hide.png" class="searchHide">{_main}</div>
|
<div class="searchOptionName" id="n_main" onclick="hideParams('main')"><img src="/assets/packages/static/openvk/img/hide.png" class="searchHide">{_main}</div>
|
||||||
<div class="searchOptionBlock" id="s_main">
|
<div class="searchOptionBlock" id="s_main">
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<input name="with_photo" type="checkbox" {if !is_null($_GET['with_photo']) && $_GET['with_photo'] == "on"}checked{/if} form="searcher">{_s_with_photo}-->
|
<!--<input name="with_photo" type="checkbox" {if !is_null($_GET['with_photo']) && $_GET['with_photo'] == "on"}checked{/if} form="searcher">{_s_with_photo}-->
|
||||||
{/if}
|
{/if}
|
||||||
<input class="button" type="button" id="dnt" value="{_reset}" onclick="resetSearch()">
|
<input class="button" type="button" id="dnt" value="{_reset}" onclick="resetSearch()">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
@ -485,44 +485,53 @@
|
||||||
<tr n:if="!is_null($user->getInterests())">
|
<tr n:if="!is_null($user->getInterests())">
|
||||||
<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}
|
|
||||||
<a href="/search?type=users&query=&interests={urlencode($interest)}">{$interest}</a>{if $interest != end($interests)},{/if}
|
{foreach $interests as $interest}
|
||||||
{/foreach}
|
<a href="/search?type=users&query=&interests={urlencode($interest)}">{$interest}</a>{if $interest != end($interests)},{/if}
|
||||||
|
{/foreach}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr n:if="!is_null($user->getFavoriteMusic())">
|
<tr n:if="!is_null($user->getFavoriteMusic())">
|
||||||
|
|
||||||
<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}
|
|
||||||
<a href="/search?type=users&query=&fav_mus={urlencode($music)}">{$music}</a>{if $music != end($musics)},{/if}
|
{foreach $musics as $music}
|
||||||
{/foreach}</td>
|
<a href="/search?type=users&query=&fav_mus={urlencode($music)}">{$music}</a>{if $music != end($musics)},{/if}
|
||||||
|
{/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}
|
|
||||||
<a href="/search?type=users&query=&fav_films={urlencode($film)}">{$film}</a>{if $film != end($films)},{/if}
|
{foreach $films as $film}
|
||||||
{/foreach}</td>
|
<a href="/search?type=users&query=&fav_films={urlencode($film)}">{$film}</a>{if $film != end($films)},{/if}
|
||||||
|
{/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}
|
|
||||||
<a href="/search?type=users&query=&fav_shows={urlencode($show)}">{$show}</a>{if $show != end($shows)},{/if}
|
{foreach $shows as $show}
|
||||||
{/foreach}</td>
|
<a href="/search?type=users&query=&fav_shows={urlencode($show)}">{$show}</a>{if $show != end($shows)},{/if}
|
||||||
|
{/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}
|
|
||||||
<a href="/search?type=users&query=&fav_books={urlencode($book)}">{$book}</a>{if $book != end($books)},{/if}
|
{foreach $books as $book}
|
||||||
{/foreach}</td>
|
<a href="/search?type=users&query=&fav_books={urlencode($book)}">{$book}</a>{if $book != end($books)},{/if}
|
||||||
|
{/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>
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" style="width: 100%">
|
<td valign="top" style="width: 100%">
|
||||||
{ifset infotable}
|
{ifset infotable}
|
||||||
{include infotable, x => $dat}
|
{include infotable, x => $dat}
|
||||||
{else}
|
{else}
|
||||||
<a href="/video{$video->getPrettyId()}">
|
<a href="/video{$video->getPrettyId()}">
|
||||||
<b>
|
<b>
|
||||||
{$video->getName()}
|
{$video->getName()}
|
||||||
|
|
Loading…
Reference in a new issue