{*<?php exit();?>*}
<div class="block">
	<div class="head"><span>标题设置</span></div>
	<div class="main">
		<form id="form_edit_title" method="post" action="?/site/">
			<input name="cmd" type="hidden" value="edit_title" />
			<table class="table sheet">
				<tr>
					<td><b>位置标志</b></td>
					<td><b>标题</b></td>
					<td><b>优先级</b></td>
					<td><b>操作</b></td>
				</tr>
				{foreach from=$title name=title item=item}
				<tr>
					<td><input name="site[]" type="text" class="text" maxlength="50" value="{$item.site}" /></td>
					<td><input name="title[]" type="text" class="text" maxlength="150" value="{$item.title}" /></td>
					<td><input name="priority[]" type="text" class="text" maxlength="150" value="{$item.priority}" /></td>
					<td><input name="id[]" type="hidden" value="{$item.id}" /><span class="span_bt" onClick="del('varia|{$item.id}')">[删除]</span></td>
				</tr>
				{/foreach}
				<tr>
					<td class="bt_row" colspan="4">
						<div class="bt_row">
							<input class="button" type="submit" value="修改" />
							<input class="button" type="button" onClick="jump('?/site/mod-title_add/')" value="添加" />
						</div>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>