<{include file="index/header.html"}> 
<div class="cnav"><a href="javascript:;" class="back">编辑<{if $smarty.get.shop == '1'}>商户<{else}>用户<{/if}></a></div> 
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>商家和用户的入口为统一入口，如不选取商家则不开通商家，选择开通商家，则会自动创建店铺。</p>
	</div> 
</div>
<div class="main"> 
	<form action="?m=member&a=edit_save" method="post"> 
		<{if $row.uid}><input type="hidden" name="uid" value="<{$row.uid}>" size="32"><{/if}>
		<table width="100%" class="etable"> 
			<tr>
				<td width="100">手机账号：</td>
				<td><input type="text" value="<{$row.mobile}>" size="32" name="mobile"></td>
			</tr>
			<tr>
				<td>昵称：</td>
				<td><input type="text" name="nick" size="32" value="<{$row.nick}>"/></td>
			</tr> 
			<tr>
				<td>电子邮箱：</td>
				<td><input type="text" name="email" value="<{$row.email}>" size="32"></td>
			</tr>  
			<tr>
				<td>新密码：</td>
				<td><input type="password" name="password" size="32" value=""/><i>不填则不修改</i></td>
			</tr>
			<tr>
				<td>确认密码：</td>
				<td><input type="password" name="repasswd" size="32" value=""/><i>不填则不修改</i></td>
			</tr>
			<{if $smarty.get.shop == '1'}>
				<tr>
					<td width="100">创建店铺：</td>
					<td><label><input name="create_shop" type="radio" value="1" checked="checked"/>创建</label></td>
				</tr>
				<tr>
					<td width="100">店铺名称：</td>
					<td><input type="text" value="" size="32" name="spname"></td>
				</tr>
			<{/if}>
			<tr>
				<td>状态：</td>
				<td>
					<label><input name="status" type="radio" value="1" <{if $row.status == '1' || $row.status == ''}>checked="checked"<{/if}>/>开启</label> 
					<label><input name="status" type="radio" value="0" <{if $row.status == '0'}>checked="checked"<{/if}>/>冻结</label> 
				</td>
			</tr> 
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" name="submit"  value="确认"/></td>
			</tr> 
		</table> 
	</form>	
</div>
<{include file="index/footer.html"}>