www.legu.cc/admin/themes/simplebootx/Api/Locationadmin/city.html
2021-09-06 11:50:33 +08:00

42 lines
1.7 KiB
HTML

<admintpl file="header" />
</head>
<body style="min-width:800px;">
<div class="wrap js-check-wrap">
<form class="js-ajax-form" action="" method="post">
<div class="table_list">
<table width="100%">
<thead>
<tr>
<td width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></td>
<td width="50">ID</td>
<td>省/直辖市</td>
<td>城市名称</td>
<td width="50"><span>状态</span></td>
</tr>
</thead>
<php>$status=array("1"=>"显示","0"=>"隐藏");</php>
<foreach name="citys" item="vo">
<tr>
<td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.city_id}" ></td>
<td>{$vo.city_id}</td>
<td>{$vo.province}</td>
<td>{$vo.city}</td>
<td>{$status[$vo['status']]}</td>
</tr>
</foreach>
</table>
<div class="p10"><div class="pages"> {$Page} </div> </div>
</div>
<div>
<div class="btn_wrap_pd">
<label class="mr20"><input type="checkbox" class="js-check-all" data-direction="y" data-checklist="js-check-y">全选</label>
<button class="btn js-ajax-submit" type="submit" data-action="{:U('Locationadmin/city_show',array('show'=>1))}" data-subcheck="true">显示</button>
<button class="btn js-ajax-submit" type="submit" data-action="{:U('Locationadmin/city_show',array('unshow'=>1))}" data-subcheck="true">隐藏</button>
</div>
</div>
</form>
</div>
<script src="__PUBLIC__/js/common.js{$js_debug}"></script>
</body>
</html>