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

📄 index.asp

📁 是一个关于小学信息化教育的平台,提供了学校论坛,和聊天室功能!
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="../../include/db.asp"-->
<!--#include file="../../include/admin_check.asp"-->
<!--#INCLUDE FILE="power.ASP"-->
<%
Set conn = OpenOrGet_Database("sql_conn")


%>
<html>
<head>
<title>深圳育才一小欢迎您!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/include/page.css" type="text/css">
<LINK href="/Include/DatePicker.css" rel=stylesheet type=text/css>
<SCRIPT language=javascript src="/include/DateObject.js"></SCRIPT>
<SCRIPT language=javascript src="/include/DatePicker.js"></SCRIPT>
<SCRIPT language=javascript src="/include/editlib.js"></SCRIPT>
</head>

<body >
<table width="1" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td> 
      <table width="753" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><!--#include file="../../include/admin_banner.inc"--></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="1%">&nbsp;</td>
                <td width="99%"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td id="td1">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="21%" valign="top"><!--#include file="../../include/admin_left.inc"--></td>
                            <td width="2%" valign="top">&nbsp;</td>
                            <td width="77%" height=1 valign="top">
							<% selectsql="select id,name,number from item_type where len(number)=2 order by number"
							  set itemRs=open_rs(conn,selectsql)
							  if not (itemRs.eof and itemRs.bof) then %>
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
							  <%
									num=itemRs.recordcount\2							  		
									if (itemRs.recordcount mod 2)<>0 then num=num+1
									
									for i=1 to num

							  %>
                                <tr> 
                                  <td width="50%" align="center" valign="top"> 
                                    <% if not itemRs.eof then %>
                                    <table width="97%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td> 
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr valign="top"> 
                                              <td background="/images/middle/m-bg.gif" width="70"> 
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td> 
                                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr> 
                                                          <td><img src="/images/border/A01.gif" width="12" height="19"></td>
                                                          <td nowrap style="background-image:url('/images/border/A_bg1.gif');padding-top:3px;font-size:12px;" valign="middle" width="50"> 
                                                            <div align="center"><%=itemrs("name")%></div>
                                                          </td>
                                                          <td><img src="/images/border/A02.gif" width="18" height="19"></td>
                                                        </tr>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                  <tr> 
                                                    <td><img src="/images/border/01.gif" width="2" height="19"></td>
                                                  </tr>
                                                </table>
                                              </td>
                                              <td background="/images/border/Bg1.gif"  align="right"><img src="/images/border/02.gif" width="3" height="38"></td>
                                              <td width="6" align="right"><img src="/images/border/04.gif" width="16" height="38"></td>
                                            </tr>
                                          </table>
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr> 
                                              <td class="bg-left" width="6"><img src="/images/left/l-l.gif" border=0></td>
                                              <td width="100%" class="newsborder" valign="top"> 
                                                <%selectsql="select name,id,number,show_type from item_type where len(number)=4 and left(number,2)='"&itemRs("number")&"' order by  number"
							set subItemRs=open_rs(conn,selectsql)
								if not(subItemRs.eof and subItemRs.bof) then
									for j=1 to subItemRs.recordcount
										response.write "<img src='/images/border/dot.gif' width='9' height='9'>&nbsp;"
														
											if checkAdmin(subItemRs("number"),session("content_admin")) or session("adm_power")="1" then
												if subItemRs("show_type")="char" then
													response.write "<a href='content.asp?act=search&type="&subItemRs("number")&"'>"
												else 
													if subItemRs("show_type")="image" or subItemRs("show_type")="image2" then
														response.write "<a href='content2.asp?act=search&type="&subItemRs("number")&"'>"
													else
														
														if subItemRs("show_type")="link" then
															response.write "<a href='content4.asp?act=search&type="&subItemRs("number")&"'>"
														else														
															response.write "<a href='content3.asp?act=search&type="&subItemRs("number")&"'>"
														end if
													end if
												end if
												response.write subItemRs("name")
												response.write "</a>"
												response.write "<br><br>"
												subItemRs.movenext
											else
												response.write "<font color='gray'>"
												response.write subItemRs("name")
												response.write "</font>"
												response.write "<br><br>"
												subItemRs.movenext
											end if
									next
								end if%>
                                              </td>
                                              <td class="bg_right" width="6"><img src="/images/left/l-r.gif" border=0></td>
                                            </tr>
                                          </table>
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr valign="top" class="Border-a"> 
                                              <td width="6"><img src="/images/border/05.gif" width="13" height="8"></td>
                                              <td width="100%" align="right"></td>
                                              <td align="right" width="6"><img src="/images/border/06.gif" width="12" height="8"></td>
                                            </tr>
                                          </table>
                                        </td>
                                      </tr>
                                    </table><% 
                                    					response.write "<br>"
									itemRs.movenext
									end if %>
                                  </td>
                                  <td width="50%" align="center" valign="top"> 
                                    <% if not itemRs.eof then %>
                                    <table width="97%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td> 
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr valign="top"> 
                                              <td background="/images/middle/m-bg.gif" width="70"> 
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td> 
                                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">

⌨️ 快捷键说明

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