<!-- 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>{$lang302}</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 />
            {/if}
            {if $message ne ""}
            	<div class="successMsg2" id="successMsg2" name="successMsg2" style="display:''">
					{$message}
				</div>
                <br />
            {/if}
            
            {section name=i loop=$listvideos}
            <ul class="vList_vFullSeries clearfix clear">
			<li>
				<h2>{$lang303} {insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}</h2>
            	<ul class="vList_vFullSeriesSub clearfix clear">
            	<li>
                	<br />
                	{insert name=get_member_profilepicture assign=profilefpic value=var USERID=$listvideos[i].REQUESTER}
					<a href="{$baseurl}/members/profile/{$listvideos[i].REQUESTER}/{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}"><img class="vThumb" src="{$membersprofilepicurl}/thumbs/{$profilefpic}" alt="{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}" title="{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}" /></a>
					<a class="vTitle" href="{$baseurl}/members/profile/{$listvideos[i].REQUESTER}/{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}">{insert name=get_username_from_userid USERID=$listvideos[i].REQUESTER}</a>
				</li>
                	<br />
					<h1>{insert name=get_username_from_userid USERID=$listvideos[i].REQUESTER} has sent you a friend request</h1>
                    {if $listvideos[i].message ne ""}
                    <br />
                    <p align="left"><b>{$lang268}:</b> {$listvideos[i].message}</p>
                    {/if}
                    <center>
                    <table width="250px" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                    <td>
                    <form id="acceptform" name="acceptform" action="{$baseurl}/myfriendrequests.php" method="post">
                    <input type="hidden" name="acceptRID" value="{$listvideos[i].RID}">
                    <input type="hidden" name="acceptrequest" value="acceptrequest" />
        			<INPUT class="inputBox" type=image value="acceptrequest" src="{$imageurl}/buttons/{$smarty.session.language}/acceptsmall.gif" height="20px" style="height:20px;" border="0" name=acceptrequest>
                    </form>
                    </td>
                    <td>
                    <form id="declineform" name="declineform" action="{$baseurl}/myfriendrequests.php" method="post">
                    <input type="hidden" name="declineRID" value="{$listvideos[i].RID}">
                    <input type="hidden" name="declinerequest" value="declinerequest" />
        			<INPUT class="inputBox" type=image value="declinerequest" src="{$imageurl}/buttons/{$smarty.session.language}/declinesmall.gif" height="20px" style="height:20px;" border="0" name=declinerequest>
                    </form>
                    </td>
                    </tr>
                    </table>
                    </center>
                    
            	</ul>         
			</li>
            </ul>
            <br />
            {/section}

			<!-- 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 -->