{sta:if($is_login==1)[exc]}
<!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>
<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">
<SCRIPT language=JavaScript src="servtools/ajax_client/ajax.js"></SCRIPT>
<script type='text/javascript'>
parent.guide("online");
function mypals_add(other_id){
	var xmlhttp=InitAjax();
	xmlhttp.open("GET","do.php?act=add_mypals&other_id="+other_id,true);
	xmlhttp.onreadystatechange=function(){
		if(xmlhttp.readyState==4&&xmlhttp.status==200){
			var return_str=xmlhttp.responseText;
			var	return_text=return_str.replace(/[\s\n\r]/g,"");
			if(return_text=="success"){
				parent.Dialog.alert_ok("{echo:lp{mp_suc_add};/}");
				window.document.getElementById("operate_"+other_id).innerHTML="{echo:lp{mp_suc_add};/}";
			}else{
				parent.Dialog.alert(return_text);
				window.document.getElementById("operate_"+other_id).innerHTML=xmlhttp.responseText;
			}
		}
	}
	xmlhttp.send(null);
}

function setAct(URL){
	window.open(URL,'frame_content','height=346,width=520,top=160,left=250,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
}
</script>
</head>

<body>
		<div id="tabsB">
			<ul>
				<li><a href="#" class="nowbutl"><span class="nowbutr">{echo:lp{mp_find};/}</span></a></li>
			</ul>
			<div class="div_but" onClick="location.href='?app=mypals_search'">{echo:lp{mp_re_search};/}</div>
		</div>
	{end:if/}
  {sta:foreach($search_rs as $rs)[loop]}
		<table class="rs_list rs_list2">
			<tr>
				<td width="120">
					<a href="home.php?h={echo:$rs['user_id'];/}" target="_blank"><img alt="{echo:lp{mp_en_home};/}" title='{echo:lp{mp_sex};/}:{echo:get_pals_sex($rs['user_sex']);/}' src='{echo:$rs["user_ico"];/}' height='43px' width='43px' class='user_ico' /></a>
				</td>
				<td width="50%"  class="tleft">
					{echo:lp{mp_name};/}：{echo:filt_word($rs["user_name"]);/}
				  <br />
					{echo:lp{mp_reside};/}：{echo:get_pals_reside($rs['reside_province'],$rs['reside_city']);/}
					<br />
					{echo:lp{mp_birth};/}：{echo:get_pals_birth($rs['birth_province'],$rs['birth_city']);/}
					<br />
				</td>
				<td>
					<div class="right tleft">
						<div class="action_menu">
							<div id='operate_{echo:$rs["user_id"];/}'>
								<a class="fix" title='{echo:str_replace("{he}",get_TP_pals_sex($rs['user_sex']),lp{mp_add_mypals});/}' href='javascript:{echo:str_replace("{uid}",$rs['user_id'],$send_join_js);/}'>{echo:str_replace("{he}",get_TP_pals_sex($rs['user_sex']),lp{mp_add_mypals});/}</a>
							</div>
						</div>
						<div class="action_menu">
							<a href=javascript:{echo:str_replace("{uid}",$rs['user_id'],$send_script_js);/} class="fix" target="frame_content" title='{echo:str_replace("{he}",get_TP_pals_sex($rs['user_sex']),lp{mp_scrip});/}'>{echo:str_replace("{he}",get_TP_pals_sex($rs['user_sex']),lp{mp_scrip});/}</a>
						</div>
					</div>
				</td>
			</tr>
		</table>
	{end:foreach/}
  {echo:page_show($isNull,$page_num,$page_total);/}
  <div class='guide_info {echo:$none_data;/}'>
  	{echo:$error_str;/}
  </div>
  
</body>
</html>