admin_code_old.asp
资源名称:imail.rar [点击查看]
上传用户:lwb168
上传日期:2021-10-31
资源大小:722k
文件大小:2k
源码类别:
Email服务器
开发平台:
ASP/ASPX
- <!--#include file="isuser.asp"-->
- <style>
- <!--
- a:link { font-size: 9pt; font-family: 宋体; color: #000000;text-decoration: none; }
- a:visited { color: #000000; font-family: 宋体; font-size: 9pt;text-decoration: none; }
- a:hover { font-size: 9pt; font-family: 宋体; color: #000000;TEXT-DECORATION: underline; }
- body { font-family: 宋体; color: #000000; font-size: 9pt }
- p { color: #000000; font-family: 宋体; font-size: 9pt }
- td { font-size: 9pt; font-family: 宋体; color: #000000 }
- input { font-size: 9pt; font-family: 宋体; color: #000000 }
- -->
- </style>
- <script language="JavaScript">
- <!--
- function FP_jumpMenu(el,frm,sel) {//v1.0
- var href=el.options[el.selectedIndex].value; if(sel) el.selectedIndex=0;
- if('_new'==frm) open(href); else eval(frm+".location='"+href+"'");
- }
- // -->
- </script>
- <!--#include file = admin_conn.asp -->
- <p align="center">
- </p>
- <p align="center">
- <select size="1" onchange="FP_jumpMenu(this,'window',false)" id="id1" name="D1">
- <option value>请选择栏目</option>
- <%
- sql = "select * from lm order by id desc"
- Set rs = Server.CreateObject("ADODB.RecordSet")
- rs.Open sql,conn,1,1
- while not rs.eof
- response.write "<option value=admin_code.asp?id="&rs("id")&">"&rs("lm")&"</option>"
- rs.movenext
- wend
- %>
- </select></p>
- <%
- id=trim(request("id"))
- if id<>"" then
- %>
- <div align="center">
- <table border="1" width="600" id="table1" cellspacing="0" cellpadding="5" style="border-collapse: collapse" bordercolor="#C0C0C0">
- <tr>
- <td bgcolor="#F5F5F5"><iframe name=xuasnews<%=id%> src=/新闻系统路径/newscode.asp?lm=<%=id%>&lmname=0&n=20&list=10&more=1&open=1 marginwidth=1 marginheight=1 width=250></iframe></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"> </td>
- </tr>
- <tr>
- <td bgcolor="#F5F5F5">newscode.asp?lm=<%=id%>&lmname=0&n=20&list=10&more=1 说明<p>
- lm 栏目的ID,一般不用改动它。<br>
- lmname=0 是否显示栏目名称 0不显示 1为显示<br>
- n=20 每个标题显示的字数。默认是20个字<br>
- list=10 显示多少条标题,默认是10条标题<br>
- more=1 是否显示“更多内容”,0不显示 1为显示<br>
- open=1 是否新开窗口浏览新闻内容,0不新开 1为新开</td>
- </tr>
- </table>
- </div>
- <%
- end if
- %>