<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="admin_search_searchinfoitem, localhost_deploy" %>
<%@ Register Src='../../common/formitem.ascx' TagName='formitem' TagPrefix='uc1' %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>自定义搜索信息编辑页</title>
<link href='/admin/common/client.css' rel='stylesheet' type='text/css' />
<style type="text/css">
#itemtable #trS_XML{
display:none
}

#itemtable input#S_Count{
width:80px;
}
</style>
</head>
<body onload="LoadBody()">
<br />
<%
	Formitem.Table="Sys_SearchInfo";
	Formitem.Head="自定义搜索信息";
	Formitem.Action="";
	//Formitem.Target="_blank";
	
	Formitem.AddOther("@@Csharp.SetInputHidden('S_CID','##Table[\"Sys_SearchInfo\"].S_CID##')@@");
	Formitem.AddItem("<tr><td class=\"tright\">标题：</td><td><span id='spntitle'>"+GetTitle(Formitem["S_CID"])+"</span> &nbsp;<input type=\"button\" class=\"button\" value=\"选择\" onclick=\"GetTitle()\" /><br />每次只能选择一条内容。<span class=\"red\" id=\"spn_S_CID\"></span></td></tr>");
	
	
	Formitem.AddItem("@@Csharp.SetInputText('信息数量','S_Count','"+Formitem.ChooseValue("@@Table[\"Sys_SearchInfo\"].S_Count@@","1")+"','3','true',' <input type=\"button\" class=\"button\" value=\"生成\" onclick=\"BuildTable()\" />"+GetTip("45-1")+"')@@");
	Formitem.AddItem("@@Csharp.SetTextArea('XML','S_XML','##Table[\"Sys_SearchInfo\"].S_XML##','10','false','')@@");
	
%>	
<uc1:formitem ID='Formitem' runat='server' />
<div id="div452" class="nodsp"><%=GetTip("45-2")%></div>
<div id="div453"  class="nodsp"><%=GetTip("45-3")%></div>
<script type="text/javascript" src="/common/popwindow.js" charset="utf-8"></script>
<script type="text/javascript" src="searchinfoitem.js" charset="utf-8"></script>
</body>
</html>   
