<!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}-->
<!--{include file=elements/header.js.html type=popbox}-->
<!--{include file=elements/header.js.html type=valid}-->
<script>
function newChineseword(){
	$.popbox({title:"新增关键词", content:popstr_search});
	$.post("index.php?r=SiteSet.addchineseword", function(str){
		$.popbox.setcontent({title:"新增关键词", content:str});
	});
}
function editChineseword(id, returnParams){
	$.popbox({title:"修改关键词", content:popstr_search});
	$.post("index.php?r=SiteSet.updatechineseword",{chinesewordId:id,returnParams:returnParams},function(str){
		$.popbox.setcontent({title:"修改关键词", content:str});
	});
}
</script>
</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;属性设置&nbsp;&gt;&nbsp;关键词屏蔽
				</div>
			</div>
			<div class="tabcontent">
				<a href="index.php?r=SiteSet.basicset" class="link">站点信息</a>
				<a href="index.php?r=SiteSet.visitset" class="link">注册和访问</a>
				<a href="index.php?r=SiteSet.chinesewordunit" class="nolink">关键词屏蔽</a>
				<a href="index.php?r=SiteSet.illegalmobileiplist" class="link">屏蔽IP列表</a>
				<a href="index.php?r=SiteSet.legalmobileiplist" class="link">手机网关IP列表</a>
			</div>
			<div id="secrightContent">
				<div class="tableContent2">
					<div class="operation">
						<button type="button" class="but2font" onClick="newChineseword()">增加</button>
						<button type="button" class="but2font" onClick="batchOperate('index.php?r=SiteSet.deletechineseword', 'recordId', 'ids', '确定删除该关键词？')">删除</button>
					</div>
					<table class="tbl_list" width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr class="thead">
							<td width="10%"><input type="checkbox" class="checkall"/></td>
							<td width="40%">关键词</td>
							<td width="40%">替换为</td>
							<td width="10%">操作</td>
						</tr>
						<!--{foreach from=$data item=data}-->
						<tr onMouseOver="chgTrColor(this)" onMouseOut="chgTrColor(this)">
							<td><input type="checkbox" class="checkid" name="recordId" id="checkone" value="<!--{$data.id}-->"></td>
							<td class="left"><!--{$data.source_keyword}--></td>
							<td class="left"><!--{$data.target_keyword}--></td>
							<td><a href="javascript:editChineseword(<!--{$data.id}-->,'<!--{$returnParams}-->')" >修改</a>&nbsp;&nbsp;</td>	
						</tr>
						<!--{/foreach}-->
						<!--{if empty($data)}--><tr><td colspan="5">没有对应数据</td></tr><!--{/if}-->					
					</table>
					<div class="operation">
						<button type="button" class="but2font" onClick="newChineseword()">增加</button>
						<button type="button" class="but2font" onClick="batchOperate('index.php?r=SiteSet.deletechineseword', 'recordId', 'ids', '确定删除该关键词？')">删除</button>
					</div>
					<div class="page"><!--{$pager}--></div>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>