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

📄 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-Type" content="text/html; charset=gb2312">
<META content=嘉善,新世纪,高中,教学,学校,教师,同学,教育资源,教研,学科 name=Jiashan,new,century,High,School>
<title><%=jjgn%></title>
<LINK href=index.css rel=stylesheet>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {color: #FFFFFF}
.style2 {color: #CECFD0}
-->
</style>
<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:120px;  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:140px;  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=0';
        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=400,height=300,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=460,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>
<%if R_BG=1 then %>
<script language="JavaScript1.1" src="float.asp"></script>
<%else%>
<%end if%>
<!--#include file=include/top.asp -->

</head>

<body background="img/bg.gif">
<%
dim typeid
dim typename
dim typecontent
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from type order by typeorder"
rs.Open rs.Source,conn,1,1
i=1
Dim ArraytypeID(10000),ArraytypeName(10000)


rs.close
set rs=nothing

set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from type where typeview=1 order by typeorder"
rs.Open rs.Source,conn,1,1
i=1
Dim ArraytyID(10000),ArraytyName(10000),Arraytyview(10000)
if not rs.EOF then
rseof=1

while not rs.EOF
RecordCount=rs.RecordCount
tyID=rs("typeID")
tyName=trim(rs("typeName"))
tycontent=rs("typecontent")
tyview=trim(rs("typeview"))
ArraytyID(i)=tyID
ArraytyName(i)=tyName
Arraytyview(i)=tyview
i=i+1

rs.MoveNext
wend
rs.close
%>
<table width="778" border="0" align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc">
  <tr>
    <td bgcolor="#858789">    <span class="style2">Home | Site</span></td>
    <td width="600" bgcolor="#BABBB6"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="AutoNumber2" style="border-collapse: collapse">
      <%if showclub=1 then%>
      <%if Request.cookies("username")="" then%>
      <tr>
        <form method="POST" action="CHKLOGIN.ASP" name="user" OnSubmit="return checkdata()">
          <td height="25" align="center"> <span class="style1">用户名</span>
              <input name="UserName" size="10" font face="宋体" style="font-size: 12px;height:16px">
              <span class="style1">密  码</span>
              <input type="password" name="Passwd" size="14" font face="宋体" style="font-size: 12px;height:16px">
              <span class="style1">验证码</span>
              <%dim num1,rndnum
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
%>
              <input type="text" name="verifycode" size="8" font face="宋体" style="font-size: 12px;height:16px">
              <b><span style="background-color: #CDCCCC"><font color=#000000><%=session("verifycode")%></font></span></b>
              <input type="submit" name="Submit" value="登录" style="font-size: 9pt;cursor:hand" title="登录系统">
              <%if reg=1 then%>
       
              <input type="button" name="Submit2" value="注册" style="font-size: 9pt;cursor:hand" onclick="javascript:adduser()" title="注册新会员">
              <%end if%>
       
              <input type="button" name="Submit2" value="忘密" style="font-size: 9pt;cursor:hand" onclick="javascript:getpwd()" title="忘记密码了?">
          </td>
        </form>
        <%else%>
      <tr>
        <td align="center"> 欢迎您:<b><%=Request.cookies("UserName")%></b> <%=Request.cookies("sex")%>
您的权限:
<%if Request.cookies("KEY")="super" and Request.cookies("purview")="99999" then%>
<font color="red">超级管理员</font>
<%end if%>
<%if Request.cookies("KEY")="super" and Request.cookies("purview")<>"99999" then%>
<font color="red">系统管理员</font>
<%end if%>
<%if Request.cookies("KEY")="check" then%>
<font color="red">文章审核员</font>
<%end if%>
<%if Request.cookies("KEY")="selfreg" then%>
<font color="red">注册用户</font>
<%end if%>
<%if Request.cookies("KEY")="smallmaster" then%>
<font color="red">小类管理员</font>
<%end if%>
<%if Request.cookies("KEY")="bigmaster" then%>
<font color="red">大类管理员</font>
<%end if%>
<%if Request.cookies("KEY")="typemaster" then%>
<font color="red">总栏管理员</font>
<%end if%>
您的等级:
<%if Request.cookies("KEY")<>"selfreg" then%>
<font color="red">内部成员</font>
<%end if%>
<%if Request.cookies("KEY")="selfreg" and Request.cookies("reglevel")="1" then%>
<font color="red">普通</font>
<%end if%>
<%if Request.cookies("KEY")="selfreg" and Request.cookies("reglevel")="2" then%>
<font color="red">高级</font>
<%end if%>
<%if Request.cookies("KEY")="selfreg" and Request.cookies("reglevel")="3" then%>
<font color="red">特级</font>
<%end if%> <a href="admin/index.asp">进入管理</a>  <a href="exit.asp">退出管理</a></td>
      </tr>
      <%end if%>
      <%end if%>
    </table></td>
  </tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0"style="border: 1px solid #cccccc" >
  <tr>
    <td width="480" height="174" valign="top" background="img/school01.jpg"><div align="center">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="480" height="170" align="absmiddle">
          <param name="movie" value="swf/index.swf">
          <param name="quality" value="high"><param name="wmode" value="transparent">
          <embed src="swf/index.swf" width="480" height="170" align="absmiddle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
      </object>
    </div></td>
    <td rowspan="2" valign="top"><table width="100%" height="189"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2"><img src="img/daodu.gif" width="295" height="46"></td>

⌨️ 快捷键说明

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