<?session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>首页-中科院计算技术研究所普适计算中心</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK
href="ucc_files/v1.css" type=text/css rel=stylesheet>
<LINK
href="ucc_files/tab.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
</style>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<CENTER>
<DIV class=body>
<DIV class="top"><A href="default.htm"></A></DIV>
<div id="tabs10">
<ul>
<!-- CSS Tabs -->
<li id="current"><a href="./default.php"><span><font face="黑体" >首页</font></span></a></li>
<li><a href="../upload"><span><font face="黑体" >寻师求学</font></span></a></li>
<li><a href="../upload"><span><font face="黑体" >超级访问</font></span></a></li>
<li><a href="./sousuo1"><span><font face="黑体">站内搜索</font></span></a></li> </ul>
</div>
<div align="left"><br>
<?
$display_block3 = "<h2>用户登陆</h2>
<form method='post' action='./chuli.php'>
<input type='text' name='username' value=''><br>
<input type='password' name='pwd' value=''><br>
<input type='submit' name='submit1' value='提交'>
<input type ='reset' name='reset1'>
</form>"."<a href='./zhuce.html'><span><font face='黑体'>新用户注册</font></span></a>";
if(isset($_SESSION['haha']))
{
echo $_SESSION['haha'].",欢迎您的光临!!!";
}
else
{echo "$display_block3";}
?>
</div>
<p><h1>语文</h1><a href="./sousuo2.php">更多...</a></p>
<?
$db_name = "pintai1";
$table_name = "subject";
$connection = @mysql_connect("localhost", "root", "saojian")
or die(mysql_error());
$db = @mysql_select_db($db_name, $connection) or die(mysql_error());
MYSQL_query("SET NAMES 'gb2312'");
$sql = "SELECT * FROM $table_name where s_category='chinese' ORDER BY s_time";
$result = @mysql_query($sql,$connection) or die(mysql_error());
$i=1;
while ($row = mysql_fetch_array($result)) {
$s_id = $row['s_id'];
$s_title = ($row['s_title']);
$s_content = stripslashes($row['s_content']);
$s_category = stripslashes($row['s_category']);
$s_prior = stripslashes($row['s_prior']);
$s_time = stripslashes($row['s_time']);
$display_block .= "<a href=./xianshi.php?a=$s_title>$s_title</a>";
if($i%6==0)
{$display_block.= "<br>";}
else $display_block.="     ";
$i++;
}
?>
<? echo "$display_block"; ?>
<p><h1>英语</h1><a href="./sousuo3.php">更多...</a></p>
<?
$db_name = "pintai1";
$table_name = "subject";
$connection = @mysql_connect("localhost", "root", "saojian")
or die(mysql_error());
$db = @mysql_select_db($db_name, $connection) or die(mysql_error());
MYSQL_query("SET NAMES 'gb2312'");
$sql = "SELECT * FROM $table_name where s_category='english' ORDER BY s_time";
$result = @mysql_query($sql,$connection) or die(mysql_error());
$i=1;
while ($row = mysql_fetch_array($result)) {
$s_id = $row['s_id'];
$s_title = ($row['s_title']);
$s_content = stripslashes($row['s_content']);
$s_category = stripslashes($row['s_category']);
$s_prior = stripslashes($row['s_prior']);
$s_time = stripslashes($row['s_time']);
$display_block1 .= "<a href=./xianshi.php?a=$s_title>$s_title</a>";
if($i%6==0)
{$display_block1.= "<br>";}
else $display_block1.="     ";
$i++;
}
?>
<? echo "$display_block1"; ?>
<p><h1>数学</h1><a href="./sousuo4.php">更多...</a></p>
<?
$db_name = "pintai1";
$table_name = "subject";
$connection = @mysql_connect("localhost", "root", "saojian")
or die(mysql_error());
$db = @mysql_select_db($db_name, $connection) or die(mysql_error());
MYSQL_query("SET NAMES 'gb2312'");
$sql = "SELECT * FROM $table_name where s_category='shuxue' ORDER BY s_time";
$result = @mysql_query($sql,$connection) or die(mysql_error());
$i=1;
while ($row = mysql_fetch_array($result)) {
$s_id = $row['s_id'];
$s_title = ($row['s_title']);
$s_content = stripslashes($row['s_content']);
$s_category = stripslashes($row['s_category']);
$s_prior = stripslashes($row['s_prior']);
$s_time = stripslashes($row['s_time']);
$display_block2 .= "<a href=./xianshi.php?a=$s_title>$s_title</a>";
if($i%6==0)
{$display_block2.= "<br>";}
else $display_block2.="     ";
$i++;
}
?>
<? echo "$display_block2"; ?>
<div class="foot">
<br />
Copyright@2008 All Rights Reserved. 中国科学院计算技术研究所普适计算研究中心 版权所有<br />
地址:北京海淀区中关村科学院南路6号 电话:86-010-62600645 <br />
邮编:100190 Email:[email protected]
</div>
</DIV></CENTER></BODY></HTML>
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
ceshi.rar (65个子文件)
ceshi
charu.html 2KB
default.php 5KB
sousuo2.php 2KB
sousuo.php 2KB
sousuo4.php 2KB
zhuce.html 2KB
houtai.php 3KB
sousuo3.php 2KB
pinlunhoutai.php 1KB
zhuce.php 3KB
chuli.php 772B
xianshi.php 4KB
sousuo1.html 2KB
ucc_files
h_ict_logo.gif 2KB
wzs.jpg 4KB
bg.gif 845B
news.js 1KB
zzm.jpg 6KB
tabright.gif 2KB
v1.css 6KB
news.jpg 20KB
tableft.gif 637B
dot01.gif 101B
ictLogo.jpg 4KB
shz.jpg 2KB
ieeeper.bmp 28KB
ubicomp2008.gif 31KB
toplit.jpg 150KB
d.gif 1KB
new.gif 1KB
logo.png 10KB
bline.gif 873B
ibm.gif 713B
tupiangundong.js 1KB
shidian.jpg 20KB
fenlandangjian.gif 4KB
avs_logo.gif 7KB
bgd.bmp 19KB
tuanqi.jpg 22KB
lsx.jpg 5KB
newsss.jpg 20KB
hot.gif 220B
Thumbs.db 100KB
percomlogo09.jpg 30KB
dot_05.gif 69B
notice.jpg 15KB
t.gif 5KB
fenlantuanjian.gif 4KB
foot.jpg 24KB
t4.gif 711B
newss.jpg 17KB
qyl.jpg 5KB
shidian.js 1KB
zxa.jpg 11KB
cyq.jpg 5KB
zxd.jpg 8KB
hots.gif 999B
announce.jpg 20KB
a.bmp 678KB
zxc.jpg 8KB
tab.css 1KB
acmlogo.gif 17KB
zxb.jpg 10KB
tuanqi.gif 2KB
flag.gif 42KB
共 65 条
- 1
pantuoyu1
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0