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

📄 control.asp

📁 程序名称:酷虎网校友录 V1.0 (商业版)*(修改版) * 本软体为商业软件
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!--#include file="inc/css.asp"-->
<script language="javascript">
function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',top=100,left=150,resizable=0,scrollbars=yes,menubar=no' );
}
</script>
<title><%=WebSiteName%></title>
</head>
<body topmargin="0" background="images/bg.gif">
<!--#include file="top.asp"-->
<div align="center">
  <center>
  <table border="0" width="755" cellspacing="0" cellpadding="0" height="341">
    <tr>
      <td width="189" style="background-color: #FFFFFF; border-left: 1 solid #000000; border-top: 1 solid #000000; border-bottom: 1 solid #000000" valign="top" height="341"> 
 		<!--#include file="cleft.asp"-->
      </td>
      <td width="562" style="background-color: #FFFFFF; border: 1 solid #000000" valign="top" height="341">
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="20%" height="25" bgcolor="#FFFFFF" style="border-right: 1 solid #000000" align="center">
              <font color="#545454"><b>
              控制面板首页</b></font>
            </td>
            <td width="20%" height="25" bgcolor="#EDEDED" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000" align="center">
              <b>
              <a href="controledit.asp">
              编辑个人资料</a></b>
            </td>
            <td width="20%" height="25" bgcolor="#EDEDED" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000" align="center">
              <b>
              <a href="controlpass.asp">
              修改登录密码</a></b>
            </td>
            <td width="20%" height="25" bgcolor="#EDEDED" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000" align="center">
              <b>
              <a href="controlmail.asp">
              短消息信箱</a></b>
            </td>
            <td width="20%" height="25" bgcolor="#EDEDED" style="border-bottom: 1 solid #000000" align="center">
              <b>
              <a href="controlfriend.asp">
              好友列表</a></b>
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top" colspan="5" height="5">
            
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top" colspan="5" height="5">
            <div align="center">
              <table border="0" width="90%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000;" bgcolor="#EDEDED" height="25" colspan="2">
                    <table border="0" cellspacing="0" cellpadding="0" height="18">
                      <tr>
                        <td height="18" width="20">
                          <p align="center"><img border="0" src="images/den.gif" align="right" width="15" height="15"></td>
                        <td valign="bottom">『 您最新发布的三条信息 』</td> 
                      </tr>
                    </table>
                  </td>     
                </tr>
                <%
                SQL="Select * From 信息发布 Where 发布者='"& Session("User") &"' Order By ID Desc"
                Set RS=Server.CreateObject("ADODB.Recordset")
                RS.Open SQL,Connstr,1,1
                If Not RS.Eof Then
                I=0
                Do While Not Rs.Eof And I<3
                %> 
                <tr>
                  <td width="70%" height="22">&nbsp;标题:<a href="infodisplay.asp?id=<%=RS("ID")%>"><%=RS("主题")%></a></td>
                  <td width="30%" height="22">时间:<%=RS("发布日期")%></td>
                </tr>
                <%
                RS.MoveNext
                I=I+1
                Loop
                Else
                %>
                <tr>
                  <td width="100%" height="22" colspan="2">
                    <p align="center"><font color="#FF0000">没有发布过信息!</font></td>
                </tr>
                <%End IF%>                
                <tr>
                  <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000;" bgcolor="#EDEDED" height="25" colspan="2">
                    <table border="0" cellspacing="0" cellpadding="0" height="18">
                      <tr>
                        <td width="20">
                          <p align="center"><img border="0" src="images/den.gif" align="right" width="15" height="15"></td>
                        <td valign="bottom" height="18">『 
                          您最新发布的三条祝愿 』</td> 
                      </tr>
                    </table>
                  </td>     
                </tr>
                <%
                SQL="Select * From 真情祝福 Where 姓名='"& Session("User") &"' Order By ID Desc"
                Set RS=Server.CreateObject("ADODB.Recordset")
                RS.Open SQL,Connstr,1,1
                If Not RS.Eof Then
                I=0
                Do While Not Rs.Eof And I<3
                %>                 
                <tr>
                  <td width="70%" height="22">&nbsp;略摘:<a href="wishdisplay.asp?id=<%=RS("ID")%>"><%
                  IF LEN(RS("内容"))>24 Then
                  Response.Write Server.HTMLEncode(Mid(RS("内容"),1,22) & "......")
                  Else
                  Response.Write Server.HTMLEncode(RS("内容"))
                  End IF%></a></td>
                  <td width="30%" height="22">类型:<%IF RS("类型")="family" Then%>家庭<%ElseIF RS("类型")="school" Then%>学校<%ElseIF RS("类型")="life" Then%>生活<%ElseIF RS("类型")="health" Then%>健康<%ElseIF RS("类型")="career" Then%>事业<%ElseIF RS("类型")="future" Then%>未来<%ElseIF RS("类型")="love" Then%>恋爱<%ElseIF RS("类型")="riches" Then%>财富<%End IF%></td>
                </tr>
                <%
                RS.MoveNext
                I=I+1
                Loop
                Else
                %>                
                <tr>
                  <td width="100%" height="22" align="center" colspan="2"><font color="#FF0000">没有发布过祝愿!</font></td>
                </tr>
                <%End IF%>                  
                <tr>
                  <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000;" bgcolor="#EDEDED" height="25" colspan="2">
                    <table border="0" cellspacing="0" cellpadding="0" height="18">
                      <tr>
                        <td width="20" valign="middle">
                          <p align="center"><img border="0" src="images/den.gif" align="right" width="15" height="15"></td>
                        <td valign="bottom" height="18">『     
                    您最新发布的三条留言 』</td> 
                      </tr>
                    </table>
                  </td>    
                </tr>
                <%
                SQL="Select * From 留言信息 Where 姓名='"& Session("User") &"' Order By ID Desc"
                Set RS=Server.CreateObject("ADODB.Recordset")
                RS.Open SQL,Connstr,1,1
                If Not RS.Eof Then
                I=0
                Do While Not Rs.Eof And I<3
                %>                 
                <tr>
                  <td width="70%" height="22">&nbsp;主题:<a  href="JavaScript:openScript('gbookdisplay.asp?id=<%=RS("ID")%>',500,180)"><%=RS("主题")%></a></td>
                  <td width="30%" height="22">时间:<%=RS("发布时间")%></td>
                </tr>
                <%
                RS.MoveNext
                I=I+1
                Loop
                Else
                %>                
                <tr>
                  <td width="100%" height="22" colspan="2" align="center"><font color="#FF0000">没有发布过留言!</font></td>
                </tr>
                <%End IF%>                  
                <tr>
                  <td width="100%" colspan="2"></td>
                </tr>
              </table>
            </div>
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top" colspan="5" height="5">
            
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
<!--#include file="bottom.asp"-->
</body>

</html>

⌨️ 快捷键说明

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