Location: PHPKode > projects > emlog > src/admin/views/default/useredit.php
<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>
<div class=containertitle><b>修改作者资料</b>
<?php if(isset($_GET['error_login'])):?><span class="error">用户名不能为空</span><?php endif;?>
<?php if(isset($_GET['error_exist'])):?><span class="error">该用户名已存在</span><?php endif;?>
<?php if(isset($_GET['error_pwd_len'])):?><span class="error">密码长度不得小于6位</span><?php endif;?>
<?php if(isset($_GET['error_pwd2'])):?><span class="error">两次输入密码不一致</span><?php endif;?>
</div>
<div class=line></div>
<form action="user.php?action=update" method="post">
<div>
	<li>用户名</li>
	<li><input type="text" value="<?php echo $username; ?>" name="username" style="width:200px;" /></li>
	<li>昵称</li>
	<li><input type="text" value="<?php echo $nickname; ?>" name="nickname" style="width:200px;" /></li>
	<li>新密码</li>
	<li><input type="password" value="" name="password" style="width:200px;" /> (不修改请留空)</li>
	<li>重复新密码</li>
	<li><input type="password" value="" name="password2" style="width:200px;" /></li>
	<li>电子邮件</li>
	<li><input type="text"  value="<?php echo $email; ?>" name="email" style="width:200px;" /></li>
	<li>个人描述</li>
	<li><textarea name="description" rows="5" style="width:260px;"><?php echo $description; ?></textarea></li>
	<li>
	<input type="hidden" value="<?php echo $uid; ?>" name="uid" />
	<input type="submit" value="保 存" class="submit" />
	<input type="button" value="取 消" class="submit" onclick="window.location='user.php';" /></li>
</div>
</form>
<script>
setTimeout(hideActived,2600);
$("#menu_user").addClass('sidebarsubmenu1');
</script>
Return current item: emlog