<?php session_start();
include("../connect.php");
if(!isset($_SESSION['cr_hod_id'])){
	header("location:index.php");
}else{
	$ddd=mysqli_query($con,"select * from head where id='".$_SESSION['cr_hod_id']."'");
	$adm=mysqli_fetch_assoc($ddd);
	
	$mm=mysqli_query($con,"select * from `department` where id='".$adm['dep_id']."'");
	$del=mysqli_fetch_assoc($mm);
	
}

if(isset($_GET['cancel_search'])){
	unset($_SESSION['s_search']);	
	unset($_SESSION['s_level']);	
	unset($_SESSION['s_department']);	
	unset($_SESSION['s_programme']);	
	unset($_SESSION['s_semester']);
	header("location:course_bank.php");
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	 <title>HOD, Course List :: Inspire Polytechnic, Course Registration Portal</title>
   <meta name="description" content="Inspire Polytechnic, Course Registration Portal" />
	<meta name="keyword" content="Inspire Polytechnic, Course Registration, Portal, Studies, Education" />
	<meta name="author" content="Dosumu Ololade"/>
    <link rel="icon" href="../img/lasu_logo.png">
	<link href="../vendors/bower_components/datatables/media/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
	<link href="../vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>
		<link href="../vendors/bower_components/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet" type="text/css"/>
		
		<link href="../vendors/bower_components/dropify/dist/css/dropify.min.css" rel="stylesheet" type="text/css"/>
	<link href="../dist/css/style.css" rel="stylesheet" type="text/css">
	
	
	
</head>

<body>
	<!--Preloader-->
	<div class="preloader-it">
		<div class="la-anim-1"></div>
	</div>
	<!--/Preloader-->
    <div class="wrapper theme-6-active pimary-color-green">
		<!-- Top Menu Items -->
		<nav class="navbar navbar-inverse navbar-fixed-top">
			<div class="mobile-only-brand pull-left">
				<div class="nav-header pull-left">
					<div class="logo-wrap">
						<a href="dashboard.php">
							<img class="brand-img" style="width:30px;" src="../img/lasu_logo.png" alt="brand"/>
							
						</a>
					</div>
				</div>	
				<a id="toggle_nav_btn" class="toggle-left-nav-btn inline-block ml-20 pull-left" href="javascript:void(0);"><i class="zmdi zmdi-menu"></i></a>
				
			</div>
			<div id="mobile_only_nav" class="mobile-only-nav pull-right">
				<ul class="nav navbar-right top-nav pull-right">
					<li class="dropdown auth-drp">
						<a href="#" class="dropdown-toggle pr-0" data-toggle="dropdown"> <?php echo ucwords($del['department']); ?> <img src="../img/avatar.png" alt="user_auth" class="user-auth-img img-circle"/><span class="user-online-status"></span></a>
						<ul class="dropdown-menu user-auth-dropdown" data-dropdown-in="flipInX" data-dropdown-out="flipOutX">
							<li>
								<a href="logout.php"><i class="zmdi zmdi-power"></i><span>Log Out</span></a>
							</li>
						</ul>
					</li>
				</ul>
			</div>	
		</nav>
		<!-- /Top Menu Items -->
		
		<!-- Left Sidebar Menu -->
		<div class="fixed-sidebar-left">
			<ul class="nav navbar-nav side-nav nicescroll-bar">
				<li class="navigation-header">
					<span><?php echo $adm['lastname'].' '.$adm['othernames'];?></span> 
					<i class="zmdi zmdi-more"></i>
				</li>
				
				<li>
					<a href="dashboard.php"><div class="pull-left"><i class="fa fa-dashboard mr-20"></i><span class="right-nav-text">Dashboard</span></div>
					<div class="clearfix"></div></a>
				</li>
				
				<li>
					<a href="setting.php"><div class="pull-left"><i class="fa fa-cogs mr-20"></i><span class="right-nav-text">Prog. Control</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
					<a href="course_bank.php" class="active"><div class="pull-left"><i class="fa fa-database mr-20"></i><span class="right-nav-text">Department Course</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
					<a href="student.php"><div class="pull-left"><i class="icon icon-people mr-20"></i><span class="right-nav-text"> Students</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
				<a href="profile.php"><div class="pull-left"><i class="fa fa fa-universal-access mr-20"></i><span class="right-nav-text"> Profile</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li><hr class="light-grey-hr mb-10"/></li>
				<li>
					<a href="logout.php"><div class="pull-left"><i class="fa fa-power-off mr-20"></i><span class="right-nav-text">Logout</span></div><div class="clearfix"></div></a>
				</li>
			</ul>
		</div>
		<!-- /Left Sidebar Menu -->
		
		
		
		
		<!-- Right Sidebar Backdrop -->
		<div class="right-sidebar-backdrop"></div>
		<!-- /Right Sidebar Backdrop -->

        <!-- Main Content -->
		<div class="page-wrapper">
            <div class="container-fluid pt-25">
					
					<div class="row">
					
					<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
						<div class="panel panel-success card-view pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0">
						<div align="center"><img src="../img/logo.png" style="width:250px; padding:20px 5px;" class="img-responsive"></div>
									
								</div>
							</div>
						</div>
					</div>
					
					<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
						<div class="panel panel-default card-view ">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div style="margin-top:-12px;margin-bottom:-12px;" class="col-md-12 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-weight:600;">
													<i class="fa fa-database"></i> <?php echo strtoupper($del['department']);?> COURSES</span>
												</div>
											</div>	
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					
				</div>
					
				<!-- Row -->
					
				
				<div class="row">
					
					
					<div class="col-lg-3 col-xs-12">
					
					<div class="panel panel-inverse card-view">
							<div class="panel-heading">
									<div class="pull-left">
										<h6 class="panel-title" style="color:black; font-weight:bold; font-size:15px; margin-top:-10px; margin-bottom:-10px;">UPLOAD COURSE</h6>
									</div>
									</div>
							<div class="panel-wrapper collapse in">
								<div class="panel-body">
					<div style="magin-bottom:5px; margin-top:5px;"></div>
					
					<br>
					
					<?php
					$vaf=mysqli_query($con,"select * from head_access where head_id='".$_SESSION['cr_hod_id']."'");
					if(mysqli_num_rows($vaf)==0){
						echo '<div style="margin-top:-35px;font-size:16px; padding:7px;text-align:center;">
						<div align="center"><img src="../img/error-man.png" style="width:140px;" class="img-responsive"></div>
											<span style="color:#b30000;text-align:center;"><span style="font-weight:900;font-size:21px;">SORRY!</span> The portal admin is yet to grant you access to upload your departmental course contents.</span>
										</div>';
					}else{
						$kap=mysqli_fetch_assoc($vaf);
						if($kap['course_upload']==0){
							echo '<div style="margin-top:-35px;font-size:16px; padding:7px;text-align:center;">
						<div align="center"><img src="../img/error-man.png" style="width:140px;" class="img-responsive"></div>
											<span style="color:#b30000;text-align:center;"><span style="font-weight:900;font-size:21px;">SORRY!</span> The portal admin is yet to grant you access to upload your departmental course contents.</span>
										</div>';
						}else{ ?>
							
						
						<p style="text-align:center;"><span style="color:black;">Download Course Template</span> <a class="btn btn-info btn-sm" href="../portal_admin/course_template.xlsx"><i class="fa fa-file-excel-o"></i> Download</a></p>
						<hr style="background-color:lavender; height:2px; border:0;">
					
												<form method="post" id="form_submit">
									<input type="hidden" name="upload_course" value="dosumu">
										
							<div class="form-group">
                             <label class="control-label mb-1">Upload File (Excel File Only)</label>
                            <input type="file" name="attachment" id="input-file-max-fs" class="dropify" data-max-file-size="10M" required />
                                                </div>
												
												
												<div class="form-group">
                             <label class="control-label mb-5" for="email_de">Department</label>
												<select class="form-control" name="department" required >
												<?php
												$vaf=mysqli_query($con,"select * from department where id='".$adm['dep_id']."'");
												while($des=mysqli_fetch_assoc($vaf)){
													echo '<option value="'.$des['id'].'">'.$des['department'].'</option>';
												}
												?>
												</select>
                                                </div>
												
									<div class="form-group">
                             <label class="control-label mb-5" for="email_de">Programme</label>
												<select class="form-control" name="programme" id="programme" required >
												<option value="">Select</option>
												<?php
												$nay=mysqli_query($con,"select * from programme order by name asc");
												while($sas=mysqli_fetch_assoc($nay)){
													echo '<option value="'.$sas['id'].'">'.$sas['name'].' ('.$sas['description'].')</option>';
												}
												?>
												</select>
                                                </div>
												
												<div class="form-group semester_result">
                             <label class="control-label mb-5" for="email_de">Semester</label>
												<select class="form-control" name="semester" required >
												<option value="">Select</option>
												</select>
                                                </div>
											
												
												<br>
												<div class="msg"></div>
													<div class="form-group">
									<button class="btn btn-primary btn-sm mb-5 pull-right" type="submit">Upload</button>
													<div class="clearfix"></div>
												</div>
									</form>
									<?php
									}
										}
										?>
									 
									 </div>
									 </div>
									 </div>
					
					</div> 
					
					
					<div class="col-lg-9 col-xs-12">
					
					
					<div class="panel  panel-inverse card-view">
					<div class="panel-heading">
									<div class="pull-left">
										<h6 class="panel-title" style="color:black; font-weight:bold; font-size:15px; margin-top:-10px; margin-bottom:-10px;">COURSE LIST</h6>
									</div>
									</div>
								
									<div class="panel-body">
									
									
									<form method="post" id="form_submit1">
									<input type="hidden" name="search_course" value="dosumu">
									<div class="row">
									
									<div class="form-group col-md-6">
                             <label class="control-label mb-5" for="email_de">Department</label>
												<select class="form-control" name="s_department" required >
												<?php
													echo '<option value="'.$del['id'].'">'.$del['department'].'</option>';
												?>
												</select>
                                                </div>
												
												<div class="form-group col-md-6">
                             <label class="control-label mb-5" for="email_de">Programme</label>
												<select class="form-control" name="s_programme" id="s_programme" required >
												<option value="">Select</option>
												<?php
												
									$mim=mysqli_query($con,"select DISTINCT(programme_id) from course where dep_id='".$adm['dep_id']."'");
									while($cil=mysqli_fetch_assoc($mim)){
												
									$nay=mysqli_query($con,"select * from programme where id='".$cil['programme_id']."' order by name asc");
									$sas=mysqli_fetch_assoc($nay);
													echo '<option value="'.$sas['id'].'">'.$sas['name'].' ('.$sas['description'].')</option>';
												}
												?>
												</select>
                                                </div>
									
									</div>
									
									<div class="row">
									<div class="form-group s_semester_result col-md-6">
									<label class="control-label mb-5" for="email_de">Semester</label>
												<select class="form-control" name="s_semester" required >
												<option value="">Select</option>
												</select>
                                                </div>
									<div class="form-group col-md-6">
									<label class="control-label mb-5" for="email_de">Level (Optional)</label>
												<select class="form-control" name="s_level">
												<option value="">Select</option>
												<?php
												for($y=1; $y<=9; $y++){
													echo '<option>'.$y.'00</option>';
												}
												?>
												</select>
                                                </div>
									</div>
									<button type="submit" class="pull-right btn btn-primary btn-rounded">Search <i class="fa fa-search"></i></button>
									<div class="clearfix"></div>
									
									</form><br><hr style="background-color:lavender; height:1px; border:0; margin-bottom:50px;">
									
									<div class="search_result">
									<!---FOR SEARCH-->
									<?php
									if(isset($_SESSION['s_search'])){
									if($_SESSION['s_search']=='true'){ //IF SEARCH IS TRUE
									
									if($_SESSION['s_level']!=''){
										$level=$_SESSION['s_level'];
										$lv='<li><span style="font-weight:bold;">Level:</span> '.str_ireplace('level=','',explode(" ",$_SESSION['s_level'])[1]).'</li>';
									}else{
										$level=$lv='';
									}
									
	$bqm=mysqli_query($con,"select * from `programme` where id='".$_SESSION['s_programme']."'");
	$ps=mysqli_fetch_assoc($bqm);	
	
	$bym=mysqli_query($con,"select * from `semester` where id='".$_SESSION['s_semester']."'");
	$ss=mysqli_fetch_assoc($bym);
	
	$bzm=mysqli_query($con,"select * from `department` where id='".$_SESSION['s_department']."'");
	$ds=mysqli_fetch_assoc($bzm);
									
									echo '<div class="pull-left"><h2 style="font-size:21px;"><i class="fa fa fa-question-circle-o"></i> Searched Query </h2>
									<ul style="margin-bottom:15px; font-size:16px;">
									<li><span style="font-weight:bold;">Programme :</span> '.$ps['name'].' -'.$ps['description'].'</li>
									<li><span style="font-weight:bold;">Semester :</span> '.$ss['semester'].' -'.$ss['description'].'</li>
									'.$lv.'
									</ul></div>
								
					<a href="?cancel_search=true&request=true&'.uniqid().'" style="margin-top:40px;" class="btn btn-info pull-right">Cancel Search <i class="fa fa-search-minus"></i></a>
					<div class="clearfix"></div>';
									?>
									
					<h2 style="text-align:center;font-size:25px;font-weight:600;margin-bottom:30px;">Searched Results</h2>
									<div class="table-responsive">
											<table id="example" class="table table-bordered table-hover display  pb-30" >
												<thead>
													<tr>
														<th>#</th>
														<th>Course Code</th>
														<th>Desc</th>
														<th>Status</th>
														<th>Unit</th>
														<th>Level</th>
														<th>Prog</th>
														<th>Semester</th>
														<th>Del</th>
													</tr>
												</thead>
												<tbody>
											<?php $no=0;
											
	$mom=mysqli_query($con,"select * from course where dep_id='".$_SESSION['s_department']."' AND programme_id='".$_SESSION['s_programme']."' AND semester_id='".$_SESSION['s_semester']."' $level order by level asc, course_code asc");
	while($cel=mysqli_fetch_assoc($mom)){
	
	$bam=mysqli_query($con,"select * from `programme` where id='".$cel['programme_id']."'");
	$sim=mysqli_fetch_assoc($bam);	
	
	$bim=mysqli_query($con,"select * from `semester` where id='".$cel['semester_id']."'");
	$som=mysqli_fetch_assoc($bim);
	
	$bxm=mysqli_query($con,"select * from `department` where id='".$cel['dep_id']."'");
	$sxm=mysqli_fetch_assoc($bxm);
											$no=$no+1;
						
											echo '<tr id="'.$cel['id'].'">
											
											<td>'.$no.'</td>
											<td>'.strtoupper($cel['course_code']).'</td>
											<td>'.ucwords($cel['description']).'</td>
											<td>'.strtoupper($cel['status']).'</td>
											<td>'.$cel['unit'].'</td>
											<td>'.$cel['level'].'</td>
											<td>'.$sim['name'].'</td>
											<td>'.$som['description'].'</td>
											<td align="center" style="width:;">
											<a href="javascript:void(0)" id="'.$cel['id'].'" title="Delete" class="delete_course text-danger" style="font-size:19px;"><i class="fa fa-trash"></i></a>
											</td>
											</tr>';
											
											}
									
													?>
													
												</tbody>
											</table>
										</div>
									
									
									
									
									
									
										<?php //END IF SEARCH IS TRUE		
										}else{
											unset($_SESSION['s_search']);
											echo '<script> location.href="course_bank.php" </script>';
										}
									}else{ ?> <!--IF NO SEARCH-->
									<h2 style="text-align:center;font-size:25px;font-weight:600;margin-bottom:30px;">List of all <?php echo ucwords($del['department']); ?> courses</h2>
										<div class="table-responsive">
											<table id="example" class="table table-bordered table-hover display  pb-30" >
												<thead>
													<tr>
														<th>#</th>
														<th>Course Code</th>
														<th>Desc</th>
														<th>Status</th>
														<th>Unit</th>
														<th>Level</th>
														<th>Prog</th>
														<th>Semester</th>
														<th>Del</th>
													</tr>
												</thead>
												<tbody>
											<?php $no=0;
											
	$mom=mysqli_query($con,"select * from `course` where dep_id='".$del['id']."' order by course_code asc, programme_id asc, semester_id asc");
	while($cel=mysqli_fetch_assoc($mom)){
	
	$bam=mysqli_query($con,"select * from `programme` where id='".$cel['programme_id']."'");
	$sim=mysqli_fetch_assoc($bam);	
	
	$bim=mysqli_query($con,"select * from `semester` where id='".$cel['semester_id']."'");
	$som=mysqli_fetch_assoc($bim);
											$no=$no+1;
						
											echo '<tr id="'.$cel['id'].'">
											
											<td>'.$no.'</td>
											<td>'.strtoupper($cel['course_code']).'</td>
											<td>'.ucwords($cel['description']).'</td>
											<td>'.strtoupper($cel['status']).'</td>
											<td>'.$cel['unit'].'</td>
											<td>'.$cel['level'].'</td>
											<td>'.$sim['name'].'</td>
											<td>'.$som['description'].'</td>
											<td align="center" style="width:;">
											<a href="javascript:void(0)" id="'.$cel['id'].'" title="Delete" class="delete_course text-danger" style="font-size:19px;"><i class="fa fa-trash"></i></a>
											</td>
											</tr>';
											
											}
									
													?>
													
												</tbody>
											</table>
										</div>
									<?php }	 //END IF NO SEARCH ?>
									
									
									<!---END SEARCH-->
									</div>		
											
									</div>
							</div>
					
					
					
					
					
					</div>
				
					
				</div>
				<!-- /Row -->
				
				<div id="responsive-modal" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
											<div class="modal-dialog">
												<div class="modal-content">
												
													<div class="modal-header">
														<button type="button" class="close close_modal" data-dismiss="modal" aria-hidden="true">×</button>
														<h4 class="modal-title" style="font-size:20px; color:black;">Edit Course Details</h4>
													</div>
													<div class="modal-body">
														<div class="result"></div>
													</div>
													<div class="modal-footer" style="border-top:1px solid lavender;">
						<button type="button" class="btn btn-danger btn-sm close_modal pull-left" data-dismiss="modal">Close</button>
						<div class="clearfix"></div>
													</div>
												</div>
											</div>
										</div>
			
			</div>
			<!-- Footer -->
			<footer class="footer container-fluid pl-30 pr-30">
				<div class="row">
					<div class="col-sm-12">
						<p style="text-align:center;"> &copy; Copyright <?php echo date("Y");?> Inspire Polytechnic. All right reserved</p>
					</div>
				</div>
			</footer>
			<!-- /Footer -->
			
		</div>
        <!-- /Main Content -->

    </div>
    <!-- /#wrapper -->
	
	<!-- JavaScript -->
	
    <!-- jQuery -->
    <script src="../vendors/bower_components/jquery/dist/jquery.min.js"></script>
	
	<script>
	jQuery().ready(function(){
		
		$("select#s_programme").change(function(){
			var s_prog = $(this).val();
			if(s_prog!=''){
			$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({s_prog:s_prog}),
                        cache: false,
                        success: function(data){ 
							$("div.s_semester_result").html(data);
						 } 
 });
		}else{
			$("div.s_semester_result").html('<div class="form-group semester_result"> <label class="control-label mb-5" for="email_de">Semester</label><select class="form-control" name="status" required ><option value="">Select</option></select></div>');
		}
		});
		
		
		$("select#programme").change(function(){
			var prog = $(this).val();
			if(prog!=''){
			$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({prog:prog}),
                        cache: false,
                        success: function(data){ 
							$("div.semester_result").html(data);
						 } 
 });
		}else{
			$("div.semester_result").html('<div class="form-group semester_result"><label class="control-label mb-5" for="email_de">Semester</label><select class="form-control" name="status" required ><option value="">Select</option></select></div>');
		}
		});
		
		
