<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<!--#include file="../include/Config.inc"-->
<%
'*****************************************
'* 软件名称 乐彼网上开店软件(56770 eshop)
'* 软件开发 http://www.56770.com
'* 版权所有 http://www.56770.com
'* 文件名称 admin_html_lan1.asp
'* 最后更新 2013-09-26 by 56770.kingdge
'*****************************************
admin_flag=",12.6,"
include "lang/"& LangFilePath &"/lang_sys.inc"
include "lang/"& LangFilePath &"/lang_menu.inc"
include "lang/"& LangFilePath &"/lang_html.inc"
CurrentId = 7
CurrentUrl = "admin_html.asp"
LB_Head()
LB_Menu()
action = request("do")
%>
<div class="tabmenu mainwidth">
      <ul>
        <li <%If action = "" Or action = "type_ok" Then Response.Write("class=""current""") End If%>><a href="admin_html.asp"><span><%=Lang_Menu(181)%></span></a></li>
        <li <%If action = "html" Then Response.Write("class=""current""") End If%>><a href="admin_html.asp?do=html"><span><%=Lang_Menu(183)%></span></a></li>
		<li <%If action = "config" Or action = "config_ok" Then Response.Write("class=""current""") End If%>><a href="admin_html.asp?do=config"><span><%=Lang_Menu(182)%></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
        server.scripttimeout =99999
        select case action
			   case "html" html_save()
		end select
end If
Response.Write("</div>")
Response.Write("</div>")
LB_Footer()

function loadfile(strfile)
		dim strtemppath,objfso,objstm
		strtemppath = server.mappath(strfile)
		set objfso = server.createobject("scripting.filesystemobject")
		set objstm = server.createobject("adodb.stream")
			if objfso.fileexists(strtemppath) then
				objstm.charset = "utf-8"
				objstm.open
				objstm.loadfromfile strtemppath
				loadfile = objstm.readtext
			end if
		set objstm = nothing
		set objfso = nothing
end function

sub html_save()
		set rs = conn.execute("select top 1 id from [lebi_news] order by id asc")
		if not rs.eof then
				news_detail_startid = rs(0)
		else
				news_detail_startid = 0
		end if
		rs.close : set rs = nothing
		set rs = conn.execute("select top 1 id from [lebi_news] order by id desc")
		if not rs.eof then
				news_detail_endid = rs(0)
		else
				news_detail_endid = 0
		end if
		rs.close:set rs=nothing
		html_news_default_zt="<iframe frameborder=0 width='100%' height=20 scrolling=no src='plugin/tohtml_lan1/_html_news.asp'></iframe>"
		set rs = conn.execute("select top 1 classid from [lebi_newsclass] order by classid asc")
		If Not rs.eof Then
				news_list_nextc_id = rs(0)
		End If
		rs.close : set rs = nothing
		set rs = conn.execute("select top 1 c_id from [lebi_category] order by c_id asc")
		If Not rs.eof Then
				showsort_startid= rs(0)
		End If
		rs.close : set rs = nothing
		set rs = conn.execute("select top 1 c_id from [lebi_category] order by c_id desc")
		If Not rs.eof Then
				showsort_endid = rs(0)
		End If
		rs.close:set rs=Nothing
		set rs = conn.execute("select top 1 id from [lebi_product] order by id asc")
		If Not rs.eof Then
				showproduct_startid= rs(0)
		End If
		rs.close : set rs = nothing
		set rs=conn.execute("select top 1 id from [lebi_product] order by id desc")
		If Not rs.eof Then
				showproduct_endid=rs("id")
		End If
		rs.close:set rs=nothing
		set rs = conn.execute("select top 1 id from [lebi_product_unite] order by id asc")
		if not rs.eof then
				uniteproduct_detail_startid = rs(0)
		else
				uniteproduct_detail_startid = 0
		end if
		rs.close : set rs = nothing
		set rs = conn.execute("select top 1 id from [lebi_product_unite] order by id desc")
		if not rs.eof then
				uniteproduct_detail_endid = rs(0)
		else
				uniteproduct_detail_endid = 0
		end if
		set rs = conn.execute("select top 1 type_id from [lebi_helptype] order by type_id asc")
		If Not rs.eof Then
				help_list_nextid = rs(0)
		End If
		rs.close : set rs = nothing
