<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<!--#include file="inc/Page_cls.asp"-->
<!--#include file="../include/config.inc"-->
<%
'*****************************************
'* 软件名称 乐彼网上开店软件(56770 EShop)
'* 软件开发 http://www.56770.com
'* 版权所有 http://www.56770.com
'* 文件名称 Admin_searchwords.asp
'* 最后更新 2012-08-15 by 56770.kingdge
'*****************************************
Dim admin_flag
admin_flag=",3.11,"
include "lang/"& LangFilePath &"/lang_sys.inc"
include "lang/"& LangFilePath &"/lang_menu.inc"
include "lang/"& LangFilePath &"/lang_searchwords.inc"
CurrentId = 1
CurrentUrl = "admin_searchwords.asp"
LB_Head()
LB_Menu()
action = request("action")
%>
<div class="tabmenu mainwidth">
      <ul>
        <li <%If action <> "add" And action <> "add_ok" And action <> "update" And action <> "config" And action <> "config_ok" And action <> "unite" And action <> "unite_ok" Then Response.Write("class=""current""") End If%>><a href="Admin_searchwords.asp"><span><%=Lang_Menu(197)%></span></a></li>
        <li <%If action = "config" Or action = "config_ok" Then Response.Write("class=""current""") End If%>><a href="?action=config"><span><%=Lang_SearchWords(13)%></span></a></li>
        <li <%If action = "add" Or action = "add_ok" Then Response.Write("class=""current""") End If%>><a href="?action=add"><span><%=Lang_SearchWords(6)%></span></a></li>
        <li <%If action = "unite" Or action = "unite_ok" Then Response.Write("class=""current""") End If%>><a href="?action=unite" ><span><%=Lang_SearchWords(17)%></span></a></li>
      </ul>
</div>
<%
Response.Write("<div class=""tab-mainbody"">")
Response.Write("<div class=""tab-mainbody2"">")
If Eshop_Lebi_name="" Or instr(","&Eshop_Lebi_flag&",",admin_flag)=0 Then
	    adminflag()
Else
		If OutSubmit = 1 Then CheckOutSubmit()
		Select Case request("action")
			Case "del" : del()
			Case "update" : update()
			Case "add" : add()
			Case "add_ok" : add_ok()
			Case "edit" : edit()
			Case "edit_ok" : edit_ok()
			Case "unite" : unite()
			Case "unite_ok" : unite_ok()
			Case "config" : config()
			Case "config_ok" : config_ok()
			Case Else
				 main()
		End Select
End If
Response.Write("</div>")
Response.Write("</div>")
LB_Footer()

Sub add_ok
		If OnlyRead = 1 Then OnlyReadMessage()
        s_order=request("s_order")
		If IsNumeric(s_order)=False Then s_order=0
        set rs=server.CreateObject("adodb.recordset")
        rs.Open "select * from [Lebi_searchwords] where s_name = '"& trim(safereplace(request("s_name"))) &"'", conn, 1, 3
		If rs.eof Then 
				rs.AddNew
		End If 
		For LangT = 1 To TotalLang
				rs("s_name" & LanguageTxt(LangT))=trim(safereplace(request("s_name" & LanguageTxt(LangT))))
		Next
        rs("s_order")=s_order
        rs.Update
        rs.Close:set rs=Nothing
		ManageLog Lang_searchwords(1) &" ["& trim(safereplace(request("s_name"))) &"]"
		Call Up_mes(Lang_sys(45),"·"& Lang_sys(44),0,"?",0,0,2,1)
 End Sub

Sub edit_ok
		If OnlyRead = 1 Then OnlyReadMessage()
		id=Safereplace(trim(request("id")))
        s_order=request("s_order")
		If IsNumeric(s_order)=False Then s_order=0
        set rs=server.CreateObject("adodb.recordset")
        rs.Open "select * from [Lebi_searchwords] where s_id = "& id &"", conn, 1, 3
		For LangT = 1 To TotalLang
				rs("s_name" & LanguageTxt(LangT))=trim(safereplace(request("s_name" & LanguageTxt(LangT))))
		Next
        rs("s_order")=s_order
        rs.Update
        rs.Close:set rs=Nothing
		ManageLog Lang_searchwords(2) &" ["& trim(safereplace(request("s_name"))) &"]"
		Call Up_mes(Lang_sys(48),"·"& Lang_sys(47),0,"?",0,0,2,1)
End Sub

