<?php



include("checklogin.php");



include("../includes/inc.php");



include("header.php");







// $totMember = db_num_rows(db_query("SELECT * FROM members WHERE status='Y' and user_type='C' "));



 $totenquiry = db_num_rows(db_query("SELECT * FROM general_inq WHERE status='N'  "));







/*$totSupplier = db_num_rows(db_query("SELECT * FROM members WHERE status='Y' and user_type='S' "));







$orderMember = db_num_rows(db_query("SELECT * FROM payment_order as a1, members as b1 WHERE a1.member_id=b1.member_id and b1.user_type='C' and a1.order_status='N' "));







$codorderMember = db_num_rows(db_query("SELECT * FROM payment_order as a1, members as b1 WHERE a1.member_id=b1.member_id and b1.user_type='C' and a1.order_status='N' and a1.cod_status='Y' "));







$orderSupplier = db_num_rows(db_query("SELECT * FROM payment_order as a1, members as b1 WHERE a1.member_id=b1.member_id and b1.user_type='S' and a1.order_status='N' "));*/







?>



<section class="content-header">



  <div class="container-fluid">



    <div class="row mb-2">



      <div class="col-sm-6">



        <h1>Dashboard </h1>



      </div>



      <!-- <div class="col-sm-6">



        <ol class="breadcrumb float-sm-right">



          <li class="breadcrumb-item"><a href="#"> <i class="fa fa-dashboard"></i> Dashboard</a></li>



          <li class="breadcrumb-item active">Text Text</li>



        </ol>        



      </div>



    </div> -->



  </div>



</section>







 <!-- Main content -->



  <div class="content">



    <div class="container-fluid">



      <div class="row">



        <!-- <div class="col-lg-3 col-6">

          <div class="small-box bg-info">

            <div class="inner"><h3><?php echo $totMember;?></h3><p>Total Members</p></div>

            <div class="icon"> <i class="ion ion-person-add"></i></div>

            <a href="<?php echo ADMIN_SITE_URL;?>/custmer.php?status=Y" class="small-box-footer">More info </a>

          </div>

        </div> -->







        







        <!-- ./col -->



        <div class="col-lg-3 col-6">          



          <div class="small-box bg-success">



            <div class="inner"><h3><?php echo $totenquiry+0;?></h3><p>Total Enquiry</p></div>



            <div class="icon">



              <i class="ion ion-person-bars"></i>



              <i class="ion ion-person-add"></i>



            </div>



            <a href="<?php echo ADMIN_SITE_URL;?>/general_inquiry.php?status=N" class="small-box-footer">More info </a>



          </div>



        </div>







        <!-- <div class="col-lg-3 col-6">



         



          <div class="small-box bg-warning">



            <div class="inner"><h3><?php echo $totSupplier;?></h3><p>Total Suppliers</p></div>



            <div class="icon"><i class="ion ion-person-add"></i></div>



            <a href="<?php echo ADMIN_SITE_URL;?>/suppliers.php?status=Y" class="small-box-footer">More info </a>



          </div>



        </div>







        <div class="col-lg-3 col-6">          



          <div class="small-box bg-success">



            <div class="inner"><h3><?php echo $orderSupplier+0;?></h3><p>Order by Suppliers</p></div>



            <div class="icon">



              <i class="ion ion-person-bars"></i>



              <i class="ion ion-person-add"></i>



            </div>



            <a href="<?php echo ADMIN_SITE_URL;?>/manage_orders.php?status=N&mtype=S" class="small-box-footer">More info </a>



          </div>



        </div>



        



        <div class="col-lg-3 col-6">          



          <div class="small-box bg-danger">



            <div class="inner"><h3><?php echo $codorderMember+0;?></h3><p>COD Order</p></div>



            <div class="icon"><i class="ion ion-person-add"></i></div>



            <a href="<?php echo ADMIN_SITE_URL;?>/manage_orders.php?status=N&cod_status=Y&mtype=C" class="small-box-footer" title="">More info</a>



          </div>



        </div> -->







        <!-- ./col -->



        <!-- <div class="col-lg-3 col-6">



          <div class="small-box bg-warning">



            <div class="inner"><h3>0</h3><p>Our Partners</p></div>



            <div class="icon"><i class="ion ion-person-add"></i></div>



            <a href="" class="small-box-footer">More info</a>



          </div>



        </div> -->



        <!-- ./col -->



      </div>



     



      <!-- /.row -->



    </div>



    <!-- /.container-fluid -->



  </div>



  <!-- /.content -->



<div class="p-4">



<span class="text-danger">Terms of Upload Images on Website</span><br>



Home Page Header Banner Size: W:1350 H:400px (max 80KB)<br>



InnerPage Banner Size: W:1400px H:260px (max 60KB)<br>



<!-- Image Dimension : W:500px H:333px (max 35KB)<br>



Image Dimension : W:150px H:100px (max 10KB)<br>



Image Dimension : W:90px H:50px (max 5KB)<br> -->



</div>



<?php



include("footer.php");



?>



</body>



</html>