<!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>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<title>{dede:var.userid/}的资料</title>
<meta name="author" content="{dede:var.uname /}"/>
<link href="/templets/skin/cm.css" rel="stylesheet" type="text/css" />
<link href="/templets/skin/default.css" rel="stylesheet" type="text/css" />
<style>
#lblMyNotes{font-size:12px; color:#737373}
</style>
<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>
<script language="javascript" src="/play/public.js"></script>
</head>
<body>
{dede:include file='header.htm'/}
<div class="bgcolor_w con_2">
    {dede:include file='left2.htm'/}
    <div class="con_2M">
      <div id="lblShowBJ">
            <div class="bordercolor_g con_2M2" style="margin-top:0px;">
                <div class="cont_">
                    <h4>我的资料</h4>
                </div>
                <div class="fR_">
                    <a href="index.php?action=newfriend&uid={dede:var.userid/}" class="gray_un">加为好友</a>
                </div>
                <div class="clear_"></div>
                <div class="con_2M1n"></div>
                <div id="lblMyNotes">               

                 <table width="100%" align="center" class="tList">
          <tr>
            <td>昵称：</td>
            <td><?php echo $row['uname']; ?></td>
          </tr>
          <tr>
            <td width="20%">性别： </td>
            <td width="80%"><?php echo $row['sex']; ?></td>
          </tr>
          <tr>
            <td>目前所在地：</td>
            <td> 省份：
              <?php
			$places = GetEnumsTypes($row['place']);
			echo ( isset($em_nativeplaces[$places['top']]) ?  $em_nativeplaces[$places['top']] : '');
		  ?>
              &nbsp; 城市：
              <?php
		  echo ( isset($em_nativeplaces[$places['son']]) ?  $em_nativeplaces[$places['son']] : '');
		  ?></td>
          </tr>
          <tr>
            <td>家乡所在地：</td>
            <td> 省份：
              <?php
			$places = GetEnumsTypes($row['oldplace']);
			echo ( isset($em_nativeplaces[$places['top']]) ?  $em_nativeplaces[$places['top']] : '');
		  ?>
              &nbsp; 城市：
              <?php
		  echo ( isset($em_nativeplaces[$places['son']]) ?  $em_nativeplaces[$places['son']] : '');
		  ?></td>
          </tr>
          <tr>
            <td>出生日期：</td>
            <td><?php echo $row['birthday']; ?></td>
          </tr>
          <tr>
            <td>交友目的：</td>
            <td><?php echo GetEnumsValue('datingtype',$row['datingtype']); ?></td>
          </tr>
        
          <tr>
            <td>星座：</td>
            <td><?php echo GetEnumsValue('star',$row['star']); ?></td>
          </tr>
		   <tr>
            <td>QQ号码：</td>
            <td><?php echo $row['qq']; ?></td>
          </tr>
		   <tr>
            <td>兴趣爱好：</td>
            <td><?php
    	$arr = $dsql->GetOne("Select * From `#@__sys_set` where sname='nature' ");
    	$sets = explode(',',$arr['items']);
    	foreach($sets as $v){
    		if(ereg($v,$row['nature'])) echo " $v ";
    	}
    	?></td>
          </tr>
        </table>

                </div>
            </div>
        </div>
    </div>
    {dede:include file='right.htm'/}
</div>

<div id="foot_"></div>
{dede:include file='footer.htm'/}
<div class="foot_bottom"></div> 
</body>
</html>
