
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script type='text/javascript'>
parent.guide("mypals");
</script>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/row_menus.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/user_ico_small.css">
<!--[if lt IE 7]>
<style type="text/css">
.uico_photo_small span { behavior: url(skin/default/jooyea/css/ie_png_fix.htc);}
</style>
<![endif]-->
</head>
<body>
  <div class="main_right_title">
     <span class="main_title_dot3"></span>
     <span class="main_title_txt">{echo:lp{mp_mypals};/}</span>
  </div>

<div id="tabsB">
  <ul>
    <li><a href="?app=mypals" title="{echo:lp{mp_list};/}"><span>{echo:lp{mp_list};/}</span></a></li>
    <li><a href="?app=mypals_request" title="{echo:lp{mp_req};/}" class="nowbutl"><span class="nowbutr">{echo:lp{mp_req};/}</span></a></li>
    <li><a href="?app=mypals_invite" title="{echo:lp{mp_invite};/}"><span>{echo:lp{mp_invite};/}</span></a></li>
    <li><a href="?app=mypals_sort" title="{echo:lp{mp_m_sort};/}"><span>{echo:lp{mp_m_sort};/}</span></a></li>
  </ul>
	  
	<div class="div_but" onclick="location.href='?app=mypals_search'">{echo:lp{mp_add};/}</div>
</div>

<table class="{echo:$isset_data;/} pals_req">
		<tr height="28" bgcolor="#ecfbff">
			<td width="46">{echo:lp{mp_del};/}</td>
			<td width="80">{echo:lp{mp_def_ico};/}</td>
			<td width="90">{echo:lp{mp_req_name};/}</td>
			<td width="150">{echo:lp{mp_ctrl};/}</td>
			<td width="105">{echo:lp{mp_req_time};/}</td>
		</tr>
	
	{sta:foreach($request_rs as $rs)[loop]}

			<tr>
				<td>
					<a href='do.php?act=del_req&req_id={echo:$rs['id'];/}&req_uid={echo:$rs['req_id'];/}' onclick='return confirm("{echo:lp{mp_a_del};/}")';><img title="{echo:lp{mp_del};/}" src="skin/default/jooyea/images/rsdelete.gif" /></a>
				</td>
				<td>
					<div class='uico_photo_small hand' style='margin-left:10px'>
						<a href="home.php?h={echo:$rs['req_id'];/}" target="_blank"><span></span><img src='{echo:$rs["req_ico"];/}' height='43px' width='43px' onerror="parent.pic_error(this)" /></a>
					</div>
				</td>
				<td><a href="home.php?h={echo:$rs['req_id'];/}" target="_blank">{echo:$rs["req_name"];/}</a></td>
				<td>
					<a href='do.php?act=confirm_both&req_id={echo:$rs["id"];/}&req_user_id={echo:$rs["req_id"];/}'>{echo:lp{mp_both_pal};/}</a>
				  &nbsp;
				  <a href='do.php?act=confirm_other&req_id={echo:$rs["id"];/}&req_user_id={echo:$rs["req_id"];/}'>{echo:lp{mp_other_pal};/}</a>
				  &nbsp;
				  <a href='do.php?act=refuse_req&req_id={echo:$rs["id"];/}&req_user_id={echo:$rs["req_id"];/}'>{echo:lp{mp_ref_pal};/}</a>
			  </td>
			 	<td>{echo:$rs["add_time"];/}</td>
			</tr>
			
			<tr>
		  	<th colspan=5 class="bd_th">&nbsp</th>
		  </tr>
		{end:foreach/}
</table>

	<div class='guide_info {echo:$none_data;/}'>
		{echo:lp{mp_no_req};/}
	</div>

</body>
</html>