$('#example').DataTable( {
		dom: 'Blfrtip',
		buttons: [
			'copy', 'csv', 'excel', 'pdf', 'print'
		],
		
		"fnDrawCallback": function(oSettings){
			
		$("a.delete_course").click(function(){
			
		if(confirm("Are you sure you want to delete course"))
		  {
		$("div.error").html("<p class='text-primary' style='padding:5px; text-align:center;'><i class='fa fa-spin fa-spinner'></i> Processing Request...</p>");
		var delete_course=$(this).attr("id");
		$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({delete_course:delete_course}),
                        cache: false,
                        success: function(data){ 
						$("tr#"+delete_course).animate({ backgroundColor: "#fbc7c7" }, "fast").animate({ opacity: "hide" }, "slow");
						 } 
 });
	
		}
return false;
		});
			
		
		$("a.edit_course").click(function(){
		var edit_course = $(this).attr("id");
		
		$("div.result").html('<div align="center"><i class="fa fa-spin fa-spinner fa-2x" style="color:gray;"></i></div>');
		
			$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({edit_course:edit_course}),
                        cache: false,
                        success: function(data){ 
							$("div.result").html(data);
						 } 
 });
		
	});
		
		}
	} );
		
		
		$("form#form_submit1").on('submit',(function(e){
			e.preventDefault();
			
	$("div.search_result").html("<p class='text-primary' style='padding:5px; text-align:center;'><i class='fa fa-spin fa-spinner'></i> Processing Request...</p>");
	
				$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: new FormData(this),
						contentType:false,
						processData:false,
                        cache: false,
                        success: function(data){ 
						$("div.search_result").html(data);
						}
    });			
	
	
		}));
		
		$("form#form_submit").on('submit',(function(e){
			e.preventDefault();
			
	$("div.msg").html("<p class='text-primary' style='padding:5px; text-align:center;'><i class='fa fa-spin fa-spinner'></i> Processing Request...</p>");
	
				$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: new FormData(this),
						contentType:false,
						processData:false,
                        cache: false,
                        success: function(data){ 
						$("div.msg").html(data);
						}
    });			
	
	
		}));
		
		
	});
	</script>
	

    <!-- Bootstrap Core JavaScript -->
    <script src="../vendors/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
	<script src="../vendors/bower_components/dropify/dist/js/dropify.min.js"></script>
		<script src="../dist/js/form-file-upload-data.js"></script>
	
	<!-- Switchery JavaScript -->
		<script src="../vendors/bower_components/switchery/dist/switchery.min.js"></script>
		<script src="../vendors/bower_components/sweetalert/dist/sweetalert.min.js"></script>
		
		
		<!-- Data table JavaScript -->
	<script src="../vendors/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
	<script src="../vendors/bower_components/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../vendors/bower_components/datatables.net-buttons/js/buttons.flash.min.js"></script>
	<script src="../vendors/bower_components/jszip/dist/jszip.min.js"></script>
	<script src="../vendors/bower_components/pdfmake/build/pdfmake.min.js"></script>
	<script src="../vendors/bower_components/pdfmake/build/vfs_fonts.js"></script>
	
	<script src="../vendors/bower_components/datatables.net-buttons/js/buttons.html5.min.js"></script>
	<script src="../vendors/bower_components/datatables.net-buttons/js/buttons.print.min.js"></script>
	<!--<script src="dist/js/export-table-data.js"></script>-->
	
	
	<script type="text/javascript" src="../vendors/bower_components/moment/min/moment-with-locales.min.js"></script>
		<script src="../vendors/bower_components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js"></script>
		<script type="text/javascript" src="../vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
		<!--<script src="../dist/js/form-picker-data.js"></script>
		
		
		<script src="../dist/js/form-advance-data.js"></script>-->
	
	<!-- Slimscroll JavaScript -->
	<script src="../dist/js/jquery.slimscroll.js"></script>
	
	<!-- Fancy Dropdown JS -->
	<script src="../dist/js/dropdown-bootstrap-extended.js"></script>
	
	<!-- Switchery JavaScript -->
	<script src="../vendors/bower_components/switchery/dist/switchery.min.js"></script>
	
	<!-- Bootstrap Tagsinput JavaScript -->
		<script src="../vendors/bower_components/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
	<script src="../dist/js/init.js"></script>
	<script src="../dist/js/dashboard-data.js"></script>

</body>

</html>
