All_label.asp
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:14k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../../FS_Inc/Const.asp" -->
- <!--#include file="../../FS_Inc/Function.asp"-->
- <!--#include file="../../FS_InterFace/MF_Function.asp" -->
- <!--#include file="../../FS_InterFace/NS_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
- 'session判断
- MF_Session_TF
- if not MF_Check_Pop_TF("MF_sPublic") then Err_Show
- %>
- <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>
- <form name="form1" method="post">
- <table width="98%" height="29" border="0" align=center cellpadding="3" cellspacing="1" class="table" valign=absmiddle>
- <tr class="hback" >
- <td height="27" align="Left" class="xingmu"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="20%" class="xingmu"><strong>常规标签创建</strong></td>
- <td width="80%"><div align="right">
- <input name="button4" type="button" onClick="window.returnValue='';window.close();" value="关闭">
- </div></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
- <tr class="hback">
- <td width="13%" height="15"><div align="center"><a href="All_Label.asp?type=PostionNavi" target="_self">位置导航</a></div></td>
- <td width="13%"><div align="center"><a href="All_Label.asp?type=PageTitle" target="_self">页面标题</a><a href="News_C_Label.asp?type=OldNews" target="_self"></a></div></td>
- <td width="13%" style="display:none"><div align="center"><a href="All_Label.asp?type=SiteMap" target="_self">站点地图</a></div></td>
- <td width="13%"><div align="center"><a href="News_C_Label.asp?type=NorFilt" target="_self"></a><a href="All_Label.asp?type=Search" target="_self">搜索表单</a></div></td>
- <td width="13%"><div align="center"><a href="All_Label.asp?type=InfoStat" target="_self">信息统计</a></div></td>
- <td width="13%"><div align="center"><a href="All_Label.asp?type=UserLogin" target="_self">用户登陆</a></div></td>
- <td width="13%"><div align="center"><a href="All_Label.asp?type=CopyRight" target="_self">版权信息</a></div></td>
- <td width="13%"><div align="center"><a href="All_Label.asp?type=SubList" target="_self">子站导航</a></div></td>
- </tr>
- </table>
- <%
- dim str_type
- str_type = Request.QueryString("type")
- select case str_type
- case "PostionNavi"
- Call PostionNavi()
- Case "PageTitle"
- Call PageTitle()
- Case "SiteMap"
- Call SiteMap()
- Case "Search"
- Call Search()
- Case "InfoStat"
- Call InfoStat()
- Case "UserLogin"
- Call UserLogin()
- Case "CopyRight"
- Call CopyRight()
- Case "SubList"
- Call SubList()
- Case else
- Call PostionNavi()
- end select
- Sub PostionNavi()
- %>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">位置导航</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">分割字符(图片)</div></td>
- <td width="72%" class="hback"><input name="NaviChar" type="text" id="NaviChar" value=" >> ">
- 请使用html语法,请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right">联接CSS</div></td>
- <td class="hback"><input name="LinkCSS" type="text" id="LinkCSS">
- 请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right">当前位置文字</div></td>
- <td class="hback"><input name="Nchar" type="text" id="Nchar" value="正文">
- CSS
- <input name="NcharCSS" type="text" id="NcharCSS"></td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=PostionNavi┆';
- retV+='分割字符$' + obj.NaviChar.value + '┆';
- retV+='位置文字$' + obj.Nchar.value + '┆';
- retV+='位置文字css$' + obj.NcharCSS.value + '┆';
- retV+='联接CSS$' + obj.LinkCSS.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub PageTitle()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">页面标题</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">附属文字</div></td>
- <td width="72%" class="hback"><input name="O_Char" type="text" id="O_Char" value="风讯__Foosun.CN">
- 请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right">附属文字位置</div></td>
- <td class="hback"><select name="O_Char_dir" id="O_Char_dir">
- <option value="0">前缀</option>
- <option value="1" selected>后缀</option>
- </select></td>
- </tr>
- <tr>
- <td class="hback"><div align="right">分割字符</div></td>
- <td class="hback"><input name="split_char" type="text" id="split_char" value="__">
- 请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=PageTitle┆';
- retV+='附属文字$' + obj.O_Char.value + '┆';
- retV+='附属文字位置$' + obj.O_Char_dir.value + '┆';
- retV+='分割字符$' + obj.split_char.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub SiteMap()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">站点地图</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">分类标题CSS</div></td>
- <td width="72%" class="hback"><input name="TitleCSS" type="text" id="TitleCSS">
- 请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right">子系统标题CSS</div></td>
- <td class="hback"><input name="SubCSS" type="text" id="SubCSS"></td>
- </tr>
- <tr>
- <td class="hback"><div align="right">同级分类分割</div></td>
- <td class="hback"><input name="split_char" type="text" id="split_char">
- 请不要使用“$,┆”禁用字符</td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=SiteMap┆';
- retV+='分类标题CSS$' + obj.TitleCSS.value + '┆';
- retV+='子系统标题CSS$' + obj.SubCSS.value + '┆';
- retV+='同级分类分割$' + obj.split_char.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%end Sub%>
- <%Sub Search()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">搜索表单</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">日期搜索</div></td>
- <td width="72%" class="hback"><select name="DateShow" id="DateShow">
- <option value="1">显示</option>
- <option value="0" selected>不显示</option>
- </select> </td>
- </tr>
- <tr>
- <td class="hback"><div align="right">模糊搜索</div></td>
- <td class="hback"><select name="SearchType" id="SearchType">
- <option value="0" selected>否</option>
- <option value="1">是</option>
- </select> </td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=Search┆';
- retV+='日期搜索$' + obj.DateShow.value + '┆';
- retV+='模糊搜索$' + obj.SearchType.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub InfoStat()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">信息统计</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">排列方式</div></td>
- <td width="72%" class="hback"><select name="cols" id="cols">
- <option value="1">纵向</option>
- <option value="0" selected>横向</option>
- </select> </td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=InfoStat┆';
- retV+='排列方式$' + obj.cols.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub UserLogin()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">会员登陆</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">登陆方式</div></td>
- <td width="72%" class="hback"><select name="LoginStyle" id="LoginStyle">
- <option value="iframe">iframe</option>
- <option value="ajax" selected>ajax</option>
- </select> </td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=UserLogin┆';
- retV+='登陆方式$' + obj.LoginStyle.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub CopyRight()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">版权信息</td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=CopyRight┆';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- <%Sub SubList()%>
- <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
- <tr>
- <td colspan="2" class="xingmu">子系统导航</td>
- </tr>
- <tr>
- <td width="28%" class="hback"><div align="right">分割符号</div></td>
- <td width="72%" class="hback"><label>
- <input name="SubName" type="text" id="SubName">
- </label></td>
- </tr>
- <tr>
- <td class="hback"><div align="right">CSS</div></td>
- <td class="hback"><input name="SubCSS" type="text" id="SubCSS"></td>
- </tr>
- <tr>
- <td class="hback"> </td>
- <td class="hback"><span class="tx">(各个子系统的导航连接请在系统参数--子系统维护里设置),特别注意:各个子站系统的前台导航连接必须与子系统的参数配置里的域名相同</span></td>
- </tr>
- <tr>
- <td class="hback"><div align="right"></div></td>
- <td class="hback"><input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签">
- <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 "></td>
- </tr>
- </table>
- <script language="JavaScript" type="text/JavaScript">
- function ok(obj)
- {
- var retV = '{FS:MF=SubList┆';
- retV+='分割符-可以使用html语法$' + obj.SubName.value + '┆';
- retV+='CSS$' + obj.SubCSS.value + '';
- retV+='}';
- window.parent.returnValue = retV;
- window.close();
- }
- </script>
- <%End Sub%>
- </form>
- </body>
- </html>
- <script language="JavaScript" type="text/JavaScript">
- function SelectClass()
- {
- var ReturnValue='',TempArray=new Array();
- ReturnValue = OpenWindow('../News/lib/SelectClassFrame.asp',400,300,window);
- if (ReturnValue.indexOf('***')!=-1)
- {
- TempArray = ReturnValue.split('***');
- document.all.ClassID.value=TempArray[0]
- document.all.ClassName.value=TempArray[1]
- }
- }
- function selectHtml_express(Html_express)
- {
- switch (Html_express)
- {
- case "out_Table":
- document.getElementById('div_id').style.display='none';
- document.getElementById('li_id').style.display='none';
- document.getElementById('ul_id').style.display='none';
- document.getElementById('DivID').disabled=true;
- break;
- case "out_DIV":
- document.getElementById('div_id').style.display='';
- document.getElementById('li_id').style.display='';
- document.getElementById('ul_id').style.display='';
- document.getElementById('DivID').disabled=false;
- break;
- }
- }
- </script>