88 lines
3.5 KiB
Plaintext
88 lines
3.5 KiB
Plaintext
|
|
{*
|
|
@author Vadim
|
|
@copyright Hire-Experts LLC
|
|
@version Tags 1.02
|
|
*}
|
|
|
|
{include file='header.tpl'}
|
|
|
|
<div class="he_tags_container">
|
|
|
|
<!-- tabs -->
|
|
<ul class="he_tags_tabs">
|
|
{foreach from=$tag_plugins item=plugin}
|
|
<li {if $content==$plugin.content}class="active"{/if}><a href="./{$plugin.entity_url}">{lang_print id=$plugin.label}</a></li>
|
|
{/foreach}
|
|
</ul>
|
|
|
|
<div class="he_tags_content">
|
|
|
|
{if $chosed_tag}<div class="he_content_header">{lang_print id=690690057} "<strong>{$chosed_tag}</strong>"</div>{/if}
|
|
<div class="he_page_descr"></div>
|
|
|
|
{tag_navigator type=video}
|
|
|
|
{section name=video_loop loop=$videos}
|
|
|
|
{* ENSURE VIDEO TITLE ISN'T BLANK *}
|
|
{if $videos[video_loop].video_title == ""}{capture assign="video_title"}{lang_print id=589}{/capture}{else}{assign var="video_title" value=$videos[video_loop].video_title}{/if}
|
|
|
|
|
|
<div class="he_album_list">
|
|
<div class="he_preview"><a href='{$url->url_create("video", $videos[video_loop].video_author->user_info.user_username, $videos[video_loop].video_id)}'><img src='{if $videos[video_loop].video_thumb}{$videos[video_loop].video_dir}{$videos[video_loop].video_id}_thumb.jpg{else}./images/video_placeholder.gif{/if}' border='0' width='{$setting.setting_video_thumb_width}' height='{$setting.setting_video_thumb_height}'></a></div>
|
|
<div class="he_album_info">
|
|
<div class="he_album_title"><a href='{$url->url_create("video", $videos[video_loop].video_author->user_info.user_username, $videos[video_loop].video_id)}'>{$video_title|truncate:55:'...':true}</a></div>
|
|
<div class="he_album_descr">
|
|
{$videos[video_loop].video_views} view{if $videos[video_loop].video_views!=1}s{/if},
|
|
{$videos[video_loop].total_comments} comment{if $videos[video_loop].total_comments!=1}s{/if} -
|
|
|
|
{section name=full_loop start=0 loop=$videos[video_loop].video_rating_full}<img src='./images/icons/video_rating_full_small.gif' border='0'>{/section}
|
|
{assign var='video_id' value=$videos[video_loop].video_id}
|
|
|
|
{if $videos[video_loop].video_rating_part}<img src='./images/icons/video_rating_part_small.gif' border='0'>{/if}
|
|
|
|
{section name=none_loop start=0 loop=$videos[video_loop].video_rating_none}
|
|
<img src='./images/icons/video_rating_none_small.gif' border='0'>
|
|
{/section}
|
|
|
|
<br /><br />
|
|
<strong>{lang_print id=690690052}: </strong>{$tags_array[$video_id]}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{cycle values=",<div style='clear: both; height: 10px;'></div>"}
|
|
{/section}
|
|
|
|
{* NO VIDEOS AT ALL *}
|
|
{if $videos|@count == 0}
|
|
<br>
|
|
<table cellpadding='0' cellspacing='0' align='center'>
|
|
<tr>
|
|
<td class='result'><img src='./images/icons/bulb16.gif' border='0' class='icon' />{lang_print id=690690058}</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
|
|
<br clear="all" />
|
|
<br/>
|
|
|
|
{* DISPLAY PAGINATION MENU IF APPLICABLE *}
|
|
{if $maxpage > 1}
|
|
<div style='text-align: center; padding-bottom: 10px;'>
|
|
{if $p != 1}<a href='video_tags.php?tag={$tag_id}&p={math equation='p-1' p=$p}'>« {lang_print id=182}</a>{else}« {lang_print id=182}{/if}
|
|
|
|
|
{if $p_start == $p_end}
|
|
<b>{lang_sprintf id=184 1=$p_start 2=$total_videos}</b>
|
|
{else}
|
|
<b>{lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_videos}</b>
|
|
{/if}
|
|
|
|
|
{if $p != $maxpage}<a href='video_tags.php?tag={$tag_id}&p={math equation='p+1' p=$p}'>{lang_print id=183} »</a>{else}{lang_print id=183} »{/if}
|
|
</div>
|
|
{/if}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{include file='footer.tpl'} |