CasperSecurity

Current Path : /var/www/uim.org.in/admin/
Upload File :
Current File : /var/www/uim.org.in/admin/faculty.php

<?php

include("../includes/connection.php");

if (!isset($_SESSION['id'])):

    header("location:index.php");

endif;

$page1='mng_faculty';

$delid = $connect->real_escape_string($_GET['delid']);

if ($delid != ""){

	$upsql = "delete from faculty where id={$delid}";            

    db_query($upsql);

    $msg = "Service Deleted Successfully.";

    setcookie("msg", $msg, time() + 3);

	header("Location: faculty.php");

}

?>

<!DOCTYPE html>

<html lang="en">

<head>


<?php include("css.php"); ?>

<script src="tinymce/tinymce.min.js" referrerpolicy="origin"></script>

		 <link rel="stylesheet" href="assets/css/feathericon.min.css">
		
		<!-- Datatables CSS -->
		<link rel="stylesheet" href="assets/plugins/datatables/datatables.min.css">
		
		<!-- Main CSS -->
        <link rel="stylesheet" href="assets/css/style.css">


<script>

      tinymce.init({

		selector: '#buyers,#sellers,#content',

		height: 300,

	plugins: 'print preview paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap emoticons',

	menubar: 'file edit view insert format tools table help',

	toolbar: 'undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft aligncenter alignright alignjustify | outdent indent |  numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen  preview save print | insertfile image media template link anchor codesample | ltr rtl',

  toolbar_sticky: false,

  image_advtab: true,

	external_filemanager_path:"filemanager/",

   filemanager_title:"Filemanager" ,

   external_plugins: { "filemanager" : "../filemanager/plugin.min.js"},

  content_css: [

    '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',

    '//www.tiny.cloud/css/codepen.min.css'

  ],

  extended_valid_elements: 'span[class=]',

  importcss_append: false,



});



function chnageLang(val){

	self.location = 'department.php';

}





</script>

</head>

<body class="sidebar-pinned">

<?php include("left.php") ?>

<main class="admin-main">

<!--site header begins-->

<?php include("admin_header.php");?>

<!--site header ends -->

    <section class="admin-content ">

        <div class="bg-dark">

            <div class="container  m-b-30">

                <div class="row">

                    <div class="col-12 text-white p-t-40 p-b-90">
                        <h4 class="">Manage Faculty </h4>
                        <p class="opacity-75 "></p>
                    </div>

                </div>

            </div>

        </div>

		

		<div class="container  pull-up">



            <div class="row" style="margin: 0 auto; width:100%; align-items: center;

  justify-content: center;">

  

			<!--message-->

			<?php if ($_COOKIE['msg']) { ?>

				<div class="clearfix"></div>

				<div class="col-lg-8">				

				<div class="alert alert-success">

					<a href="#" class="close" data-dismiss="alert" onClick="$('.alert').hide('slow');">&times;</a>

					<?php print str_replace("+", " ", $_COOKIE['msg']); ?>

				</div>

				</div>

			<?php } ?>

			<!--message-->

			

		

						<div class="col-lg-12">

				              <div class="card m-b-30">

		                        <div class="card-header">
														<div class="row">

<div class="col-sm-7 col-auto">
								<h3 class="page-title">List of Faculty </h3>
								<ul class="breadcrumb">
									<li class="breadcrumb-item"><a href="dashboard.php">Dashboard</a></li><li class="breadcrumb-item active">Faculty </li>
								</ul>
							</div>
							<div class="col-sm-5 col">
								<a href="faculty-profile.php"  class="btn btn-primary float-right mt-2">Add Faculty </a>
							</div>
							</div>
		                        </div>
<div class="row">
						<div class="col-sm-12">
							<div class="card">
								<div class="card-body">
									<div class="table-responsive">
										<table class="datatable table table-hover table-center mb-0">
											<thead>
												<tr>
													<th>Email</th>
													<th>Number</th>
													<th>Phone Number</th>
													<th>gender</th>
													<th class="no-sort">Account Status</th>
													
												</tr>
											</thead>
											<tbody>
										<?php 
													$query = db_query("SELECT *	FROM faculty order by id desc");
													while ($row = mysqli_fetch_array($query))
													
													{
												?>
												<tr>
												
													<td><?php echo $row['1'];?></td>
													<td><?php echo $row['3'];?></td>
													<td><?php echo $row['5'];?></td>
													<td><?php echo $row['6'];?></td>
													
													<td class="text-center">


															<a href="?delid=<?php print $row['id']; ?>" onclick ="return confirm('Are you sure to delete ?')"><i class="mdi mdi-delete-forever"></i></a></td>

														

													</td>

													
													
												</tr>
																							<?php } ?>

											</tbody>
										</table>
									</div>
								</div>
							</div>
						</div>			
					</div>
								



                    </div>

				</div>

			

		

    </section>

</main>



<?php include("js.php"); ?>



<!--Additional Page includes-->

<script src="assets/vendor/apexchart/apexcharts.min.js"></script>

<!--chart data for current dashboard-->

<script src="assets/js/dashboard-01.js" type="text/javascript"></script>
        <script src="assets/js/jquery-3.2.1.min.js"></script>

 <script src="assets/js/popper.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>

 <script src="assets/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		
		<!-- Datatables JS -->
		<script src="assets/plugins/datatables/jquery.dataTables.min.js"></script>
		<script src="assets/plugins/datatables/datatables.min.js"></script>
		<script  src="assets/js/script.js"></script>


<script>

grecaptcha.ready(function () {

	grecaptcha.execute('<?php print $sitekey; ?>',{action:'login'}).then(function(token){

		var recaptchaResponse = document.getElementById('recaptchaResponse');

		recaptchaResponse.value = token;

	});

});

</script>

</body>

</html>						
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY