<?php if (!defined('THINK_PATH')) exit();?><!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>修改个人资料 - <?php echo (C("WEB_TITLE")); ?></title>
<link href="/Public/Css/bbs.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Public/js/niceforms.js"></script>
</head>

<body>
<div class="header">
<table class="htab" cellspacing="0" cellpadding="0">
  <tr>
    <td class="logo"><img src="/Public/Images/logo.png" /></td>
    <td width="400">
<div class="memu">
<ul>
<?php if(!$_SESSION['NR_USER_ID'] == ''): ?><li><a href="/Main.html" target="_self">首页</a></li>
<li><a href="/follower_<?php echo ($_SESSION['NR_USER_ID']); ?>.html" target="_self">我的粉丝</a></li>
<li><a href="/following_<?php echo ($_SESSION['NR_USER_ID']); ?>.html" target="_self">我的关注</a></li><?php endif; ?>
</ul>
</div>
	</td>
    <td width="300">
<?php if(!$_SESSION['NR_USER_ID'] == ''): ?><div class="huser">
<ul>
<li><a href="/Main.html?login=out" target="_self">退出</a></li>
<?php if($_SESSION['NR_USER_ID'] == 1): ?><li><a href="/Admin_login.html" target="_self">管理</a></li><?php endif; ?>
<li><a href="/U_data.html" target="_self"><?php echo (uname($_SESSION['NR_USER_ID'])); ?></a></li>
<li><a href="/U_img.html" target="_self"><img src="/Uploads/avatar/<?php echo (uimg($_SESSION['NR_USER_ID'])); ?>_small.jpg" /></a></li>
</ul>
</div>
<?php else: ?>
<div class="huser">
<ul>
<li><a href="/" target="_self">登录</a></li>
<li><a href="/register.html" target="_self">注册</a></li>
</ul>
</div><?php endif; ?>
	</td>
  </tr>
</table>
</div>

<table class="forumtab" cellspacing="0" cellpadding="0">
  <tr>
    <td width="680">
<div class="listtitle">
<img src="/Public/Images/list.png" /> 修改个人资料：
</div>
<!----------------------------------------------------话题列表开始---------------------------------------------------------->
<form action="" method="post">
<div class="post">
<li><label>用户名：</label><?php echo ($u["0"]["username"]); ?></li>
<li><label>昵&nbsp;&nbsp;称：</label><input class="tput" name="uname" type="text" value="<?php echo ($u["0"]["uname"]); ?>" /></li>
<li><label>性&nbsp;&nbsp;别：</label><select name="sex">
<?php if($ud[0][sex] == 1): ?><option value="0">男</option>
<option value="1" selected="selected">女</option>
<?php else: ?>
<option value="0" selected="selected">男</option>
<option value="1">女</option><?php endif; ?>
</select>
</li>
<li><label>生&nbsp;&nbsp;日：</label><select size="1" name="Month" id="dobMonth">
					<option value="<?php echo (bm($ud["0"]["birth"])); ?>"><?php echo (bm($ud["0"]["birth"])); ?></option>
                	<option value="1">一月</option>
                    <option value="2">二月</option>
                    <option value="3">三月</option>
                    <option value="4">四月</option>
                    <option value="5">五月</option>
                    <option value="6">六月</option>
                    <option value="7">七月</option>
                    <option value="8">八月</option>
                    <option value="9">九月</option>
                    <option value="10">十月</option>
                    <option value="11">十一月</option>
                    <option value="12">十二月</option>
                </select>
                <select size="1" name="Day" id="dobDay">
					<option value="<?php echo (bd($ud["0"]["birth"])); ?>"><?php echo (bd($ud["0"]["birth"])); ?></option>
                	<option value="01">01</option>
                    <option value="02">02</option>
                    <option value="03">03</option>
                    <option value="04">04</option>
                    <option value="05">05</option>
                    <option value="06">06</option>
                    <option value="07">07</option>
                    <option value="08">08</option>
                    <option value="09">09</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12">12</option>
                    <option value="13">13</option>
                    <option value="14">14</option>
                    <option value="15">15</option>
                    <option value="16">16</option>
                    <option value="17">17</option>
                    <option value="18">18</option>
                    <option value="19">19</option>
                    <option value="20">20</option>
                    <option value="21">21</option>
                    <option value="22">22</option>
                    <option value="23">23</option>
                    <option value="24">24</option>
                    <option value="25">25</option>
                    <option value="26">26</option>
                    <option value="27">27</option>
                    <option value="28">28</option>
                    <option value="29">29</option>
                    <option value="30">30</option>
                    <option value="31">31</option>
                </select>
                <select size="1" name="Year" id="dobYear">
					<option value="<?php echo (by($ud["0"]["birth"])); ?>"><?php echo (by($ud["0"]["birth"])); ?></option>
                	<option value="2000">2000</option>
                    <option value="1999">1999</option>
                    <option value="1998">1998</option>
                    <option value="1997">1997</option>
                    <option value="1996">1996</option>
                    <option value="1995">1995</option>
					<option value="1994">1994</option>
					<option value="1993">1993</option>
					<option value="1992">1992</option>
					<option value="1991">1991</option>
					<option value="1990">1990</option>
					<option value="1989">1989</option>
					<option value="1988">1988</option>
					<option value="1987">1987</option>
					<option value="1986">1986</option>
					<option value="1985">1985</option>
					<option value="1984">1984</option>
					<option value="1983">1983</option>
					<option value="1982">1982</option>
					<option value="1981">1981</option>
					<option value="1980">1980</option>
					<option value="1979">1979</option>
					<option value="1978">1978</option>
					<option value="1977">1977</option>
					<option value="1976">1976</option>
					<option value="1975">1975</option>
					<option value="1974">1974</option>
					<option value="1973">1973</option>
					<option value="1972">1972</option>
					<option value="1971">1971</option>
					<option value="1970">1970</option>
					<option value="1969">1969</option>
					<option value="1968">1968</option>
					<option value="1967">1967</option>
					<option value="1966">1966</option>
					<option value="1965">1965</option>
					<option value="1964">1964</option>
					<option value="1963">1963</option>
					<option value="1962">1962</option>
					<option value="1961">1961</option>
					<option value="1960">1960</option>
					<option value="1959">1959</option>
					<option value="1958">1958</option>
					<option value="1957">1957</option>
					<option value="1956">1956</option>
					<option value="1955">1955</option>
					<option value="1954">1954</option>
					<option value="1953">1953</option>
					<option value="1952">1952</option>
					<option value="1951">1951</option>
					<option value="1950">1950</option>
                </select>
