/
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-list.php
(21793B)
<?php include'loginQuery/session_start.php'; include'dbc.php'; $pageTitle="List of Order "; $pageName="Order List"; $tableName = $tblOrder; $addPageUrl=$urlOrderList; $deleteMode="deleteData"; $returnurl = $urlOrderList; $totalImage =0; $user_id =$_SESSION['userid']; ?> <!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> <?php echo $pageTitle;?> </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" /> <?php include'message.php';?> </meta> </meta> </meta> <style> .small-header .panel-body h2 { margin-top:3px; } .hbreadcrumb { margin-top:0; } </style> </head> <body> <!-- Simple splash screen--> <!--[if lt IE 7]> <p class="alert alert-danger">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- 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---------------------> <div class="small-header"> <div class="hpanel"> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb "> <li><a class="btn btn-danger" href="<?php echo $addPageUrl?>"><strong>Add New</strong></a></li> </ol> </div> <h2 class="font-light m-b-xs"> <?php echo $pageName;?> </h2> <small><?php echo $pageTitle;?></small> </div> </div> </div> <!----------------end top normal header---------------------> <!--model window--> <!--model window--> <div class="content "> <div class="row"> <div class="col-lg-12"> <div class="hpanel"> <div class="panel-heading"> <div class="panel-tools"> <!--<a class="showhide"> <i class="fa fa-chevron-up"> </i> </a> <a class="closebox"> <i class="fa fa-times"> </i> </a>--> </div> </div> <div class="panel-body"> <?php if(isset($_GET['search'])){ $search=$_GET['search']; $type=$_GET['type']; $status=$_GET['status']; }else{ $search=""; $type=""; $status=""; } if(isset($_GET['startdate'])){ $startdate = $_GET['startdate']; $enddate = $_GET['enddate']; }else{ $startdate=""; $enddate=""; } ?> <div class="row"> <form method="get"> <div class="col-xs-12 col-sm-2"> <select name="status" class="form-control"> <option value="">Status</option> <?php $sqlo=mysqli_query($conn,"select * from tbl_order_status ")or die(mysqli_error()); while($rowo=mysqli_fetch_assoc($sqlo)) {?> <option value="<?php echo $rowo['id'];?>" <?php if($rowo['id']==$status){echo "selected";}?> ><?php echo $rowo['name'];?></option> <?php } ?> </select> </div> <div class="col-xs-12 col-sm-2"> <select name="type" class="form-control"> <option value="">Type</option> <option value="name" <?php if($type=="name"){echo "selected";}?> >Customer Name</option> <option value="email" <?php if($type=="email"){echo "selected";}?> >Customer Email</option> <option value="phone" <?php if($type=="phone"){echo "selected";}?> >Customer Phone</option> <option value="order_id" <?php if($type=="order_id"){echo "selected";}?> >Order ID</option> </select> </div> <!-- <div class="col-xs-12 col-sm-2"> <a id="btnapply" class="btn btn-success checkactive">Apply</a> <i id="progressbar1" style="display:none" class="fa fa-spinner fa-spin" aria-hidden="true"></i> </div>--> <div class="col-xs-12 col-sm-2"> <input type="text" placeholder="name" name="search" class="form-control" value="<?php echo $search; ?>"> </div> <div class="col-xs-12 col-sm-3"> <div class="input-daterange input-group form-group" id="datepicker"> <input type="text" class="input-sm form-control" name="startdate" placeholder="Start Date" style="height:34px;" value="<?php echo $startdate;?>"/> <span class="input-group-addon">to</span> <input type="text" class="input-sm form-control" placeholder="End Date" style="height:34px;" value="<?php echo $enddate;?>" name="enddate"/> </div> </div> <div class="col-xs-12 col-sm-1"> <input type="submit" class="btn btn-success " value="Go"> </div> </form> </div> </div> <!---------------------------> <br> <div class="panel-body"> <!------------------------------------------------> <?php $queryString=" where cart_status=1"; $typeString=""; if(isset($_GET['startdate']) || isset($_GET['search'])){ $flag=0;// if flage 0 that means never user where clouse if($status!=""){ $queryString.=" and order_status='$status'"; } if($type!=""){ $queryString.=" and $type like '%$search%'"; } if($startdate!=""){ $queryString.=" and order_date between '$startdate' and '$enddate'"; } }else{ $queryString=" where cart_status=1"; } ?> <!--<input type="hidden" id="getbackurl" value="<?php //echo $finalBackURL;?>">--> <input type="hidden" id="getquerystring" value="<?php echo $queryString;?>"> <style type="text/css"> .getstatus{ margin:10px; cursor:pointer} .l{ margin-right:10px; cursor:pointer} </style> <div style="float:left"> </div> <?php $limit = 50; if (isset($_GET["page"])) { $page = $_GET["page"]; } else { $page=1; }; $start_from = ($page-1) * $limit; //====================================== $rs_result = mysqli_query($conn,"SELECT COUNT(id) FROM $tableName $queryString ") or die(mysqli_error($conn)); $row = mysqli_fetch_row($rs_result); $total_records = $row[0]; echo " Total Record ".$total_records2 = $row[0]; $total_pages = ceil($total_records / $limit); $pagLink = "<nav style='float:right'><ul class='pagination'>"; for ($i=1; $i<=$total_pages; $i++) { $pagLink .= "<li><a href='tbl_banner-list.php?page=".$i."'>".$i."</a></li>"; }; echo $pagLink . "</ul></nav>"; $orderAry[0]="Pending"; $sql=mysqli_query($conn,"select * from $tblOrderStatus")or die(mysqli_error($conn)); while($row=mysqli_fetch_assoc($sql)) { $orderAry[$row['id']] = $row['name']; } $sql=mysqli_query($conn,"select * from $tblProduct")or die(mysqli_error($conn)); while($row=mysqli_fetch_assoc($sql)) { $productAry[$row['id']] = $row['name']; } $paymentStatus[1]="Paid"; $paymentStatus[0]="UnPaid"; ?> <div class="clearfix"></div> <div id="showrecord"> <table cellpadding="1" cellspacing="1" class="table table-bordered table-striped"> <thead> <tr> <th width="30">#</th> <th>Order#</th> <th>Date</th> <th>Contact Details</th> <th>Address</th> <th>Amount</th> <th>Order Status</th> <th>Payment Status</th> <th width="120">Control</th> </tr> </thead> <tbody> <?php $i=1; $sql=mysqli_query($conn,"select * from $tableName $queryString ORDER BY id desc LIMIT $start_from, $limit")or die(mysqli_error()); while($row=mysqli_fetch_assoc($sql)) {extract($row) ?> <tr> <td><?php echo $i++;?></td> <td><?= "{$order_id}"; ?></td> <td><?= "{$order_date}<br>{$order_time}"; ?></td> <td><?= $name; ?> <br><?= $email; ?> <br><?= $phone; ?></td> <td><?= "{$address1},{$address2}<br>Pincode{$pincode} {$city}({$state})"; ?></td> <td>Rs. <?= ($order_amount+$shipping_charge);?></td> <td><?= $orderAry[$order_status]; ?> </td> <td><?= $paymentStatus[$payment_status]; ?></td> <td> <?= "<a class='btn btn-danger btn-xs' href='order-details.php?orderid={$order_id}'><i class='fa fa-eye'> </i> View Details</a>"?> </td> </tr> <?php }?> </tbody> </table> </div> <?php echo $pagLink . "<ul></ul>"; ?> </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> <link rel="stylesheet" href="vendor/sweetalert/lib/sweet-alert.css" /> <script src="vendor/sweetalert/lib/sweet-alert.min.js"></script> <script> $(document).on('click','.demo3',function(){ var path=$(this).attr('path'); swal({ title: "Are you sure?", text: "Your will not be able to recover this imaginary file!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, delete it!" }, function () { window.location.href=path }); }); </script> <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> <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>
Save
cmd:
run