<?php session_start();
include("dbcon/connect.php");
if(!isset($_SESSION['delsuresultadminid'])){
	header("location:index.php");
}else{
	$ddd=mysqli_query($con,"select * from notification_admin where id='".$_SESSION['delsuresultadminid']."'");
	$adm=mysqli_fetch_assoc($ddd);
}
?>
<!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>Admin Profile Page :: Lagos State University, Student Results Management System</title>
	<meta name="description" content="Inspire Polytechnic, Automated Student Notification of Result System" />
	<meta name="keyword" content="Inspire Polytechnic, Notification of Result, Student, Results Management System, Education" />
	<meta name="author" content="Dosumu Ololade"/>
    <link rel="icon" href="img/favicon.png">
	<link href="../<?php echo $host_folder;?>/vendors/bower_components/datatables/media/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
	<link href="../<?php echo $host_folder;?>/vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>
		<link href="../<?php echo $host_folder;?>/vendors/bower_components/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet" type="text/css"/>
		
		<link href="../<?php echo $host_folder;?>/vendors/bower_components/dropify/dist/css/dropify.min.css" rel="stylesheet" type="text/css"/>
		
		<link href="../<?php echo $host_folder;?>/vendors/bower_components/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css"/>
		<link href="../<?php echo $host_folder;?>/vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css"/>
		
	<link href="../<?php echo $host_folder;?>/dist/css/style.css" rel="stylesheet" type="text/css">
		
		<script src="../<?php echo $host_folder;?>/sweetalert/dist/jquery-2.1.3.min.js"></script>
	<script src="../<?php echo $host_folder;?>/sweetalert/dist/sweetalert-dev.js"></script>
	<link rel="stylesheet" href="../<?php echo $host_folder;?>/sweetalert/dist/sweetalert.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:140px;" src="img/logo.png" alt="logo"/>
							
						</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($adm['lastname']); ?> <img src="../<?php echo $host_folder;?>/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>Portal Admin</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="generator.php"><div class="pull-left"><i class="fa fa-file-text-o mr-20"></i><span class="right-nav-text">Generated Docs</span></div> <div class="clearfix"></div></a>
				</li>
				
				<li><hr class="light-grey-hr mb-10"/></li>
				<li>
					<a href="profile.php" class="active"><div class="pull-left"><i class="fa fa-universal-access mr-20"></i><span class="right-nav-text">Profile</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/logo1.png" style="width:250px; padding:13px;" 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-universal-access"></i> ACCOUNT PROFILE</span>
												</div> 
												
											</div>	
										</div>
									</div>
								</div>
							</div>
						</div>
							
					</div>
					
				</div>
					
				<!-- Row -->
					<br>
				
				<div class="row">
				
				<div class="col-lg-3"></div>
				
					<div class="col-lg-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">
									<div class="profile-box">
										<div class="profile-cover-pic" style="background-image:url('img/Z91A9987.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:white;">
												<img class="inline-block mb-10" src="img/avatar.png" style="border:4px solid white;" alt="user"/>
											</div>	
											<h5 class="block mt-10 mb-5 weight-600 capitalize-font" style="color:black; font-weight:600;">
											<?php echo ucwords($adm['lastname'].' '.$adm['othernames'])?></h5>
											<h6 class="block capitalize-font pb-20" style="font-weight:500;">Portal Administrator</h6>
										</div>	
										
									</div>
								</div>
							</div>
						</div>
					</div>
					
					<div class="col-lg-3"></div>
					
				
					<!--<div class="col-lg-8 col-xs-12">
					
						<div class="panel panel-primary card-view">
							<div class="panel-heading">
									<div class="pull-left">
										<h6 class="panel-title text-light" style="font-weight:bold; font-size:15px; margin-top:-10px; margin-bottom:-10px; color:white;">ACCOUNT SECURITY</h6>
									</div>
									</div>
									 <div class="panel-body"> 
					   <form method="post" id="form_submit">
									<input type="hidden" name="ori" value="<?php echo $adm['password']?>" />
							
							<div class="form-group m-t-15">
							<label >Current Password</label>
							<input type="password" name="old" placeholder="Enter Current Password" class="form-control" required />
								</div>
								<div class="form-group m-t-15">
							<label >New Password</label>
							<input type="password" name="new" placeholder="Enter New Password" class="form-control" required />
								</div>
								<div class="form-group m-t-15">
							<label >Confirm Password</label>
							<input type="password" name="cnew" placeholder="Re-Type Password" class="form-control" required />
								</div><br/>
								
									<div class="msg"></div>
								<button type="submit" class="btn btn-primary pull-right" style="border-radius:0;"><i class="fa fa-lock"></i> Change Password</button>
								<div class="clearfix"></div>
												</form>
					
					</div>
					</div>
							
					</div> -->
				</div>
				<!-- /Row -->
				
				
			
			</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="../<?php echo $host_folder;?>/vendors/bower_components/jquery/dist/jquery.min.js"></script>
	
	<script>
	jQuery().ready(function(){		
		
		$("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="../<?php echo $host_folder;?>/vendors/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/dropify/dist/js/dropify.min.js"></script>
		<script src="../<?php echo $host_folder;?>/dist/js/form-file-upload-data.js"></script>
	
	<!-- Switchery JavaScript -->
		<script src="../<?php echo $host_folder;?>/vendors/bower_components/switchery/dist/switchery.min.js"></script>
		<script src="../<?php echo $host_folder;?>/vendors/bower_components/sweetalert/dist/sweetalert.min.js"></script>
		
		
		<!-- Data table JavaScript -->
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/datatables.net-buttons/js/buttons.flash.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/jszip/dist/jszip.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/pdfmake/build/pdfmake.min.js"></script>
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/pdfmake/build/vfs_fonts.js"></script>
	
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/datatables.net-buttons/js/buttons.html5.min.js"></script>
	<script src="../<?php echo $host_folder;?>/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="../<?php echo $host_folder;?>/vendors/bower_components/moment/min/moment-with-locales.min.js"></script>
		<script src="../<?php echo $host_folder;?>/vendors/bower_components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js"></script>
		<script type="text/javascript" src="../<?php echo $host_folder;?>/vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
		<!--<script src="../<?php echo $host_folder;?>/dist/js/form-picker-data.js"></script>
		
		
		<script src="../<?php echo $host_folder;?>/dist/js/form-advance-data.js"></script>-->

	

	
	<!-- Slimscroll JavaScript -->
	<script src="../<?php echo $host_folder;?>/dist/js/jquery.slimscroll.js"></script>
	
	<!-- Fancy Dropdown JS -->
	<script src="../<?php echo $host_folder;?>/dist/js/dropdown-bootstrap-extended.js"></script>
	
	<!-- Switchery JavaScript -->
	<script src="../<?php echo $host_folder;?>/vendors/bower_components/switchery/dist/switchery.min.js"></script>
	
	<!-- Bootstrap Tagsinput JavaScript -->
	
		

	
		<script src="../<?php echo $host_folder;?>/vendors/bower_components/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
	<script src="../<?php echo $host_folder;?>/dist/js/init.js"></script>
	
		<script src="../<?php echo $host_folder;?>/vendors/bower_components/select2/dist/js/select2.full.min.js"></script>
	<script src="../<?php echo $host_folder;?>/dist/js/form-advance-data.js"></script>
	
	<script src="../<?php echo $host_folder;?>/dist/js/dashboard-data.js"></script>



</body>

</html>
