<!-- BEGIN MAIN CONTENT -->
<div id="videowatch_body">
	<div id="videowatch_top">

		<div id="videowatch">

			<link href="{$cssurl}/videos.css" rel="stylesheet" type="text/css" /> 

			<div id="search_page" class="clear">



				<!-- Recently Viewed Videos Begins -->
				<div id="RecentVideosBlock" class="X">
					<div id="RecentVideosBlock2">
						<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="120" id="{$lang50}" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="{$baseurl}/rotator.swf?x={$baseurl}/recentvideosxml.php&t={$lang51}" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" /><embed src="{$baseurl}/rotator.swf?x={$baseurl}/recentvideosxml.php&t={$lang51}" quality="high" bgcolor="#ffffff" wmode="transparent" width="550" height="120" name="{$lang50}" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
						<div class="clear"></div>
					</div>
				</div>
				<!-- Recently Viewed Videos Ends -->
	

<div id="browse">
	<div id="sideAd" >
		<span>{$lang0}</span>
        {insert name=get_advertisement value=var AID="2"}
	</div>

	<div class="containerHeader containerHeaderWAdSpace">
	<h1 class="half_h1">
	<a href="{$baseurl}/syndicate/categoryvideos/{$filter}/{$showseotitle}"><img style="vertical-align: top;" src="{$imageurl}/smallrss.gif" /></a>
	{$showtitle} {if $error eq ""}{$beginning} - {$ending} {$lang61} {$total}{/if}</h1>
	</div>
    
	<div class="containerD containerWAdSpace">
		<div class="clear" style="height: 10px;"></div>
		<div id="result_container" class="clear">
		<ul class="vList_vFull clearfix clear">
		</ul>
        <ul class="vList_vFull clearfix clear">
        
        	{if $error ne ""}
            	<h1>{$error}</h1>
            {/if}
            
        	{section name=i loop=$listvideos}
			<li>
				<a href="{$baseurl}/videos/{$listvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$listvideos[i].VIDEOID}" title="{$listvideos[i].title} Thumbnail"><img src="{$vthumburl}/{$listvideos[i].VIDEOID}-1.jpg" oversrc="{$vthumburl}/{$listvideos[i].VIDEOID}-3.jpg" class="vThumb" alt="{$listvideos[i].title} Thumbnail"></a>
				<a href="{$baseurl}/videos/{$listvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$listvideos[i].VIDEOID}" class="vTitle" title="{$listvideos[i].title}">{$listvideos[i].title}</a>
				<ul class="vMeta">
					<li><var>{insert name=get_runtime value=var runtime=$listvideos[i].runtime}</var></li>
					<li>
						<div class="{insert name=get_member_icon value=var USERID=$listvideos[i].USERID}"> <var><a href="{$baseurl}/members/profile/{$listvideos[i].USERID}/{insert name=get_username_from_userid value=var USERID=$listvideos[i].USERID}">{insert name=get_username_from_userid value=var USERID=$listvideos[i].USERID} </a></var></div>
					</li>
					<li><span class="metaLabel">{$lang60}: </span><var>{$listvideos[i].viewcount}</var></li>
                    {if $listvideos[i].allowcomments ne "0"}
                    <li><span class="metaLabel">{$lang63}: </span><var>{$listvideos[i].commentcount}</var></li>
                    {else}
                    <li><span class="metaLabel">{$lang63}: </span><var>0</var></li>
                    {/if}
					<li><span class="metaLabel">{$lang64}: </span><var>{insert name=get_video_added_date assign=DID videoid=$listvideos[i].VIDEOID}</var></li>
                    {if $listvideos[i].allowratings ne "0"}
					<li>
                    	<var class="vMeta_rating">
						<nobr>
						{insert name=get_rating_stars rating=$listvideos[i].rating}
						</nobr>
						<div class="clear"></div>
						<span class="smallText">({$listvideos[i].ratingcount} {if $listvideos[i].ratingcount eq "1"}{$lang65}{else}{$lang66}{/if})</span>
						</var>
                    </li>
                    {/if}
				</ul>
			</li>
			{/section}
            
			<!-- new row -->
			</ul><ul class="vList_vFull clearfix clear">
	        <!-- new row end -->     
	

			</ul>

			<div class="clear"></div>
		</div>	

<div class="clear" style="height: 15px;"></div>	
	

<!-- Paging Begin -->
<ul class="pagination">
	{$pagelinks}
</ul>
	<div class="clear"></div>
</div>
<!-- Paging End -->

<div id="drpepper">
</div>

<div class="clear"></div>
<div id="googleAd">

</div>
</div>	
	


<div id="categories" style="width: 151px;>
	<ul class="category clear"></ul>
	<h1 class="titleBar">{$lang55}</h1>
	<ul class="category clear">
		<li><a href="{$baseurl}/browse/videos/z/6/1/{$lang216}" >{$lang53}</a></li>
		<li><a href="{$baseurl}/myfavoritevideos.php" >{$lang43}</a></li>
	</ul>
    
    <h1 class="titleBar">{$lang54}</h1>
	<ul class="category clear">
		<li><a href="{$baseurl}/browse/categories/videos/a/{$filter}/1/{$showseotitle}" >{$lang56}</a></li>
		<li><a href="{$baseurl}/browse/categories/videos/z/{$filter}/1/{$showseotitle}" >{$lang57}</a></li>
	</ul>	
	
    <h1 class="titleBar">{$lang58}</h1>
	<ul id="ieClearHack" class="category clear">
    	{insert name=get_video_categories assign=listvideocategories}
        {section name=o loop=$listvideocategories}
	    <li><a href="{$baseurl}/browse/categories/videos/z/{$listvideocategories[o].CATID}/1/{$listvideocategories[o].name}">{$listvideocategories[o].name}</a></li>
        {/section}
	</ul>	
	</div>

	<div class="clear"></div>
</div>


<div class="clear"></div>
</div>
</div>

	
{include file="bottom.tpl"}
	
</div>
<!-- END MAIN CONTENT -->