Sub update
        If OnlyRead = 1 Then OnlyReadMessage()
		s_id=Replace(Safereplace(trim(request("m_id")))," ","")
		s_order=Replace(Safereplace(trim(request("s_order")))," ","")
		If UBound(Split(s_id,",")) = 0 Then
                set rs=server.CreateObject("adodb.recordset")
                rs.open "select * from [Lebi_searchwords] where s_id=" &s_id, conn, 1, 3
                        rs("s_order")=s_order
                rs.update
                rs.close:set rs=Nothing
		Else
		For i = 0 To UBound(Split(s_id,","))
                set rs=server.CreateObject("adodb.recordset")
                rs.open "select * from [Lebi_searchwords] where s_id=" &Split(s_id,",")(i), conn, 1, 3
                        rs("s_order")=Split(s_order,",")(i)
                rs.update
                rs.close:set rs=Nothing
		Next
		End If
		ManageLog Lang_searchwords(3) &" ["&id&"]"
        m_u="?page=" & request("page")& "&keyword=" & request("keyword")& "&pagenum="& request("pagenum") &"&Lang="& request("lang")
		Call Up_mes(Lang_sys(69),"·"& Lang_sys(68),0,m_u,0,0,2,1)
End Sub

Sub config_ok
        If OnlyRead = 1 Then OnlyReadMessage()
		sys_searchwords = checknum(request("s_type"),0) &"|||||"
		conn.execute("update [Lebi_system] set sys_searchwords = '"& sys_searchwords &"'")
		ManageLog Lang_SearchWords(13)
		If Config_Lebi_Eshop(17)="1" Then
				Application.Contents.RemoveAll
		End If
        m_u="?action=config"
		Call Up_mes(Lang_sys(69),"·"& Lang_sys(68),0,m_u,0,0,2,1)
End Sub

Sub del
        If OnlyRead = 1 Then OnlyReadMessage()
        del_id= Replace(safereplace(Trim(request("id"))),"，",",")
		If Right(del_id,1) = "," Then del_id = Left(del_id,Len(del_id)-1)
        if del_id="" then
                response.write"<SCRIPT language=JavaScript>alert('"& Lang_sys(41) &"');javascript:history.go(-1)</SCRIPT>"
                response.end
        end if
        conn.execute "delete from [Lebi_searchwords] where s_id in("&del_id&")"
		ManageLog Lang_searchwords(4) &" ["&del_id&"]"
        m_u="?page=" & request("page")& "&keyword=" & request("keyword")& "&pagenum="& request("pagenum") &"&Lang="& request("lang")
		Call Up_mes(Lang_sys(43),"·"& Lang_sys(42),0,m_u,0,0,2,1)
End Sub

Sub unite_ok
		If OnlyRead = 1 Then OnlyReadMessage()
		Arr_s_name = Split(Replace(Trim(request("s_name")),"'","&#180;"),Chr(13)&Chr(10))
		For ii = 0 To UBound(Arr_s_name)
			set rs = server.CreateObject("adodb.recordset")
			rs.Open "select * from [Lebi_searchwords] where s_name = '"& Split(Replace(Trim(request("s_name")),"'","&#180;"),Chr(13)&Chr(10))(ii) &"'", conn, 1, 3
			If rs.eof Then 
					rs.AddNew
			End If 
			For LangT = 1 To TotalLang
					s_name = Replace(Trim(request("s_name" & LanguageTxt(LangT))),"'","&#180;")
					If s_name = "" Then s_name = Replace(Trim(request("s_name")),"'","&#180;")
					rs("s_name" & LanguageTxt(LangT))=Split(s_name,Chr(13)&Chr(10))(ii)
			Next
			rs("s_order")=UBound(Arr_s_name)+1-ii
			rs.Update
			rs.Close : set rs=Nothing
		Next 
		ManageLog Lang_SearchWords(19) &" ["& trim(safereplace(request("s_name"))) &"]"
		Call Up_mes(Lang_sys(45),"·"& Lang_sys(44),0,"?",0,0,2,1)
End Sub

Sub unite()
%>
<script type="text/javascript">
function CheckForm(theform)
{
	if (CheckEmpty('s_name')){ShowMessage('s_name','<%=Lang_searchwords(5)%>');return false;}
}
</script>
<script language=JavaScript src="inc/js/dialog.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable">
<form name="form2" method="post" action="?action=unite_ok" onSubmit="return CheckForm(this);">
<tr>
	<td height="30" align="left" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td class="classhead" align="right">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
   <td class="classtop" colspan="2" height="30"><%=Lang_searchwords(6)%></td></tr>
