kohjhjhصثقصثقصثقgdfgdg
Ele57885fddfgdfgfghgقفغفغفقhfg555434536
/
home
/
u402332945
/
domains
/
simmar.co.in
/
public_html
/
Admin-Panel
/
Upload FileeE
HOME
<?php include 'db.php'; $cid=intval($_GET['cid']); $cid1=intval($_GET['cid1']); if(isset($_POST["submit"])){ // Allow certain file formats $amwtz=$_POST['amwt']; $amwt=str_replace("'","\'",$amwtz); $idz=$_POST['id']; $id=str_replace("'","\'",$idz); $insert = $db->query("update cust set amwt='$amwt' where order_id=$id"); header("Location:Customermgtorderapproveview4.php"); } ?> <?php include 'db.php'; if(isset($_GET['cid2'])) { $cid1=intval($_GET['cid2']); mysqli_query($db,"delete from p12 where id='$cid2'"); header("Location:Customer_mgtview.php"); } ?> <!DOCTYPE html> <html lang="en"> <!-- Mirrored from thememinister.com/crm/clist.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:43:24 GMT --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Dipatch Management</title> <!-- Favicon and touch icons --> <link rel="shortcut icon" href="assets/dist/img/ico/favicon.png" type="image/x-icon"> <!-- Start Global Mandatory Style =====================================================================--> <!-- jquery-ui css --> <link href="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap --> <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap rtl --> <!--<link href="assets/bootstrap-rtl/bootstrap-rtl.min.css" rel="stylesheet" type="text/css"/>--> <!-- Lobipanel css --> <link href="assets/plugins/lobipanel/lobipanel.min.css" rel="stylesheet" type="text/css"/> <!-- Pace css --> <link href="assets/plugins/pace/flash.css" rel="stylesheet" type="text/css"/> <!-- Font Awesome --> <link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/> <!-- Pe-icon --> <link href="assets/pe-icon-7-stroke/css/pe-icon-7-stroke.css" rel="stylesheet" type="text/css"/> <!-- Themify icons --> <link href="assets/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/> <!-- dataTables css --> <link href="assets/plugins/datatables/dataTables.min.css" rel="stylesheet" type="text/css"/> <!-- End Global Mandatory Style =====================================================================--> <!-- Start Theme Layout Style =====================================================================--> <!-- Theme style --> <link href="assets/dist/css/stylecrm.css" rel="stylesheet" type="text/css"/> <link href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/> <script src="https://code.jquery.com/jquery-3.3.1.js"></script> <script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #000; text-align: left; padding: 8px; } @media screen and (min-width: 480px) { .table-responsive { margin-left:180px; margin-right:180px; margin-bottom:180px; } } </style> </head> <body class="hold-transition sidebar-mini"> <?php include('include/header.php'); ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="header-icon"> <i class="fa fa-users"></i> </div> <div class="header-title"> <h1>Dispatch Details Management</h1> <small>Dispatch Details List</small> </div> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-sm-12"> <div class="panel panel-bd lobidrag"> <div class="panel-heading"> <div class="btn-group" id="buttonexport"> <a href="#"> <h4>Dispatch Details Management</h4> </a> </div> </div> <div class="panel-body"> <div class="table-responsive"> <?php $ret=mysqli_query($db,"select * from cust where order_id='$cid'"); while($row=mysqli_fetch_array($ret)) { $subtotalamount=$row['subtotalamount']; $offer=$row['offer']; $totaloffer=$row['totaloffer']; $discounts=$row['discounts']; $totaldiscounts=$row['totaldiscounts']; $cnt=$row['cnt']; ?> <table> <tr> <td style="background:#000;border:0px;border-right:1px solid #bdb9b9;color:#fff;">Order # : <?php echo $row['order_id'];?></td> <td style="text-align:left;width:50%;background:#000;border:0px;color:#fff;"> <?php echo $row['name'];?></td> </tr> <tr> <td style="background:#000;border:0px;border-right:1px solid #bdb9b9;color:#fff;">Order Date: <?php echo $row['datname'];?></td> <td style="text-align:left;background:#000;border:0px;color:#fff;"> <?php echo $row['email'];?></td> </tr> <tr> <td style="background:#000;border:0px;border-right:1px solid #bdb9b9;color:#fff;">Order Qty: <?php echo $row['qt'];?></td> <td style="text-align:left;background:#000;border:0px;color:#fff;"> <?php echo $row['phonenumr'];?></td> </tr> <tr> <td style="background:#000;border:0px;border-right:1px solid #bdb9b9;color:#fff;">Order Total: RS.<?php echo $row['cnt'];?>/-</td> <td style="text-align:left;background:#000;border:0px;color:#fff;"> <?php echo $row['address'];?><br> <?php echo $row['town'];?>, <?php echo $row['state'];?>, <?php echo $row['city'];?> - <?php echo $row['pincode'];?></td> </tr> <tr> <td style="border:0px;"></td> <td style="border:0px;"></td> </tr> </table> <?php } ?> <table> <thead> <tr class="info"> <th style="width:5%;background:#000;color:#fff;border-right:1px solid #fff;">Date</th> <th style="width:15%;background:#000;color:#fff;border-right:1px solid #fff;border-left:1px solid #fff;">Image</th> <th style="width:40%;background:#000;color:#fff;border-right:1px solid #fff;border-left:1px solid #fff;">ProductName</th> <th style="width:10%;background:#000;color:#fff;border-right:1px solid #fff;border-left:1px solid #fff;">Category</th> <th style="width:10%;background:#000;color:#fff;border-right:1px solid #fff;border-left:1px solid #fff;">Price</th> <th style="width:10%;background:#000;color:#fff;border-right:1px solid #fff;border-left:1px solid #fff;">Quantity</th> <th style="width:10%;background:#000;color:#fff;border-left:1px solid #fff;border-right:1px solid #000;">Total</th> </tr> </thead> <tbody> <?php $ret=mysqli_query($db,"select * from customer_order where tr_id='$cid'"); while($row=mysqli_fetch_array($ret)) { $pid =$row['pid']; $totalawnt =$row['totalawnt']; if($totalawnt=='Productawnt') { $orderItemSql = "SELECT id,nameawnt FROM p293 WHERE id='$pid'"; $orderItemResult = $db->query($orderItemSql); $orderResult = $db->query($orderItemSql); $orderData = $orderResult->fetch_array(); $nameawnt = $orderData[1]; } else { } ?> <tr> <td><?php echo $row['dantime'];?></td> <td><img src= "image/product/<?php echo $row['file'];?>" style="height:150px;width:150px;"></td> <td><?php echo $row['p_name'];?> ( <?php $retawnt=mysqli_query($db,"select * from p15 where id='$pid'"); while($rowawnt=mysqli_fetch_array($retawnt)) { ?> <?php if($rowawnt['brand']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> Brand :</span> <?php echo $rowawnt['brand'];?> <?php } ?> <?php if($rowawnt['bike']==""){?><?php } else {?><span style="font-weight:bold;color:#000;"> Bike :</span> <?php echo $rowawnt['bike'];?> <?php } ?> <?php if($rowawnt['awntwtnt']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> Size :</span> <?php echo $rowawnt['awntwtnt'];?> <?php } ?> <?php if($rowawnt['bs']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> BS Varient :</span> <?php echo $rowawnt['bs'];?> <?php } ?> <?php if($rowawnt['combo']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> Combo :</span> <?php echo $rowawnt['combo'];?> <?php } ?> <?php if($rowawnt['requirement']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> Requirement :</span> <?php echo $rowawnt['requirement'];?> <?php } ?> <?php if($rowawnt['carrier']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> JEM Luggage Carrier :</span> <?php echo $rowawnt['carrier'];?> <?php } ?> <?php if($rowawnt['productype']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> Product Type :</span> <?php echo $rowawnt['productype'];?> <?php } ?> <?php if($rowawnt['stay']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> JEM Saddle Stay :</span> <?php echo $rowawnt['stay'];?> <?php } ?> <?php if($rowawnt['riser']==""){?><?php } else {?> <span style="font-weight:bold;color:#000;"> JEM Handlebar Riser :</span> <?php echo $rowawnt['riser'];?> <?php } ?> <?php } ?>) </td> <td><?php echo $row['amnt'];?></td> <td><?php echo $row['p_price'];?></td> <td><?php echo $row['p_qty'];?> </td> <td><?php echo $row['total'];?></td> <?php } ?> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Sub Amount</td> <td><?php echo $subtotalamount;?> /-</td> </tr> <?php if($discounts==0){?> <?php } else {?> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Coupon Code</td> <td><?php echo $couponawntwtnt;?> /-</td> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Coupon Amount</td> <td><?php echo $discounts;?> /-</td> </tr> <?php } ?> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Shipping Charges</td> <td><?php echo $totaldiscounts;?> /-</td> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">COD</td> <td><?php echo $offer;?> /-</td> </tr> <tr> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Total Amount</td> <td><?php echo $cnt;?> /-</td> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Paid</td> <td><?php echo $offer;?> /-</td> </tr> <tr> <td colspan="6" style="text-align:right;font-weight:bold;">Grand Total</td> <td><?php echo $cnt-$offer;?> /-</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <!-- customer Modal1 --> <div class="modal fade" id="customer1" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header modal-header-primary"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3><i class="fa fa-user m-r-5"></i> Update Enquiry</h3> </div> <div class="modal-body"> <div class="row"> <div class="col-md-12"> <form class="form-horizontal"> <fieldset> <!-- Text input--> <div class="col-md-4 form-group"> <label class="control-label">Name of the Student:</label> <input type="text" placeholder="Name of the Student" class="form-control"> </div> <!-- Text input--> <div class="col-md-4 form-group"> <label class="control-label">Name of the Parent:</label> <input type="text" placeholder="Name of the Parent" class="form-control"> </div> <!-- Text input--> <div class="col-md-4 form-group"> <label class="control-label">Course/Class</label> <input type="text" placeholder="Course/Class" class="form-control"> </div> <div class="col-md-6 form-group"> <label class="control-label">Date of Enqiry</label><br> <input type="date" placeholder="Date of Enqiry" class="form-control"> </div> <div class="col-md-6 form-group"> <label class="control-label">Expected Date of Joining</label> <input type="text" placeholder="Expected Date of Joining" class="form-control"> </div> <div class="col-md-6 form-group"> <label class="control-label">How do you know about Our School</label> <input type="text" placeholder="How do you know about Our School" class="form-control"> </div> <div class="col-md-6 form-group"> <label class="control-label">Incharge Staff</label> <input type="text" placeholder="Incharge Staff" class="form-control"> </div> <div class="col-md-6 form-group"> <label class="control-label">Staff Code</label> <input type="text" placeholder="Staff Code" class="form-control"> </div> <div class="col-md-12 form-group user-form-group"> <div class="pull-right"> <button type="button" class="btn btn-danger btn-sm">Cancel</button> <button type="submit" class="btn btn-add btn-sm">Save</button> </div> </div> </fieldset> </form> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button> </div> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> <!-- Modal --> <!-- Customer Modal2 --> <div class="modal fade" id="customer2" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header modal-header-primary"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3><i class="fa fa-user m-r-5"></i> Delete Customer</h3> </div> <div class="modal-body"> <div class="row"> <div class="col-md-12"> <form class="form-horizontal"> <fieldset> <div class="col-md-12 form-group user-form-group"> <label class="control-label">Delete Customer</label> <div class="pull-right"> <button type="button" class="btn btn-danger btn-sm">NO</button> <button type="submit" class="btn btn-add btn-sm">YES</button> </div> </div> </fieldset> </form> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button> </div> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include('include/footer.php'); ?> </div> <script type="text/javascript"> $(document).ready(function() { $('#example').DataTable( { "pagingType": "full_numbers" } ); } ); </script> <!-- ./wrapper --> <!-- Start Core Plugins =====================================================================--> <!-- jQuery --> <script data-cfasync="false" src="../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="assets/plugins/jQuery/jquery-1.12.4.min.js" type="text/javascript"></script> <!-- jquery-ui --> <script src="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.js" type="text/javascript"></script> <!-- Bootstrap --> <script src="assets/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <!-- lobipanel --> <script src="assets/plugins/lobipanel/lobipanel.min.js" type="text/javascript"></script> <!-- Pace js --> <script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script> <!-- table-export js --> <script src="assets/plugins/table-export/tableExport.js" type="text/javascript"></script> <script src="assets/plugins/table-export/jquery.base64.js" type="text/javascript"></script> <script src="assets/plugins/table-export/html2canvas.js" type="text/javascript"></script> <script src="assets/plugins/table-export/sprintf.js" type="text/javascript"></script> <script src="assets/plugins/table-export/jspdf.js" type="text/javascript"></script> <script src="assets/plugins/table-export/base64.js" type="text/javascript"></script> <!-- dataTables js --> <script src="assets/plugins/datatables/dataTables.min.js" type="text/javascript"></script> <!-- SlimScroll --> <script src="assets/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script> <!-- FastClick --> <script src="assets/plugins/fastclick/fastclick.min.js" type="text/javascript"></script> <!-- CRMadmin frame --> <script src="assets/dist/js/custom.js" type="text/javascript"></script> <!-- End Core Plugins =====================================================================--> <!-- Start Theme label Script =====================================================================--> <!-- Dashboard js --> <script src="assets/dist/js/dashboard.js" type="text/javascript"></script> <!-- End Theme label Script =====================================================================--> </body> <!-- Mirrored from thememinister.com/crm/clist.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:44:01 GMT --> </html>