clipbucket/upload/styles/cbv2new/layout/view_channel.html

121 lines
5.3 KiB
HTML
Raw Normal View History

{* Including Global Header *}
{include file="$style_dir/global_header.html"}
<body>
2010-03-03 13:58:09 +00:00
{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">
2010-03-19 12:09:52 +00:00
{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">
<div class="channel_inner_box">
<div style="width:610px; float:left">
<div id="videoPlayer" class='video_player'>
This content requires JavaScript and Macromedia Flash Player 7 or higher. <a href=http://www.macromedia.com/go/getflash/>Get Flash</a><br/><br/>
</div>
<script language="javascript">
{FlashPlayer vdetails = $user_vdo height=$Cbucket->configs.channel_player_height width=$Cbucket->configs.channel_player_width}
</script>
</div>
<div align="center" style="width:300px; float:left">{AD place=336x280}</div>
<div class="clearfix"></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" 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">
<span class="channel_heading">{lang code='users_videos' assign='users_videos'}{$users_videos|sprintf:$u.username}</span>
2010-01-14 13:15:23 +00:00
<div id="style_change">Change Style of Listing
<div id="grid" title="Change To Grid Style"></div>
<div id="list" title="Change to List Style"></div>
</div> <!--STYLE_CHANGE END-->
{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]}
{sectionelse}
<div align="center"><em>{lang code='user_have_no_vide'}</em></div>
{/section}
<div class="clearfix"></div>
<hr width="100%" size="1" noshade>
2010-01-20 11:58:59 +00:00
<div align="right"><a href="{$userquery->get_user_videos_link($u)}">{lang code='more'}</a></div>
</div>
<div class="channel_inner_box">
<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="clearfix"></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>
2010-02-28 13:26:17 +00:00
{if $myquery->is_commentable($p,'u')}
{include file="$style_dir/blocks/comments/add_comment.html" id=$u.userid type=c}
2010-02-28 13:26:17 +00:00
{else}
<div class="disable_msg" align="center">{lang code='coments_disabled_profile'}</div>
{/if}
</div>
</div>
<div class="clearfix"></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>