<style type="text/css">
i{
cursor:pointer;
}
tr{
width:105px;
text-align:center;
}

#td1 {width:14%;
}
#td2 {width:90px;
}
.widget-header{

font-size:18px;text-align:center; color:black;background:#E6E6E6;
}
.widget-head{
height:78px;
}	
h5.bigger {
font-size: 16px;
float: left;
vertical-align: middle;
padding-left: 13px;
padding-top: 17px;
}



.table th, .table td{
line-height: 14px !important;
padding: 2px !important;
}
.table th{text-align: center;}

.mark th, .mark td {
line-height: 25px !important;
padding: 2px !important;
}


</style>


<?php
session_start();
// ============
include("../../php_crud/my_class.php");
$obj=new my_class();
$_SESSION['LOGIN_BRANCH'];
$base_url= $_SESSION["BASE_URL"];
$bs_url = $base_url.'/module/exam/final_report/download.php';

extract($_GET);

 $shift_id;
 $medium_id;
 $class_id;
 $department_id;
 $student_type_id;
 $section_id;
 $exam_term_id;
 $exam_session;
 
 
 
$det_in = $obj->Details_By_Cond("_int_institute_setup_vw","section_id='$section_id'");
$term_f = $obj->View_column_details_By_Cond("_int_exam_term","_id","_term_type='F' AND _branch_id='".$det_in['branch_id']."'");

 
$branch_id = isset($_SESSION['LOGIN_BRANCH']) ? $_SESSION['LOGIN_BRANCH']: '';
if($branch_id !=''){
	$brans_obj = $obj->View_branch_details_By_Cond($branch_id,'B');
	$inst_name = $brans_obj->insName;
	$ins_code_name = $brans_obj->insCodeName; 
	$extablishd_year = $brans_obj->_establish_year ;
	$ins_logo = $brans_obj->_logo_location;
	$ins_address = $brans_obj->_address;
	$inst_thanta = $brans_obj->thana_name ;
	$ins_district = $brans_obj->distrinc_name  ;
	$ins_division = $brans_obj->division_name  ;
	$ins_web = $brans_obj->_web_address !='' ? $brans_obj->_web_address : '' ;
	$ins_email = $brans_obj->_email_add !='' ? '|| '.$brans_obj->_email_add : '' ;
	
}


$datas = 'shift_id='.$shift_id.'&medium_id='.$medium_id.'&class_id='.$class_id.'&department_id='. $department_id .'&section_id='. $section_id.'&exam_term_id='. $exam_term_id.'&exam_session='.$exam_session;
?>



 

<div class="row-fluid"></div>

<!-- ==================================== -->
<form class="form-vertical" id="attendance_sheet">

<div class="row-fluid">
	 
	 	
	<input type="button" class="btn btn-small btn-success" name="<?php echo $datas; ?>" id="final_mark_sheet_btn" value="Final Mark Sheet Result"/>

		
		 
	<script>
	$(function(){
		$("#final_mark_sheet_btn").click(function(){
			var params = $(this).attr('name');
			window.open('/school/schoobee/dev/development/app/module/exam/final_mark_sheet_pdf.php?'+params);
			//alert(params);
		});
	});
	</script>

	 
 
</div>
</form>

 



 