<!-- BEGIN MAIN CONTENT -->

<div id="videowatch_body">

	<div id="videowatch_top">
		<div id="videowatch">

			<div class="colLeft">

			<!-- NEWEST VIDEOS BEGIN -->           
            <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}/videowatchprorecentvideos.swf','recentrow','540','130','0');
				so1.addVariable("c","recentuploads");
				so1.addVariable("baseurl","{$baseurl}");
				so1.addParam("wmode", "transparent");
				so1.addVariable("headerleft","{$lang208}");
				so1.addVariable("headerright","{$lang209}");
				so1.addVariable("targeturl","/browse/videos/z/0/1/{$lang174}");
				so1.addVariable("loading","{$lang210}..");
				so1.addVariable("size","tiny");
				so1.addVariable("error","{$lang211}.");
				so1.addVariable("novideos","({$lang212}...)"); 
				so1.addVariable("loadingtxt","{$lang213}..");
				so1.addVariable("lang","en");	
				so1.write('recentrow');
			</script>

			<div class="clear" style="height: 5px; width: 1px;"></div>
			 <!-- NEWEST VIDEOS END -->
			
			<span id="player"> 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 so = new SWFObject('{$baseurl}/videowatchproplayer.swf','player','540','445','8');
				so.addVariable('file','{$videourl}/{$editors_pick}.flv');
				so.addVariable('height','445');
				so.addVariable('width','540');
				so.addVariable('location','{$baseurl}/videowatchproplayer.swf');
				so.addVariable('vid','{$editors_pick}');
				so.addVariable("baseurl","{$baseurl}/");
				so.addParam("wmode", "transparent");
				so.addParam("vmode", "transparent");	
				so.write('player');
			</script>

				<div style="margin-bottom: 15px;" id="videoPlayer">
				</div>

	
				<div id="featuredVideoHeader" class="containerHeader home_mainH" style="display:;">
	

					<h1 class="half_h1"> 
						<a href="{$baseurl}/syndicate/videos/6/{$lang53}" name="{$lang214}"><img src="{$imageurl}/smallrss.gif" style="vertical-align: top;" /></a>&nbsp;{$lang215}		
					</h1>
					
					<p><a href="{$baseurl}/browse/videos/z/6/1/{$lang216}" name="{$lang217}">{$lang223} &raquo;</a></p>	
				</div>

	
				<div id="featuredVideo" class="containerD home_mainC">

					<ul class="vList_hDetails clearfix">
						<!-- BEGIN FEATURED VIDEOS -->
						{section name=i loop=$featuredvideos}
						<li id="videov814438rsRq5rDB" class="videoListLI" style="padding-bottom: 15px; border-bottom: 1px solid #DFDFDF;">
							<a href="{$baseurl}/videos/{$featuredvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$featuredvideos[i].VIDEOID}" name="{$featuredvideos[i].title}">
							<img class="vThumb" src="{$vthumburl}/{$featuredvideos[i].VIDEOID}-1.jpg" oversrc="{$vthumburl}/{$featuredvideos[i].VIDEOID}-3.jpg" alt="{$featuredvideos[i].title} Thumbnail" />
							</a>
							<a class="vTitle" href="{$baseurl}/videos/{$featuredvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$featuredvideos[i].VIDEOID}">{$featuredvideos[i].title}</a>
							<p class="vDescription">{$featuredvideos[i].description}</p>

							<ul class="vMeta">
								<li><var>{insert name=get_runtime value=var runtime=$featuredvideos[i].runtime}</var></li>
								<li><span class="metaLabel">{$lang64}: </span><var>{insert name=get_video_added_date assign=DID videoid=$featuredvideos[i].VIDEOID}</var></li>
								<li class="vMeta_last">
									<span class="metaLabel">{$lang218}: </span>
									<var>
                                    {insert name=get_video_categories_list assign=categories value=a videoid=$featuredvideos[i].VIDEOID}
                					{section name=cc loop=$categories}
                					<A href="{$baseurl}/browse/categories/videos/z/{$categories[cc].CATID}/1/{$categories[cc].name}">{$categories[cc].name}</A>&nbsp;
                                    {/section}
                					</var>
								</li>	
								<li class="vMeta_broadcaster"><div class="{insert name=get_member_icon value=var USERID=$featuredvideos[i].USERID}"><var><a href="/members/profile/{$featuredvideos[i].USERID}/{insert name=get_username_from_userid value=var USERID=$featuredvideos[i].USERID}" name="&lid=User+profile&lpos=Home">{insert name=get_username_from_userid value=var USERID=$featuredvideos[i].USERID}</a></var></div></li>
								<li><var>{if $allow_downloads eq "1"}{if $who_can_download eq "1"}{if $smarty.session.USERID eq ""}<a href="{$baseurl}/login.php">{$lang219}</a>{else}<a href="{$baseurl}/download/video/{$featuredvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$featuredvideos[i].VIDEOID}">{$lang219}</a>{/if}{else}<a href="{$baseurl}/download/video/{$featuredvideos[i].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$featuredvideos[i].VIDEOID}">{$lang219}</a>{/if}{/if}</var></li>
								<li class="vMeta_last"><var><a href="{$baseurl}/share/video/{$featuredvideos[i].VIDEOID}" class="action" name="{$lang220}">{$lang220}</a></var></li>				
							</ul>
							<div class="clear"></div>
						</li>
						{/section}
						<!-- END FEATURED VIDEOS -->  
					</ul>
					<div class="clear"></div>
			</div>

		</div>

