/
home
/
u775757334
/
domains
/
civicwelllife.com
/
public_html
/
admin
/
/home/u775757334/domains/civicwelllife.com/public_html/admin
mkdir
upload
Name
Size
Mode
Actions
api/
-
0755
rm
dataQuery/
-
0755
rm
dist/
-
0755
rm
fonts/
-
0755
rm
function/
-
0755
rm
icons/
-
0755
rm
images/
-
0755
rm
include/
-
0755
rm
js/
-
0755
rm
loginQuery/
-
0755
rm
php/
-
0755
rm
scripts/
-
0755
rm
styles/
-
0755
rm
vendor/
-
0755
rm
banner-list.php
17871
0644
edit
dl
rm
banner.php
18156
0644
edit
dl
rm
benifits-list.php
16234
0644
edit
dl
rm
benifits.php
15935
0644
edit
dl
rm
blog-list.php
18199
0644
edit
dl
rm
blog.php
20910
0644
edit
dl
rm
category-list.php
18188
0644
edit
dl
rm
category.php
19039
0644
edit
dl
rm
change-password.php
11770
0644
edit
dl
rm
client-list.php
15889
0644
edit
dl
rm
client.php
16550
0644
edit
dl
rm
close-list.php
15318
0644
edit
dl
rm
color-list.php
15864
0644
edit
dl
rm
color.php
15247
0644
edit
dl
rm
commission-list.php
16438
0644
edit
dl
rm
daily-changes-list.php
16046
0644
edit
dl
rm
daily-changes.php
16962
0644
edit
dl
rm
dbc.php
5306
0644
edit
dl
rm
disease-category-list.php
17373
0644
edit
dl
rm
disease-category.php
17009
0644
edit
dl
rm
disease-subcategory-list.php
18113
0644
edit
dl
rm
disease-subcategory.php
19480
0644
edit
dl
rm
doctor-consultation-list.php
15713
0644
edit
dl
rm
doctor-enquiry-list.php
17459
0644
edit
dl
rm
enquiry-list.php
16399
0644
edit
dl
rm
error_log
174
0644
edit
dl
rm
faq-list.php
18344
0644
edit
dl
rm
faq.php
17215
0644
edit
dl
rm
favicon.ico
1150
0644
edit
dl
rm
forgot-password.php
4019
0644
edit
dl
rm
franchise-enquiry.php
17591
0644
edit
dl
rm
gallery-list.php
15893
0644
edit
dl
rm
gallery.php
16793
0644
edit
dl
rm
home.php
15222
0644
edit
dl
rm
index.php
4412
0644
edit
dl
rm
menu-category-list.php
15739
0644
edit
dl
rm
menu-category.php
16264
0644
edit
dl
rm
menu-list.php
15953
0644
edit
dl
rm
menu.php
16723
0644
edit
dl
rm
message.php
3033
0644
edit
dl
rm
offer-list.php
16040
0644
edit
dl
rm
offer.php
16749
0644
edit
dl
rm
order-details.php
21633
0644
edit
dl
rm
order-list.php
21793
0644
edit
dl
rm
paper-list.php
15633
0644
edit
dl
rm
paper.php
18145
0644
edit
dl
rm
partners-list.php
15975
0644
edit
dl
rm
partners.php
17715
0644
edit
dl
rm
post-list.php
15881
0644
edit
dl
rm
post.php
16536
0644
edit
dl
rm
problem-solution-list.php
19700
0644
edit
dl
rm
problem-solution.php
17961
0644
edit
dl
rm
product-list.php
19477
0644
edit
dl
rm
product.php
32402
0644
edit
dl
rm
promocode-list.php
18056
0644
edit
dl
rm
promocode.php
20506
0644
edit
dl
rm
recharge-list.php
16438
0644
edit
dl
rm
referral-order-list.php
16839
0644
edit
dl
rm
registration-list.php
21026
0644
edit
dl
rm
registration.php
27437
0644
edit
dl
rm
seller-registration-list.php
21887
0644
edit
dl
rm
seller-registration.php
22981
0644
edit
dl
rm
setting.php
32514
0644
edit
dl
rm
size-list.php
15940
0644
edit
dl
rm
size.php
15224
0644
edit
dl
rm
specialization-list.php
17308
0644
edit
dl
rm
specialization.php
15703
0644
edit
dl
rm
staff-list.php
15906
0644
edit
dl
rm
staff.php
17700
0644
edit
dl
rm
team-list.php
16319
0644
edit
dl
rm
team.php
17764
0644
edit
dl
rm
testimonial-list.php
18585
0644
edit
dl
rm
testimonial.php
19630
0644
edit
dl
rm
timming-list.php
18475
0644
edit
dl
rm
timming.php
17670
0644
edit
dl
rm
user-list.php
16551
0644
edit
dl
rm
vedio-list.php
18471
0644
edit
dl
rm
vedio.php
18969
0644
edit
dl
rm
website-setting.php
12534
0644
edit
dl
rm
withdraw-list.php
16438
0644
edit
dl
rm
youtube-vedio-list.php
17409
0644
edit
dl
rm
youtube-vedio.php
17804
0644
edit
dl
rm
Edit:
/home/u775757334/domains/civicwelllife.com/public_html/admin/order-details.php
(21633B)
<?php include'loginQuery/session_start.php'; include'dbc.php';?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <!-- Page title --> <title> E-commerce </title> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <!--<link rel="shortcut icon" type="image/ico" href="favicon.ico" />--> <!-- Vendor styles --> <?php include'include/header-file.php';?> <!--select feild css--> <link rel="stylesheet" href="vendor/select2-3.5.2/select2.css" /> <link rel="stylesheet" href="vendor/select2-bootstrap/select2-bootstrap.css" /> <link rel="stylesheet" href="vendor/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.css" /> <link rel="stylesheet" href="vendor/datatables.net-bs/css/dataTables.bootstrap.min.css" /> </meta> </meta> </meta> </head> <body class="hide-sidebar"> <!-- Header --> <?php include'include/header.php';?> <!-- Header End--> <!-- Navigation --> <?php include'include/side-menu.php';?> <!-- Navigation --> <!-- Main Wrapper --> <div id="wrapper"> <!----------------start top normal header---------------------> <!----------------end top normal header---------------------> <!--model window--> <?php $orderID= $_GET['orderid']; $sqlo=mysqli_query($conn,"select * from $tblOrder where order_id='$orderID'")or die(mysqli_error()); $rowo=mysqli_fetch_assoc($sqlo); ?> <!--model window--> <div class="content "> <div class="row"> <div class="col-lg-12"> <div class="hpanel"> <div class="panel-body" style='margin-bottom:15px;'> <div class="row"> <form action="dataQuery/process.php" method="post"> <input type='hidden' name="action" value='changeOrderStatus'> <input type='hidden' name="order_id" value='<?= $_GET['orderid'] ?>'> <div class="col-xs-12 col-sm-3"> <label>Change Status</label> <select name="status" class="form-control"> <?php $sql=mysqli_query($conn,"select * from tbl_order_status") or die(mysqli_error()); while($row=mysqli_fetch_assoc($sql)) {?> <option <?php if($rowo['order_status']==$row['id']){echo 'selected';} ?> value="<?= $row['id'] ?>"><?= $row['name'] ?></option> <?php }?> </select> </div> <div class="col-xs-12 col-sm-2" style="border-right: 1px solid #f1f1f1"> <button style='margin-top: 23px;' type='submit' class="btn btn-danger">Change Status</button> </div> </form> <form action="dataQuery/process.php" method="post"> <input type='hidden' name="action" value='updateTracking'> <input type='hidden' name="order_id" value='<?= $_GET['orderid'] ?>'> <div class="col-xs-12 col-sm-2"> <label>Tracking No</label> <input type='text' name="tracking_no" value="<?= $rowo['tracking_no'] ?>" class="form-control"> </div> <div class="col-xs-12 col-sm-4"> <label>Tracking Link</label> <input type='text' name="tracking_url" value="<?= $rowo['tracking_url'] ?>" class="form-control"> </div> <div class="col-xs-12 col-sm-1"> <button style='margin-top: 23px;' type='submit' class="btn btn-danger">Update</button> </div> </form> </div> </div> <div class="panel-body"> <!------------------------------------------------> <?php /* $sqlMA =mysqli_query($conn,"select * from tbl_product") or die(mysqli_error()); while($rowMA=mysqli_fetch_assoc($sqlMA)) { $key = $rowMA['id']; $productNameAry[$key] = $rowMA['name']; // $productCodeAry[$key] = $rowMA['sku']; $priceAry[$key] = $rowMA['sale_price']; $shippriceAry[$key] = $rowMA['shipping_charge']; }*/ ?> <?php /*$sqlMA =mysqli_query($conn,"select * from tbl_courier_services") or die(mysqli_error()); while($rowMA=mysqli_fetch_assoc($sqlMA)) { $key = $rowMA['id']; $courierNameAry[$key] = $rowMA['name']; }*/ ?> <style> @media print { #printtable { width:100%; visibility: visible; } body{ visibility:hidden; } #header{ display:none; } #menu{ display:none; } } </style> <div class="clearfix"></div> <?php $sqlMA =mysqli_query($conn,"select * from tbl_order_status") or die(mysqli_error($conn)); while($rowMA=mysqli_fetch_assoc($sqlMA)) { $key = $rowMA['id']; $orderStatusAry[$key] = $rowMA['name']; } $sql =mysqli_query($conn,"select * from $tblProduct") or die(mysqli_error($conn)); while($row=mysqli_fetch_assoc($sql)) { $productAry[$row['id']] = $row['name']; } // $shippingID = $rowo['shipping_id']; $filterDate = $rowo['order_date'].' '.$rowo['order_time']; $businessName= $rowo['name']; $email = $rowo['email']; $orderStatus = $rowo['order_status']; $phone = $rowo['phone']; $addressLine1 = $rowo['address1']; $addressLine2 = $rowo['landmark']; $pincode = $rowo['pincode']; $city = $rowo['city']; $state = $rowo['state']; $country = "India"; $totalAmount = $rowo['order_amount']; $discountAmount = $rowo['discount_amount']; $shippingAmount = $rowo['shipping_charge']; ?> <table id="printtable" class="table table-striped table-bordered table-hover" > <thead> <tr style=" border:0;"> <th colspan="8" style=" border:0;text-align:center;"><h3><strong>Purchase Order</strong></h3></th> </tr> <tr> <th colspan="3" style="font-weight:normal;"><p><h4><strong><?php echo $businessName;?></strong></h4> <?php echo $addressLine1;?><br> <?php echo $addressLine2;?><br> <?php echo $pincode;?>,<?php echo $city;?>(<?php echo $state;?>) <?php echo $country;?><br> Email ID : <?php echo $email;?><br> Phone : <?php echo $phone;?><br> </p> </th> <th colspan="4" valign="top" style="position:relative"> <p style="position:absolute; top:0; margin-top:10px; text-align:left; right:0; min-width:220px; padding-right:10px;"> Order ID : <span style="font-weight:normal"><?php echo $_GET['orderid']; ?></span><br> Order Date : <span style="font-weight:normal"><?php echo $filterDate; ?></span><br> Status : <span style="font-weight:normal"><?php echo $orderStatusAry[$orderStatus]; ?></span> <br><br> <?php /* $sqlt=mysqli_query($conn,"select * from tbl_dipatch where order_id ='$orderID'")or die(mysqli_error()); if(mysqli_num_rows($sqlt)>0){ $rowt = mysqli_fetch_assoc($sqlt);?> <strong>Dispatched Through </strong> : <span style="font-weight:normal"><?php echo $courierNameAry[$rowt['dispatched_through']]?></span><br> <strong>Tracking# </strong> : <span style="font-weight:normal"><?php echo $rowt['tracking_number']?></span><br> <strong>Date of Dispatch </strong> : <span style="font-weight:normal"><?php echo $rowt['date_of_dipatch']?></span> <?php }*/ ?> </p> </th> </tr> <tr> <th>S.No</th> <!-- <th>SKU#</th> --> <th colspan="2">Product</th> <th >Quantity</th> <th>Unit Price</th> <th>Shipping Charge</th> <th>Total</th> </tr> </thead> <tbody> <?php $oid=$_GET['orderid']; $i=1; $total=0; $shiptotal=0; $temp_total=0; $temp_shiptotal=0; $sql=mysqli_query($conn,"select * from tbl_order_details where quantity!=0 and order_id='$oid'")or die(mysqli_error()); while($row=mysqli_fetch_assoc($sql)) {extract($row); ?> <tr> <td><?php echo $i++;?></td> <td colspan="2"><?= $productAry[$product_id];?><br> <strong><?= $size ?></strong> </td> <td><?= $quantity;?></td> <td><?= $sale_price; ?></td> <td><?= $shipping_charge;?></td> <td><?= $total;?> </td> </tr> <?php }?> <tr style="background-color:#f1f1f1"> <td colspan="6" align="right"><strong>Total Amount</strong></td> <td><?= $totalAmount;?></td> </tr> <tr style="background-color:#f1f1f1"> <td colspan="6" align="right"><strong>Shipping Amount</strong></td> <td><?= $discountAmount;?></td> </tr> <tr style="background-color:#f1f1f1"> <td colspan="6" align="right"><strong>Payment Amount</strong></td> <td><?= ($totalAmount+$shippingAmount)-$discountAmount;?></td> </tr> </tbody> </table> </div> <button style="margin:0 auto; display:block; margin-top:5px;" onClick="myFunction()" class="btn btn-success"><i class="fa fa-print"></i> Print Report</button> <div id="showrecord"> </div> </div> </div> </div> <!-- Footer--> <?php include'include/footer-file.php';?> <!--select feild css--> <script src="vendor/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js"></script> <script src="vendor/select2-3.5.2/select2.min.js"></script> <!-- App scripts --> </body> </html> <script type="text/javascript"> //======================= add name start ==================================*/ //======================= add name end ==================================*/ $(document).on('click','.page-link',function(){ var pageID=$(this).attr("pageid"); var status=$(this).attr("pageid2"); var getbackurl=$("#getbackurl").val(); $("#showrecord").html('<center><i class="fa fa-spinner fa-spin" aria-hidden="true"></i></center>'); var cid= $("#applicationid").val(); var getquerystring= $("#getquerystring").val(); $.ajax({ type: "POST", url: "function/getOrderPageList.php", data: "pageID="+ pageID+"&getquerystring="+getquerystring, success: function(html){ $("#showrecord").html(html); } }); return false; }); </script> <!--<script type="text/javascript" charset="utf8" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.3.js"></script>--> <script type="text/javascript"> $(document).ready(function(){ $('.pagination').pagination({ items: <?php echo $total_records;?>, itemsOnPage: <?php echo $limit;?>, cssStyle: 'light-theme', currentPage : <?php echo $page;?>, hrefTextPrefix : 'brands-list.php?page=' }); }); </script> <!-- DataTables --> <script src="vendor/datatables/media/js/jquery.dataTables.min.js"></script> <script src="vendor/datatables.net-bs/js/dataTables.bootstrap.min.js"></script> <script src="vendor/datatables.net-buttons/js/buttons.html5.min.js"></script> <script src="vendor/datatables.net-buttons/js/buttons.print.min.js"></script> <script src="vendor/datatables.net-buttons/js/dataTables.buttons.min.js"></script> <script src="vendor/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script> <script> $(function () { // Initialize Example 1 $('#example1').dataTable( { "ajax": 'api/datatables.json', dom: "<'row'<'col-sm-4'l><'col-sm-4 text-center'B><'col-sm-4'f>>tp", "lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "All"] ], buttons: [ {extend: 'copy',className: 'btn-sm'}, {extend: 'csv',title: 'ExampleFile', className: 'btn-sm'}, {extend: 'pdf', title: 'ExampleFile', className: 'btn-sm'}, {extend: 'print',className: 'btn-sm'} ] }); // Initialize Example 2 $('#example2').dataTable(); }); </script> <link rel="stylesheet" href="dist/simplePagination.css" /> <script src="dist/jquery.simplePagination.js"></script> <script> $(function(){ $("#form_2").validate({ rules: { name: { required: true, minlength: 3 }, username: { required: true, minlength: 5 }, url: { required: true, url: true }, number: { required: true, number: true }, last_name: { required: true, minlength: 6 } }, messages: { number: { required: "(Please enter your phone number)", number: "(Please enter valid phone number)" }, last_name: { required: "This is custom message for required", minlength: "This is custom message for min length" } }, submitHandler: function(form) { form.submit(); }, errorPlacement: function(error, element) { $( element ) .closest( "form" ) .find( "label[for='" + element.attr( "id" ) + "']" ) .append( error ); }, errorElement: "span", }); }); </script> <script> $(function(){ $('#datepicker').datepicker(); $("#datepicker").on("changeDate", function(event) { $("#my_hidden_input").val( $("#datepicker").datepicker('getFormattedDate') ) }); $('#datapicker2').datepicker(); $('.input-group.date').datepicker({ }); $('.input-daterange').datepicker({ }); $("#demo1").TouchSpin({ min: 0, max: 100, step: 0.1, decimals: 2, boostat: 5, maxboostedstep: 10, }); $("#demo2").TouchSpin({ verticalbuttons: true }); $("#demo3").TouchSpin({ postfix: '%' }); $("#demo4").TouchSpin({ postfix: "a button", postfix_extraclass: "btn btn-default" }); $(".js-source-states").select2(); $(".js-source-states-2").select2(); //turn to inline mode $.fn.editable.defaults.mode = 'inline'; //defaults $.fn.editable.defaults.url = '#'; //editables $('#username').editable({ url: '#', type: 'text', pk: 1, name: 'username', title: 'Enter username' }); $('#firstname').editable({ validate: function(value) { if($.trim(value) == '') return 'This field is required'; } }); $('#sex').editable({ prepend: "not selected", source: [ {value: 1, text: 'Male'}, {value: 2, text: 'Female'} ], display: function(value, sourceData) { var colors = {"": "gray", 1: "green", 2: "blue"}, elem = $.grep(sourceData, function(o){return o.value == value;}); if(elem.length) { $(this).text(elem[0].text).css("color", colors[value]); } else { $(this).empty(); } } }); $('#dob').editable(); $('#event').editable({ placement: 'right', combodate: { firstItem: 'name' } }); $('#comments').editable({ showbuttons: 'bottom' }); $('#fruits').editable({ pk: 1, limit: 3, source: [ {value: 1, text: 'banana'}, {value: 2, text: 'peach'}, {value: 3, text: 'apple'}, {value: 4, text: 'watermelon'}, {value: 5, text: 'orange'} ] }); $('#user .editable').on('hidden', function(e, reason){ if(reason === 'save' || reason === 'nochange') { var $next = $(this).closest('tr').next().find('.editable'); if($('#autoopen').is(':checked')) { setTimeout(function() { $next.editable('show'); }, 300); } else { $next.focus(); } } }); // ClockPicker $('.clockpicker').clockpicker({autoclose: true}); // DateTimePicker $('#datetimepicker1').datetimepicker(); }); </script> <script> function myFunction() { window.print(); } </script>
Save
cmd:
run