border-left:thin solid;
    border-color:black;
}

.right {
    border-right:thin solid;
    border-color:black;
}
.header-row { position:fixed; top:0; left:0; }
.table {padding-top:5px; }
</style>


	<?php 
$Schoolyr = new Schoolyr();
$sy = $Schoolyr->single_sy($_GET['txtsearch']);
$course = new Course();
$studcourse = $course->single_course($sy->COURSE_ID);
$student = new Student();
$cur = $student->single_student($_GET['txtsearch']);
?>
				
			<div class="rows">
		  
            <div class="col-10 col-sm-10 col-lg-10">
            

					<div class="panel panel-primary">
					  
					  <div class="panel-body">
					  	<html>
  <div class="col-12 col-sm-12 col-lg-12">
	<?php 
if (isset($_GET['studentId'])) {
    if ($_GET['studentId'] == "") {
        message("ID Number is required!", "error");
        check_message();
    } else {
        $Schoolyr = new Schoolyr();
        $NumberofResult = $Schoolyr->findsy($_GET['studentId']);
        if ($NumberofResult == 0) {
            // message("This Student is advice to go back from step 1!","error");
            // check_message();
            redirect("enrollment.php?studentId=" . $_GET['studentId']);
        } else {
            $sy = $Schoolyr->single_sy($_GET['sy']);
            $course = new Course();
            $studcourse = $course->single_course($sy->COURSE_ID);
            //the button in assigning the subjects.
            $button = '<a href = "index.php?view=assign&studentId=' . $_GET['studentId'] . '&SY=' . $sy->AY . '&cid=' . $sy->COURSE_ID . '&sy=' . $_GET['sy'] . '" class="btn btn-default"><span class="glyphicon glyphicon-plus-sign"></span>Assign Subject</a>
						 <button type="submit" class="btn btn-default" name="delete"><span class="glyphicon glyphicon-trash"></span> Delete Selected</button>';
        }
        $student = new Student();
        $cur = $student->single_student($_GET['studentId']);
    }
}
?>
     
		  <!-- <form class="form-horizontal span4" action="#.php" method="POST"> -->
					<div class="panel panel-primary">
					  <div class="panel-heading">