<?php session_start();
include("connect.php");
if(!isset($_SESSION['stureg_id'])){
	header("location:index.php");
}else{
	$ddd=mysqli_query($con,"select * from student where id='".$_SESSION['stureg_id']."'");
	$me=mysqli_fetch_assoc($ddd);
	
	$bam=mysqli_query($con,"select * from `programme` where id='".$me['programme_id']."'");
	$pro=mysqli_fetch_assoc($bam);
	
	$bxm=mysqli_query($con,"select * from `department` where id='".$me['dept_id']."'");
	$dep=mysqli_fetch_assoc($bxm);
	
	$bm=mysqli_query($con,"select * from `faculty` where id='".$dep['fac_id']."'");
	$fac=mysqli_fetch_assoc($bm);
	
	$bc=mysqli_query($con,"select * from `semester` where programme_id='".$me['programme_id']."' AND session !='' AND current_semester=1 order by id desc");
	$sem=mysqli_fetch_assoc($bc);
}

?>
<!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><?php echo ucwords($me['sname'])?>'s Dashboard :: 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/sweetalert/dist/sweetalert.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($me['sname']); ?> <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 $me['matric_no']?></span> 
					<i class="zmdi zmdi-more"></i>
				</li>
				
				<li>
					<a href="index.php"><div class="pull-left"><i class="fa fa-home mr-20"></i><span class="right-nav-text">Home</span></div>
					<div class="clearfix"></div></a>
				</li>
				
				<li>
					<a href="dashboard.php" class="active"><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="registration.php"><div class="pull-left"><i class="fa fa-language mr-20"></i><span class="right-nav-text">Course Registration</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
					<a href="add_delete.php"><div class="pull-left"><i class="fa fa-edit mr-20"></i><span class="right-nav-text">Add & Delete Course</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
			<a href="course_form.php"><div class="pull-left"><i class="fa fa-print mr-20"></i><span class="right-nav-text">Print Course Form</span></div>
					<div class="clearfix"></div></a>
				</li>
				<li>
			<a href="exam_slip.php"><div class="pull-left"><i class="icon icon-notebook mr-20"></i><span class="right-nav-text"> Exam Slip</span></div>
					<div class="clearfix"></div></a>
				</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="ti-user"></i> <?php echo strtoupper($me['sname'])?>'s DASHBOARD</span>
												</div>
											</div>	
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					
				</div>
					
				<!-- Row -->
					
				
				<div class="row">
				
					<div class="col-lg-4 col-xs-12">
					
					<div class="panel panel-default card-view  pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body  pa-0">
									<div class="profile-box">
										<div class="profile-cover-pic" style="background-image:url('img/IMG-20200111-WA0009.jpg'); background-position:center;background-size:100%;">
											<div class="fileupload btn btn-default">
											</div>
											<div class="profile-image-overlay"></div>
										</div>
										<div class="profile-info text-center">
											<div class="profile-img-wrap" style="background:transparent;">
											<?php