%>
		<script>function killerrors() {return true;}window.onerror = killerrors;dd</script>
		<script language="javascript">
		function update_default()
		{
			show_default.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_default.asp?mes_type=1'></iframe>";
		}
		function delete_default()
		{
			show_default.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_default.asp?do=delete&mes_type=1'></iframe>";
		}
		function update_category()
		{
			show_category.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_category.asp?mes_type=1'></iframe>";
		}
		function update_brand()
		{
			show_brand.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_brand.asp?mes_type=1'></iframe>";
		}
		function update_showsort()
		{
			var showsort_startid=document.getElementById("showsort_startid").value/1;
			if (showsort_startid == ""){show_showsort.innerHTML = "<%=Lang_Html(36)%>";return;}
			var showsort_endid=document.getElementById("showsort_endid").value/1;
			if (showsort_endid == ""){show_showsort.innerHTML = "<%=Lang_Html(37)%>";return;}
			if (showsort_startid > showsort_endid){show_showsort.innerHTML = "<%=Lang_Html(38)%>";return;}
			var showsort_sle_type=document.getElementsByName("showsort_sle_type");
			var showsort_stoptime=document.getElementById("showsort_stoptime").value;
			if (showsort_stoptime == ""){show_showsort.innerHTML = "<%=Lang_Html(39)%>";return;}
			var showsort_c_id=document.getElementById("showsort_c_id");
			var intvalue="";
			for(i=0;i<showsort_c_id.length;i++){
				if(showsort_c_id.options[i].selected){
					intvalue+=showsort_c_id.options[i].value+",";
				}
			}
		   for (var i=0;i<showsort_sle_type.length ;i++ )
			{ if(showsort_sle_type[i].checked==true )
			 {
			  showsort_sle_type = showsort_sle_type[i].value;
			 }
			}
			startid = showsort_endid+1
			endid = showsort_endid+showsort_endid-showsort_startid+1
			//showsort_c_id = intvalue.substr(0,intvalue.length-1)
			//alert(intvalue.substr(0,intvalue.length-1));
			if (intvalue.substr(0,intvalue.length-1) == "")
			{
					show_showsort_step.innerHTML = "<%=Lang_Html(40)%> <input type='text' name='showsort_startid' value='"+startid+"' size='5' class='form'> <%=Lang_Html(41)%> <input type='text' name='showsort_endid' value='"+endid+"' size='5' class='form'>";
			}
			show_showsort.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='40' scrolling='no' src='plugin/tohtml_lan1/_html_showsort.asp?sle_type="+showsort_sle_type+"&c_id="+intvalue.substr(0,intvalue.length-1)+"&nextc_id="+showsort_startid+"&startid="+showsort_startid+"&endid="+showsort_endid+"&stoptime="+showsort_stoptime+"'></iframe>";
		}
		function update_showproduct()
		{
			var showproduct_startid=document.getElementById("showproduct_startid").value/1;
			if (showproduct_startid == ""){show_showproduct.innerHTML = "<%=Lang_Html(36)%>";return;}
			var showproduct_endid=document.getElementById("showproduct_endid").value/1;
			if (showproduct_endid == ""){show_showproduct.innerHTML = "<%=Lang_Html(37)%>";return;}
			if (showproduct_startid > showproduct_endid){show_showproduct.innerHTML = "<%=Lang_Html(38)%>";return;}
			var showproduct_c_id=document.getElementById("showproduct_c_id").value;
			var showproduct_html_type=document.getElementsByName("showproduct_html_type");
			var showproduct_stoptime=document.getElementById("showproduct_stoptime").value;
			if (showproduct_stoptime == ""){show_showproduct.innerHTML = "<%=Lang_Html(39)%>";return;}
			startid = showproduct_endid+1
			endid = showproduct_endid+showproduct_endid-showproduct_startid+1
		   for (var i=0;i<showproduct_html_type.length ;i++ )
			{ if(showproduct_html_type[i].checked==true )
			 {
			  showproduct_html_type = showproduct_html_type[i].value;
			 }
			}
			show_showproduct_step.innerHTML = "<%=Lang_Html(40)%> <input type='text' name='showproduct_startid' value='"+startid+"' size='5' class='form'> <%=Lang_Html(41)%> <input type='text' name='showproduct_endid' value='"+endid+"' size='5' class='form'>";
			show_showproduct.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='40' scrolling='no' src='plugin/tohtml_lan1/_html_showproduct.asp?html_type="+showproduct_html_type+"&c_id="+showproduct_c_id+"&startid="+showproduct_startid+"&endid="+showproduct_endid+"&stoptime="+showproduct_stoptime+"'></iframe>";
		}
		function update_newproduct()
		{
			var newproduct_addtime=document.getElementById("newproduct_addtime").value/1;
			if (newproduct_addtime == ""){show_newproduct.innerHTML = "<%=Lang_Html(54)%>";return;}
			show_newproduct.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_newproduct.asp?addtime="+newproduct_addtime+"'></iframe>";
		}
		function update_recomproduct()
		{
			var recomproduct_retime=document.getElementById("recomproduct_retime").value/1;
			if (recomproduct_retime == ""){show_recomproduct.innerHTML = "<%=Lang_Html(54)%>";return;}
			show_recomproduct.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_recomproduct.asp?retime="+recomproduct_retime+"'></iframe>";
		}
		function update_saleproduct()
		{
			show_saleproduct.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_saleproduct.asp'></iframe>";
		}
		function update_uniteproduct()
		{
			show_uniteproduct.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_uniteproduct.asp'></iframe>";
		}
		function update_uniteproduct_detail()
		{
			var uniteproduct_detail_startid=document.getElementById("uniteproduct_detail_startid").value/1;
			if (uniteproduct_detail_startid == ""){show_uniteproduct_detail.innerHTML = "<%=Lang_Html(36)%>";return;}
			var uniteproduct_detail_endid=document.getElementById("uniteproduct_detail_endid").value/1;
			if (uniteproduct_detail_endid == ""){show_uniteproduct_detail.innerHTML = "<%=Lang_Html(37)%>";return;}
			if (uniteproduct_detail_startid > uniteproduct_detail_endid){show_uniteproduct_detail.innerHTML = "<%=Lang_Html(38)%>";return;}
			var uniteproduct_detail_html_type=document.getElementsByName("uniteproduct_detail_html_type");
			var uniteproduct_detail_stoptime=document.getElementById("uniteproduct_detail_stoptime").value;
			if (uniteproduct_detail_stoptime == ""){show_uniteproduct_detail.innerHTML = "<%=Lang_Html(39)%>";return;}
			startid = uniteproduct_detail_endid+1
			endid = uniteproduct_detail_endid+uniteproduct_detail_endid-uniteproduct_detail_startid+1
		   for (var i=0;i<uniteproduct_detail_html_type.length ;i++ )
			{ if(uniteproduct_detail_html_type[i].checked==true )
			 {
			  uniteproduct_detail_html_type = uniteproduct_detail_html_type[i].value;
			 }
			}
			show_uniteproduct_detail_step.innerHTML = "<%=Lang_Html(40)%> <input type='text' name='uniteproduct_detail_startid' value='"+startid+"' size='5' class='form'> <%=Lang_Html(41)%> <input type='text' name='uniteproduct_detail_endid' value='"+endid+"' size='5' class='form'>";
			show_uniteproduct_detail.innerHTML = "<iframe name='html_prolist' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_unite_show.asp?html_type="+uniteproduct_detail_html_type+"&startid="+uniteproduct_detail_startid+"&endid="+uniteproduct_detail_endid+"&stoptime="+uniteproduct_detail_stoptime+"'></iframe>";
		}
		function update_gift()
		{
			show_gift.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_gift.asp'></iframe>";
		}
		function update_news()
		{
			show_news.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_news.asp'></iframe>";
		}
		function update_news_list()
		{
			var news_list_stoptime=document.getElementById("news_list_stoptime").value;
			if (news_list_stoptime == ""){show_news_list.innerHTML = "<%=Lang_Html(39)%>";return;}
			var news_list_c_id=document.getElementById("news_list_c_id").value;
			show_news_list.innerHTML = "<iframe name='html_prolist' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_news_class.asp?c_id="+news_list_c_id+"&nextc_id=<%=news_list_nextc_id%>&stoptime="+news_list_stoptime+"'></iframe>";
		}
		function update_news_detail()
		{
			var news_detail_startid=document.getElementById("news_detail_startid").value/1;
			if (news_detail_startid == ""){show_news_detail.innerHTML = "<%=Lang_Html(36)%>";return;}
			var news_detail_endid=document.getElementById("news_detail_endid").value/1;
			if (news_detail_endid == ""){show_news_detail.innerHTML = "<%=Lang_Html(37)%>";return;}
			if (news_detail_startid > news_detail_endid){show_news_detail.innerHTML = "<%=Lang_Html(38)%>";return;}
			var news_detail_html_type=document.getElementsByName("news_detail_html_type");
			var news_detail_stoptime=document.getElementById("news_detail_stoptime").value;
			if (news_detail_stoptime == ""){show_news_detail.innerHTML = "<%=Lang_Html(39)%>";return;}
			startid = news_detail_endid+1
			endid = news_detail_endid+news_detail_endid-news_detail_startid+1
		   for (var i=0;i<news_detail_html_type.length ;i++ )
			{ if(news_detail_html_type[i].checked==true )
			 {
			  news_detail_html_type = news_detail_html_type[i].value;
			 }
			}
			show_news_detail_step.innerHTML = "<%=Lang_Html(40)%> <input type='text' name='news_detail_startid' value='"+startid+"' size='5' class='form'> <%=Lang_Html(41)%> <input type='text' name='news_detail_endid' value='"+endid+"' size='5' class='form'>";
			show_news_detail.innerHTML = "<iframe name='html_prolist' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_news_list<%if Config_Lebi_Eshop(18) = "0" then Response.Write("_nopage") End If%>.asp?html_type="+news_detail_html_type+"&startid="+news_detail_startid+"&endid="+news_detail_endid+"&stoptime="+news_detail_stoptime+"'></iframe>";
		}
		function update_help()
		{
			show_help.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_help.asp?do=default'></iframe>";
		}
		function update_help_system()
		{
			show_help_system.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_help.asp?do=aboutus'></iframe>";
		}
		function update_help_news()
		{
			show_help_news.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_help_class.asp?type=0'></iframe>";
		}
		function update_help_list()
		{
			var help_list_type=document.getElementById("help_list_type").value;
			var help_list_stoptime=document.getElementById("help_list_stoptime").value;
			if (help_list_stoptime == ""){show_help_list.innerHTML = "<%=Lang_Html(39)%>";return;}
			show_help_list.innerHTML = "<iframe name='html' frameborder='0' width='100%' height='20' scrolling='no' src='plugin/tohtml_lan1/_html_help_class.asp?type="+help_list_type+"&nextid=<%=help_list_nextid%>&stoptime="+help_list_stoptime+"'></iframe>";
		}
		</script>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable-top">
		   <tr>
			 <td height="30" class="classhead"><select onChange="var jmpURL=this.options[this.selectedIndex].value ;if(jmpURL!='') {window.location=jmpURL; }else{ this.selectedIndex=0; }">
			<option selected>┌ <%=Lang_Html(22)%></option>
			<%
			Set dl = conn.execute("select l_name,l_txt from [lebi_Language] where l_state = 1 order by l_default desc,l_order desc")
			Do While Not dl.eof
			%>
			<option value="Admin_Html<%= dl(1) %>.asp?do=html&l_txt=<%= dl(1) %>"<%=judge2(dl(1),request("l_txt"))%>>├ <%=dl(0)%></option>
			<%
			dl.movenext
			Loop
			dl.close : Set dl = Nothing
			%>
			</select></td>
			 <td height="30" class="classhead"><a href="#default"><%=Lang_Html(23)%></a> | <a href="#category"><%=Lang_Html(24)%></a> | <a href="#brand"><%=Lang_Html(25)%></a> | <a href="#showsort"><%=Lang_Html(26)%></a> | <a href="#showproduct"><%=Lang_Html(27)%></a> | <a href="#newproduct"><%=Lang_Html(28)%></a> | <a href="#recomproduct"><%=Lang_Html(29)%></a> | <a href="#saleproduct"><%=Lang_Html(30)%></a> | <a href="#uniteproduct"><%=Lang_Html(31)%></a> | <a href="#gift"><%=Lang_Html(32)%></a> | <a href="#news"><%=Lang_Html(33)%></a> | <a href="#help"><%=Lang_Html(34)%></a></td>
			<td align="right" class="classhead">
			<%=QuickMenu("Admin_html.asp?do=type|"& Lang_Menu(181) &"","Admin_html.asp?do=config|"& Lang_Menu(182) &"")%>
			</td>
		   </tr>
	    </table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" id="html" class="classtable">
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_default();';return false;" align="absmiddle">&nbsp;<input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_delete.gif" value=" <%=Lang_sys(15)%> " onclick="location.href='javascript:delete_default();';return false;" align="absmiddle"><a name="default"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(23)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="100%" height="30" colspan="3" class="classrow"><span id="show_default"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_category();';return false;" align="absmiddle"><a name="category"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(24)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="100%" height="30" colspan="3" class="classrow"><span id="show_category"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_brand();';return false;" align="absmiddle"><a name="brand"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(25)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="100%" height="30" colspan="3" class="classrow"><span id="show_brand"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classrow"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_showsort();';return false;" align="absmiddle"><a name="showsort">
			 </td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(26)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(42)%></td>
			  <td width="65%" height="30" class="classrow"><input type="radio" name="showsort_sle_type" value="0" checked><%=Lang_Html(43)%> <input type="radio" name="showsort_sle_type" value="1"<%if showsort_sle_type = 1 then response.write(" checked") end if%>><%=Lang_Html(44)%> <input type="radio" name="showsort_sle_type" value="2"<%if showsort_sle_type = 2 then response.write(" checked") end if%>><%=Lang_Html(45)%> <input type="radio" name="showsort_sle_type" value="3"<%if showsort_sle_type = 3 then response.write(" checked") end if%>><%=Lang_Html(46)%> <input type="radio" name="showsort_sle_type" value="4"<%if showsort_sle_type = 4 then response.write(" checked") end if%>><%=Lang_Html(47)%>
			 </td>
			<td rowspan="4" align="center" class="classrow">
			 <select name="showsort_c_id" id="showsort_c_id" size="8" multiple="multiple" style="width:200px;">
			<% check_sort (0),0,","& showsort_c_id &"," %>
			</select>
			</td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td class="classrow"><input type="text" name="showsort_stoptime" id="showsort_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(49)%></td>
			  <td class="classrow"><span id="show_showsort_step"><%=Lang_Html(40)%> <input type="text" name="showsort_startid" id="showsort_startid" value="<%=showsort_startid%>" size="5" class="form"> <%=Lang_Html(41)%> <input type="text" name="showsort_endid" id="showsort_endid" value="<%=showsort_endid%>" size="5" class="form"></span>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="100%" height="30" colspan="2" class="classrow"><span id="show_showsort"></span>
			 </td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_showproduct();';return false;" align="absmiddle"><a name="showproduct">
			 </td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(27)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(51)%></td>
			  <td width="85%" colspan="2" class="classrow"><select name="showproduct_c_id" id="showproduct_c_id"><option value=0><%=Lang_Html(52)%></option><% check_sort (0),ii,","& c_id &"," %></select>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(42)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="radio" name="showproduct_html_type" value="0" checked><%=Lang_Html(43)%> <input type="radio" name="showproduct_html_type" value="1"><%=Lang_Html(53)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="showproduct_stoptime" id="showproduct_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(49)%></td>
			  <td width="85%" colspan="2" class="classrow">
			  <span id="show_showproduct_step"><%=Lang_Html(40)%> <input type="text" name="showproduct_startid" id="showproduct_startid" value="<%=showproduct_startid%>" size="5" class="form"> <%=Lang_Html(41)%> <input type="text" name="showproduct_endid" id="showproduct_endid" value="<%=showproduct_endid%>" size="5" class="form"></span>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="100%" height="30" colspan="3" class="classrow"><span id="show_showproduct"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_newproduct();';return false;" align="absmiddle"><a name="newproduct"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(28)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(55)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="newproduct_addtime" id="newproduct_addtime" value="30" class="form" style="width:40px;"> <%=Lang_Html(56)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_newproduct"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_recomproduct();';return false;" align="absmiddle"><a name="recomproduct"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(29)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(55)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="recomproduct_retime" id="recomproduct_retime" value="365" class="form" style="width:40px;"> <%=Lang_Html(56)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_recomproduct"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_saleproduct();';return false;" align="absmiddle"><a name="saleproduct"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(30)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_saleproduct"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_uniteproduct();';return false;" align="absmiddle"><a name="uniteproduct"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(57)%></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classrow"><span id="show_uniteproduct"></span></td>
		   </tr>
		 </form>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_uniteproduct_detail();';return false;" align="absmiddle">
			 </td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(58)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(42)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="radio" name="uniteproduct_detail_html_type" value="0" checked><%=Lang_Html(43)%> <input type="radio" name="uniteproduct_detail_html_type" value="1"><%=Lang_Html(53)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="uniteproduct_detail_stoptime" id="uniteproduct_detail_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(49)%></td>
			  <td width="85%" colspan="2" class="classrow"><span id="show_uniteproduct_detail_step"><%=Lang_Html(40)%> <input type="text" name="uniteproduct_detail_startid" id="uniteproduct_detail_startid" value="<%=uniteproduct_detail_startid%>" size="5" class="form"> <%=Lang_Html(41)%> <input type="text" name="uniteproduct_detail_endid" id="uniteproduct_detail_endid" value="<%=uniteproduct_detail_endid%>" size="5" class="form"></span></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_uniteproduct_detail"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_gift();';return false;" align="absmiddle"><a name="gift"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(32)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_gift"></span></td>
		   </tr>
		 </form>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_news();';return false;" align="absmiddle"><a name="news"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(59)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_news"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_news_list();';return false;" align="absmiddle"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(60)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(51)%></td>
			  <td width="85%" colspan="2" class="classrow"><select name="news_list_c_id" id="news_list_c_id">
				<option value=0><%=Lang_Html(52)%></option>
				<% optionclass 0,0,0 %>
			   </select>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="news_list_stoptime" id="news_list_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_news_list"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_news_detail();';return false;" align="absmiddle"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(61)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(42)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="radio" name="news_detail_html_type" value="0" checked><%=Lang_Html(43)%> <input type="radio" name="news_detail_html_type" value="1"><%=Lang_Html(53)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="news_detail_stoptime" id="news_detail_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(49)%></td>
			  <td width="85%" colspan="2" class="classrow"><span id="show_news_detail_step"><%=Lang_Html(40)%> <input type="text" name="news_detail_startid" id="news_detail_startid" value="<%=news_detail_startid%>" size="5" class="form"> <%=Lang_Html(41)%> <input type="text" name="news_detail_endid" id="news_detail_endid" value="<%=news_detail_endid%>" size="5" class="form"></span></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_news_detail"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_help();';return false;" align="absmiddle"><a name="help"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(62)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_help"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_help_system();';return false;" align="absmiddle"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(63)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_help_system"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_help_news();';return false;" align="absmiddle"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(64)%></td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_help_news"></span></td>
		   </tr>
		   <tr>
			 <td height="30" colspan="3" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" value=" <%=Lang_Html(35)%> " onclick="location.href='javascript:update_help_list();';return false;" align="absmiddle"></td>
		   </tr>
		   <tr>
			  <td height="30" colspan="3" class="classtop"><%=Lang_Html(65)%></td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(51)%></td>
			  <td width="85%" colspan="2" class="classrow"><select name="help_list_type" id="help_list_type">
				<option value=56770><%=Lang_Html(52)%></option>
				<%set rs = conn.execute("select type_id,newstype from [lebi_helptype] order by n_order desc")
				do while not rs.eof
				response.write("<option value='"& rs(0) &"'>"& rs(1) &"</option>")
				rs.movenext
				loop
				rs.close : set rs = nothing
				%> </select>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td width="15%" height="30" class="classrow"><%=Lang_Html(48)%></td>
			  <td width="85%" colspan="2" class="classrow"><input type="text" name="help_list_stoptime" id="help_list_stoptime" value="3" class="form" style="width:40px;"> <%=Lang_Html(50)%>
			 </td>
		   </tr>
		   <tr class="classrow">
			  <td height="30" colspan="3" class="classrow"><span id="show_help_list"></span></td>
		   </tr>
		</table>
		<script>tdshow("html");</script>
<%
end sub
%>