<tr>
<td class="classbg" colspan="2">
<ul id="tablist">
   <%For LangT = 1 To TotalLang%>
   <li<%If LangT = 1 Then response.write(" class=""selected""") End If%>><a rel="tcontent<%= LangT %>" style="CURSOR:hand;"><%= LanguageName(LangT) %></a></li>
   <%Next%>
</ul>
<div id="tabcontentcontainer">
<%For LangT = 1 To TotalLang%>
   <div id="tcontent<%= LangT %>" class="tabcontent">
   <table cellspacing="0" cellpadding="4" width="100%" border="0" id="classtable_<%= LangT %>">
	<tr class="classrow">
	<td width="15%" height="30" class="classrow" valign="top"><%=Lang_searchwords(7)%></td>
	<td width="85%" class="classrow">
	<textarea id="s_name<%= LanguageTxt(LangT) %>" name="s_name<%= LanguageTxt(LangT) %>" cols="30" rows="10" class="text"></textarea>
	<img src="images/help.gif" onmouseover="showhintinfo(this,0,0,'','<%=Lang_SearchWords(18)%>','50','up');" onmouseout="hidehintinfo();" /> <span id="mes_s_name<%= LanguageTxt(LangT) %>"></span><br />
	<a href="javascript:u_Size(-5,'s_name<%= LanguageTxt(LangT) %>')"><img src="lang/<%=LangFilePath%>/images/tab/bt_close.gif" alt="<%=Lang_sys(12)%>" /></a>
	<a href="javascript:u_Size(5,'s_name<%= LanguageTxt(LangT) %>')"><img src="lang/<%=LangFilePath%>/images/tab/bt_open.gif" alt="<%=Lang_sys(22)%>" /></a>
	</td>
	</tr>
	</table>
	</div>
	<script>tdshow("classtable_<%= LangT %>");</script>
<%Next%>
</div>
<script>showtabcontent("tablist")</script>
</td>
</tr>
<tr class="classfooter">
  <td height="30" colspan="2" align="left" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
</form>
</table>
<%
End Sub

Sub add()
%>
<script type="text/javascript">
function CheckForm(theform)
{
	if (CheckEmpty('s_name')){ShowMessage('s_name','<%=Lang_searchwords(5)%>');return false;}
}
</script>
<script language=JavaScript src="inc/js/dialog.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable">
<form name="form2" method="post" action="?action=add_ok" onSubmit="return CheckForm(this);">
<tr>
	<td height="30" align="left" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td class="classhead" align="right">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
   <td class="classtop" colspan="2" height="30"><%=Lang_searchwords(6)%></td></tr>
<tr>
<td class="classbg" colspan="2">
<ul id="tablist">
   <%For LangT = 1 To TotalLang%>
   <li<%If LangT = 1 Then response.write(" class=""selected""") End If%>><a rel="tcontent<%= LangT %>" style="CURSOR:hand;"><%= LanguageName(LangT) %></a></li>
   <%Next%>
</ul>
<div id="tabcontentcontainer">
<%For LangT = 1 To TotalLang%>
   <div id="tcontent<%= LangT %>" class="tabcontent">
   <table cellspacing="0" cellpadding="4" width="100%" border="0" id="classtable_<%= LangT %>">
	<tr class="classrow">
	<td width="15%" height="30" class="classrow"><%=Lang_searchwords(7)%></td>
	<td width="85%" class="classrow">
	<input type="text" name="s_name<%= LanguageTxt(LangT) %>" id="s_name<%= LanguageTxt(LangT) %>" size="20" class="form"> <span id="mes_s_name<%= LanguageTxt(LangT) %>"></span>
	</td>
	</tr>
	</table>
	</div>
	<script>tdshow("classtable_<%= LangT %>");</script>
<%Next%>
</div>
<script>showtabcontent("tablist")</script>
<ul id="tablistmain">
   <li class="selected"><a rel=""><%=Lang_sys(66)%></a></li>
</ul>
<div id="tabcontentcontainer">
<table cellspacing="0" cellpadding="4" width="100%" border="0" id="classtable">
<tr class="classrow">
<td width="15%" height="30" class="classrow"><%=Lang_searchwords(8)%></td>
<td width="85%" class="classrow">
<input type="text" name="s_order" size="5" value="1" class="form">
</td>
</tr>
</table>
</div>
<script>tdshow("classtable");</script>
</td>
</tr>
<tr class="classfooter">
  <td height="30" colspan="2" align="left" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
</form>
</table>
<%
End Sub

