OverLord Shell
<?php session_start();
include("db/conn.php");
include_once("headerdash.inc.php");
include("sidebar.php");
if(!in_array($_SESSION['loggedin_user'],array('admin','company'))){
header("location:404.php");
}
?>
<style type="text/css"><!--#dataTables-listing th,#dataTables-listing td{white-space:nowrap}--></style>
<div class="page-content">
<div class="row">
<div class="col-md-8" style="width: 72.666667%;">
<div class="panel">
<?php /*?> <div class="panel mbl">
<div class="panel-body">
<form class="form-inline">
<div class="col-md-12">
<div class="col-md-4">
<div class="form-group"><label>Region <?php echo "SELECT regsrno,region_name FROM otms_mst_region";?> </label><select class="form-control" name="qal" id="qal" data-validation="required" data-validation-error-msg="Invalid Zone" onChange="getcust()">
<option value=""> All</option>
<?php
$cur2=$connection_jc->query("SELECT regsrno,region_name FROM otms_mst_region" );
while($curow1=$cur2->fetch_assoc()){
?>
<option value="<?php echo $curow1['regsrno'];?>" <?php if($_GET['qal']==$curow1['regsrno']) echo "Selected";?>><?php echo $curow1['region_name'];?></option>
<?php
}$cur2->free();
?>
</select></div>
</div>
<div class="col-md-2">
<button type="submit" class="btn btn-info">Search</button>
</div>
</div>
</form>
</div>
</div> <?php */?>
<div class="panel-body">
<?php if(!empty($_GET['msg']) && strpos($_GET['msg'],'success')!=FALSE){?>
<div class="alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php if($_GET['msg']=='add_success'){?>Added Successfully!!!<?php }?>
<?php if($_GET['msg']=='update_success'){?>Updated Successfully!!!<?php }?>
<?php if($_GET['msg']=='delete_success'){?>Deleted Successfully!!!<?php }?>
</div>
<?php }elseif(!empty($_GET['msg']) && $_GET['msg']=='delete_failed'){?>
<div class="alert alert-danger">Delete Failed. Please try again.</div>
<?php }?>
<!--<div class="table-responsive">-->
<table class="table table-striped table-hover" id="dataTables-listing">
<thead>
<tr>
<th >Member Name</th>
<th >Representative Name</th>
<th >Gender</th>
<th >Membership No.</th>
<!--<th >New Membership No.</th>-->
<th >Membership Type</th>
<!-- <th >Voting</th>-->
<th >Mobile No.</th>
<th >Email</th>
</tr>
</thead>
<tbody></tbody>
<tfoot>
<tr>
<th >Member Name</th >
<th>Representative Name</th>
<th>Gender</th>
<th>Membership No.</th>
<!--<th >New Membership No.</th>-->
<th>Membership Type</th>
<!-- <th>Voting</th>-->
<th>Mobile No.</th>
<th>Email</th>
</tr>
</tfoot>
</table>
<!--</div>-->
<!-- /.table-responsive -->
</div>
<!-- /#page-wrapper -->
<link type="text/css" rel="stylesheet" href="css/dataTables/dataTables.bootstrap.min.css">
<script src="js/dataTables/jquery.dataTables.min.js"></script>
<script src="js/dataTables/dataTables.bootstrap.min.js"></script>
<link href="css/jquery.fancybox.css" rel="stylesheet">
<script src="js/jquery.fancybox.pack.js"></script>
<link href="css/jquery-ui.min.css" rel="stylesheet">
<script src="js/jquery-ui.min.js"></script>
<script src="js/validate.js"></script>
<script>
<?php $sa=1;?>
$('#dataTables-listing').dataTable({
stateSave: true,
'scrollX': true,
processing: true,
serverSide: true,
bSort: false,
ajax: {
url:'https://www.aiqonline.in/scripts/contact_macciab.php?su_sr_no=1®srno=<?php echo $_GET['qal'];?>',
dataType: 'jsonp'
},
data: null,
});
$('.fancyboxajax').fancybox({type:'ajax'});
</script>
<?php $connection->close();include("footer.inc.php");?>
xRyukZ - Copyright 2k19