2010-02-12 16:17:17 +00:00
|
|
|
|
2009-11-16 11:55:31 +00:00
|
|
|
<div class="content_con clearfix">
|
2010-04-28 17:06:55 +00:00
|
|
|
<!--FEATURE_CON-->
|
2009-11-30 19:46:45 +00:00
|
|
|
{if is_installed('editorspick')}
|
|
|
|
<div class="feature_con clearfix">
|
|
|
|
<div class="feature_left" id="ep_video_container">
|
|
|
|
{section name=e_list loop=$editor_picks max=1}
|
|
|
|
{include file="$style_dir/blocks/editor_pick/video_block.html" video=$editor_picks[e_list]}
|
2010-04-28 17:06:55 +00:00
|
|
|
{sectionelse}
|
|
|
|
<div style="font-size:11px;padding:10px;">
|
|
|
|
There is no video in editor's pick, Please Add Videos In Editor's Pick<br />
|
|
|
|
Videos Manager > Add to editor's pick
|
|
|
|
</div>
|
2009-11-30 19:46:45 +00:00
|
|
|
{/section}
|
|
|
|
</div>
|
|
|
|
<div class="feature_right">
|
|
|
|
{section name=e_list loop=$editor_picks}
|
|
|
|
{include file="$style_dir/blocks/editor_pick/index_featured_video.html" video=$editor_picks[e_list]}
|
|
|
|
{/section}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="feature_shadow" ></div>
|
|
|
|
<!--FEATURE_CON END-->
|
|
|
|
{/if}
|
2009-11-16 11:55:31 +00:00
|
|
|
|
2010-02-10 08:20:34 +00:00
|
|
|
<div class="ad">{AD place='ad_468x60'}</div>
|
2009-11-16 11:55:31 +00:00
|
|
|
|
2011-01-03 11:02:54 +00:00
|
|
|
{if isSectionEnabled('videos') || isSectionEnabled('photos')}
|
|
|
|
{include file="$style_dir/blocks/subscriptions.html"}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if isSectionEnabled('videos')}
|
2009-11-16 11:55:31 +00:00
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
2010-02-10 05:54:08 +00:00
|
|
|
<li class="selected"><a href="javascript:void(0)" id="watched" onclick="get_video('recent_viewed_vids','#index_vid_container')">{lang code='being_watched'}</a></li>
|
|
|
|
<li><a href="javascript:void(0)" id="most_watched" onclick="get_video('most_viewed','#index_vid_container')">{lang code='most_viewed'}</a></li>
|
|
|
|
<li><a href="javascript:void(0)" id="recently_watched" onclick="get_video('recently_added','#index_vid_container')">{lang code='recently_added'}</a></li>
|
2009-11-16 11:55:31 +00:00
|
|
|
</ul>
|
|
|
|
</div> <!--TABS END-->
|
|
|
|
<div class="main_vids clearfix">
|
2010-04-26 14:54:40 +00:00
|
|
|
<div id="style_change">
|
2010-06-25 11:02:15 +00:00
|
|
|
<div id="grid" onclick="ToggleView(this);" title="Change To Grid Style"></div>
|
|
|
|
<div id="list" onclick="ToggleView(this);" title="Change to List Style"></div>
|
2010-04-26 14:54:40 +00:00
|
|
|
{lang code='change_style_of_listing'}
|
2009-11-16 11:55:31 +00:00
|
|
|
</div> <!--STYLE_CHANGE END-->
|
2010-06-25 11:02:15 +00:00
|
|
|
|
2009-11-30 19:46:45 +00:00
|
|
|
<div id="index_vid_container">
|
|
|
|
|
|
|
|
</div>
|
2009-11-16 11:55:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div> <!--MAIN_VIDS END-->
|
|
|
|
<div class="main_vid_shadow"></div>
|
2011-01-20 09:12:42 +00:00
|
|
|
<div style="height:5px;"></div>
|
|
|
|
{/if}
|
|
|
|
{if isSectionEnabled('photos')}
|
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
|
|
|
<li class="selected"><a href="javascript:void(0)" id="watched" onclick="getAjaxPhoto('last_viewed','#index_pho_container')">{lang code='being_watched'}</a></li>
|
|
|
|
<li><a href="javascript:void(0)" id="most_watched" onclick="getAjaxPhoto('most_viewed','#index_pho_container')">{lang code='most_viewed'}</a></li>
|
|
|
|
<li><a href="javascript:void(0)" id="recently_watched" onclick="getAjaxPhoto('most_recent','#index_pho_container')">{lang code='recently_added'}</a></li>
|
|
|
|
<li><a href="javascript:void(0)" id="recently_watched" onclick="getAjaxPhoto('most_downloaded','#index_pho_container')">{lang code='most_downloaded'}</a></li>
|
|
|
|
</ul>
|
|
|
|
</div> <!--TABS END-->
|
|
|
|
<div class="main_vids clearfix">
|
|
|
|
|
|
|
|
<div id="index_pho_container">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div> <!--MAIN_VIDS END-->
|
|
|
|
<div class="main_vid_shadow"></div>
|
|
|
|
<div style="height:5px;"></div>
|
2011-01-03 11:02:54 +00:00
|
|
|
{/if}
|
2009-11-16 11:55:31 +00:00
|
|
|
</div> <!--CONTENT_CON END-->
|
|
|
|
|
|
|
|
<div class="side_con">
|
2010-02-10 08:20:34 +00:00
|
|
|
|
|
|
|
<!-- Displaying 300x250 Advertisment -->
|
2010-12-14 13:53:51 +00:00
|
|
|
{AD place=ad_300x250}
|
2009-11-16 11:55:31 +00:00
|
|
|
|
2009-12-04 21:03:27 +00:00
|
|
|
{if !$userquery->login_check('',true)}
|
|
|
|
<div class="login">
|
2010-02-10 05:54:08 +00:00
|
|
|
<div class="login_title">{lang code='website_members' assign='websitemems'}{$websitemems|sprintf:$title}</div>
|
|
|
|
<div class="some_info">{lang code='guest_homeright_msg'}</div>
|
|
|
|
<div class="regist_link"><a href="{link name='signup'}">{lang code='reg_for_free'}</a></div>
|
|
|
|
<div class="login_link"><a href="{link name='signup'}">{lang code='login'}</a></div>
|
2009-11-16 11:55:31 +00:00
|
|
|
</div> <!--BOX END-->
|
2009-12-04 21:03:27 +00:00
|
|
|
{/if}
|
2011-01-27 12:42:54 +00:00
|
|
|
|
|
|
|
|
2011-02-06 16:48:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
{if isSectionEnabled('videos')}
|
2011-01-27 12:42:54 +00:00
|
|
|
<!-- Getting Random videos -->
|
2011-02-06 16:48:04 +00:00
|
|
|
{assign var=videos_items_columns value=func->config(videos_items_columns)}
|
|
|
|
{get_videos assign=ran_vids limit=$videos_items_columns order=RAND()}
|
2011-01-27 12:42:54 +00:00
|
|
|
|
2011-02-06 16:48:04 +00:00
|
|
|
{if $ran_vids}
|
2011-01-27 12:42:54 +00:00
|
|
|
<div style="width:300px; margin:auto">
|
|
|
|
<span class="watch_vids_head" onclick='$(this).toggleClass("watch_vids_head_closed");$("#rand_vids").slideToggle("fast")'>{lang code='rand_vids'}</span>
|
|
|
|
<div class="watch_vids_cont" id="rand_vids" style="background-color:#FFF">
|
2011-02-06 16:48:04 +00:00
|
|
|
{section name=uvlist loop=$ran_vids}
|
|
|
|
{include file="$style_dir/blocks/watch_video/video_box.html" video=$ran_vids[uvlist]}
|
2011-01-27 12:42:54 +00:00
|
|
|
{/section}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
<div style="height:10px"></div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2011-02-06 16:48:04 +00:00
|
|
|
{/if}
|
2009-12-04 21:03:27 +00:00
|
|
|
|
2011-02-06 16:48:04 +00:00
|
|
|
{if isSectionEnabled('photos')}
|
2009-12-04 21:03:27 +00:00
|
|
|
<!-- Getting Random videos -->
|
2011-02-06 16:48:04 +00:00
|
|
|
{assign var=limit value=func->config(photo_other_limit)}
|
|
|
|
{get_photos assign=ran_ph limit=$limit order=RAND()}
|
2009-12-04 21:03:27 +00:00
|
|
|
|
2011-02-06 16:48:04 +00:00
|
|
|
{if $ran_ph}
|
2009-12-04 21:03:27 +00:00
|
|
|
<div style="width:300px; margin:auto">
|
2011-05-17 12:49:32 +00:00
|
|
|
<span class="watch_vids_head" onclick='$(this).toggleClass("watch_vids_head_closed");$("#rand_fotos").slideToggle("fast")'>{lang code='rand_photos'}</span>
|
|
|
|
<div class="watch_vids_cont" id="rand_fotos" style="background-color:#FFF">
|
2011-02-06 16:48:04 +00:00
|
|
|
{section name=plist loop=$ran_ph}
|
|
|
|
{include file="$style_dir/blocks/photo.html" photo=$ran_ph[plist] display_type="side_photos"}
|
2009-12-04 21:03:27 +00:00
|
|
|
{/section}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
<div style="height:10px"></div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2011-02-06 16:48:04 +00:00
|
|
|
{/if}
|
2009-11-16 11:55:31 +00:00
|
|
|
|
2011-01-03 11:02:54 +00:00
|
|
|
{if isSectionEnabled('channels')}
|
2009-11-16 11:55:31 +00:00
|
|
|
<div class="box">
|
2010-02-10 08:20:34 +00:00
|
|
|
<div class="top_bg">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='t_10_users'}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
{get_users assign=topusers limit=10 order=' total_videos DESC '}
|
2010-12-14 13:53:51 +00:00
|
|
|
|
2009-11-16 11:55:31 +00:00
|
|
|
{section name=tusers loop=$topusers}
|
2009-12-04 21:03:27 +00:00
|
|
|
<div class="top_user">
|
|
|
|
<div class="user_no">{$smarty.section.tusers.iteration}</div>
|
|
|
|
<div class="avatar"><a href="{$userquery->profile_link($topusers[tusers])}"><img src="{$userquery->getuserthumb($topusers[tusers],'small')}" width="30" height="30" border="0" class="vsmall_thumb" /></a></div>
|
2010-02-10 05:54:08 +00:00
|
|
|
<div class="utitle"><a href="{$userquery->profile_link($topusers[tusers])}">{$topusers[tusers].username}</a>{lang code='views'} : {$topusers[tusers].profile_hits|number_format} - {lang code='videos'} : {$topusers[tusers].total_videos|number_format}
|
2009-12-04 21:03:27 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2009-11-16 11:55:31 +00:00
|
|
|
</div>
|
|
|
|
{/section}
|
|
|
|
</div>
|
2011-01-03 11:02:54 +00:00
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
<!--BOX END-->
|
2009-11-16 11:55:31 +00:00
|
|
|
|
|
|
|
</div> <!--SIDE_CON END-->
|