clipbucket/upload/styles/clipbucketblue/layout/user_fav_videos.html
2009-08-25 12:16:42 +00:00

78 lines
No EOL
3.8 KiB
HTML

{if $user.username == ""}
<table width="800" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#dcdcdc" style="border:solid 1px #333333;">
<tr>
<td ><table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="header2">{$LANG.user_doesnt_exist}</td>
</tr>
</table></td>
</tr>
</table>
{else}
<table width="941" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="header1" style="color:#333333">{$user.username}'s Favourite {$LANG.videos}</td>
<td width="160" align="right" class="tips">{$LANG.viewing} {math equation=$limit*$cur_page assign=viewing} {if $prepage == 0 } {math equation=$prepage+1} {else} {math equation = $prepage*$limit+1 }{/if} - {if $viewing > $grand_total}{$grand_total}{else}{$viewing}{/if} {$LANG.of} {$grand_total}</td>
</tr>
<tr>
<td height="10" colspan="2" class="header1" style="color:#333333"><hr size="1" noshade /></td>
</tr>
<tr>
<td height="10" align="left" valign="top">
<div id="VDO_CONTAINER01">
{if $grand_total ==0}
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#dcdcdc" style="border:solid 1px #333333;">
<tr>
<td ><table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="header2">{$LANG.user_no_fav_video_exist}</td>
</tr>
</table></td>
</tr>
</table>
{/if}
{section name=v_list loop=$videos}
{if $videos[v_list].title !=""}
<div id="Videos_list01">
<a href="{$videos[v_list].url}">
<div id="VDOthumb02">
<img src="{$video_thumbs}/{$videos[v_list].thumb}" width="120" height="90" border="0" />
<div id="icon_play01"></div>
</div>
<span class="tabs_01" style="padding:3px">{$videos[v_list].title|truncate:25}</span></a><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35" align="left" class="watchDetails">{$LANG.from}</td>
<td align="left" class="tabs_01"><a href="{$view_channel_link}{$user.username}">{$user.username}</a></td>
</tr>
<tr>
<td width="35" align="left" class="watchDetails">{$LANG.views}</td>
<td align="left" class="watchDetails">{$videos[v_list].views}</td>
</tr>
<tr>
<td align="left" class="watchDetails">{$videos[v_list].duration}</td>
<td align="left" class="watchDetails">&nbsp;</td>
</tr>
<tr>
<td colspan="2" align="left" class="watchDetails">{$videos[v_list].show_rating}</td>
</tr>
</table>
</div>
{/if}
{/section} </div></td>
<td width="200" rowspan="2" align="center" valign="top">{AD place=ad_160x600}</td>
</tr>
<tr>
<td valign="top"><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#f6f6f6">
<tr>
<td width="10" align="left" valign="middle" bgcolor="#F3F3F3" ><img src="{$imageurl}/left_round.png" /></td>
<td width="50" align="left" valign="middle" bgcolor="#F3F3F3" class="pagination" > {if $prepage neq 0}<a href="{$link}&amp;page={$prepage}">{$LANG.previous}</a>{/if}</td>
<td align="center" valign="middle" bgcolor="#F3F3F3" class="pagination" >{$show_pages}</td>
<td width="50" align="right" valign="middle" bgcolor="#F3F3F3" class="pagination">{if $pages!=1 && $cur_page < $pages && $nextpage <=$pages}<a href="{$link}&amp;page={$nextpage}">{$LANG.next}</a>{/if}</td>
<td width="10" align="right" valign="middle" bgcolor="#F3F3F3" ><img src="{$imageurl}/right_round.png" /></td>
</tr>
</table></td>
</tr>
</table>
{/if}