<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title><!--{$UUDEV_PAGE_TITLE}--></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--{include file=elements/header.css.html}-->
<!--{include file=elements/header.js.html type=common}-->
</head>
<body>
<div id="outside">
	<!--{include file=frame/top.html}-->
	<div id="mainareaContent">
		<!--{include file=frame/left.html}-->
		<div id="rightContent">
			<div id="topContent">
				<div class="sitmap">
					<span class="r"><!--{include file="elements/uuadvad.html"}--></span>网站管理&nbsp;&gt;&nbsp;自定义标签
				</div>
			</div>
			<div id="secrightContent">
				<div class="tableContent2">
					<form name="searchForm" action="index.php" method="get" onSubmit="setDisabled('button', window.document);">
						<input type="hidden" name="r" value="tags"/>
						<div class="searchbar">
							标签说明&nbsp;<input type="text" class="text" name="tags" value="<!--{$tags}-->"/>
							&nbsp;<button type="submit" class="but2font">查询</button>
						</div>
					</form>
					<div class="operation">
						<button type="button" class="but2font" onclick="window.location.href='index.php?r=Tags.add&returnParams=<!--{$returnParams}-->'">新增</button>
						<button type="button" class="but2font" onclick="batchOperate('index.php?r=Tags.delete&returnParams=<!--{$returnParams}-->', 'recordId', 'ids', '删除之后，信息无法恢复，是否确定删除？')">删除</button>
					</div>
					<table class="tbl_list" width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr class="thead">
							<td width="5%"><input type="checkbox" class="checkall"/></td>
							<td width="10%">UBB标签</td>
							<td width="10%">标签说明</td>
							<td width="25%">内容</td>
							<td width="10%">时间</td>
							<td width="10%">操作</td>
						</tr>
						<!--{foreach from=$data item=item name=list}-->
						<tr onMouseOver="chgTrColor(this)" onMouseOut="chgTrColor(this)">
							<td><input type="checkbox" name="recordId" value="<!--{$item.id}-->"/></td>
							<td>[tags_<!--{$item.id}-->]</td>
							<td><!--{$item.title}--></td>
							<td><!--{$item.content|cutstrCN:"0":"200"}--></td>
							<td><!--{$item.create_date|date_format:"%Y-%m-%d"}--></td>
							<td><a href="index.php?r=Tags.edit&id=<!--{$item.id}-->&returnParams=<!--{$returnParams}-->">修改</a></td>
						</tr>
						<!--{foreachelse}-->
						<tr><td colspan="9">没有对应数据</td></tr>
						<!--{/foreach}-->
					</table>
					<div class="operation">
						<button type="button" class="but2font" onclick="window.location.href='index.php?r=Tags.add&returnParams=<!--{$returnParams}-->'">新增</button>
						<button type="button" class="but2font" onclick="batchOperate('index.php?r=Tags.delete&returnParams=<!--{$returnParams}-->', 'recordId', 'ids', '删除之后，信息无法恢复，是否确定删除？')">删除</button>
					</div>
					<div class="page"><!--{$pager}--></div>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>