<div class="headbar">
	<div class="position"><span>系统</span><span>></span><span>配送管理</span><span>></span><span>物流公司回收站</span></div>
	<div class="operating">
		<a href="javascript:;"><button class="operating_btn" type="button" onclick="window.location='{url:/system/freight_list}'"><span class="return">返回列表</span></button></a>
		<a href="javascript:void(0)" onclick="selectAll('id[]')"><button class="operating_btn" type="button"><span class="sel_all">全选</span></button></a>
		<a href="javascript:void(0)" onclick="freight_recycle_del();"><button class="operating_btn" type="button"><span class="delete">彻底删除</span></button></a>
		<a href="javascript:void(0)" onclick="freight_recycle_recover();"><button class="operating_btn" type="button"><span class="recover">还原</span></button></a>
	</div>
</div>
<div class="content">
	<form action='{url:/system/freight_recycle_del}' method='post' name='freightForm'>
		<table class="list_table">
			<colgroup>
				<col width="40px" />
				<col width="150px" />
				<col width="150px" />
				<col width="130px" />
			</colgroup>

			<thead>
				<tr>
					<th>选择</th>
					<th>物流名称</th>
					<th>url网址</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
				{set:$page= (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1;}
				{query:name=freight_company where=is_del eq 1 page=$page pagesize=20}
				<tr>
					<td><input type="checkbox" name="id[]" value="{$item['id']}" /></td>
					<td>{$item['freight_name']}</td>
					<td>{$item['url']}</td>
					<td>
						<a href="{url:/system/freight_edit/id/$item[id]}"><img class="operator" src="{skin:images/admin/icon_edit.gif}" alt="修改" /></a>
						<a href='javascript:void(0)' onclick="delModel({link:'{url:/system/freight_recycle_del/id/$item[id]}'});"><img class="operator" src="{skin:images/admin/icon_del.gif}" alt="删除" title="删除" /></a>
					</td>
				</tr>
				{/query}
			</tbody>
		</table>
	</form>
</div>
{$query->getPageBar()}
<script type="text/javascript">
function freight_recycle_del()
{
	$("form[name='freightForm']").attr('action','{url:/system/freight_recycle_del}');
	confirm('确定要彻底删除所选中的信息吗？','formSubmit(\'freightForm\')');
}
function freight_recycle_recover()
{
	$("form[name='freightForm']").attr('action','{url:/system/freight_recycle_restore}');
	confirm('确定要还原所选中的信息吗？','formSubmit(\'freightForm\')');
}
</script>