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

📄 index.asp

📁 一个功能强大
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<%@ Language=VBScript%>
<!--#include file=include/conn.asp -->
<!--#include file=include/function.asp -->
<!--#include file=include/config.asp -->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="110">
<title><%=jjgn%></title>
<LINK href=news.css rel=stylesheet>
<script language="JavaScript">
if (self != top) top.location.href = window.location.href
</script>
<script language=JavaScript>
var version = "other"
browserName = navigator.appName;   
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";
function marquee1()
{
	if (version == "e4")
	{
		document.write("<marquee style='BOTTOM: 0px; FONT-WEIGHT: 100px; HEIGHT:111px;  TEXT-ALIGN: left; TOP: 0px' id='news' scrollamount='1' scrolldelay='10' behavior='loop' direction='up' border='0' onmouseover='this.stop()' onmouseout='this.start()'>")
	}
}

function marquee2()
{
	if (version == "e4")
	{
		document.write("</marquee>")
	}
}
//-->
</script>
<script language=JavaScript>
var version = "other"
browserName = navigator.appName;   
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";
function marquee5()
{
	if (version == "e4")
	{
		document.write("<marquee style='BOTTOM: 0px; FONT-WEIGHT: 100px; HEIGHT:100px;  TEXT-ALIGN: left; TOP: 0px' id='news' scrollamount='1' scrolldelay='10' behavior='loop' direction='up' border='0' onmouseover='this.stop()' onmouseout='this.start()'>")
	}
}

