 <?require_once('b4.php');
require_once('bfour.php');


if(isset($_POST['submitted'])){
    $date1=$_POST['date1'];
    $date2=$_POST['date2'];
    $id=$_POST['id'];
}
?>
     <div class="content-page">
      <div class="container-fluid">
     <div class="container-fluid add-form-list">
         
        <div class="row">
            <div class="col-sm-12">

               
               
               
               <div class="card">
                    <div class="card-header d-flex justify-content-between">
                        <div class="header-title">
                            <h4 class="card-title">Sales Based on Category</h4>
                        </div>
                    </div>
                   <?php
                   
                  BestCatP($date1,$date2,$id);
                   ?>
                                                                    
                    </div></div>  </div></div>   </div>   </div></div>  </div>                          
													
       
       </div>
      </div>
    </div>
    <!-- Wrapper End-->
    <footer class="iq-footer">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-6">
                    <ul class="list-inline mb-0">
                        <li class="list-inline-item"><a href="../backend/privacy-policy.html">Privacy Policy</a></li>
                        <li class="list-inline-item"><a href="../backend/terms-of-service.html">Terms of Use</a></li>
                    </ul>
                </div>
                <div class="col-lg-6 text-right">
                    <span class="mr-1">
                        Copyright
                        <script>document.write(new Date().getFullYear())</script>© <a href="#" class="">Datum</a>
                        All Rights Reserved.
                    </span>
                </div>
            </div>
        </div>
    </footer>    <!-- Backend Bundle JavaScript -->
    <script src="js/backend-bundle.min.js"></script>
    <!-- Chart Custom JavaScript -->
    <script src="js/customizer.js"></script>
    
    <script src="js/sidebar.js"></script>
    
    <!-- Flextree Javascript-->
    <script src="js/flex-tree.min.js"></script>
    <script src="js/tree.js"></script>
    
    <!-- Table Treeview JavaScript -->
    <script src="js/table-treeview.js"></script>
    
    <!-- SweetAlert JavaScript -->
    <script src="js/sweetalert.js"></script>
    
    <!-- Vectoe Map JavaScript -->
    <script src="js/vector-map-custom.js"></script>
    
    <!-- Chart Custom JavaScript -->
    <script src="js/chart-custom.js"></script>
    <script src="js/charts/01.js"></script>
    <script src="js/charts/02.js"></script>
    
    <!-- slider JavaScript -->
    <script src="js/slider.js"></script>
    
    <!-- Emoji picker -->
    <script src="vendor/emoji-picker-element/index.js" type="module"></script>
    
    
    <!-- app JavaScript -->
    <script src="js/app.js"></script>  </body>
</html>