Copy and paste the code into view_video.tpl ( only works in view video page )
Code:
<div class="section bg2">
<div class="hd">
<div class="hd-l">Related Videos</div>
</div>
<div id="side_results" style="overflow: auto; width: 100%;margin: 0.4em auto;" name="side_results">
<table width="100%" cellpadding="1" cellspacing="2" border="0" align="center">
<tr>
{section name=i loop=$related_videos}
<td align="center" class="moduleFrameEntry" valign="top">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr valign="top">
<td>
<a href="{$baseurl}/view/{$related_videos[i].VID}/{$related_videos[i].seo_name}/" target="_parent">
[img]{$tmburl}/1_{$related_videos[i].VID}.jpg[/img]
</a>
</td>
</tr>
<tr>
<td>
<div class="moduleFrameTitle">{$related_videos[i].title}</div>
<div class="moduleFrameDetails">by
{insert name=id_to_name assign=uname un=$related_videos[i].UID}
{$uname}
</div>
<div class="moduleFrameDetails">Time: {$related_videos[i].video_length}
Views: {$related_videos[i].viewnumber}
{insert name=comment_count assign=commentcount vid=$related_videos[i].VID}
Comments: {$commentcount}
</div>
{if $smarty.request.id eq $related_videos[i].VID}
<div style="padding-right: 6px; padding-left: 6px; font-weight: bold; font-size: 10px;
padding-bottom: 3px; color: #cc6600; padding-top: 3px; background-color: #ffcc66">
<nobr><<<NOW PLAYING!</nobr>
</div>
{/if}
</td>
</tr>
</table>
</td>
{/section}
</tr>
</table>
</div>
</div>
Thanks
Bookmarks