function marquee6()
{
	if (version == "e4")
	{
		document.write("</marquee>")
	}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript1.2">
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
</script><SCRIPT language="JavaScript" type="text/javascript">
    // Begin morelink
      function morelink(morelink)
      {
        url = 'morelink.asp?linktype=1';
        window.open(url,morelink);
      }
    // End morelink-->
 // Begin linkreg
      function linkreg(linkreg)
      {
        url = 'admin/linkreg.asp';
        window.open(url,linkreg,"width=350,height=400,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no");
      }
    // End linkreg-->
// Begin vote
      function vote(vote)
      {
        url = 'admin/vote.asp?stype=view';
        window.open(url,vote,"width=600,height=350,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no");
      }
    // End vote-->
// Begin adduser
      function adduser(adduser)
      {
        url = 'admin/adduser.asp';
        window.open(url,adduser,"width=400,height=480,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no");
      }
    // End adduser-->
// Begin getpwd
      function getpwd(getpwd)
      {
        url = 'admin/getpwd.asp';
        window.open(url,getpwd,"width=350,height=330,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no");
      }
    // End getpwd-->
</script>
<script LANGUAGE="javascript">
<!--
function checkdata()
{
if (document.user.UserName.value=="")
	{
	  alert("对不起,请输入您的用户名!")
	  document.user.UserName.focus()
	  return false
	 }
else if (document.user.Passwd.value=="")
	{
	  alert("对不起,请输入您的密码!")
	  document.user.Passwd.focus()
	  return false
	 }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
</script>
<style type="text/css">
<!--
.zbk1 {
	border: 1px solid #CCCCCC;
}
.zbk2 {
	border-top: 1px none #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
}
.style1 {
	color: #FFFFFF;
	font-size: 12px;
	font-family: Verdana, "宋体", "黑体", "仿宋_GB2312";
}
body {
	background-image: url(zqcindex.files/bgz.gif);
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style2 {color: #FF0000}
-->
</style>
</head>









<%if R_BG=1 then %>
<script language="JavaScript1.1" src="float.asp"></script>
<%else%>
<%end if%>
<body>
<!--#include file=include/top.asp -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="zbk2">
  <tr>
    <td width="149" height="20" bgcolor="#D5E441"><div align="center" class="1"><a href="index.asp">QQ&nbsp;                                                                                                                                                                                                             
        65861451</a></div></td> 
    <td width="31" bgcolor="#E9E9E7"></td>
    <td width="570" bgcolor="#E9E9E7"><marquee scrolldelay="5" scrollamount="2" >
      <font color=#ff0000><%=gg1%></font>
    </marquee></td>
    <td width="26" bgcolor="#E9E9E7">&nbsp;</td>
  </tr>
</table>












                          
                          
                          








<table width="778" border="0" align="center" cellpadding="0" cellspacing="0"  bgcolor="white"   class="zbk2"   bgcolor="white"
       >
  <tr>
    <td width="180" valign="top"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="8"></td>
        </tr>
      </table>    



      <table width="180"  border="0" align="center" cellpadding="0" cellspacing="3"  background="guang/affiche_r2_c1.gif"                 class="zbk1" height="161">
        <tr>
          <td height="32" width="180">
            <p align="center"> </p>
          </td>
        </tr>
        <tr>
          <td height="121" width="180"   align="center"         ><table width="180" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="right" width="180">
                <p align="center"><%
set rs=server.CreateObject("ADODB.RecordSet") 
rs.Source="select * from board where inuse=1"
rs.Open rs.Source,conn,1,1
if not rs.EOF then
%>
                <%if len(rs("title"))>20 then%>                                              
                    <%=left(rs("title"),20)%>...                                                                                                                                                                             
                    <%else%>
                    <%=trim(rs("title"))%>                                                                                                                                                                             
                    <%end if%>                                                                                                                                                                             
                    
                    <br>
                    <%=rs("dateandtime")%></p>
              </td></tr>
            <tr>
 <td align="right" width="150">
                  &nbsp;&nbsp;      <script language=JavaScript>marquee1();</script>                                       
                    <%=rs("content")%>                                       
                <script language=JavaScript>marquee2();</script></td>                                       
            </tr>
            <tr>
              <td align="right" width="143"><div align="right"><a href="board.asp" target="_blank" class=class>以前公告...</a></div></td>
            </tr>
          </table>
          
          
          
          
           
<div align="center"> </div></td>
        </tr>
      </table>
               
     
     
     
      
      <table width="190"  border="0" align="center" cellpadding="0" cellspacing="3"  class="zbk1" height="78">
        <tr>
          <td background="guang/button.gif" height="29">
            <p align="center"><b>                     <font size="3" color="#000000">固本强基</font></b></p>
          </td>
        </tr>
        <tr>
          <td height="14"><%if showspecial=1 then%>
            <%set rs2=server.CreateObject("ADODB.RecordSet")  '专题
rs2.Source="select Top " & top_sp & " * from Special  order by SpecialID DESC "
rs2.Open rs2.Source,conn,1,1
if not rs2.EOF then
while not rs2.EOF
TrString="&nbsp;·&nbsp;<a href='Special_News.asp?SpecialID=" & rs2("SpecialID") &"'>" & trim(left(rs2("SpecialName"),12)) & "</a><br>"
Response.Write TrString
rs2.MoveNext
wend%>
</td>
</tr>
        <tr>
          <td height="21"><div align="right"><a class=class href=special.asp>更多专题...</a>
              <%else                                                                                                                                            
Response.Write "<tr><td align=center height=25 >暂无专题</td></tr>"
end if
rs2.Close
set rs2=nothing%>
<%end if%>                                                                                                                                            
          </div></td>
        </tr>
      </table>
     
     
     
     
       <table width="174"  border="0" align="center" cellpadding="0" cellspacing="3"  class="zbk1" height="71">
        <tr>
          <td background="guang/button.gif" height="30" width="201">
            <p align="center"><b><font size="3" color="#000000">&nbsp; 学校荣誉</font></b></p>      
          </td>
        </tr>
        <tr>
          <TD align=middle height=150 width="201">        
            <TABLE height=114 cellSpacing=0 cellPadding=0 width=147 border=0>        
              <TBODY>        
              <TR>        
                <TD align=middle width=187>        
                  <TABLE height=130 cellSpacing=1 cellPadding=0 width=176         
                  bgColor=#cccccc border=0>        
                    <TBODY>        
                    <TR>        
                      <TD bgColor=#ffffff width="190">        
                        <TABLE height=91 cellSpacing=1 cellPadding=0 width=150         
                        align=center bgColor=#000000 border=0>        
                          <TBODY>        
                          <TR>        
                                      <TD width="174" height="89"> </TD>        
                                    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>        
                <TD vAlign=bottom align=middle width=17></TD></TR></TBODY></TABLE>        
            <TABLE border=0>        
              <TBODY>        
              <TR>        
                <TD height=5></TD></TR></TBODY></TABLE>        
            <TABLE height=114 cellSpacing=0 cellPadding=0 width=154 border=0>        
              <TBODY>        
              <TR>        
                <TD align=middle width=170>        
                  <TABLE height=130 cellSpacing=1 cellPadding=0 width=170         
                  bgColor=#cccccc border=0>        
                    <TBODY>        
                    <TR>        
                      <TD bgColor=#ffffff>        
                        <TABLE height=102 cellSpacing=1 cellPadding=0 width=150         
                        align=center bgColor=#000000 border=0>        
                          <TBODY>        
                          <TR>        
                                      <TD height="100"> </TD>        
                                    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>        
                <TD vAlign=bottom align=middle width=17></TD></TR></TBODY></TABLE>        
            <TABLE border=0>        
              <TBODY>        
              <TR>        
                <TD height=5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       
                  更多....</TD></TR></TBODY></TABLE></TD>
       
      </table>
     
     
     
     
     
     
     
     
     
     
     
     
     
     

⌨️ 快捷键说明

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