<!-- 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}/profile.css" />
        {if $profilearray[0].bgimage ne ""}
        <link rel="stylesheet" type="text/css" href="{$baseurl}/memberprofilecss.php?bgimage={$profilearray[0].bgimage}" />
        {/if}
    
<div class="colLeft">
	{include file="memberside.tpl"}
            	
	<div class="clear"></div>
</div> 
<!-- end left column -->


<div class="colRight">   
    <!-- Comments Begin -->
    <div class="containerHeader2">
		<span class="profileheading">{$profilearray[0].username}'s {$lang254} ({insert name=get_profile_commentcount assign=commentcount userid=$profilearray[0].USERID}{$commentcount})</span>
	</div>
	<div id="commentsContainer" class="containerD home_sideC" style="display:">
		<div class="clear"></div>
        
        {if $smarty.session.USERID ne ""}
			<div id="addcommentdiv">
 			<form name="addcommentform" method="POST" action="#">
			<textarea name="addcomment" id="addcomment" rows="5" cols="90"></textarea><br />
            
            <input class="submitButton" type="button" name="commentpost" value="{$lang99}" onclick="fxProfileComment('addcommentdiv','addcomment',{$smarty.session.USERID},{$profilearray[0].USERID})">
			</form>
            </div>
            
        {else}
	   		<a href="{$baseurl}/login.php">{$lang100}</a> {$lang101} <a href="{$baseurl}/login.php">{$lang102}</a> {$lang103}.<br/><br/>
        {/if}
        <div align="center" style="display:none;width:80%; padding-top:10px; padding-bottom:10px;" id="addcommentError"><div class="showError"><b>{$lang104}</b></div></div>
        <div align="center" id="vcommentssuccess" style="display:none;width:80%; padding-top:10px; padding-bottom:10px;"><div class="showSuccess"><b>{$lang105}.</b></div></DIV>
        <div align="center" id="vcommentsfailure" style="display:none;width:80%; padding-top:10px; padding-bottom:10px;"><div class="showError"><b>{$lang106}</b></div></DIV>
        <br />
	   <div class="clear"></div>
	   
		<div id="videoCommentsPanel">
			<a name="comments"></a>
            {section name=vc loop=$showcomments}
			<div class="containerD clear" id="commentloop" style="border:1px solid #DFDFDF; padding:15px;">
				<a href="{$baseurl}/members/profile/{$showcomments[vc].USERID}/{insert name=get_username_from_userid value=var USERID=$showcomments[vc].USERID}" name="{insert name=get_username_from_userid value=var USERID=$showcomments[vc].USERID}">
                <img src="{insert name=get_member_avatar value=var USERID=$showcomments[vc].USERID}" alt="{$lang166}" /></a>
                <br />
                
                <a href="{$baseurl}/members/profile/{$showcomments[vc].USERID}/{insert name=get_username_from_userid value=var USERID=$showcomments[vc].USERID}" name="{insert name=get_username_from_userid value=var USERID=$showcomments[vc].USERID}">{insert name=get_username_from_userid value=var USERID=$showcomments[vc].USERID}</a>&nbsp;<span class="{insert name=get_member_icon value=var USERID=$showcomments[vc].USERID}">&nbsp;</span>
				<p>{$showcomments[vc].details}</p>
                <div align="right"><span class="metaLabel">{$lang64}:</span> <var>{insert name=get_profile_comment_added_time assign=ctime cid=$showcomments[vc].CID}</var></div>
				<!-- <a href="" name="" class="commentResponses">{$lang255}</a> -->
			</div>
            <div style="padding-bottom:10px;"></div>
            {/section}
		</div>
		<div class="clear"></div>
        {if $commentcount >= $max_comments_profile}<center><a href="">{$lang256} {$commentcount} {$lang98}</a></center>{/if}
	</div>
    <!-- Comments 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 -->