<?php include("session.php"); ?>
<html>
<head>
<title>前景网考企业版</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<?php include("conn.php") ?>

<? 

$read_juan_id=$_GET["juan_id"];

$sql="select  *  from  database_name  where   id=";
$sql=$sql."  (select  database_id  from  fenlei   where   id=".$read_juan_id.")";
$rs=$conn->execute($sql);


if (!$rs->EOF)
{
  $read_database_name=$rs->fields["database_name"];
   
} 

$rs->close;
$conn->close;


?>
 
 

<? 


$read_stuid=$_GET["stuid"];
$read_stuname=$_GET["stuname"];
$read_stuclass=$_GET["stuclass"];

$read_zongfen=$_GET["zongfen"];
$read_falltime=$_GET["falltime"];
$read_exammode=$_GET["exammode"];
$read_shitihao=$_GET["shitihao"];
$read_type=$_GET["shiti_type"];

//---------------------------------------------
// [unsupported] session.timeout=360;
//-----------------------------------------------
$_SESSION["stu_log"]=1;
//------------------------------------------------------
//$_SESSION["studentid"]=$read_stuid;
//-------------------------------------------------
$_SESSION["exam_mode"]=$read_exammode;
//--------------------------------------------------
$_SESSION["database_name"]=$read_database_name;
//----------------------------------------------------
$_SESSION["juan_id"]=$read_juan_id;
//----------------------------------------------------------------------

?>
 

<script language="javascript" src="script/disable_keyf5.js"></script>

<frameset rows="*" cols="230,*" framespacing="0" frameborder="NO" border="0">
  <frame src="newleft.php?stuid=<? echo $read_stuid;?>&stuname=<? echo urlencode($read_stuname);?>&stuclass=<? echo urlencode($read_stuclass);?>&juan_id=<? echo $read_juan_id;?>&zongfen=<? echo $read_zongfen;?>&falltime=<? echo $read_falltime;?>&exammode=<? echo $read_exammode;?>&shitihao=<? echo $read_shitihao;?>" name="myleft" scrolling="NO" noresize marginwidth="2">
  
  <? if ($read_type=="1")
{
?>
   <frame src="a0middle_s.php?page=1" name="mainframe"  scrolling="auto">
  <? } ?>
  <? if ($read_type=="2")
{
?>
   <frame src="a0middle_d.php?page=1" name="mainframe"  scrolling="auto">
  <? } ?>
  
   <? if ($read_type=="3")
{
?>
   <frame src="a0middle_tiankong.php?page=1" name="mainframe"  scrolling="auto">
   <? } ?>
  
   <? if ($read_type=="4")
{
?>
   <frame src="a0middle_panduan.php?page=1" name="mainframe"  scrolling="auto">
   <? } ?>
  
    <? if ($read_type=="5")
{
?>
   <frame src="a0middle_lunshu.php?page=1" name="mainframe"  scrolling="auto">
  <? } ?>
  
</frameset>

<noframes><body>
</body></noframes>
</html>

