<?php

/**
 * userdeatils.php
 *
 * @version       v0.01
 * @create time   2011-5-30
 * @update time   
 * @author        wiipu
 * @copyright     Copyright (c) 寰櫘绉戞妧 WiiPu Tech Inc. ( http://www.wiipu.com)
 * @informaition  

 * Update Record:
 *
 */

	define('THISPATHROOT', str_replace('ui/simple/userdeatils.php', '', str_replace('\\', '/', __FILE__)));
	require_once("topwml.php");
	require_once(ROOT_PATH.'lang/'.LANGUAGE.'/user.php');
	$header_title=$_['text_details'];
	 $userName=$wiibbsUser->checkISlogin();
	 if (empty($userName)){
		header("location:".NETURL."/ui/".$folder_color."/error.php?err=139");	
		exit();
	 }
	$uid=empty($_GET['uid'])?'':sqlReplace(trim($_GET['uid']));
	$url=sqlReplace(trim($_GET['url']));
	$user=$wiibbsUser->getUserByAccount($uid);
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
	<card id="top" title="<?php echo $_['text_details'];?>">
		<p><?php require_once('noticeinc.php');?></p>
		<p><a href='index.php'><?php echo $_['text_index']?></a> &gt;&gt; <?php echo $_['text_details'];?></p>
		<p><?php echo $_['text_nikeName'];?>锛??php echo $user['user_nickname']?></p>
		<p><?php echo $_['text_account'];?>锛??php echo $user['user_account']?></p>
		<p><?php echo $_['text_name'];?>锛??php echo $user['user_name']?></p>
		<p><?php echo $_['text_score'];?>锛??php echo $user['user_score']?></p>
		<p><?php echo $_['text_grade'];?>锛??php echo $user['user_grade']?></p>
		<p><?php echo $_['text_sex'];?>锛??php  if($user['user_sex']==1){
			echo $_['text_man']; }else if($user['user_sex']==2){ echo $_['text_women'];} ?></p>
		<p><?php echo $_['text_brith'];?>锛??php echo $user['user_birthday']?></p>
		<p><?php echo $_['text_mobile'];?>锛??php echo $user['user_mobile']?></p>
		<p><?php echo $_['text_email'];?>锛??php echo $user['user_email']?></p>
		<p><?php echo $_['text_qq'];?>锛??php echo $user['user_qq']?></p>
		<p><?php echo $_['text_sina'];?>锛??php echo $user['user_sina']?></p>
		<p><?php echo $_['text_province'];?>锛??php echo $user['user_province']?></p>
		<p><?php echo $_['text_city'];?>锛??php echo $user['user_city']?></p>
		<p><?php echo $_['text_address'];?>锛??php echo $user['user_address']?></p>
		<p><?php echo $_['text_regTime'];?>锛??php echo $user['user_regtime']?></p>
		<p><?php echo $_['text_logCount'];?>锛??php echo $user['user_logincount']?></p>
		<p><?php echo $_['text_lastLoginTime'];?>锛??php echo $user['user_lastlogin']?></p>
		<p>[<a href='<?php echo $url;?>'><?php echo $_['btn_goback']?></a>]</p>
		<?php require_once("bottom.php");?>
	</card>
</wml>