<%
dim dns
dns="../"
%><!--#Include file="../Common/fl_config.asp"-->
<!--#Include file="../Common/Inc_DatConn.asp"-->
<!--#Include file="Common/Inc_Config.asp"-->
<!--#Include file="Common/Inc_Function.asp"-->
<%if fla18<>1 and Session("intUserLevel") < 2 then
response.write "<script>alert('操作权限出错，您没有权限操作些功能');history.go(-);</Script>"
Response.End 
end if%>
<%if IsTimeOut(Session("strAccount"),Session("strPassWord")) then Response.Redirect "index.asp"%>
<%
if request("action")="set" then
filepath=server.mappath("../Common/fl_config.asp")
strcdkd=request("cdkd")
strls=request("ls")
strpy=request("py")
Set fobj = Server.CreateObject("SCRIPTING.FILESYSTEMOBJECT")
Set fs = fobj.CreateTextFile(filepath,true)
fs.Write("<"&chr(37))
fs.Write("cdkd="&chr(34)&strcdkd&chr(34))
fs.Write(chr(13)&chr(10))
fs.Write("ls="&chr(34)&strls&chr(34))
fs.Write(chr(13)&chr(10))
fs.Write("py="&chr(34)&strpy&chr(34))
fs.Write(chr(37)&">")
fs.close
Response.Write "分类菜单成功..."
		Response.Write "<script language=""javascript"">this.close();this.opener.location='classfl.asp';</script>"
end if
%>
<html>
<head>
<title><% = strSiteName%> - 网站后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Common/Site.css" type="text/css">
</head>
<body leftMargin="0" topMargin="2">
<!--#Include file="Common/inc_Top.asp"-->
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="105" valign="top" style="border-left: 1px solid rgb(0,0,0); border-right: 1px solid rgb(0,0,0)" class="bottom"><br>
	<!--#Include file="Common/Inc_Button.asp"-->
    </td>
    <td valign="top" style="border-right: 1px solid rgb(0,0,0)" align="center" class="banma2">
        <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <td height="50">当前位置：<a href="Main.asp">管理首页</a> -&gt; 分类菜单设置</td>
          </tr>
        </table>

	  <table border="0" width="96%" cellspacing="0" cellpadding="0" align="center">
	    <tr>
	      <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="6" height="248">
  <tr>
    <td align="center" height="236">
      <form name="form1" method="POST" action="?action=set" target="_blank">
        <table border="0" cellspacing="1" cellpadding="4" bgcolor="#000000" width="300">
          <tr> 
            <td class="bottom"><b>分类菜单设置</b></td>
          </tr>
          <tr> 
            <td class="banma1" align="center"> 
              <table width="90%" border="0" cellspacing="0" cellpadding="6">
                <tr> 
                  <td>
					<p align="right">菜单宽度：</td>
                  <td> 
                    <input type="text" name="cdkd" value="<%=cdkd%>" size="20">
                  </td>
                </tr>
                <tr> 
                  <td>
					<p align="right">显示列数：</td>
                  <td> 
                    <input type="text" name="ls" value="<%=ls%>" size="20">
                  </td>
                </tr>
                </table>
            </td>
          </tr>
          <tr>
            <td class="bottom" align="center"> 
              <input type="submit" name="Submit" value="设定" class="Tips_bo">
            </td>
          </tr>
          <tr>
            <td class="bottom" align="center"> 
              <p align="left"><font color="#000080">说明：本功能需要FSO组件支持（开始菜单-运行 输入regsvr32 scrrun.dll 回车）</font></td>
          </tr>
        </table>
        </form>
    </td>
  </tr>
</table></td>
		</tr>
	  </table>
      <br>
    </td>
  </tr>
</table>
<!--#Include file="Common/Inc_Bottom.asp"-->
</body>
</html>
