<?php
session_start();
if($_SESSION["username"]=="")
{
 	echo "You are not Logged in Please <a href='index.html'>Sign in </a> First ";
}
else
{

include 'dbc.php';
date_default_timezone_set("Asia/Karachi");
$today=date("Y-m-d");
$month = date("m",strtotime($today));
		$year = date("Y",strtotime($today));
		 $month_name = date("F", mktime(0, 0, 0, $month, 10));
		 $my=$month_name . " " . $year;
$userid=$_SESSION["userid"];


//$rows3=$result1 ->fetch_assoc();
?>
<!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->

<head>
   <?php include("includes/header.php") ?>
</head>

<body>


    <!-- Left Panel -->

    <?php include("includes/menu.php") ?><!-- /#left-panel -->

    <!-- Left Panel -->

    <!-- Right Panel -->

    <div id="right-panel" class="right-panel">

        <!-- Header-->
        <header id="header" class="header">

             <?php include("includes/headermenu.php") ?>

        </header><!-- /header -->
        <!-- Header-->

        <div class="breadcrumbs">
            <div class="col-sm-6">
                <div class="page-header float-left">
                    <div class="page-title">
                        <h1><? echo "" . $_SESSION["userid"]; ?></h1>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="page-header float-right">
                    <div class="page-title">
                        <ol class="breadcrumb text-right">
                            <li class="active"><? echo "" . $_SESSION["username"]; ?></li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>

        <div class="content mt-3">

           


          <div class="col-lg-12">
                                                <div class="card">
                                                    <div class="card-header">
                                                        <strong>Student Exam</strong> Form:::::::::
														<h2> <font color="#FF0000"><?php 

	  if(isset($_GET['message'])){

    echo $_GET['message'];

}

	?></font></h2>
                                                    </div>
                                                    <div class="card-body card-block">
                                                        <form action="Genrate_Exam_Save.php" method="post" enctype="multipart/form-data" class="form-horizontal">
                                                            <div class="row form-group">
                                                                    <div class="col col-md-3"><label for="select" class=" form-control-label">Select Campus Name</label></div>
                                                                    <div class="col-12 col-md-4">
                                                                        <select name="camp" id="camp" class="form-control">
                                                                           <option value="Nishtar Campus">Nishtar Campus</option>
                                                                            <option value="Bank Stop Campus">Bank Stop Campus</option>
																			 <option value="Choti Dunya Campus">Choti Dunya Campus</option>
                                                                            <option value="Tara Garh Campus">Tara Garh Campus</option>
																			 <option value="Barian Campus">Barian Campus</option>
                                                                            <option value="Khursheed Campus">Khursheed Campus</option>
																			 <option value="Al-Falah Campus">Al-Falah Campus</option>
                                                                            <option value="Hamza Town Campus">Hamza Town Campus</option>
																			 <option value="AHS Campus ">AHS Campus </option>
                                                                            <option value="Arfa Campus">Arfa Campus</option>
																			<option value="Hadi Campus">Hadi Campus</option>
																			
                                                                        </select>
                                                                    </div>
                                                                </div>
                                                            
                                                            	<div class="row form-group">
                                                                    <div class="col col-md-3"><label for="select" class=" form-control-label">Select Class Name</label></div>
                                                                    <div class="col-12 col-md-4">
                                                                        <select name="class_name" id="class_name" class="form-control">
                                                                           <option value="Play Group">Play Group</option>
                                                                            <option value="Nusery">Nusery</option>
																			 <option value="Prep">Prep</option>
                                                                            <option value="Class 1">Class 1</option>
																			 <option value="Class 2">Class 2</option>
                                                                            <option value="Class 3">Class 3</option>
																			 <option value="Class 4">Class 4</option>
                                                                            <option value="Class 5">Class 5</option>
																			 <option value="Class 6">Class 6</option>
                                                                            <option value="Class 7">Class 7</option>
																			 <option value="Class 8">Class 8</option>
                                                                            <option value="Class 9">Class 9</option>
																			 <option value="Class 10">Class 10</option>
                                                                        </select>
                                                                    </div>
                                                                </div>
																
																<div class="row form-group">
                                                                    <div class="col col-md-3"><label for="select" class=" form-control-label">Select Subjects</label></div>
                                                                    <div class="col-12 col-md-4">
                                                                        <select name="cls_sec" id="cls_sec" class="form-control">
																		<option value="Genral Test">Genral Test</option>
                                                                              <option value="English">English</option>
                                                                            <option value="Urdu">Urdu</option>
																			<option value="Math">Math</option>
																			<option value="G.Science">G.Science</option>
																			<option value="G.Knowledge">G.Knowledge</option>
																			<option value="Pak Studies">Pak Studies</option>
																			<option value="Social Studies">Social Studies</option>
																			<option value="Islamic Studies">Islamic Studies</option>
																			<option value="Physics">Physics</option>
																			<option value="Chemistry">Chemistry</option>
																			<option value="Biology">Biology</option>
																			<option value="Computer">Computer</option>
																			
                                                                        </select>
                                                                    </div>
                                                                </div>
															<div class="row form-group">
                                                                    <div class="col col-md-3"><label for="select" class=" form-control-label">Select Exam/Test Name</label></div>
                                                                    <div class="col-12 col-md-4">
                                                                        <select name="exam_name" id="exam_name" class="form-control">
																		<option value="Jan Test">Jan Test</option>
																		<option value="Feb Test">Feb Test</option>
																		<option value="March Test">March Test</option>
																		<option value="April Test">April Test</option>
																		<option value="May Test">May Test</option>
																		<option value="June Test">June Test</option>
																		<option value="July Test">July Test</option>
																		<option value="Aug Test">Aug Test</option>
																		<option value="Sept Test">Sept Test</option>
																		<option value="Oct Test">Oct Test</option>
																		<option value="Nov Test">Nov Test</option>
																		<option value="Dec Test">Dec Test</option>
                                                                              <option value="1st Assessment">1st Assessment</option>
                                                                            <option value="2nd Assessment">2nd Assessment</option>
																			<option value="3rd Assessment">3rd Assessment</option>
																			<option value="4th Assessment">4th Assessment</option>
																			<option value="5th Assessment">5th Assessment</option>
																			<option value="6th Assessment">6th Assessment</option>
																			<option value="7th Assessment">7th Assessment</option>
																			<option value="8th Assessment">8th Assessment</option>
																			<option value="9th Assessment">9th Assessment</option>
																			<option value="10th Assessment">10th Assessment</option>
																			<option value="11th Assessment">11th Assessment</option>
																			<option value="12th Assessment">12th Assessment</option>
                                                                        </select>
                                                                    </div>
                                                                </div>
															
																<div class="row form-group">
                                                                <div class="col col-md-3"><label for="text-input" class=" form-control-label">Session</label></div>
                                                                <div class="col-12 col-md-6"><input type="text" id="sess1" name="sess1" placeholder="Session" class="form-control"><small class="form-text text-muted">This is Session Name</small></div>
                                                            </div>
															<div class="row form-group">
                                                                <div class="col col-md-3"><label for="text-input" class=" form-control-label">No of Question</label></div>
                                                                <div class="col-12 col-md-6"><input type="text" id="noq" name="noq" placeholder="No of  Question" class="form-control"><small class="form-text text-muted">This is No of Question</small></div>
                                                            </div>
															<div class="row form-group">
                                                                <div class="col col-md-3"><label for="text-input" class=" form-control-label">No of Mark Per Question</label></div>
                                                                <div class="col-12 col-md-6"><input type="text" id="mrk" name="mrk" placeholder="No of Mark Per Question" class="form-control"><small class="form-text text-muted">This is No of Mark Per Question</small></div>
                                                            </div>
																<div class="row form-group">
                                                                <div class="col col-md-3"><label for="text-input" class=" form-control-label">Exam Date</label></div>
                                                                <div class="col-12 col-md-3"><input type="text" id="exam_date" name="exam_date" placeholder="exam Date" class="form-control" value=" <? echo $today ?>"><small class="form-text text-muted">This is Exam Date</small></div>
                                                            </div>
                                                         
                                                       
                                                    </div>
                                                    <div class="card-footer">
                                                        <button type="submit" class="btn btn-primary btn-sm">
                                                            <i class="fa fa-dot-circle-o"></i> Genrate
                                                        </button>
                                                        <button type="reset" class="btn btn-danger btn-sm">
                                                            <i class="fa fa-ban"></i> Reset
                                                        </button>
                                                    </div>
													 </form>
                                                </div>
                                                
                                            </div>

            


        </div> <!-- .content -->
    </div><!-- /#right-panel -->

    <!-- Right Panel -->

   <?php include("includes/footermenu.php") ?>

</body>

</html>
<?php
}
?>