Şuanki Dizin: /home/wwwdreamtechnolo/www/kpmim.org/admin/old/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/kpmim.org/admin/old/jar-deliver-report.php |
<?php include('header.php'); ?> <?php if(isset($_GET['del_id'])) { $del_id = $_GET['del_id']; $db->delete_record($del_id); } $from_date = ""; $to_date = ""; if(isset($_POST['search'])) { $from_date = $_POST['from_date']; $to_date = $_POST['to_date']; $_SESSION['from_date'] = $from_date; $_SESSION['to_date'] = $to_date; } else if(isset($_SESSION['from_date']) and isset($_SESSION['to_date'])) { $from_date = $_SESSION['from_date']; $to_date = $_SESSION['to_date']; } $select_data = array(); $select_data = $db->select_jar_delivery_data($from_date,$to_date); ?> <!-- Author: W3layouts Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE html> <html lang="en"> <!-- Head --> <head> <title>Jar Supplier</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <!-- .css files --> <link href="css/bars.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="all" /> <link rel="stylesheet" href="/css/style.css" type="text/css" media="all" /> <link rel="stylesheet" href="css/font-awesome.css" /> <!-- //.css files --> <!-- Default-JavaScript-File --> <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script> <script type="text/javascript" src="js/bootstrap.min.js"></script> <!-- //Default-JavaScript-File --> <!-- fonts --> <link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Ropa+Sans:400,400i&subset=latin-ext" rel="stylesheet"> <!-- //fonts --> <!-- scrolling script --> <script type="text/javascript"> jQuery(document).ready(function($) { $(".scroll").click(function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000); }); }); </script> <!-- //scrolling script --> <link rel="stylesheet" href="/css/stylesheet.css" type="text/css" media="all" /> <link href="css/support.css" rel="stylesheet" type="text/css" media="all"> <style> th,td { text-align:center; color:black !important; } </style> </head> <!-- //Head --> <!-- Body --> <body> <div class="exp1"> <section class="about" style="background-color:#FFFFFF;"> <div class="container" style="width:100%;"> <form action="jar-deliver-report.php" method="post" autocomplete="off" > </br> <div style="width:900px; margin:auto;"> <div class="col-md-4 txt"> <span class="labelname" style="font-weight:bold;">From :</span> <br /> <input type="text" name="from_date" placeholder="From Date" id="from" class="form-control" required /> </div> <div class="col-md-4 txt"> <span class="labelname" style="font-weight:bold;">To:</span> <br /> <input type="text" name="to_date" placeholder="To Date" id="to" class="form-control" required /> <br /> </div> <div class="col-md-4"> <input type="submit" name="search" value="Search" required class="btn btn-primary" style="margin-left:10%; margin-top:20px;"/> </div> </div> <script src="/vendor/bootstrap/js/bootstrap.min.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> $( function() { $( "#from" ).datepicker({ dateFormat: 'yy-mm-dd' }); } ); </script> <script> $( function() { $( "#to" ).datepicker({ dateFormat: 'yy-mm-dd' }); } ); </script> </form> <h2>Jar Delivery Report</h2> <br /> <div class="about-grids" > <table class="table table-striped" style="width:70%; margin:auto;" > <thead> <tr> <th scope="col" width="50">Sr.No</th> <th scope="col">Client Name</th> <th scope="col">Contact No</th> <th scope="col">Jar Delivery Address</th> <th scope="col">Jar Type</th> <th scope="col">Quantity</th> <th scope="col">Delivery Date</th> </tr> </thead> <tbody> <?php //$select_data = array(); //$select_data = $db->select_jar_delivery_data(); if(!empty($select_data)) { $counter = 0; foreach($select_data as $record) { $res_id = $record[0]; $user_id = $record[1]; $jar_type = $record[2]; $quantity = $record[3]; $date = $record[4]; $time = $record[5]; ?> <tr> <?php $select_user = array(); $select_user = $db->get_user_data_with_id($user_id); $select_counter =0; if(!empty($select_user)) { $select_counter =0; foreach($select_user as $user) { $res_res_id = $user[0]; $res_full_name = $user[1]; $res_contact_no = $user[2]; $res_permanent_address = $user[3]; $res_delivery_address = $user[4]; $res_jar = $user[5]; ?> <td scope="row"><?php echo $counter+1; ?></td> <td scope="row"><?php echo $res_full_name; ?></td> <td scope="row"><?php echo $res_contact_no; ?></td> <td scope="row"><?php echo $res_delivery_address;?></td> <td scope="row"><?php echo $jar_type; ?></td> <td scope="row"><?php echo $quantity; ?></td> <td scope="row"><?php echo $date; ?></td> <?php $select_counter++; } } ?> </tr> <?php $counter++; } } else { ?> <tr><td colspan="7">Jar Delivery Record Not Found</td></tr> <?php } ?> </tbody> </table> <div class="clearfix"></div> </div> </div> </section> <!-- //copyright --> <script src="js/jarallax.js"></script> <script src="js/SmoothScroll.min.js"></script> <script type="text/javascript"> /* init Jarallax */ $('.jarallax').jarallax({ speed: 0.5, imgWidth: 1366, imgHeight: 768 }) </script> <script type="text/javascript" src="js/move-top.js"></script> <script type="text/javascript" src="js/easing.js"></script> <!-- here stars scrolling icon --> <script type="text/javascript"> $(document).ready(function() { /* var defaults = { containerID: 'toTop', // fading element id containerHoverID: 'toTopHover', // fading element hover id scrollSpeed: 1200, easingType: 'linear' }; */ $().UItoTop({ easingType: 'easeOutQuart' }); }); </script> <!-- //here ends scrolling icon --> <script src="js/bars.js"></script> </body> <!-- //Body --> </html> <!-- //html -->
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4