function remoteFileExists($url) {
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_NOBODY, true);
$result = curl_exec($curl);
$ret = false;
if ($result !== false) {
    $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);  

    if ($statusCode == 200) {
        $ret = true;   
    }
}
curl_close($curl);
return $ret;
}
$exists = remoteFileExists('https://lasu.edu.ng/spts/picFol/'.strtoupper($me['matric_no']).'.jpg');
if ($exists) {
echo '<img class="inline-block mb-10 img-circle" src="https://lasu.edu.ng/spts/picFol/'.strtoupper($me['matric_no']).'.jpg" style="border:3px solid #80002a; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);" alt="Avatar"/>';
} else {
   echo '<img class="inline-block mb-10 img-circle" src="img/avatar5.png" style="border:3px solid white; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);" alt="Avatar"/>';  
}

											
											?>
											</div>	
											<h5 class="block mt-10 mb-5 weight-500 capitalize-font" style="color:#737373;">
											<?php echo ucwords($me['sname'].' '.$me['mname'].' '.$me['fname'])?></h5>
											<h6 class="block capitalize-font pb-20" style="font-weight:600;"><?php echo $me['matric_no']?></h6>
											
							<div align="center" class="mb-20">
										<a href="javascript:void(0)" data-toggle="modal" data-target="#responsive-modal" class="btn btn-primary">Account Password <i class="fa fa-lock"></i> </a>
										</div>
											
											
										</div>	
										
									</div>
								</div>
							</div>
						</div>
						
						<div class="panel panel-default card-view pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-5" style="padding-left:;">
									<img src="img/banner2.png" class="img-responsive">
								</div>
							</div>
						</div>
					</div>
					
					<div class="col-lg-8 col-xs-12">
					
					<div class="row">
					
					<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
						<div class="panel panel-default card-view pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:20px; padding-left:14px;"><?php echo $me['matric_no']?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Matric No</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="icon-layers data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</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 pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:20px; padding-left:14px;">
													<?php 
										if(strtolower(trim($me['gender']))=='m' || strtolower(trim($me['gender']))=='male'){
												echo 'Male';		
										}else if(strtolower(trim($me['gender']))=='f' || strtolower(trim($me['gender']))=='female'){
												echo 'Female';		
										}else{
												echo 'Unknown';	
										}
													
													?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Gender</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="icon-user-following data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					
					<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
						<div class="panel panel-default card-view pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:16px; padding-left:14px;">
													<?php echo $pro['name'].' ('.ucwords($me['campus']).' Campus)'; ?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Programme</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="fa fa-certificate data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</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 pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:18px; padding-left:14px;">
													<?php echo ucwords($fac['faculty']); ?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Faculty/School/college</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="fa fa-university data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</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 pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:18px; padding-left:14px;">
													<?php echo $dep['department'];	?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Department</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="fa fa-graduation-cap data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</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 pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-8 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:20px; padding-left:14px;">
													<?php echo $me['entry'];	?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Year of Entry</span>
												</div>
												<div class="col-xs-4 text-center  pl-0 pr-0 data-wrap-right">
													<i class="fa fa-hourglass data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</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 pa-0">
							<div class="panel-wrapper collapse in">
								<div class="panel-body pa-0" style="padding-left:;">
									<div class="sm-data-box">
										<div class="container-fluid">
											<div class="row">
												<div class="col-xs-6 text-center pl-0 pr-0 data-wrap-left">
													<span class="txt-dark block counter" style="font-size:20px; padding-left:14px;">
													<?php 
													if(mysqli_num_rows($bc)==0){
														echo 'Not Defined!';
													}else if($sem['session']!=''){
														echo $sem['session'];	
													}else{
														echo 'Not Defined!';	
													}
													?></span>
													<span class="weight-500 uppercase-font block font-13 pt-10">Current Academic Session</span>
												</div>
												<div class="col-xs-6 text-center  pl-0 pr-0 data-wrap-right">
													<i class="fa fa-calendar data-right-rep-icon txt-light-grey"></i>
												</div>
											</div>	
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					
					</div>
					
					
					</div>
				
					
				</div>
				<!-- /Row -->
			
			</div>
			
			
			<div class="modal fade" id="responsive-modal" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static" aria-labelledby="mediumModalLabel" aria-hidden="true">
				<div class="modal-dialog " role="document">
					<div class="modal-content">
					<div class="modal-header">
				<h4 class="modal-title" style="font-size:20px; color:black;">Change Account Password</h4>
						</div>
						<div class="modal-body">
							
							 <form method="post" class="form-password">
												 <input type="hidden" name="ori" value="<?php echo $me['password']?>" />
                                            
                                                <div class="form-group">
                                                        <label class="control-label mb-1">Current password</label>
                                                        <input name="old" type="password" placeholder="Current Password" class="form-control" required />
                                                </div>
                                            <div class="form-group">
                                                        <label class="control-label mb-1">New password</label>
                                                        <input name="new" type="password" placeholder="New Password" class="form-control" required />
                                                </div>
                                            <div class="form-group">
                                                        <label class="control-label mb-1">Confirm password</label>
                                                        <input name="cnew" type="password" placeholder="Re-Type Password" class="form-control" required />
                                                </div>
                                            
                                            
                                            
                                            <div style="margin-top:20px;">
							<div class="msg2" style="padding:7px;"></div>
                                                <button id="payment-button" type="submit" class="btn btn-primary pull-right">
                                                    <span id="payment-button-amount">Update Password</span>
                                                </button>
												<div class="clearfix"></div>
                                            </div>
                                        </form>
							
						</div>
				<div class="modal-footer" style="border-top:1px solid #efefef;">
				<a href="javascript:void(0)" class="close_modal btn btn-sm btn-danger pull-left" data-dismiss="modal">Close <i class="fa fa-times-circle"></i></a> <div class="clearfix"></div>
				</div>
						
					</div>
				</div>
			</div>
			
			
				<?php 
	if($me['dept_id']==0 || $me['dept_id']==''){
	echo '<div class="modal fade" id="show_depa" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static" aria-labelledby="mediumModalLabel" aria-hidden="true">
				<div class="modal-dialog " role="document">
					<div class="modal-content">
					<div class="modal-header">
				<h4 class="modal-title" style="font-size:20px; color:black;">Update Your Details</h4>
						</div>
						<div class="modal-body">
							
							<form method="post" id="form_submit1"><br>
						<input type="hidden" name="student_upd_department" value="true">
						
						<div class="row">
						<div class="form-group col-md-8">
						<label class="control-label mb-5" for="email_de">Department</label>
						<select style="height:46px; border-radius:0;" class="form-control" name="my_department" required >
						<option value="">Select</option>';
						
						$fal=mysqli_query($con,"select * from department order by department asc");
						while($zal=mysqli_fetch_assoc($fal)){
							echo '<option value="'.$zal['id'].'">'.ucwords($zal['department']).'</option>';
							}
						
						echo '</select>
						</div>
						
						<div class="form-group col-md-4">
						<label class="control-label mb-5" for="email_de">Gender</label>
						<select style="height:46px; border-radius:0;" class="form-control" name="my_gender" required >
						<option value="">Select</option>
						<option value="M">Male</option>
						<option value="F">Female</option>
						</select>
						</div>
						
						</div>
						
						<div class="msg1"></div>
	<br>
	 <button class="btn btn-primary pull-right" type="submit">Submit</button>
							 <div class="clearfix"></div>
						</form>
							
						</div>
				<div class="modal-footer"></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 University. All rights 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(){
		
		$("form#form_submit1").on('submit',(function(e){
			e.preventDefault();
	
		if(confirm("Kindly click OK/YES if you have selected the correct department and gender!")){
	$("div.msg1").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.msg1").html(data);
						}
    });			
	
		} 
		return false;
	
		}));
		
		
		
		$("select#programme").change(function(){
			var control_programme = $(this).val();
			if(control_programme!=''){
			$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({control_programme:control_programme}),
                        cache: false,
                        success: function(data){ 
							$("div.control_result").html(data);
						 } 
 });
		}else{
			$("div.control_result").html('<div class="form-group control_result">\
                             <label class="control-label mb-5" for="email_de">Programme Control</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_programme").click(function(){
			
		if(confirm("Are you sure you want to delete programme"))
		  {
		$("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_programme=$(this).attr("id");
		$.ajax({
						type: "POST",
                        url: "operation.php",
                        data: ({delete_programme:delete_programme}),
                        cache: false,
                        success: function(data){ 
						$("tr#"+delete_programme).animate({ backgroundColor: "#fbc7c7" }, "fast").animate({ opacity: "hide" }, "slow");
						 } 
 });
	
		}
return false;
		});
			
		
		$("a.edit_programme").click(function(){
		var edit_programme = $(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_programme:edit_programme}),
                        cache: false,
                        success: function(data){ 
							$("div.result").html(data);
						 } 
 });
		
	});
		
		}
	} );
		
		
		$("form.form-password").on('submit',(function(e){
			e.preventDefault();
			$("div.msg2").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.msg2").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>
	
	
	<?php if($me['dept_id']==0 || $me['dept_id']==''){?>
	<script>
	  $("#show_depa").modal("show");
	</script>
	
	<?php } ?>
	
	
	<!-- 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>
