Current File : /home/inlingua/public_html/sensoriumpsychologists.com/diagnostics/franchise/screening_available.php
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/user_details_msg_setup.php");?>
<?php require_once("../franchise_between/validate_functions.php");?>
<?php require_once("../franchise_between/student_funcs.php");?>
<?php
$ref_no=$_GET['ref_no'];
$validate_obj=new validate_functions();
$validate_obj->check_isset_empty($ref_no,"ref_no");
$validate_obj->check_is_num($ref_no,"ref_no");
?>
<?php
$student_obj=new student_funcs();
$student_obj->set_value("franchise_id",$session_id);
$student_obj->view_child($ref_no);
$child_name=$student_obj->get_value("child_name");
$email=$student_obj->get_value("email");
$age=$student_obj->get_value("age");
$gender=$student_obj->get_value("gender");
$registration_no=$student_obj->get_value("registration_no");
$registration_date=$student_obj->get_value("registration_date");
$school_name=$student_obj->get_value("school_name");
$problem=$student_obj->get_value("problem");
$dob_date=$student_obj->get_value("dob_date");
$theme_link=$student_obj->get_value("theme_class");
$theme_font=$student_obj->get_value("theme_font");
$education=$student_obj->get_value("education");

switch($education){
	case '1' :$education="1st";break;
	case '2' :$education="2nd";break;
	case '3' :$education="3rd";break;
	case '4' :$education="4th";break;
	case '5' :$education="5th";break;
	case '6' :$education="6th";break;
	case '7' :$education="7th";break;
	case '8' :$education="8th";break;
	case '9' :$education="9th";break;
	case '10' :$education="10th";break;
}
?>
<!doctype html>
<html>
<?php include("common/page_head.php");?>
<body>
<?php include("common/header_var.php");?>
<?php
$top_children=$top_val;
?>
<?php include("common/header.php");?>
<div id="main_container">
  <div id="main">
  <br><br>
    <fieldset>
    <legend>STUDENT SCREENING AVALIABLE</legend>
    <table border="0" class="tables_fieldset" cellpadding="3px" cellspacing="0">
  <?php require_once("common/student_summary_in_page_registered.php");?>
      <tr>
        <td colspan="3" style="line-height:25px;">
          <br>
<?php
$reply=$student_obj->show_available_screening($ref_no);
if($reply=="no"){
	echo("<span style=\"color:#F00;\">Screening already completed...</span>");
}else{
	echo("<a href=\"screening_session_pre.php?screening_id=".$reply."&ref_no=".$ref_no."\"><div class=\"button_div\" style=\"color:#FFF;background-color:#060;\">CLICK HERE TO START SCREENING</div></a>");
}
?>
        </td>
      </tr>
    </table>
    </fieldset>
  </div>
</div>
  <br><br><br><br>
</body>	
</html>