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

📄 user_showarticle.asp

📁 SK信息采集2.0功能介绍: 1.可针对任何静态网页,动态网页进行采集。包括htm,html,shtml,ASP,ASPX,JSP,PHP等。 2.增加自定文件采集.用户可采集网页中的所有文件.
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../SysCls/KS_UserCommonCls.asp"-->
<%
'===================================================================================================================
'软件名称:科汛网站管理系统
'当前版本:科汛网站管理系统 V2.2 SP2 Free
'Copyright (C) 2005-2006 Kesion.Com  All rights reserved.
'产品咨询QQ:9537636,41904294
'技术支持QQ:111394,54004407 
'程序版权:科汛网络
'程序开发:科汛网络开发组(总策划:林文仲)
'E-Mail  :kesioncms@hotmail.com webmaster@kesion.com
'官方网站:http://www.kesion.com  
'演示站点:http://test.kesion.com 
'郑重声明:
'    ①、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
'    ②、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
'    ③、科汛网络保留此软件的法律追究权利
'===================================================================================================================
Dim KSCls
Set KSCls = New Admin_Index
KSCls.Execute()
Set KSCls = Nothing

Class Admin_Index
        Private KSCMS,KSUser
		Private Sub Class_Initialize()
		  Set KSCMS=New CommonCls
		  Set KSUser = New UserCls
		End Sub
        Private Sub Class_Terminate()
		 Set KSCMS=Nothing
		 Set KSUser=Nothing
		End Sub
		Public Sub Execute()
		
		IF Cbool(KSUser.UserLoginChecked)=false Then
		  Response.Write "<script>location.href='Login.asp';</script>"
		  Exit Sub
		End If
		KSUser.LoadHead()
		%>

		<TABLE height="380" cellSpacing=0 width=770 align=center border=0>
		<TR>
		<TD vAlign=top bgColor=#FFFFFF>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="32">&nbsp;当前位置 >> <a href="<%=KSCMS.GetConfig("WebUrl")%>"><%=KSCMS.GetConfig("WebName")%></a> >> <a href="index.asp">会员中心</a> &gt;&gt; <a href="User_MyArticle.asp">文章管理</a> &gt;&gt; 文章预览 </td>
          </tr>
          <tr>
            <td>
			</td>
          </tr>
        </table>
		
		  <table width="770" height="520" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td valign="top">

                <%Dim RS
				  Dim ID:ID=KSCMS.G("ID")
				  if ID="" or not isnumeric(ID) Then ID=0
				Set RS=Server.CreateObject("Adodb.Recordset")
				RS.Open "Select * From KS_UserArticle Where ID=" & ID,Conn,1,1
				IF RS.Eof And RS.Bof Then
				  Response.Write "<script>alert('对不起,参数传递出错!');</script>"
				  Exit Sub
				End If
				%>
				<table width="765" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="42"><table width="98%" border="0" cellpadding="0" cellspacing="0" align="center">
                        <tr>
                          <td width="180"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="50"><img src="Images/ADD.gif" width="36" height="27" /></td>
                                <td>文章预览</td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
                    <tr>
                      <td><table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
                          <tr>
                            <td width="18">&nbsp;</td>
                            <td>
							
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td height="1" bgcolor="E1E1E1"></td>
                                </tr>
                                <tr>
                                  <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td height="35" align="center" bgcolor="F4F4EA">
										<span class="font2"><%=RS("Title")%></span>
										<br>
										作者:<%=RS("Author")%> 来源:<%=RS("Origin")%> 更新时间:<%=RS("AddDate")%>
										</td>
                                      </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="1" bgcolor="E1E1E1"></td>
                                </tr>
                               
                                <tr>
                                  <td height="250" valign="top"><%=RS("Content")%></td>
                                </tr>
                                

                                <tr>
                                  <td height="1" bgcolor="E1E1E1"></td>
                                </tr>
                                <tr>
                                  <td height="25" align="center">
								  <input onclick="javascript:window.close()" type="button" name="Submit" value="关闭窗口" />
								  </td>
                                </tr>
                                <tr>
                                  <td height="1" bgcolor="E1E1E1"></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                  </form>
			    </table>
				<br />
			  </td>
            </tr>
          </table>
		  </TD>
		 </TR>
	</TABLE> 
		  <%
       KSUser.LoadFoot()
  End Sub
End Class
%>

⌨️ 快捷键说明

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