<{import file="index/header.html"}> 
<div class="cnav"><a href="javascript:;" class="back">编辑店铺</a></div> 
<div class="main"> 
	<form id="form" action="<{$__ADMIN__}>shop/save" method="post"> 
		<{if $row.id}><input type="hidden" name="id" value="<{$row.id}>" size="32"><{/if}>
		<table class="etable"> 
			<tr>
				<td width="100">登录账号：</td>
				<td><input type="text" name="mobile" value="<{$row.mobile}>" size="32"<{if $row.id}> disabled="true"<{/if}>>
					<i>填写手机号码</i><p>已经注册的会开通，没有注册的会注册并开通。</p></td>
			</tr>
			<{if !$row.id}>
				<tr class="password">
					<td>登录密码：</td>
					<td><input type="password" name="password" value="" size="32"/><i>开通需要填写</i></td>
				</tr>
			<{/if}>	
			<tr>
				<td>店铺名：</td>
				<td><input type="text" name="name" value="<{$row.name}>" size="32"></td>
			</tr>
			<tr>
				<td>分成比例：</td>
				<td><input type="text" name="ratio" value="<{$row.ratio}>" size="32"></td>
			</tr>
			<tr>
				<td>店铺类型：</td>
				<td>
					<label><input type="radio" name="type" value="1" <{if $row.type == '1' || $row.type == ''}>checked="checked"<{/if}>/>个人</label> 
					<label><input type="radio" name="type" value="2" <{if $row.type == '2'}>checked="checked"<{/if}>/>企业</label>
				</td>
			</tr>
			<tr>
				<td>保证金：</td>
				<td>
					<label><input type="radio" name="bond" value="1" <{if $row.bond == '1' || $row.bond == ''}>checked="checked"<{/if}>/>已交</label> 
					<label><input type="radio" name="bond" value="0" <{if $row.bond == '0'}>checked="checked"<{/if}>/>未交</label> 
				</td>
			</tr> 
			<tr>
				<td>状态：</td>
				<td>
					<label><input type="radio" name="status" value="1" <{if $row.status == '1' || $row.status == ''}>checked="checked"<{/if}>/>开启</label> 
					<label><input type="radio" name="status" 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>
<{import file="index/footer.html"}>
<script type="text/javascript"> 
function ckuser(name, url){
	parent.dialog(name, url, 440); 
} 
function ajax_submit(){
	alert('s');
} 
</script>