<!-- 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">
                    
            <span id="recentrow"> We recently encoded our videos in a newer Flash format. You need to 
				<br />
				get the latest <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> to see this video.
			</span>
            <script type="text/javascript">
				var so1 = new SWFObject('{$baseurl}/rotator.swf','recentrow','540','130','0');
				so1.addVariable("x","{$baseurl}/recentvideosxml.php");
				so1.addVariable("t","{$lang51}");
				so1.addParam("quality", "high");
				so1.addParam("bgcolor", "#ffffff");
				so1.addParam("wmode", "transparent");	
				so1.write('recentrow');
			</script>
					</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/videos/{$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 ""}
            	<div class="errorMsg3" id="errorMsg3" name="errorMsg2" style="display:''">
					{$error}
				</div>
            {/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} {$lang299}"><img src="{$vthumburl}/{$listvideos[i].VIDEOID}-1.jpg" oversrc="{$vthumburl}/{$listvideos[i].VIDEOID}-3.jpg" class="vThumb" alt="{$listvideos[i].title} {$lang299}"></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>	
	


<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/videos/a/{$filter}/1/{$showseotitle}" >{$lang56}</a></li>
		<li><a href="{$baseurl}/browse/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 -->