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

		<link rel="stylesheet" type="text/css" href="{$cssurl}/playvideo.css" />
        <link rel="stylesheet" type="text/css" href="{$cssurl}/seriesdetails.css" />
    
<div class="colLeft">
	<div id="companionImg" style="display:none;"></div>
    <div class="clear"></div>
    		
            <div align="left" style="width:540px; background-color:#FFFFCC;">
            	<div align="left" style="padding:10px; font-size:18px; font-family: Verdana; font-weight: bold;">
            	{$lang44}: {$seriesarray[0].name}
            	</div>
            </div>
            
            
            <div align="left" style="width:540px; padding:0px; border: 1px solid #DFDFDF">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
            <td width="60%">
            	<div align="left" style="padding:10px;">
            		<span class="metaLabel">{$lang113}: </span>
            		<var>{insert name=get_stripped_phrase value=a assign=sdetail details=$seriesarray[0].description}{$sdetail}</var><br />
                    <span class="metaLabel">{$lang413}: </span>
            		<var><a href="{$baseurl}/members/profile/{$seriesarray[0].USERID}/{insert name=get_username_from_userid value=var USERID=$seriesarray[0].USERID}"><span class="{insert name=get_member_icon value=var USERID=$seriesarray[0].USERID}">{insert name=get_username_from_userid value=var USERID=$seriesarray[0].USERID}</a>&nbsp;</span></var><br />
                    <span class="metaLabel">{$lang207}: </span>
            		<var>{$listseriessubscriberscount}</var>
                    &nbsp;&nbsp;&nbsp;
                    <span class="metaLabel">{$lang41}: </span>
            		<var>{insert name=get_videos_in_series assign=videosinser SID=$seriesarray[0].SID}{$videosinser}</var><br />
                    
                    
                    
                    
                    
                    
                    
                    
            <div class="rateThis" id="ratingBlock">
				<div class="rateStars">

					<div id="video_stars_rating" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')">
						<nobr>
						<nobr>
                        {insert name=get_rating_stars rating=$seriesarray[0].rating}
						</nobr>
						</nobr>						
					</div>
                    <div id="video_stars_rating2" style="display:none;" onmouseout="showhidelists('video_stars_rating','video_stars_rating2')">
                    
                    	<span id="onestarempty" class="no_star" onmouseover="showhidelists('onestarfull','onestarempty')"></span>
                        <span id="onestarfull" style="display:none;" class="full_star" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')" onmouseout="showhidelists('onestarempty','onestarfull')" {if $smarty.session.USERID ne ""}onClick="fxSeriesRater('2','{$seriesarray[0].SID}')"{else}onClick="showhidelists('ratingLogin','ratingSuccess')"{/if}></span>
                        
                        <span id="twostarempty" class="no_star" onmouseover="showhidelists('onestarfull','onestarempty'); showhidelists('twostarfull','twostarempty')"></span>
                        <span id="twostarfull" style="display:none;" class="full_star" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')" onmouseout="showhidelists('twostarempty','twostarfull')" {if $smarty.session.USERID ne ""}onClick="fxSeriesRater('4','{$seriesarray[0].SID}')"{else}onClick="showhidelists('ratingLogin','ratingSuccess')"{/if}></span>
                        
                        <span id="threestarempty" class="no_star" onmouseover="showhidelists('onestarfull','onestarempty'); showhidelists('twostarfull','twostarempty'); showhidelists('threestarfull','threestarempty')"></span>
                        <span id="threestarfull" style="display:none;" class="full_star" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')" onmouseout="showhidelists('threestarempty','threestarfull')" {if $smarty.session.USERID ne ""}onClick="fxSeriesRater('6','{$seriesarray[0].SID}')"{else}onClick="showhidelists('ratingLogin','ratingSuccess')"{/if}></span>
                        
                        <span id="fourstarempty" class="no_star" onmouseover="showhidelists('onestarfull','onestarempty'); showhidelists('twostarfull','twostarempty'); showhidelists('threestarfull','threestarempty'); showhidelists('fourstarfull','fourstarempty')"></span>
                        <span id="fourstarfull" style="display:none;" class="full_star" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')" onmouseout="showhidelists('fourstarempty','fourstarfull')" {if $smarty.session.USERID ne ""}onClick="fxSeriesRater('8','{$seriesarray[0].SID}')"{else}onClick="showhidelists('ratingLogin','ratingSuccess')"{/if}></span>
                        
                        <span id="fivestarempty" class="no_star" onmouseover="showhidelists('onestarfull','onestarempty'); showhidelists('twostarfull','twostarempty'); showhidelists('threestarfull','threestarempty'); showhidelists('fourstarfull','fourstarempty'); showhidelists('fivestarfull','fivestarempty')"></span>
                        <span id="fivestarfull" style="display:none;" class="full_star" onmouseover="showhidelists('video_stars_rating2','video_stars_rating')" onmouseout="showhidelists('fivestarempty','fivestarfull')" {if $smarty.session.USERID ne ""}onClick="fxSeriesRater('10','{$seriesarray[0].SID}')"{else}onClick="showhidelists('ratingLogin','ratingSuccess')"{/if}></span>
                        

                    </div>
					<div class="clear"></div>
				</div>
				<span><p>{$seriesarray[0].ratingcount} {if $seriesarray[0].ratingcount eq "1"}{$lang90}{else}{$lang91}{/if} </p></span>
                
			</div>
            
            
            
            
            
            
            
            	</div>
            </td>
            <td  width="40%">
            	<div align="left" style="padding:10px;">
            		
                    
                    
                    
            {if $smarty.session.USERID ne ""}
            
            {if $smarty.session.USERID eq $seriesarray[0].USERID}
            <div id="subscribe">
    			<a href="#">{$lang416}</a>								
            </div>
            {else}
            {insert name=get_subscribed_status_series assign=issubscribed value=var SID=$seriesarray[0].SID}
            {if $issubscribed eq "false"}
            <div id="subscribe">
    		<a href="#" id="subscribepublisher" onClick="fxSubscribeSeries('subscribe',{$smarty.session.USERID},{$seriesarray[0].SID})">{$lang417}</a>								
            </div>
            <div id="subscribeSuccess" style="display:none;">
            	<a href="#">{$lang418}</a>
            </div>
            <div id="subscribeFailure" style="display:none;">
            	{$lang419}
            </div>
            {else}
            <div id="subscribe">
    			<a href="#">{$lang420}</a>								
            </div>
            {/if}
            {/if}
            
			{else}
            <div id="subscribe">
    		<a href="{$baseurl}/login.php" id="subscribepublisher">{$lang417}</a>								
            </div>
            {/if}
            
            
            
        
            
            	</div>
            </td>
            </tr>
            </table>
			</div>
        
        
        	<div align="left" style="width:540px;">
            	<div id="ratingSuccess" style="display:none;" align="center" style="width:540px; padding-bottom:10px; padding-top:10px" class="showSuccess"><b>{$lang421}</b></div>
        	<div id="ratingLogin" style="display:none;" align="center" style="width:540px; padding-bottom:10px; padding-top:10px" class="showError"><b>{$lang422}</b></div>
        	<div id="ratingExists" style="display:none;" align="center" style="width:540px; padding-bottom:10px; padding-top:10px" class="showError"><b>{$lang423}</b></div>
            </div>
        
        
            
			<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}/{$newestvideo[0].VIDEOID}.flv');
				so.addVariable('height','445');
				so.addVariable('width','540');
				so.addVariable('location','{$baseurl}/videowatchproplayer.swf');
				so.addVariable('vid','{$newestvideo[0].VIDEOID}');
				so.addVariable("baseurl","{$baseurl}/");
				so.addParam("wmode", "transparent");
				so.addParam("vmode", "transparent");	
				so.write('player');
			</script>
	
    		<div align="center" style="width:540px; background-color:#FFFFCC; padding-bottom:5px; padding-top:5px"><b>{$lang424}</b></div>
            <div style="padding-bottom:10px;"></div>

	<!-- Subscribers container -->
    <div class="containerD clear" id="seriesSubscribersBox" style="width:510px; display:'';"> 
        	<p id="relatedBoxTitle"><a href="#" name="">{$lang425}</a></p>
      		<div class="containerD container_bg floatL" id="relatedVideos"> 
        		<ul class="vList_h floatL">
        
        		<!-- Loop Subscribers Begin -->
                {section name=ss loop=$listseriessubscribers}
                {insert name=get_member_profilepicture assign=profilefpic value=var USERID=$listseriessubscribers[ss].USERID}
          		<li>
                	<a href="{$baseurl}/members/profile/{$listseriessubscribers[ss].USERID}/{insert name=get_username_from_userid value=var USERID=$listseriessubscribers[ss].USERID}"><img class="vThumb" src="{$membersprofilepicurl}/thumbs/{$profilefpic}" alt="{insert name=get_username_from_userid USERID=$listseriessubscribers[ss].USERID}" title="{insert name=get_username_from_userid USERID=$listseriessubscribers[ss].USERID}" /></a>
					<a class="vTitle" href="{$baseurl}/members/profile/{$listseriessubscribers[ss].USERID}/{insert name=get_username_from_userid value=var USERID=$listseriessubscribers[ss].USERID}">{insert name=get_username_from_userid USERID=$listseriessubscribers[ss].USERID}</a>
          		</li>
                {/section}
                <!-- Loop Subscribers End -->
            
          		<div class="clear"></div>
        		</ul>
        		<div class="clear"></div>
      		</div>
      		<div class="clear"></div>
    	</div>
    <!-- Subscribers End -->
    
	<div class="clear"></div>