Sub edit()
Id = checknum(request("id"),0)
sql = "select * from [Lebi_searchwords] where s_id = "& id &""
set Rs = conn.execute(sql)
if Not (rs.eof and rs.bof) then
%>
<script language="JavaScript" type="text/JavaScript">
function CheckForm(theform)
{
	if (CheckEmpty('s_name')){ShowMessage('s_name','<%=Lang_searchwords(5)%>');return false;}
}
</script>
<script language=JavaScript src="inc/js/dialog.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable">
<form name="form1" method="post" action="?action=edit_ok" onSubmit="return CheckForm(this);">
<tr>
	<td height="30" align="left" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"><input type="hidden" name="id" value="<%=id%>"></td>
	<td class="classhead" align="right">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
   <td class="classtop" colspan="2" height="30"><%=Lang_searchwords(9)%></td></tr>
<tr>
<td class="classbg" colspan="2">
<ul id="tablist">
   <%For LangT = 1 To TotalLang%>
   <li<%If LangT = 1 Then response.write(" class=""selected""") End If%>><a rel="tcontent<%= LangT %>" style="CURSOR:hand;"><%= LanguageName(LangT) %></a></li>
   <%Next%>
</ul>
<div id="tabcontentcontainer">
<%For LangT = 1 To TotalLang%>
   <div id="tcontent<%= LangT %>" class="tabcontent">
   <table cellspacing="0" cellpadding="4" width="100%" border="0" id="classtable_<%= LangT %>">
	<tr class="classrow">
	<td width="15%" height="30" class="classrow"><%=Lang_searchwords(7)%></td>
	<td width="85%" class="classrow">
	<input type="text" name="s_name<%= LanguageTxt(LangT) %>" id="s_name<%= LanguageTxt(LangT) %>" value="<%= rs("s_name"& LanguageTxt(LangT)) %>" size="20" class="form"> <span id="mes_s_name<%= LanguageTxt(LangT) %>"></span>
	</td>
	</tr>
	</table>
	</div>
	<script>tdshow("classtable_<%= LangT %>");</script>
<%Next%>
</div>
<script>showtabcontent("tablist")</script>
<ul id="tablistmain">
   <li class="selected"><a rel=""><%=Lang_sys(66)%></a></li>
</ul>
<div id="tabcontentcontainer">
<table cellspacing="0" cellpadding="4" width="100%" border="0" id="classtable">
<tr class="classrow">
<td width="15%" height="30" class="classrow"><%=Lang_searchwords(8)%></td>
<td width="85%" class="classrow">
<input type="text" name="s_order" value="<%=rs("s_order")%>" size="5" value="1" class="form">
</td>
</tr>
</table>
</div>
<script>tdshow("classtable");</script>
</td>
</tr>
<tr class="classfooter">
  <td height="30" colspan="2" align="left" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
</form>
</table>
<%
End If
rs.close : Set rs = Nothing
End Sub

Sub main
		page = checknum(request("page"),1)
		pagenum = CheckNum(request("pagenum"),15)
		keyword = safereplace(Trim(request("keyword")))
		lang = safereplace(request("lang"))
		If lang = "" Then lang = LanguageTxt(0)
		Dim ors
		Set ors=new Cls_vbsPage
		Set ors.Conn=conn
		With ors
		.PageSize=pagenum
		.PageName="Page"
		If IsSqlDataBase = 0 Then
				.DbType="AC"
		Else
				.DbType="MSSQL"
		End If
		.RecType=-1
		.Pkey="s_id"
		.Field="s_id,s_name"& lang &",s_order"
		.Table="[Lebi_searchwords]"
		sql = "1=1"
		If keyword <> "" Then sql = sql &" and (s_name"& lang &" like '%"& keyword &"%')"
		.Condition=sql
		.OrderBy="s_order desc,s_id desc"
		End With
		DataCount=ors.RecCount()
		DataList=ors.ResultSet()
