⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 down_label.asp

📁 后台目录:qwbAdmin/Login.asp 登陆用户名:admin 登陆密码:admin
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<% Option Explicit %>
<!--#include file="../../FS_Inc/Const.asp" -->
<!--#include file="../../FS_Inc/Function.asp"-->
<!--#include file="../../FS_Inc/md5.asp" -->
<!--#include file="../../FS_InterFace/MF_Function.asp" -->
<!--#include file="../../FS_InterFace/DS_Function.asp" -->
<!--#include file="../../FS_Inc/Func_page.asp" -->
<%
	Response.Buffer = True
	Response.Expires = -1
	Response.ExpiresAbsolute = Now() - 1
	Response.Expires = 0
	Response.CacheControl = "no-cache"
	Dim Conn
	MF_Default_Conn
	MF_Session_TF 
	if not MF_Check_Pop_TF("MF_sPublic") then Err_Show
	Dim obj_Lable_style_Rs,Lable_style_List
	Lable_style_List=""
	Set  obj_Lable_style_Rs = server.CreateObject(G_FS_RS)
	obj_Lable_style_Rs.Open "Select ID,StyleName from FS_MF_Labestyle where StyleType='DS' Order by  id desc",Conn,1,3
	do while Not obj_Lable_style_Rs.eof 
		Lable_style_List = Lable_style_List&"<option value="""& obj_Lable_style_Rs(0)&""">"& obj_Lable_style_Rs(1)&"</option>"
		obj_Lable_style_Rs.movenext
	loop
	obj_Lable_style_Rs.close:set obj_Lable_style_Rs = nothing
	
	'---------------------------------专区列表
	Dim obj_special_Rs,label_special_List
	label_special_List=""
	Set  obj_special_Rs = server.CreateObject(G_FS_RS)
	obj_special_Rs.Open "Select SpecialID,SpecialCName from FS_DS_Special  Order by  SpecialID desc",Conn,1,3
	do while Not obj_special_Rs.eof 
		label_special_List = label_special_List&"<option value="""& obj_special_Rs(0)&""">"& obj_special_Rs(1)&"</option>"
		obj_special_Rs.movenext
	loop
	obj_special_Rs.close:set obj_special_Rs = nothing
	dim str_CurrPath,sRootDir
	if G_VIRTUAL_ROOT_DIR<>"" then sRootDir="/"+G_VIRTUAL_ROOT_DIR else sRootDir=""
	If Session("Admin_Is_Super") = 1 then
		str_CurrPath = sRootDir &"/"&G_UP_FILES_DIR
	Else
		If Session("Admin_FilesTF") = 0 Then
			str_CurrPath = Replace(sRootDir &"/"&G_UP_FILES_DIR&"/adminfiles/"&UCase(md5(Session("Admin_Name"),16)),"//","/")
		Else
			str_CurrPath = sRootDir &"/"&G_UP_FILES_DIR
		End If	
	End if
%>
<html>
<head>
<title>下载标签管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet" type="text/css">
<base target=self>
</head>
<body class="hback">
<script language="JavaScript" src="../../FS_Inc/PublicJS.js" type="text/JavaScript"></script>
<table width="98%" height="100" border="0" align=center cellpadding="3" cellspacing="1" class="table" valign=absmiddle>
  <form  name="form1" method="post">
    <tr class="hback" >
      <td colspan="3"  align="Left" class="xingmu"><strong><font color="#FF0000">创建标签</font></strong></td>
      <td width="36%"  align="Left" class="xingmu"><div align="right">
          <input name="button4" type="button" onClick="window.returnValue='';window.close();" value="关闭">
        </div></td>
    </tr>
    <tr class="hback"  style="font-family:宋体" >
      <td  align="center" class="hback" ><div align="right">显示格式</div></td>
      <td colspan="3" class="hback" ><select name="out_char" id="out_char" onChange="selectHtml_express(this.options[this.selectedIndex].value);">
          <option value="out_Table">普通格式</option>
          <option value="out_DIV">DIV+CSS格式</option>
          
        </select></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  align="center"><div align="right">标签类型</div></td>
      <td colspan="3" class="hback" ><select  name="labelStyle" onChange="ChooseNewsType(this.options[this.selectedIndex].value);">
          <option value="" style="background:#DEDEDE">---列表类----------</option>
          <option value="ClassNews" selected>├┄栏目列表</option>
          <option value="SpecialDown">├┄专区列表</option>
          <option value="LastNews">├┄最新</option>
          <option value="HotNews">├┄点击最多</option>
          <option value="DownHotNews">├┄下载最多</option>
          <option value="DownPicNews">├┄图片</option>
          <option value="RecNews">├┄推荐</option>
          <option value="" style="background:#DEDEDE">---终极类----------</option>
          <option value="ClassList">├┄终极下载列表</option>
          <option value="subClassList">├┄子类下载列表</option>
          <option value="SpecialListDown">├┄终极专区列表</option>
        </select>
        <span class="tx">如果是终极分类,不能选择栏目</span> </td>
    </tr>
    <tr class="hback" style="display:none">
      <td width="14%"  align="center" class="hback"><div align="right">标签名称</div></td>
      <td colspan="3" class="hback" ><input name="labelName"  type="text" size="12" maxlength="25">
        <span class="tx">方便以后查找标签,限制25个字符(只能为中文、数字、英文、下划线和中划线)。</span></td>
    </tr>
    <tr class="hback" id="specialEName_col" style="display:none">
      <td class="hback"  align="center"><div align="right">专区列表</div></td>
      <td colspan="2" class="hback" >
	  	 <select id="specialEName"  name="specialEName" disabled>
          <option value="">请选择专区</option>
          <% = label_special_List %>
        </select>
        <span class="tx">如果不选择,则为所有专区导航</span> </td>
      <td>&nbsp;</td>
    </tr>
    <tr class="hback" id="ClassName_col">
      <td class="hback"  align="center"><div align="right">栏目列表</div></td>
      <td colspan="3" class="hback" ><input  name="ClassName" type="text" id="ClassName" size="12" readonly>
        <input name="ClassID" type="hidden" id="ClassID">
        <input name="button2" type="button" onClick="SelectClass();" value="选择栏目">
        <span class="tx">选择下载栏目,如果不选择,则显示所有的下载</span></td>
    </tr>
    <tr class="hback"  id="div_id" style="font-family:宋体;display:none;" >
      <td rowspan="3"  align="center" class="hback"><div align="right"></div>
        <div align="right">DIV控制</div></td>
      <td colspan="3" class="hback" >&lt;div id=&quot;
        <input name="DivID" disabled type="text" id="DivID" size="6"  style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成DIV调用的ID号,请在CSS中预先定义。不能为空">
        &quot; class=&quot;
        <input name="Divclass"  type="text" id="Divclass" size="6"  disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成DIV调用的Class名称,请在CSS中预先定义。可以为空!!">
        &quot;&gt; <span class="tx">对生成列表进行定位,样式控制,ID定义</span></td>
    </tr>
    <tr class="hback" id="ul_id" style="font-family:宋体;display:none;">
      <td colspan="3" class="hback" >&lt;ul id=&quot;
        <input name="ulid"  disabled type="text" id="ulid" size="6" style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000"  title="前台生成ul调用的ID,请在CSS中预先定义。可以为空!!">
        &quot; class=&quot;
        <input name="ulclass"  type="text" id="ulclass" size="6" disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成ul调用的class名称,请在CSS中预先定义。可以为空!!">
        &quot;&gt; <span class="tx">对生成列表进行定位,样式控制,ID定义</span></td>
    </tr>
    <tr class="hback"  id="li_id" style="font-family:宋体;display:none;">
      <td colspan="3" class="hback" >&lt;li id=&quot;
        <input name="liid" disabled type="text" id="liid" size="6"  style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成li调用的ID,请在CSS中预先定义。可以为空!!">
        &quot; class=&quot;
        <input name="liclass"  type="text" id="liclass" size="6" disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000"  title="前台生成li调用的class名称,请在CSS中预先定义。可以为空!!">
        &quot;&gt; <span class="tx">对生成列表进行定位,样式控制,ID定义</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  align="center"><div align="right">显示范围</div></td>
      <td colspan="3" class="hback" >只显示
        <input name="DateNumber"  type="text" id="DateNumber" value="0" size="5">
        天内的下载. <span class="tx">如果为0,则显示所有时间内的下载</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  id="NewsNum" align="center"><div align="right">标题字数</div></td>
      <td colspan="3" class="hback" ><input name="TitleNumber" type="text" id="TitleNumber" value="30" size="5">
        内容字数
        <input name="ContentNumber" type="text" id="ContentNumber" value="100" size="5">
        <span class="tx">中文算2个字符</span>  图文标志
        <select name="PicTF" id="PicTF">
          <option value="1" selected>显示</option>
          <option value="0">不显示</option>
        </select></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  id="NewsNum" align="center"><div align="right">调用数量</div></td>
      <td width="35%" class="hback" ><input id="NewsNumber"  name="NewsNumber" type="text" size="12" value="10">
        <span class="tx">调用的前台显示数量  </span>      </td>
      <td colspan="2" class="hback" >排列列数
        <select name="ColsNumber" id="select">
          <option value="1" selected>1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
          <option value="9">9</option>
          <option value="10">10</option>
          <option value="11">11</option>
          <option value="12">12</option>
          <option value="13">13</option>
          <option value="14">14</option>
          <option value="15">15</option>
          <option value="16">16</option>
          <option value="17">17</option>
          <option value="18">18</option>
          <option value="19">19</option>
          <option value="20">20</option>
        </select>
      <span class="tx">下载一行显示数量,对DIV输出格式无效</span></td>
    </tr>
    <tr class="hback"   id="c_ColsNum" style="display:none">
      <td class="hback" align="center"><div align="right">栏目显示列数</div></td>
      <td colspan="4" class="hback"><select name="sub_colsnum" id="sub_colsnum" disabled>
          <option value="1" selected>1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
        </select>
        背景图片
        <input name="bg_pic" type="text" id="bg_pic" disabled>
        <span class="tx">仅适用于子类列表</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  id="ColsNum" align="center"><div align="right">包含子类</div></td>
      <td colspan="3" class="hback" ><select name="SubTF" id="SubTF">
          <option value="1">是</option>
          <option value="0" selected>否</option>
        </select>
        <span class="tx">建议不要选择,否则下载生成速度会大幅度降低,专区此项无效</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  id="Num" align="center"><div align="right">排序字段</div></td>
      <td class="hback" ><input type="text" name="OrderType" id="OrderType" readonly="" title="此为自动根据标签类型自动产生" size="10" value="ID">
        <span class="tx">自动产生</span></td>
      <td width="15%" align="center" class="hback"  id="NewsType">排序方式</td>
      <td class="hback"><input type="radio" name="orderby" value="ASC" id="ASC">
        升序
        <input type="radio"  name="orderby" checked value="DESC" id="DESC">
        降序 </td>
    </tr>
    <tr class="hback" id="More_col">
      <td class="hback"  id="PageStyle_1" align="center"><div align="right">更多连接</div></td>
      <td colspan="3" class="hback" ><input  name="More_char" type="text" id="More_char" value="·" size="16">
        <img  src="../Images/upfile.gif" width="44" height="22" onClick="OpenWindowAndSetValue('../CommPages/SelectManageDir/SelectPic.asp?CurrPath=<% = str_CurrPath %>',500,320,window,document.form1.More_char);" style="cursor:hand;">如果为图片,请直接输入图片地址。<span class="tx">更多连接打开方式
        <select name="Openstyle" id="Openstyle">
          <option value="0" selected>原窗口</option>
          <option value="1">新窗口</option>
        </select>
        </span></td>
    </tr>
    <tr class="hback" id="PageStyle_col" style="display:none">
      <td class="hback"   align="center"><div align="right">是否分页</div></td>
      <td colspan="3" class="hback" ><input name="PageTF" type="checkbox" id="PageTF" value="1" disabled>
        分页样式
        <input id="PageStyle"  name="PageStyle" type="text" size="9" value='3,CC0066'  disabled>
        <input name="button" type="button" id="SetPage" onClick="OpenPageStyle(this.form.PageStyle)" value="设置" disabled>
        每页数量
        <input id="PageNumber"  name="PageNumber" type="text" size="4" value="30" disabled>
        <span id="page_css" style="display:">分页CSS
        <input id="PageCSS" name="PageCSS" type="text" size="5">
        </span> <span class="tx">仅适用终极分类</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  id="NewsStyle" align="center"><div align="right">日期格式</div></td>
      <td colspan="3" class="hback" ><input name="DateType" type="text" id="DateType" value="YY02-MM-DD" size="15">
        <span class="tx">格式:YY(02)/YY(04)代表年,MM-月,DD-日,HH-小时,MI-分,SS-秒</span></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  align="center"><div align="right">引用样式</div></td>
      <td class="hback"  colspan="3" align="center"><div align="left">
          <select id="NewsStyle"  name="NewsStyle" style="width:40%">
            <% = Lable_style_List %>
          </select>
          <input name="button3" type="button" id="button" onClick="showModalDialog('News_label_styleread.asp?ID='+document.form1.NewsStyle.value,'WindowObj','dialogWidth:420pt;dialogHeight:180pt;status:yes;help:no;scroll:yes;');" value="查看">
          <span class="tx">请在各个子系统中建立前台页面下载显示样式</span></div></td>
    </tr>
    <tr class="hback" >
      <td class="hback"  colspan="4" align="center" height="30"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
        <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 ">      </td>
    </tr>
  </form>
</table>
</body>
<% 
Set Conn=nothing
%>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -