<!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>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<title><tpl> $langCShopNCSystem </tpl></title>
<tpl>include file ='sys_head_config.html'</tpl>
</head>
<body>
<div class="tabbar">
  <ul class="tab_btns" id="COPYYH2">
    <li class="current"><a href="shopentity.manage.php?action=list"><span><tpl> $langSysEntityShopAttestation </tpl></span></a></li>
  </ul>
	<div class="tab_notes" id="copyyh0">
		<ul class="notesbg block"><span><h4><tpl> $langSysEntityShopSubmitApply </tpl></h4></span></ul>
	</div>
	<!-- 显示提示信息 -->
	<div id="message"></div>
	<!-- 显示提示信息end -->
</div>
<div id="product-help" class="admincp_form" >
<form action="shop.manage.php" method="post" id="form_p_list" style="line-height:25px; margin-bottom:20px">
		<table style="margin-left:10px;" border="0" cellpadding="0"  class="from_table2">
		 <tr>
	     <th width="150" height="30" align="left" valign="middle"><tpl> $langSysEntityShopAttestationEstate </tpl>：</th><td width="530" align="left">

	      <select name="audit_state" onchange="ajax_change(this.value)">
				
				<option value="1"><tpl> $langCApplying </tpl></option>
				<option value="2"><tpl> $langCApplyPass </tpl></option>
				<option value="3"><tpl> $langCApplyRefuse </tpl></option>
		</select>
</td>
 		</tr>
</table> </form>
<div id="result_content">
			<span class="zhl_shop"><p><tpl> $langSysCToLoading </tpl></p>
	<img src="../templates/system_new/images/rel_interstitial_loading.gif" />
	</span>
</div>
</div>
<!-- 帮助菜单 -->
<tpl> include file='sys_right_help.html' </tpl>
<!-- 帮助菜单END -->
</body>
</html>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
	//载入页面	
	ShowDiv = 'result_content';
	getPageContent('shopentity.manage.php?action=ajax_list&audit_state=1');
	
	//搜索	
	var options = {
		beforeSubmit:  function(){showLoading(showSaveText);},
		success:       function(msg){
							hideLoading();
							$('#result_content').html(msg);
						},
		type:      'post',
		dataType:  'html'
	};
	
	//对添加表单做的验证定义
	$("#form_p_list").validate({
		errorClass: "wrong",
		rules: {
		},
		messages: {
		},
		submitHandler: function() {
			$('#form_p_list').ajaxSubmit(options);
		}
	});
})

function ajax_change(audit_state){
	hideMessage();
	ShowDiv = "result_content";
	getPageContent('shopentity.manage.php?action=ajax_list&audit_state='+audit_state);
	
}

</script>