<!--#include file="conn.asp"-->
<%
if session("admin")="" then
conn.close
set conn = nothing
response.Write "<script language='javascript'>alert('请先登录！');location.href='index.asp' ;</script>"
response.End
else
if request.cookies("sundxshop")("admin")="" then
conn.close
set conn = nothing
response.Write "<script language='javascript'>alert('请先登录！');location.href='index.asp' ;</script>"
response.End
end if
end if
if session("rank")>1 then
conn.close
set conn = nothing
response.Write "<script language='javascript'>alert('你无权管理网站设置！');history.go(-1);</script>"
response.End
end if
%>
<%
dim lanmuid
lanmuid=SafeRequest("id",1)
if FormatSQL(SafeRequest("action",0))="save" then

set rs=server.CreateObject("adodb.recordset")
rs.open "select * from sdx_lanmu where lanmuid="&lanmuid,conn,1,3
Dim strlanmudetial
For i = 1 To Request.Form("lanmudetial").Count 
strlanmudetial = strlanmudetial & Request.Form("lanmudetial")(i) 
Next 
rs("lanmudetial")=strlanmudetial
rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('更改成功！');history.go(-1);</script>"
response.End
end if
%>
<title>上传文章栏目图片</title>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from sdx_lanmu where lanmuid="&lanmuid,conn,1,1%>
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" BGCOLOR="#39867B">
  <tr> 
    <td align="center"><font color="#FFFFFF">编辑修改文章栏目内容</font></td>
  </tr>
  <tr align="center" bgcolor="#FFFFFF"> 
      <td align="center">
    <table width="80%" border="0" align="center" cellpadding="1" cellspacing="1" BGCOLOR="#39867B">
      <form name="form1" method="post" action="admin_lanmudetial.asp?action=save&id=<%=rs("lanmuid")%>"> 
         <tr align="center" bgcolor="#FFFFFF"> 
     
	<td  height="30"><%=trim(rs("lanmutitle"))%>栏目内容：</td>
 
      </tr> 
     <tr bgcolor="#FFFFFF"> 
            
            <td><input class=shopinput1 type="hidden" name="lanmudetial" value="<% = Server.HtmlEncode(rs("lanmudetial")) %>">	
              <iframe ID="lanmudetial" src="htmledit/ewebeditor.asp?id=lanmudetial&style=standard" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe> 
            </td>
          </tr>
      <tr bgcolor="#FFFFFF" align="center"> 
            <td height="28" colspan="3" bgcolor="#FFFFFF" style="PADDING-LEFT: 6px"> 
              <input class=shopinput1 type="submit" name="Submit" value="提交发表"> &nbsp;<a href=admin_lanmu.asp>返回</a></td>
          </tr>
  </form>
</table>
<%    rs.close
set rs = Nothing
%>
<!--#include file="footer.asp"-->