<{include file="index/header.html"}>
<!--datapiker-->
<script src="<{$__PUBLIC__}>laydate/laydate.js"></script>
<link href="<{$__PUBLIC__}>laydate/need/laydate.css" rel="stylesheet" type="text/css"> 
<link href="<{$__PUBLIC__}>laydate/skins/default/laydate.css" rel="stylesheet" type="text/css"> 
<!--data end--->
<style type="text/css">
.tab{ width:100%; float:left; border:none; border-left:1px solid #efefef; border-bottom:1px solid #efefef; margin:10px 0 10px 0px;}
.tab a{ border:1px solid #efefef; border-left:none; border-bottom:none; background:#f8f8f8; padding:5px 16px; float:left;}
.tab a.ch{ background:#FFFFFF;} 
span{ float:left; padding:5px 8px 5px 0;}
</style>
<div class="cnav"><a href="javascript:;" class="back">店铺审核</a></div>  
<div class="main"> 
	<form action="?m=shop&a=auth_submit" method="post">
		<input type="hidden" name="id" value="<{$row.id}>"/>
		<table class="etable" width="100%"> 
			<tr>
				<td width="150">审核状态：</td>
				<td>
					<label><input type="radio" name="status" value="1" <{if $row.status == '1'}>checked="checked"<{/if}>/>审核通过</label>
					<label><input type="radio" name="status" value="2" <{if $row.status == '2'}>checked="checked"<{/if}>/>审核不通过</label> 
				</td>
			</tr>
			<tr>
				<td>申请时间：</td>
				<td><{$row.apply_time|date_format:'%Y-%m-%d %H:%M:%S'}>'</td>
			</tr> 
			<tr>
				<td valign="top">不通过原因：</td>
				<td><textarea name="auth_reason" cols="60" rows="3"><{$row.auth_reason}></textarea></td>
			</tr> 
			<tr>
				<td>&nbsp;</td>
				<td><input name="submit" type="submit" id="submit" value="提交"/></td>
			</tr> 
		</table>  
	</form>
	<table width="100%" class="etable"> 
		<tr>
			<td colspan="2" style="background:#f8f8f8; padding:0 0 0 10px; text-align:left; font-weight:bold;">申请类型</td> 
		</tr> 
		<tr>
			<td style="width:150px">申请类型：</td>
			<td><{if $row.shop_type == '1'}>个人<{else}>企业<{/if}></td>
		</tr> 
		<tr>
			<td colspan="2" style="background:#f8f8f8; padding:0 0 0 10px;text-align:left; font-weight:bold;"><{if $row.shop_type == '2'}>企业法人/经办人<{else}>个人身份证<{/if}></td> 
		</tr> 
		<tr>
			<td>证件持有人姓名：</td>
			<td><{$row.id_name}></td>
		</tr> 
		<tr>
			<td>证件类型：</td>
			<td> 
				<{uqcms m="category" c="common:card_type" v="id_type"}>
				<select name="id_type" id="id_type">
					<{foreach item=i key=k from=$id_type}>		
						<option value="<{$k}>" <{if $k == $row.id_type}>selected="selected"<{/if}>><{$i}></option>  
					<{/foreach}>	
				</select>	
			</td>
		</tr> 
		<tr>
			<td>证件号码：</td>
			<td><{$row.id_code}></td>
		</tr>
		<tr>
			<td valign="top">证件（正面）：</td>
			<td><{if $row.id_img_up}><img src="<{$__IMG__}><{$row.id_img_up|img_size:100x100}>" width="100"><{/if}></td>
		</tr>
		<tr>
			<td valign="top">证件（正面）：</td>
			<td><{if $row.id_img_down}><img src="<{$__IMG__}><{$row.id_img_down|img_size:100x100}>" width="100"><{/if}></td>
		</tr> 
		<tr>
			<td valign="top">手持证件照片：</td>
			<td><{if $row.holder_img}><img src="<{$__IMG__}><{$row.holder_img|img_size:100x100}>" width="100"><{/if}></td>
		</tr> 
	<{if $row.shop_type == '2'}>		
		<tr>
			<td colspan="2" style="background:#f8f8f8; padding:0 0 0 10px; text-align:left; font-weight:bold;">营业执照</td> 
		</tr> 
		<tr>
			<td>营业执照注册号：</td>
			<td><{$row.license_code}></td>
		</tr> 
		<tr>
			<td>经营范围：</td>
			<td><{$row.license_range}></td>
		</tr> 
		<tr>
			<td>营业期限：</td>
			<td>
				<span><{$row.license_start_time}></span>
				<span>至</span> 
				<span><{if $row.license_long_time == '1'}>长期<{else}><{$row.license_end_time}><{/if}></span>
			</td>
		</tr> 
		<tr>
			<td style="padding-top:6px;" valign="top">营业执照影印件：</td>
			<td><{if $row.license_img}><img src="<{$__IMG__}><{$row.license_img}>" width="100"><{/if}></td>
		</tr> 
	<{/if}>		
	</table>  
</div>
<{include file="index/footer.html"}>
<script type="text/javascript">
laydate({ elem: '#license_start_time', event: 'focus' });
laydate({ elem: '#license_end_time', event: 'focus' });
laydate({ elem: '#organization_start_time', event: 'focus' });
laydate({ elem: '#organization_end_time', event: 'focus' }); 
</script>