D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ksclnmuac
/
public_html
/
web
/
admin
/
admin_pages
/
Filename :
viewnonteacher.php
back
Copy
<?php include 'header.php';?> <?php include("connection.php"); $query="select * from tbl_nonteacher"; $res=mysqli_query($dbCon,$query); ?> <div class="page-header page-header-light"> <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline"> <div class="d-flex"> <div class="breadcrumb"> <a href="#" class="breadcrumb-item"><i class="icon-copy"></i> Manage Non-Teaching Staff</a> <span class="breadcrumb-item active">View Non-Teaching Staff</span> </div> <a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a> </div> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content"> <!-- Basic initialization --> <div class="card"> <div class="card-header header-elements-inline"> <h5 class="card-title">Non-Teaching's Record</h5> <div class="header-elements"> <div class="list-icons"> <a class="list-icons-item" data-action="collapse"></a> <a class="list-icons-item" data-action="reload" href="/Admin/ViewTeacher"></a> </div> </div> </div> <div class="card-body"> </div> <table class="table datatable-button-init-basic datatable-reorder"> <thead> <tr> <th>S.No.</th> <th>Pic</th> <th>Reg.Date</th> <th>Name</th> <th>Gender</th> <th>Father's Name</th> <th>Mobile No.</th> <th>Designation</th> <th>Qualification</th> <th>Address</th> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> <?php $a=1; while($row=mysqli_fetch_array($res,MYSQLI_BOTH)) { ?> <tr> <td><?php echo $a; $a++; ?></td> <td><img height="100" width="100" src="staff/<?php echo $row['pic'];?>" /></td> <td><?php echo $row['dor'];?></td> <td><a href="#"><?php echo $row['name'];?></a></td> <td><?php echo $row['gender'];?></td> <td><?php echo $row['fname'];?></td> <td><?php echo $row['mobile'];?></td> <td><?php echo $row['designation'];?></td> <td><?php echo $row['qualification'];?></td> <td><?php echo $row['address'];?></td> <td><a href="#">Edit</a></td> <td><a href="nontdel.php?id=<?php echo $row['0'];?>">Delete</a></td> </tr> <?php } ?> </tbody> </table> </div> <!-- /basic initialization --> <!-- /main charts --> <!-- Dashboard content --> <!-- /dashboard content --> </div> <script> function deluser(p) { var id = jQuery(p).next().text(); var status = confirm("Do you want to delete record?"); if (status == true) { window.location.href = '../Admin/deluser?id=' + id; } } </script> <?php include 'footer.php';?>