<div class="colRight">	

<!-- Featured Channels Begin -->
<div class="containerHeader home_sideH" id="featuredChannelsHeader" style="display:;">
	<h1 class="half_h1"><a href="{$baseurl}/syndicate/channels/5/{$lang62}" name="{$lang222}"><img src="{$imageurl}/smallrss.gif" style="vertical-align: top;" /></a>&nbsp;{$lang221}</h1>
	<p><a href="{$baseurl}/browse/channels/z/5/1/{$lang62}">{$lang223} &raquo;</a></p>
</div>	
<div class="containerD home_sideC" id="featuredChannels" style="display:;">
<ul class="vList_vFull clearfix">
	{insert name=get_featured_channels assign=listfeatchans}
    {section name=p loop=$listfeatchans max=3}
	<li>
		<a href="{$baseurl}/{$listfeatchans[p].seokey}"><img src="{$imageurl}/channels/{$listfeatchans[p].photo}" /></a>
		<a class="vTitle" href="{$baseurl}/{$listfeatchans[p].seokey}">{$listfeatchans[p].name}</a>
		<ul class="vMeta">
			<li>
                <div class="{insert name=get_member_icon value=var USERID=$listfeatchans[p].MID}"><var><a href="{$baseurl}/members/profile/{$listfeatchans[p].MID}/{insert name=get_username_from_userid value=var USERID=$listfeatchans[p].MID}">{insert name=get_username_from_userid value=var USERID=$listfeatchans[p].MID}</a></var></div>
			</li>
			<li>
            	<span class="metaLabel">{$lang41}: </span>
                <var>{insert name=get_member_videos_count value=var USERID=$listfeatchans[p].MID}</var>
            </li>
		</ul>
	</li>
    {/section}			
</ul>
</div>
<!-- Featured Channels End -->

<!-- Top Right Ad Begin -->
<div style="padding-left: 43px; padding-right: 42px; width: 300px; background: #ffffff url({$imageurl}/playvideo_ad_bg.jpg) repeat-y top center;">
{insert name=get_advertisement value=var AID="1"}
</div>
<!-- Top Right Ad End -->

<div style="padding-bottom:10px;"></div>

<!-- Login Begin -->
{if $smarty.session.USERID eq ""}
<div class="containerHeader home_sideH">
	<h1>{$lang224}</h1>
</div>	

<div class="containerD home_sideC">
	<div>
		<form method="post" class="loginForm" name="loginForm" id="loginForm" action="{$baseurl}/login.php">	
        <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="right">	 	
			<label>&nbsp;{$lang163}&nbsp;</label></td><td align="left"><input name="lusername" type="text" id="lusername" class="inputbox"></td></tr><tr><td align="right">
			<label>&nbsp;{$lang225}&nbsp;</label></td><td align="left"><input name="lpassword" type="password" id="lpassword" class="inputbox"></td></tr><tr><td colspan="2" align="center">
			<div class="clear"></div>
            <input type="hidden" name="authenticate" value="authenticate" />
        	<INPUT class="inputbox" type=image value="Login" src="{$imageurl}/buttons/{$smarty.session.language}/loginsmall.gif" height="18px" style="height:18px;" border="0" name=authenticate></td></tr></table>
		</form>
	</div>