</div> 
<!-- end left column -->


<div class="colRight">
	<!-- Series Details Begin -->
    <div align="center" style="width:383px; background-color:#FFFFCC; padding-bottom:5px; padding-top:5px"><b>{$lang426}</b></div>
	<div class="containerD home_sideC" id="videoDetailsContainer">
		
         	{section name=sv loop=$seriesvideos}
			<div class="containerD container_bg floatL" id="infoMeta">
			
            	<table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                <td width="10px" align="center"><div align="center" style="font-size:14px; color:#666666; font-weight: bold;">{$smarty.section.sv.iteration}.</div></td>
                <td width="110px" align="center">
            	<a href="{$baseurl}/videos/{$seriesvideos[sv].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$seriesvideos[sv].VIDEOID}" title="{$seriesvideos[sv].title} {$lang299}"><img src="{$vthumburl}/{$seriesvideos[sv].VIDEOID}-1.jpg" oversrc="{$vthumburl}/{$seriesvideos[sv].VIDEOID}-3.jpg" class="vThumb" alt="{$seriesvideos[sv].title} {$lang299}"></a>
                </td>
                <td width="263px">
                <a href="{$baseurl}/videos/{$seriesvideos[sv].VIDEOID}/{insert name=get_seotitle_from_videoid assign=title videoid=$seriesvideos[sv].VIDEOID}" class="vTitle" title="{$seriesvideos[sv].title}">{$seriesvideos[sv].title}</a>
    		
            	<span class="metaLabel">{$lang86}: <a href="{$baseurl}/members/profile/{$seriesarray[0].USERID}/{insert name=get_username_from_userid value=var USERID=$seriesarray[0].USERID}" name=""><b>{insert name=get_username_from_userid value=var USERID=$seriesarray[0].USERID}</b></a>&nbsp;<span class="{insert name=get_member_icon value=var USERID=$seriesarray[0].USERID}">&nbsp;</span></span><br />
            	<span class="metaLabel">{$lang60}: </span>		
            	<var>{$seriesvideos[sv].viewcount}</var> &nbsp; &nbsp;
				<span class="metaLabel">{$lang63}: </span>
            	<var>{$seriesvideos[sv].commentcount}</var> &nbsp; &nbsp;
            	<br />                                
            	<span class="metaLabel">
                		<nobr>
						{insert name=get_rating_stars rating=$seriesvideos[sv].rating}
						</nobr></span>
            	<var></var><br /> 
            	</td>
                </tr>
                </table>
			</div>
            {/section}
					
		
		<div class="clear"></div>
	</div>
    <!-- Series Details End -->

</div>
<!-- end right column -->

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

<!-- Advertisement Begin -->
<div align="center">
<div style="padding-top:10px">
{insert name=get_advertisement value=var AID="3"}
</div>
</div>
<!-- Advertisement End -->

	  


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