<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_edit}'"><span class="addition">添加物流公司</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="delModel();"><button class="operating_btn" type="button"><span class="delete">批量删除</span></button></a>
		<a href="javascript:void(0)"><button class="operating_btn" type="button" onclick="location.href='{url:/system/freight_recycle}'"><span class="recycle">回收站</span></button></a>
	</div>
</div>
<div class="content">
	<form action='{url:/system/freight_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 0 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_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()}
