<?php

session_cache_limiter('none');
session_start();
//print_r($_SESSION);
$path = "../libraries/";

/** The configuration file.*/
include_once $path."configuration.php";
/**Functions to perform searches*/
//include_once "module_search.php";

//echo "PAGE";
//pr($_SESSION);exit;
/*
if (!isset($_SESSION['s_login']) || eF_checkUser($_SESSION['s_login'], $_SESSION['s_password']) != "professor") {    //Must be a professor
    header("location:index.php");
    exit;
}
*/

//isset($_GET['ctg']) ? $ctg = $_GET['ctg'] : $ctg = 'lessons';
//<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
    <meta http-equiv = "Content-Type"     content = "text/html; charset = utf-8"/>
    <link rel="shortcut icon" href="images/favicon.ico" >
</head>


<frameset framespacing = "0" frameborder = "0" border="no" id = "framesetId" cols = "175, *">
<?php
   if (isset($_GET['view']) && $_GET['view'] == "organization") {
?>
  <frame name = "sideframe" src ="new_sidebar.php?hcd=1" scrolling="no"/>
  <frame name = "mainframe" src ="professor.php?ctg=module_hcd"/>
<?php
} else {
?>
  <frame name = "sideframe" src ="new_sidebar.php" scrolling="no"/>
  <frame name = "mainframe" src ="professor.php"/>
<?php
}
?>
</frameset>
</html>