</div>
{/if}
<!-- Login End -->

<!-- Series Spotlight Begin -->
<div class="containerHeader home_sideH">
	<h1 class="half_h1"><a href="{$baseurl}/syndicate/videoseries/6/{$lang229}" name="{$lang230}"><img src="{$imageurl}/smallrss.gif" style="vertical-align: top;" /></a>&nbsp;{$lang231}</h1>
	<p><a href="{$baseurl}/browse/videoseries/z/6/1/{$lang229}">{$lang223} &raquo;</a> </p>
</div>

<div class="containerD home_sideC" id="spotlight">
	<ul class="vList_vFull clearfix">
    	{insert name=get_series_spotlight assign=listseriesspot}
    	{section name=q loop=$listseriesspot max=3}
		<li>							
			<a href="{$baseurl}/videoseries/{$listseriesspot[q].SID}/{insert name=get_seotitle_from_sid assign=title sid=$listseriesspot[q].SID}"><img src="{$seriesurl}/{$listseriesspot[q].thumbnail}" alt="{$listseriesspot[q].name}" title="{$listseriesspot[q].name}" /></a>
			<a class="vTitle" href="{$baseurl}/videoseries/{$listseriesspot[q].SID}/{insert name=get_seotitle_from_sid assign=title sid=$listseriesspot[q].SID}">{$listseriesspot[q].name}</a>
				<ul class="vMeta">
					<li>
            			<span class="metaLabel">{$lang41}: </span>
                		<var>{insert name=get_videos_in_series assign=videosinseries SID=$listseriesspot[q].SID}{$videosinseries}</var>
            		</li>
				</ul>
		</li>
		{/section}				
	</ul>
</div>
<!-- Series Spotlight End -->

<div style="padding-bottom:5px"></div>

<!-- List Categories Begin -->
<div class="containerHeader home_sideH">
	<h1>{$lang58}</h1>
</div>

<div class="containerD home_sideC">
	<div class="containerD container_bg" id="browseBy_categories">
		<div class="clear"></div>
		<ul>
	    	<li><strong>{$lang41}</strong></li>
            {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>
        
        <ul>
	    	<li><strong>{$lang37}</strong></li>
            {insert name=get_channel_categories assign=listchannelcategories}
        	{section name=o loop=$listchannelcategories}
	    	<li><a href="{$baseurl}/browse/categories/channels/z/{$listchannelcategories[o].CATID}/1/{$listchannelcategories[o].name}">{$listchannelcategories[o].name}</a></li>
        	{/section}
		</ul>
        
        <ul>
	    	<li><strong>{$lang232}</strong></li>
        	<li><a href="{$baseurl}/browse/videos/z/2/1/{$lang179}" name="{$lang233}">{$lang233}</a></li>
			<li><a href="{$baseurl}/browse/channels/z/3/1/{$lang179}" name="{$lang234}" >{$lang234}</a></li>
		</ul>
        
		<div class="clear" style="_margin-bottom: -10px;"></div>
	</div>
	<div class="clear" style="_margin-bottom: -15px;"></div>
</div>
<!-- List Categories End -->
	
<!-- Explore Begin -->
<div class="containerHeader home_sideH">
	<h1 class="half_h1">{$lang235}</h1>
</div>
<div class="containerD home_sideC">
	<div class="myChannelEmptyLeft">
		<a href="{$baseurl}/browse/videos/z/0/1/{$lang174}"><img src="{$imageurl}/watchlogo.jpg" /></a>
	</div>	
	<div class="myChannelEmptyRight">
		<a href="{$baseurl}/browse/videos/z/0/1/{$lang174}"><strong>{$lang236}</strong></a> {$lang237}
	</div>
	<div class="clear"></div><br/>
	<div class="myChannelEmptyLeft">
		<a href="{$baseurl}/syndicate.php"><img src="{$imageurl}/rsslogo.jpg" /></a>
	</div>	
	<div class="myChannelEmptyRight">
		<a href="{$baseurl}/syndicate.php"><strong>{$lang238}</strong></a> {$lang239}
		<br/><br/>
	</div>

</div>
<!-- Explore End -->	
	
</div>

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

<div align="center">
</div>

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