%>
<script>
function todel()
{

   var i = 0;
   var chkArr = document.getElementsByTagName("input");
   var page = document.getElementById("page").value;
   var lang = document.getElementById("lang").value;
   var keyword = document.getElementById("keyword").value;
   var pagenum = document.getElementById("pagenum").value;
   var param = "";
   for (i=0;i<chkArr.length;i++)
   if (chkArr[i].checked)
   param+=chkArr[i].value +",";
   if (param.length == 0)
   {
       alert("<%=Lang_sys(41)%>");
   }else{
       if(window.confirm("<%=Lang_sys(64)%>")){
           location="?action=del&id="+param+"&keyword="+escape(keyword)+"&lang="+lang+"&pagenum="+pagenum+"&page="+page;
       }else return;
   }
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable-top">
<tbody>
<tr>
<form method="get" action="?">
<td height="30" align="left" class="classhead">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<select name="lang">
<option value="" selected>┌ <%=Lang_sys(67)%></option>
<%For LangT = 1 To TotalLang%>
<option value="<%= LanguageTxt(LangT) %>"<%=judge2(LanguageTxt(LangT),Lang)%>>├ <%= LanguageName(LangT) %></option>
<%Next%>
</select>
</td>
<td style="padding-left:5px;">
<input name="keyword" type="text" class="form_query" size="15"><input name="Submit" type="submit" value="" title="<%=Lang_sys(25)%>" align="absmiddle" class="btn_query"><input type="hidden" name="pagenum" value="<%= pagenum %>">
</td>
</tr>
</table>
</td>
</form>
<td align="right" class="classhead">
<%=QuickMenu("Admin_cslist.asp|"& Lang_Menu(85) &"","")%>
</td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="classtable" class="classtable2">
<tbody>
<form name="form1" method="post" action="?">
<tr>
  <td colspan="2" height="30" align="left" class="classhead">
     <input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">
     <input type="image" border="0" title=" <%=Lang_sys(15)%> " onclick="location.href='javascript:todel();';return false;" src="lang/<%=LangFilePath%>/images/bt_delete.gif" align="absmiddle">
	 <input type="hidden" name="page" id="page" value=<%=page%>>
	 <input type="hidden" name="keyword" id="keyword" value="<%=keyword%>">
	 <input type="hidden" name="lang" id="lang" value="<%=lang%>">
	 <input type="hidden" name="pagenum" id="pagenum" value="<%= pagenum %>">
	 <input type="hidden" name="action" value="update">
  </td>
  <td colspan="3" class="classhead" align="right"><%=ors.ShowPageHead(page)%></td>
 </tr>
<tr>
<td class="classtop" width="5%" height="30" title="<%=Lang_sys(4)%>" style="cursor:pointer;" onclick="location.href='javascript:selectall();';return false;"><%=Lang_sys(50)%></td>
<td class="classtop" width="20%"><%=Lang_searchwords(10)%></td>
<td class="classtop" width="55%">&nbsp;</td>
<td class="classtop" width="10%"><%=Lang_searchwords(11)%></td>
<td class="classtop" width="10%"><%=Lang_searchwords(12)%></td>
</tr>
<%
If DataCount >0 Then
		For i = 0 To Ubound(DataList,2)
%>
<tr class="classrow">
<td height="30" class="classrow"><input name="id" type="checkbox" value="<%=DataList(0,i)%>"><input name="m_id" type="hidden" value="<%=DataList(0,i)%>"></td>
<td colspan="2" class="classrow"><%=DataList(1,i)%></td>
<td class="classrow"><input name="s_order" type="text" id="s_order" value=<%=DataList(2,i)%> size="3" class="form"></td>
<td class="classrow"><a href="?action=edit&id=<%=DataList(0,i)%>"><img src="images/icon_edit.gif" width="16" height="16" title=" <%=Lang_sys(51)%> " border="0"></a></td>
</tr>
<%
        Next
End If
%>
</form>
<tr>
	<td height="30" class="classfooter" colspan="2"><%=GetPageNum(15,pagenum)%></td>
	<td height="30" class="classfooter" align="right" colspan="3"><%=ors.ShowPageFoot(page)%></td>
</tr>
</table>
<script>tdshow("classtable");</script>
<%End Sub
Sub config()
set Rs = conn.execute("select sys_searchwords from [Lebi_system]")
sys_searchwords = rs(0)
rs.close : Set rs = Nothing 
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable" id="config">
<form name="form1" method="post" action="?action=config_ok">
<tr>
	<td height="30" align="left" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td class="classhead" align="right">
	<%=QuickMenu("","")%>
	</td>
 </tr>
<tr>
   <td class="classtop" colspan="2" height="30"><%=Lang_searchwords(13)%></td></tr>
<tr>
<tr class="classrow">
<td width="15%" height="30" class="classrow"><%=Lang_searchwords(14)%></td>
<td width="85%" class="classrow">
<input type="radio" name="s_type" value="0" <%=judge(Split(sys_searchwords,"|")(0),0)%>><%=Lang_searchwords(15)%>
<input type="radio" name="s_type" value="1" <%=judge(Split(sys_searchwords,"|")(0),1)%>><%=Lang_searchwords(16)%>
</td>
</tr>
<tr class="classfooter">
  <td height="30" colspan="2" align="left" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_sys(1)%> " title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" border="0" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
</form>
</table>
<script>tdshow("config");</script>
<%
End Sub
%>