<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
<script language="JavaScript">
function CheckForm()
{
	document.form1.submit();
	return true;
}

function ResetForm(){
	document.form1.reset();
}

function uploadfile(name){
	var text = $(name);
	var diag = new Dialog("Diag1");
	diag.Width = 450;
	diag.Height = 300;
	diag.Title = "上传文件";
	diag.URL = "<!--{$smarty.const.MICE_URL}-->admin.php/upload";
	diag.OKEvent = function(){
		text.value=$DW.$("fileurl").value;
		$D.close();
	};
	diag.show();
}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
	  <form action="<!--{$formaction}-->" method="post" name="form1" id="form1" onsubmit="return CheckForm()">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			
			<tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">
			  <div style="float: left;"><img src="imgs/Icons/icon021a1.gif" />我的资料</div>
			  <div style="float: right; white-space: nowrap;vertical-align:middle;"><a href='javascript:CheckForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a16.gif" /><b>保存&nbsp;</b></a><a href='javascript:ResetForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a13.gif" /><b>重置&nbsp;</b></a><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a></div>
			 </td>
            </tr>
            <tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">

<!--内容开始-->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
	<form id="form1" name="form1" action="<!--{$formaction}-->" method="post">
	<tr>
		<td width="45%" valign="top">
			<fieldset class="adminform">
				<legend>基本资料</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="430">
					<tr>
						<td width="85" class="keyred" height='20'>登录名:</td>
						<td colspan="2">
							<input name='user_id' id='user_id' type='hidden' value='<!--{$results->getUserId()}-->'>
							<input name='loginname' id='loginname' type='hidden' size='15' value='<!--{$results->getLoginname()}-->'>
							&nbsp;<!--{$results->getLoginname()}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>新密码:</td>
						<td colspan="2">
							&nbsp;<input name='pw1' id='pw1' type='password' size='17' maxlength='200' value=''>&nbsp;(不修改密码请留空)
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>确认密码:</td>
						<td colspan="2">
							&nbsp;<input name='pw2' id='pw2' type='password' size='17' maxlength='200' value=''>&nbsp;(不修改密码请留空)
						</td>
					</tr>
					<tr>
						<td width="85" class="keyred" height='20'>角色:</td>
						<td colspan="2">
							&nbsp;
							<!--{foreach from=$usergroups item=usergroup}-->
								<!--{if $usergroup->getUsergroupId()==$results->getUsergroupId()}--><!--{$usergroup->getName()}--><!--{/if}-->
							<!--{/foreach}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>昵称:</td>
						<td colspan="2">
							&nbsp;<input name='nicename' id='nicename' type='text' size='15' value='<!--{$results->getNicename()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>Email:</td>
						<td colspan="2">
							&nbsp;<input name='email' id='email' type='text' size='15' value='<!--{$results->getEmail()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>IM:</td>
						<td colspan="2">
							&nbsp;<input name='im' id='im' type='text' size='15' value='<!--{$results->getIm()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>个人网站:</td>
						<td colspan="2">
							&nbsp;<input name='url' id='url' type='text' size='15' value='<!--{$results->getUrl()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>状态:</td>
						<td colspan="2">
							&nbsp;<!--{if 0==$results->getStatus()}-->正常<!--{/if}--><!--{if 1==$results->getStatus()}-->禁止<!--{/if}-->
							</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>到期时间:</td>
						<td colspan="2">
							&nbsp;<!--{$stopdate}--></td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>积分:</td>
						<td colspan="2">
							&nbsp;<!--{$results->getPointnum()}--></td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>文章数:</td>
						<td colspan="2">
							&nbsp;<!--{$results->getPostnums()}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>注册时间:</td>
						<td colspan="2">
							&nbsp;<!--{'micefun'|Num2Time:$results->getRegdate()}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>最后登录:</td>
						<td colspan="2">
							&nbsp;<!--{'micefun'|Num2Time:$results->getLastlogindate()}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>登录IP:</td>
						<td colspan="2">
							&nbsp;<!--{$results->getLastloginip()}-->
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
		<td  width="55%" valign="top">
			<fieldset class="adminform">
				<legend>详细资料</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="430">
					<tr>
						<td width="85" class="key" height='20'>真实姓名:</td>
						<td colspan="2">
							&nbsp;<input name='realname' id='realname' type='text' size='15' value='<!--{$results->getRealname()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>头像:</td>
						<td colspan="2">
							&nbsp;<input name='headimg' id='headimg' type='text' size='15' value='<!--{$results->getHeadimg()}-->'>&nbsp;(请填写图片地址,<a href="javascript:uploadfile('headimg');"><font color="red">上传头像</font></a>)
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>性别:</td>
						<td colspan="2">
							&nbsp;<select name="sex">
								<option value='0' <!--{if 0==$results->getSex()}-->selected<!--{/if}-->>保密</option>
								<option value='1' <!--{if 1==$results->getSex()}-->selected<!--{/if}-->>男</option>
								<option value='2' <!--{if 2==$results->getSex()}-->selected<!--{/if}-->>女</option>
							</select>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>生日:</td>
						<td colspan="2">
							&nbsp;<input name="brothday" id="brothday" type="text" class="input1" value="<!--{$results->getBrothday()}-->" size="14" micetype="Date" style="font-family: Arial; font-size: 10px;" />&nbsp;(不填写生日请置零)
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>简介:</td>
						<td colspan="2">
							<!--{$editor}-->
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>电话号码:</td>
						<td colspan="2">
							&nbsp;<input name='telno' id='telno' type='text' size='15' value='<!--{$results->getTelno()}-->'>
						</td>
					</tr>
					<tr>
						<td width="85" class="key" height='20'>地址:</td>
						<td colspan="2">
							&nbsp;<input name='address' id='address' type='text' size='65' value='<!--{$results->getAddress()}-->'>
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr > 
		<td height="30" valign='middle'>
			<div id='_PageBar_buttom' class="pageBarWrap" style="padding-top:6px;clear:both;bottom:0px; height:30px; line-height:30px;"><div class="pageBar" style='float:right;font-family:Tahoma'></div><div style='float:left;font-family:Tahoma'><a href='javascript:CheckForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a16.gif" /><b>保存&nbsp;</b></a><a href='javascript:ResetForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a13.gif" /><b>重置&nbsp;</b></a><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a>&nbsp;&nbsp;<label><input type="checkbox" name="goon" id="goon" value="1">保存后继续添加</label></div></div>
		</td>
	</tr>
</table>
<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
  </form>
</table>
</body>
</html>