2010-03-23 08:33:20 +00:00
|
|
|
{if userid()}
|
2010-03-20 08:20:03 +00:00
|
|
|
<div class="main_vids clearfix" style="border-top:1px solid #CCC">
|
2010-03-24 07:47:56 +00:00
|
|
|
<span class="subsription"><a href="{$baseurl}/edit_account.php?mode=subscriptions">{lang code='subscriptions'}</a></span>
|
2010-04-26 14:54:40 +00:00
|
|
|
|
2010-03-20 08:20:03 +00:00
|
|
|
<div>
|
|
|
|
<!-- Listing Subscriptions-->
|
2011-01-20 09:12:42 +00:00
|
|
|
{* assign var=subs_vids value=$userquery->get_subscribed_videos($userquery->userid,10)* }
|
|
|
|
{assign var=subs_uploads value=$userquery->getSubscriptionsUploadsWeek($userquery->userid,10)}
|
|
|
|
{if $subs_uploads}
|
2011-04-01 11:11:55 +00:00
|
|
|
{foreach from=$subs_uploads item=item key=type}
|
|
|
|
{if $type == 'videos'}
|
|
|
|
<h2 style="font-size:12px; padding:0 5px 5px; color:#333; margin-bottom:5px; border-bottom:1px solid #e8e8e8">{$item.title} ({$item.total} {$type})</h2>
|
|
|
|
{foreach from=$item.items item=videos}
|
|
|
|
{include file="$style_dir/blocks/video.html" video=$videos}
|
|
|
|
{/foreach}
|
|
|
|
{/if}
|
|
|
|
{if $type == 'photos'}
|
|
|
|
<h2 style="font-size:12px; padding:0 5px 5px; color:#333; margin-bottom:5px; border-bottom:1px solid #e8e8e8">{$item.title} ({$item.total} {$type})</h2>
|
|
|
|
{foreach from=$item.items item=photos}
|
|
|
|
{include file="$style_dir/blocks/photo.html" photo=$photos display_type = "subscription"}
|
|
|
|
{/foreach}
|
|
|
|
{/if}
|
2010-03-20 08:20:03 +00:00
|
|
|
{/foreach}
|
|
|
|
{else}
|
2010-03-24 07:47:56 +00:00
|
|
|
<em>{lang code='no_new_subs_video'}</em>
|
2010-03-20 08:20:03 +00:00
|
|
|
{/if}
|
|
|
|
<!-- End Listing Subscriptions -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2010-03-23 08:33:20 +00:00
|
|
|
<div class="feature_shadow" ></div>
|
2010-03-24 11:53:11 +00:00
|
|
|
<div class="ad">{AD place='ad_468x60'}</div>
|
2010-03-23 08:33:20 +00:00
|
|
|
{/if}
|