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

		<div id="videowatch">

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

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

	

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

	<h1>{$lang483}</h1>
	<div class="containerD containerWAdSpace">
		<div class="clear" style="height: 10px;"></div>
		<div id="result_container" class="clear">
		<ul class="vList_vFull clearfix clear">
		</ul>
			
            <link href="{$cssurl}/account.css" rel="stylesheet" type="text/css">
        
        	{if $error ne ""}
            	<div class="errorMsg2" id="errorMsg2" name="errorMsg2" style="display:''">
					{$error}
				</div>
                <br />
            {elseif $message ne ""}
            	<div class="successMsg2" id="successMsg2" name="successMsg2" style="display:''">
					{$message}
				</div>
                <br />
            
            
            {else}
            <ul class="vList_vFullSeries clearfix clear">
			<li>
				<h2>{$lang267}: {$msgarray[0].subject}</h2>
            	<ul class="vList_vFullSeriesSub clearfix clear">
                <li>
                	<br />
                	{insert name=get_member_profilepicture assign=profilefpic value=var USERID=$msgarray[0].MSGFROM}
					<a href="{$baseurl}/members/profile/{$msgarray[0].MSGFROM}/{insert name=get_username_from_userid value=var USERID=$msgarray[0].MSGFROM}"><img class="vThumb" src="{$membersprofilepicurl}/thumbs/{$profilefpic}" alt="{insert name=get_username_from_userid value=var USERID=$msgarray[0].MSGFROM}" title="{insert name=get_username_from_userid value=var USERID=$msgarray[0].MSGFROM}" /></a>
					<a class="vTitle" href="{$baseurl}/members/profile/{$msgarray[0].MSGFROM}/{insert name=get_username_from_userid value=var USERID=$msgarray[0].MSGFROM}">{insert name=get_username_from_userid USERID=$msgarray[0].MSGFROM}</a>
				</li>
            	<li style="width:400px">
                	<br />
                    <b>{$lang268}:</b><br />
                    {insert name=get_stripped_phrase value=a assign=messagedetails details=$msgarray[0].message}{$messagedetails}
				</li>
                </ul>
                <ul class="vList_vFullSeriesSub clearfix clear">
                	<li>
                    	<div style="width:550px" align="right"><a href="#sendmessagelink" id="sendmessageto" onclick="showMe('sendmessageContainer');">[{$lang484}]</a> | <a href="{$baseurl}/deletemessage.php?messageid={$msgarray[0].MID}">[{$lang485}]</a></div>
                    </li>
                </ul>     
			</li>
            </ul>
            <br />
            
            
    <!-- Reply To Message Begin -->
	<div class="vList_vFullSeries clearfix clear" id="sendmessageContainer" align="left" style="display:none;">
    	<h2>{$lang486}</h2>
			<div>
            	<center>
 				<div id="sendmessagediv" style="width:90%; padding-top:10px; padding-bottom:10px;" align="left">
                	<form name="sendmessageform" method="POST" action="#">
                    <b>{$lang267}:</b><br />
                    <textarea readonly="readonly" name="sendmessagesubject" id="sendmessagesubject" rows="1" cols="60">Re: {$msgarray[0].subject}</textarea><br />
                    <div style="padding-top:10px"></div>
                    <b>{$lang268}:</b><br />
            		<textarea name="sendmessagetext" id="sendmessagetext" rows="3" cols="60"></textarea><br />
            		<input class="submitButton" type="button" name="submitsendmessage" value="Send Message" onclick="fxSendMessage('sendmessagediv','sendmessagesubject','sendmessagetext',{$smarty.session.USERID},{$msgarray[0].MSGFROM})">
					</form>
            	</div>
        		<div align="center" id="sendmessagesuccess" style="display:none;width:90%; padding-top:10px; padding-bottom:10px;"><div class="showSuccess"><b>{$lang269}</b></div></DIV>
        		<div align="center" id="sendmessagefailure" style="display:none;width:90%; padding-top:10px; padding-bottom:10px;"><div class="showError"><b>{$lang270}</b></div></DIV>
                <div align="center" id="msubjectfailure" style="display:none;width:90%; padding-top:10px; padding-bottom:10px;"><div class="showError"><b>{$lang271}</b></div></DIV>
                <div align="center" id="mtextfailure" style="display:none;width:90%; padding-top:10px; padding-bottom:10px;"><div class="showError"><b>{$lang272}</b></div></DIV>
                </center>
            </div>
            <div align="center"><a href="#closesendmessage" name="Send_Message_Close" onclick="hideMe('sendmessageContainer');">[{$lang487}]</a></div>
    </div>
    <!-- Reply To Message End -->
            {/if}

			<!-- new row -->
			<ul class="vList_vFull clearfix clear">
	        <!-- new row end -->     
	

			</ul>

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

<!-- Paging Begin -->

</div>
<!-- Paging End -->

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

<div class="clear"></div>
</div>	
	
{include file="accountmenu.tpl"}

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

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