kohjhjhصثقصثقصثقgdfgdg
Ele57885fddfgdfgfghgقفغفغفقhfg555434536
/
home
/
u402332945
/
domains
/
simmar.co.in
/
public_html
/
Admin-Panel
/
Upload FileeE
HOME
<?php include 'db.php'; $original_date1 = $_POST['name1']; $timestamp1 = strtotime($original_date1); $name1 = date("d-m-Y", $timestamp1); $original_date2 = $_POST['name2']; $timestamp2 = strtotime($original_date2); $name2 = date("d-m-Y", $timestamp2); $cid = date("Y-m-d"); if(isset($_GET['cid'])) { $cid=intval($_GET['cid']); mysqli_query($db,"delete from p1 where id='$cid'"); header("Location:Add-product-view.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"> <?php include('include/title.php'); ?> <!-- 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> <!-- Theme style rtl --> <!--<link href="assets/dist/css/stylecrm-rtl.css" rel="stylesheet" type="text/css"/>--> <!-- End Theme Layout 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-title"> <h1>Stock Management View</h1> </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>Stock Management View</h4> </a> </div> </div> <div class="panel-body"> <center><input type="text" id="inputsearch" onkeyup="myFunction()" placeholder="Search for names.." title="Type in a name"></center> <div class="table-responsive"> <table id="example" class="display" style="width:100%" border="1"> <thead > <tr class="info"> <th>S.No</th> <th>Product Name</th> <th>Sales Rate</th> <th>Purchase Rate</th> <th>Quantity</th> <th>Total Amount</th> <th>Profit</th> <th>Status</th> </tr> </thead> <tbody id="tablesearch"> <?php $subTotal1 = ""; $subTotal1 = 0; $subTotal2 = ""; $subTotal2 = 0; $i = 1; $ret=mysqli_query($db,"select * from customer_order WHERE daty = '$cid' and amnt= 'Jeeva Store' and approve <> '' and approve <> 'Order Processing' and approve <> 'Your Product remove' and approve <> 'Your Product Reject'"); while($row=mysqli_fetch_array($ret)) { $pid =$row['pid']; ?> <tr> <td><?php echo $i;?></td> <td><?php echo $row['p_name'];?></td> <td><?php echo $row['p_price'];?></td> <td><?php echo $row['purchaserate'];?></td> <td><?php echo $row['p_qty'];?></td> <td><?php echo $row['total'];?></td> <td><?php echo $row['totalamount'];?></td> <td><?php echo $row['approve'];?></td> </tr> <?php $i++; $subTotal1 += $row['totalamount']; $subTotal2 += $row['p_qty']; } ?> <tr> <td colspan="6"><center>Total Amount</center></td> <td><center><?php echo $subTotal1;?></center></td> </tr> <tr> <td colspan="6"><center>Quantity</center></td> <td><center><?php echo $subTotal2;?></center></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 =====================================================================--> <script> $(document).ready(function(){ $("#inputsearch").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#tablesearch tr").filter(function() { $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) }); }); }); </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>