📄 index_bottom.php
字号:
<?php session_start(); if(!isset($_SESSION['login'])) $_SESSION['login']=false;?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>EasyTeacher信息技术课堂教学助手(ItAssis)学生端-下</title>
<link href="et.css" rel="stylesheet" type="text/css">
<style type="text/css">
body,td,th {font-size: 14px;}
.style1 {font-weight: bold}
</style>
<script language="javascript" src="ItAssisJS/java.js"></script>
</head>
<body>
<table width="740" height="500" border="0" align="center" cellpadding="1" cellspacing="1" bordercolor="#B5BED6" bgcolor="#000000">
<tr>
<td width="120" rowspan="2" valign="top" bgcolor="#FFFFFF"><p align="center" class="style1">
<?php
include "config.inc.php";
include "ItAssisFC/FLib.php";
$msg="";
if( $_SESSION['login'] || isset($_POST['id']) ){
include "conn.inc.php";
$db=Connect_db($CFG_DB_ADDRESS,$CFG_DB_PORT,$CFG_DB_NAME,$CFG_DB_OWNER,$CFG_DB_PWD);
if(isset($_POST['id']))
$sid=preg_replace("/\s| /","",$_POST['id']);
else
$sid=$_SESSION['sid'];
$sql="SELECT * FROM stu WHERE sid=\"$sid\"";
$result=mysql_query($sql,$db) or die("<b>$sql</b><br>" . mysql_error());
$login_ok=true;
if( !($array=mysql_fetch_array($result)) )
{$msg.="<br><span class=red>查无此人!,可能名字弄错了?<br></span>";$login_ok=false;}
if($login_ok && $_SESSION['login']==false)//未登陆学生还要检查密码
if($array['pwd']!=$_POST['pwd'])
{$msg= "密码错误!";$login_ok=false;}
//根据自己所在班级是否已排课情况,插入登陆记录
if($login_ok){
$g=$array['grade'];
$c=$array['class'];
$sql="SELECT * FROM lesson WHERE grade=$g and class=$c and end=\"N\"";
$result=mysql_query($sql,$db) or die("<b>$sql</b><br>" . mysql_error());
if(mysql_num_rows($result)>0){
$array2=mysql_fetch_array($result);
$cid=$array2['cid'];
}else
$cid="NULL";
if(!isset($_SESSION['sid'])){//首次登陆记录登陆信息
$ip=$_SERVER['REMOTE_ADDR'];
$sql="insert into login_his(cid,sid,ip) VALUES($cid,\"$sid\",\"$ip\")";
mysql_query($sql,$db) or die("<b>$sql</b><br>" . mysql_error());
}
//更新班级在线课堂表中登陆记录
$online_class=$g."_".$c;
$result=mysql_list_tables($CFG_DB_NAME);
$i=0;
while($row = mysql_fetch_row($result))
$tables[$i++]=$row[0];
if( in_array($online_class,$tables)){
$sql="update $online_class set login='Y' where sid=\"$sid\"";
mysql_query($sql,$db) or die("<b>$sql</b><br>" . mysql_error());
}
$_SESSION['cid']=$cid;//提供提交作业时的课程资源
$_SESSION['grade']=$g;//提供班级信息 提交作业用
$_SESSION['class']=$c;//提供年级信息 提交作业用
$_SESSION['sid']=$sid;
$_SESSION['login']=true;
if(!$array['pic']) $array['pic']="none.jpg";
?>
<table width=120 height="352" border=0 bordercolor=#FFFFFF>
<tr>
<td width="110" height="133" bgcolor="#FFF7F7"><div align="center"><a href="stu_set_profile.php" target="mainFrame"> </a><a href="stu_set_profile.php" target="mainFrame"><img alt="点照片编辑个人资料" src="<?php echo "$CFG_STU_PHOTO_DIR/".$array['pic'];?>" width="100" height="120" border="0" ></a> </div></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="2" bordercolor="#C6F7D6">
<tr>
<td background="images/bg.jpg"><P align="center">个人档案</td>
</tr>
<tr>
<td><P>姓名:<?php echo $array['sid']; ?></td>
</tr>
<tr>
<td><P>职务:<?php echo $STU_TYPE[$array['identity']]; ?> </td>
</tr>
<tr>
<td><p>得分:<?php echo $array['score']; ?> </td>
</tr>
<tr>
<td><p>小组:第<span class=red><?php echo $array['team'] ?></span>组 </td>
</tr>
<tr>
<td>座位:<?php echo $array['seat']; ?></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<P></td>
</tr>
</table>
<?php
}//显示登陆信息结束
}//登陆检查结束
if( $_SESSION['login']==false ){
?>
<form name="form1" method="post" action="">
<table width="120" height="134" border="0" bordercolor="#DEE3EF">
<tr>
<td height="102" valign="top"><div align="center">
<table width="100%" border="0" bgcolor="#FFE3CE">
<tr bgcolor="#FFFFFF">
<td width="44%" scope="col"><p> 姓名: <br>
</p></td>
<td width="56%" scope="col"><input size=6 name=id value="<?php if(isset($sid)) echo $sid;?>" style="color:#FF0000;ime-mode:able"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><p> 密码:</p></td>
<td><input type=password size=6 name=pwd></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="50" colspan="2"><div align="center">
<input type="submit" value="进入" name="enter" target="_blank">
<?php if($CFG_STU_REGISTE_AOLLOWED){?>
<input type="submit" value="注册" onClick="javascript:openwindow('stu_register.php?action=new','','width=600,height=400');" name="regist">
<?php }?>
<?php if (isset($_POST['id'])) echo $msg; ?>
<br>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="26" valign="middle"><p align="left" class="style1"></p></td>
</tr>
</table>
<?php
}
?>
</form></td>
<td width="460" height="24" bgcolor="#FFFFFF"><div align="center"> 新闻中心</div></td>
<td width="120" bgcolor="#FFFFFF"><div align="center">最新优秀作业</div></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0">
<tr>
<td background="images/bg.jpg"> </td>
</tr>
<tr>
<td><P align=center><SPAN class=bold><A
href="http://easyteacher.008.net/public/index.php" class="red">EasyTeacher信息技术课堂教学助手(ItAssis)1.0正式发布并提供免费下载</A></SPAN></P>
<P align=center>系统运行环境需求: </P>
<P class=explain_hight align=center>IIS(APACHE)+PHP4.2以上+MYSQL3.2以上 <BR>
操作系统:LINUX,WINDOWS SERVER 2000 <BR>
其他环境理论上可以,但暂时没有做过测试</P>
<P>系统简介:</P>
<BLOCKQUOTE>
<P
class=explain_hight>本人2005年暑假倾力之作,来自7年亲身教学实践,1年的系统构思,半年的系统开发,融合新课标的技能情感和价值观,对学生实现综合评价,同时加强了教师对课堂的监管能力,对学生的不良行为习惯起到一定的抑制作用(可以对学生行为实施评价);整个系统运用智能化流程设计思想,操作简便,管理功能强大,相信它会成为我们信息技术教师教学和管理的好帮手。</P>
</BLOCKQUOTE>
<P>系统独到设计</P>
<BLOCKQUOTE>
<P>学生综合评价。课堂作业为主要评价指标,并将学生行为习惯和学习态度评价纳入总分。教师自主设定学生行为习惯和学习态度作为加减分因素。</P>
<P>系统采用作业提交的方式,学生作业可以提交到教师指定的课程中,也可以交到其他课程中,这样学生可以随时补交缺漏作业,不交作业的学生是没有分的。系统还设有防重复提交作业功能。学生可以对作业自主管理,评分不满意还可进行申诉。学生的所有个人信息和作业具有较好的保密性。</P>
<P>学生作业作业自动分班、分课程列表,可以对学生作业手工、自动评语(具备评语字典)。作业评价按基本技能、作品美观、创新程度三项评分。学生作业评为优秀作业后,优秀作业展就能及时显示,完全抛弃手工组织、积累。积分排行榜使在榜学生能有成就感,同是也让他们在学习上有比劲,</P>
<P>课堂管理。分组、分排学生列表,配上学生形象照片更是让你尽快熟悉学生,系统同时提供课堂缺勤名单和未交作业名单。</P>
</BLOCKQUOTE></td>
</tr>
</table></td>
<td align="center" valign="top" bgcolor="#FFFFFF"><iframe src="stu_list_excellent_task.php?list=newer" framespacing="0" frameborder="NO" border="0" scrolling="no" height="750" width="140" valign="top" align="center" ></iframe>
</td>
</tr>
</table>
<div align="center" class="font_12" ><br>
<?php echo "授权用户:".$CFG_USER_NAME."<br>";?><?php echo "<a href=$CFG_COPYRIGHT_SITE title=\"系统设计编写:$CFG_COPYRIGHT_ATUHOR Email:$CFG_COPYRIGHT_EMAIL\">$CFG_COPYRIGHT_NAME 版本:{$CFG_COPYRIGHT_EDITION}</a>"; ?><br>
版权所有,侵权必究</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -