<?php
	!defined('DIRCMS_MANAGE') && exit('Access Denied!');
?>
<!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>
<title>编辑会员</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="admin/template/css/style.css" />
<script type="text/javascript" src="images/js/jquery.min.js"></script>
<script src="images/js/check.func.js"></script>
<script language="javascript" type="text/javascript">
	$(document).ready(function(){
		checkForm(0);
	});
</script>
</head>
<body>
<div id="wrap">
	<div class="tab">
		<ul>
			<li><a href="javascript:void(0);" class="on">编辑会员</a></li>			
		</ul>
	</div>
	<div class="main">
	<fieldset>
		<legend>操作提示</legend>
		1：如果不想修改密码请留空；2：个人中心和黄页地址应以 http:// 开头 
	</fieldset>
	<form action="" method="post" name="myform">
	<input type="hidden" name="do_submit" value="1" />
	<input type="hidden" name="id" value="<?php echo $id;?>" />
	<table cellspacing="0" class="sub">
		<tr>
			<td width="80" align="right">会 员 名：</td>
			<td>
			<input type="text"  size="25" value="<?php echo $username;?>" readonly="1" />
			</td>
		</tr>
		<tr>
			<td width="80" align="right">会员密码：</td>
			<td>
			<input type="password" size="25" name="password" />
			<span>如果不想修改密码请留空</span>
			</td>
		</tr>
		<tr>
			<td width="80" align="right">电子邮箱：</td>
			<td>
			<input type="text" value="<?php echo $email;?>" datatype="email" size="25" name="info[email]" />
			</td>
		</tr>
		<tr>
			<td align="right">个人中心：</td>
			<td>
			<input type="text" value="<?php echo $spaceurl;?>" datatype="url" size="55" name="info[spaceurl]" />
			</td>
		</tr>
		<tr>
			<td align="right">黄页地址：</td>
			<td>
			<input type="text" value="<?php echo $companyurl;?>" datatype="url" size="55" name="info[companyurl]" />
			</td>
		</tr>
		<tr class="bg2"><td></td><td><input type="button" class="button" onclick="doSubmit(this);" value="保存修改" /> <input type="button" class="button" onclick="window.location.href='<?php echo ADMIN_FILE;?>?file=member&action=manage'" value="取消返回" /></td></tr>
	</table>
	</form>

	</div>
</div>
</body>
</html>