Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/harishtaraagriculturaltrust/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include 'comman/links.php'; ?> <!-- Layout wrapper --> <div class="layout-wrapper layout-content-navbar"> <div class="layout-container"> <!-- Menu --> <?php include 'comman/sidebar.php'; ?> <!-- Layout container --> <div class="layout-page"> <?php include 'comman/header.php'; ?> <!-- Content wrapper --> <div class="content-wrapper"> <!-- Content --> <div class="container-xxl flex-grow-1 container-p-y"> <h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">Admin /</span>Online Member</h4> <div class="row"> <div class="col-md-12"> <ul class="nav nav-pills flex-column flex-md-row mb-3"> <!-- <li class="nav-item"> <a class="nav-link active" href="javascript:void(0);"><i class="bx bx-user me-1"></i> Account</a> </li> --> <!-- <li class="nav-item"> <a class="nav-link" href="pages-account-settings-notifications.html" ><i class="bx bx-bell me-1"></i> Notifications</a > </li> --> <!-- <li class="nav-item"> <a class="nav-link" href="pages-account-settings-connections.html" ><i class="bx bx-link-alt me-1"></i> Connections</a > </li> --> </ul> <div class="card mb-4"> <!-- <h5 class="card-header">Profile Details</h5> --> <!-- Account --> <!-- <div class="card-body"> <div class="d-flex align-items-start align-items-sm-center gap-4"> <div class="button-wrapper"> <label for="upload" class="btn btn-primary me-2 mb-4" tabindex="0"> <span class="d-none d-sm-block">Upload new photo</span> <i class="bx bx-upload d-block d-sm-none"></i> <input type="file" id="upload" class="account-file-input" hidden accept="image/png, image/jpeg" /> </label> <p class="text-muted mb-0">Allowed JPG, GIF or PNG. Max size of 800K</p> </div> </div> </div> --> <hr class="my-0" /> <!-- /Account --> </div> <hr> </div> </div> <div class="card"> <h5 class="card-header">View Members</h5> <div class="card-body"> <div class="table-responsive text-nowrap"> <table class="table"> <thead> <tr> <th>Id</th> <th>Name</th> <th>Image</th> <th>Date of Birth</th> <th>Gender</th> <th>Father’s Name</th> <th>Contact No</th> <th>E-mail</th> <th>Address</th> <th>Country</th> <th>State</th> <th>Aadhaar No</th> <th>Pan No</th> <th>Occupation / Profession</th> <th>Office Address & Contact No</th> <th>Educational Qualification</th> <th>Hobbies</th> <th>Define yourself and your goal in life</th> <th>Why do you want to join our Organisation?</th> <th>At the time of Submission</th> <th>Annual Subscription</th> <th>Declaration</th> </tr> </thead> <tbody class="table-border-bottom-0"> <?php $count=1; $result = mysqli_query($conn,"SELECT * FROM member"); while($data = mysqli_fetch_array($result)) { ?> <td><?php echo $count; ?></td> <td><?php echo $data['name'] ?></td> <td> <img src="<?php echo $data['image']; ?>" height="100" alt=""></td> <td><?php echo $data['dob'] ?></td> <td><?php echo $data['gender'] ?></td> <td><?php echo $data['fname'] ?></td> <td><?php echo $data['contact'] ?></td> <td><?php echo $data['email'] ?></td> <td><?php echo $data['add'] ?></td> <td><?php echo $data['country'] ?></td> <td><?php echo $data['state'] ?></td> <td><?php echo $data['addhar'] ?></td> <td><?php echo $data['pan'] ?></td> <td><?php echo $data['op'] ?></td> <td><?php echo $data['offic_add'] ?></td> <td><?php echo $data['eq'] ?></td> <td><?php echo $data['hobbi'] ?></td> <td><?php echo $data['goal'] ?></td> <td><?php echo $data['organisation'] ?></td> <td><?php echo $data['submission'] ?></td> <td><?php echo $data['subscription'] ?></td> <td><?php echo $data['dec'] ?></td> </tr> <?php $count++; } ?> </tbody> </table> </div> </div> </div> <!-- / Content --> <?php include 'comman/footer.php'; ?> <script> function up(id) { jQuery.ajax ({ url:'edit_ban.php', type:'post', data:'id='+id+'&type=data', success:function(data) { alert(data); // $('.ddd').html(data); } }); } </script> <script> function dle(id) { swal({ title: "Are You Want To Delete?", // text: "Are you want to delete!", icon: "warning", buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { window.location = "bn_cp.php?id="+id; swal("Poof! Your imaginary file has been deleted!", { icon: "success", }); } else { swal("Your imaginary file is safe!"); } }); } </script> <script> $(document).ready(function(){ $('#bn').unbind().submit(function(e){ e.preventDefault(); var data=document.getElementById('bn'); var formdata= new FormData(data); $.ajax({ type: "POST", url: "cp.php", data: formdata, processData: false, contentType: false, cache: false, success: function (data) { if(data==1) { swal({ title: "Good job!", text: "Current Project Added!", icon: "success", }).then(function() { window.location = "current.php"; }); } else { alert(data); } } }); }) }) </script>