</li>
<li><label>来&nbsp;&nbsp;自：</label><select name="s" id="selProvince" onChange = "getCity(this.options[this.selectedIndex].value)">
				<option value="<?php echo (sheng($ud["0"]["from"])); ?>"><?php echo (sheng($ud["0"]["from"])); ?></option>
				<option value="">-请选择-</option>
				<option value="北京市">北京市</option>
				<option value="上海市">上海市</option>
				<option value="天津市">天津市</option>
				<option value="重庆市">重庆市</option>
				<option value="河北省">河北省</option>
				<option value="山西省">山西省</option>
				<option value="内蒙古">内蒙古</option>
				<option value="辽宁省">辽宁省</option>
				<option value="吉林省">吉林省</option>
				<option value="黑龙江省">黑龙江省</option>
				<option value="江苏省">江苏省</option>
				<option value="浙江省">浙江省</option>
				<option value="安徽省">安徽省</option>
				<option value="福建省">福建省</option>
				<option value="江西省">江西省</option>
				<option value="山东省">山东省</option>
				<option value="河南省">河南省</option>
				<option value="湖北省">湖北省</option>
				<option value="湖南省">湖南省</option>
				<option value="广东省">广东省</option>
				<option value="广西">广西</option>
				<option value="海南省">海南省</option>
				<option value="四川省">四川省</option>
				<option value="贵州省">贵州省</option>
				<option value="云南省">云南省</option>
				<option value="西藏">西藏</option>
				<option value="陕西省">陕西省</option>
				<option value="甘肃省">甘肃省</option>
				<option value="宁夏">宁夏</option>
				<option value="青海省">青海省</option>
				<option value="新疆">新疆</option>
				<option value="香港">香港</option>
				<option value="澳门">澳门</option>
				<option value="台湾省">台湾省</option>
				<option value="其它">其它</option>
			</select>
			<select name="city" id="selCity">
				<option value="<?php echo (city($ud["0"]["from"])); ?>"><?php echo (city($ud["0"]["from"])); ?></option>
				<option>-城市-</option>
			</select>
</li>
<li style="padding-top:10px;"><input class="fsub" name="submit" type="submit" value="提交修改" /></li>
</div>
</form>
<!----------------------------------------------------话题列表结束---------------------------------------------------------->
	</td>
	<td width="40">&nbsp;</td>
    <td class="mrig">
<table cellspacing="0" cellpadding="0">
  <tr>
    <td>
<div class="post">
<ul>
<li><a href="/Mylist.html" target="_self"><img src="/Public/Images/mylist.jpg" /></a></li>
<li><a href="/Post.html" target="_self"><img src="/Public/Images/sub.jpg" /></a></li>
</ul>
</div>
	</td>
  </tr>
  <tr>
    <td class="gz">话题分类：</td>
  </tr>
  <tr>
    <td class="memutd">
<div class="rig_memu">
<ul>
<?php if(is_array($memu)): $i = 0; $__LIST__ = $memu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($vo["fid"] == 0): ?><li style="font-size:14px; color:#999999; width:185px; font-weight:bold; line-height:30px;"><?php echo ($vo["title"]); ?></li>
<?php else: ?>
<li style="padding-right:25px;"><a href="/Main_<?php echo ($vo["id"]); ?>.html" target="_self"><?php echo ($vo["title"]); ?></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
	</td>
  </tr>
</table>
	</td>
  </tr>
</table>

<div class="key"></div>
<div class="bottom">
Powered by <a href="http://www.niren.net" target="_blank">泥人网络</a> 版权所有 &copy; 2011-2012
</div>
</body>
</html>