<?php
require_once("header.php");
require_once("menu.php");
?>
<style>
span.dashtotalcount {
    float: right;
    font-size: 24px;
}
</style>
    
            <div id="layoutSidenav_content">
                <main class="mt-4">
                    <div class="container-fluid">
                      <div class="row">
                            <div class="col-xl-3 col-md-6">
                                <div class="card bg-primary text-white mb-4"style="background: #008000a1 !important;">
                                    <div class="card-body">
                                        <span class="dash_name">Service Management</span>
                                        <span class="dashtotalcount">
                                            <?php $service = mysqli_num_rows($ex = $obj->view_service());
                                                echo $service;
                                            ?>
                                        </span>
                                    </div>
                                    <div class="card-footer d-flex align-items-center justify-content-between">
                                        <a class="small text-white stretched-link" href="service.php">View Details</a>
                                        <div class="small text-white"><i class="fas fa-angle-right"></i></div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <div class="card bg-warning text-white mb-4" style="background: #ad0808cc !important;">
                                    <div class="card-body">
                                        <span class="dash_name">Inventory Management.</span>
                                        <span class="dashtotalcount">
                                            <?php $inv_mgt = mysqli_num_rows($ex = $obj->view_homewedeploy_info());
                                                echo $inv_mgt;
                                            ?>
                                        </span>
                                    </div>
                                    <div class="card-footer d-flex align-items-center justify-content-between">
                                        <a class="small text-white stretched-link" href="homewedeploy.php">View Details</a>
                                        <div class="small text-white"><i class="fas fa-angle-right"></i></div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <div class="card bg-success text-white mb-4" style="background: #064da5d1 !important;">
                                    <div class="card-body">
                                        <span class="dash_name">Our Facilities</span>
                                        <span class="dashtotalcount">
                                            <?php $facilities = mysqli_num_rows($ex = $obj->view_homeourfacility_info());
                                                echo $facilities;
                                            ?>
                                        </span>
                                    </div>
                                    <div class="card-footer d-flex align-items-center justify-content-between">
                                        <a class="small text-white stretched-link" href="homeourfacility.php">View Details</a>
                                        <div class="small text-white"><i class="fas fa-angle-right"></i></div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <div class="card bg-danger text-white mb-4" style="background: #cea101bf !important;">
                                    <div class="card-body">
                                        <span class="dash_name">Supply Chain Management</span>
                                        <span class="dashtotalcount">
                                            <?php $supplychain = mysqli_num_rows($ex = $obj->view_home_end_to_end());
                                                echo $supplychain;
                                            ?>
                                        </span>
                                    </div>
                                    <div class="card-footer d-flex align-items-center justify-content-between">
                                        <a class="small text-white stretched-link" href="home_end_to_end.php">View Details</a>
                                        <div class="small text-white"><i class="fas fa-angle-right"></i></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </main>
                
       
<?php require_once("footer.php");?>
