clipbucket/upload/styles/cbv2new/layout/view_channel.html
2010-07-19 11:39:30 +00:00

116 lines
No EOL
4.8 KiB
HTML

{* Including Global Header *}
{include file="$style_dir/global_header.html"}
<body>
{include file="$style_dir/blocks/view_channel/channel_global.html" }
<div id="container" class="clearfix" style="background-color:none">
<!-- Including Commong header -->
{include file="$style_dir/header.html" }
<div style="height:10px; background-attachment:"></div>
{include file="$style_dir/message.html"}
<div id="content_container" >
<div id="content" style="padding-bottom:15px">
{include file="$style_dir/blocks/view_channel/channel_top.html" }
{assign var=user_vdo value= $userquery->get_user_profile_video($p)}
{if $user_vdo}
<!-- User Video Block -->
<div class="channel_box clearfix">
<div class="channel_inner_box">
<div style="width:610px; float:left">
{FlashPlayer vdetails = $user_vdo height=$Cbucket->configs.channel_player_height width=$Cbucket->configs.channel_player_width}
</div>
<div class="clear"></div>
<div align="center" style="width:300px; float:left">{AD place=336x280}</div>
</div>
</div>
<!-- User Video Blcok Ends-->
{/if}
<div class="channel_box">
<div class="channel_inner_box" id="result_cont" style="display:none"></div>
</div>
<!-- Starting Bottom Channel Box -->
<div class="channel_box clearfix" style="margin-bottom:0px">
{include file="$style_dir/blocks/view_channel/channel_left.html" }
<!-- Right Colum -->
<div class="right_column">
<div class="channel_inner_box clearfix">
<span class="channel_heading">{lang code='users_videos' assign='users_videos'}{$users_videos|sprintf:$u.username}</span>
{assign var=videos_item_channel_page value=func->config(videos_item_channel_page)}
{get_videos assign='usr_vids' limit=$videos_item_channel_page order='date_added DESC' user=$u.userid}
{section name=v_list loop=$usr_vids}
{include file="$style_dir/blocks/video.html" video=$usr_vids[v_list] video_view="grid_view"}
{sectionelse}
<div align="center"><em>{lang code='user_have_no_vide'}</em></div>
{/section}
<div class="clear"></div>
<hr width="100%" size="1" noshade>
<div align="right"><a href="{$userquery->get_user_videos_link($u)}">{lang code='more'}</a></div>
</div>
<div class="channel_inner_box clearfix">
<span class="channel_heading">{lang code='users_subscribers' assign='users_videos'}{$users_videos|sprintf:$u.username}</span>
{assign var=users_items_subscibers value=func->config(users_items_subscibers)}
{assign var='usr_subs' value=$userquery->get_user_subscribers_detail($u.userid,$users_items_subscibers)}
{section name=u_list loop=$usr_subs}
{include file="$style_dir/blocks/user.html" user=$usr_subs[u_list] block_type='small'}
{sectionelse}
<div align="center"><em><strong>{lang code='user_no_subscribers' assign='users_videos'}{$users_videos|sprintf:$u.username}</strong></em></div>
{/section}
<div class="clear"></div>
<hr width="100%" size="1" noshade>
<div align="right"><a href="#">{lang code='more'}</a></div>
</div>
{ANCHOR place='channel_box'}
<!-- Comments -->
<div class="channel_inner_box" style="font-weight:normal" >
<span class="channel_heading">{lang code='comments'|capitalize:true}</span>
<hr width="100%" size="1" noshade><!-- Displaying Comments -->
{include file="$style_dir/blocks/comments/comments.html" id=$u.userid type=c}<hr width="100%" size="1" noshade>
{if $myquery->is_commentable($p,'u')}
{include file="$style_dir/blocks/comments/add_comment.html" id=$u.userid type=c}
{else}
<div class="disable_msg" align="center">{lang code='coments_disabled_profile'}</div>
{/if}
</div>
</div>
<!-- Ending Bottomg Channel Box-->
</div>
</div>
</div>
<div align="left"><a href="javascript:void(0)" onClick="$('#flag_item').slideToggle()">{lang code='report_this_user'}</a></div>
{show_flag_form id=$u.userid type=User}
<div style="height:10px"></div>
<div id="footer" style="margin-top:0px;">
<div class="footer">
&copy; {$title} {$smarty.now|date_format:"%Y"}
</div>
</div>
</div>
</div>
</body>
</html>