?? 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 + -