ok

Mini Shell

Direktori : /home2/selectio/public_html/obnovit-tracking/
Upload File :
Current File : /home2/selectio/public_html/obnovit-tracking/index.php

<?php  include "header.php";
$statement = $pdo->prepare("SELECT * FROM tbl_site");
$statement->execute();
$total_site = $statement->rowCount();
$statement = $pdo->prepare("SELECT * FROM tbl_product");
$statement->execute();
$total_products = $statement->rowCount();
$statement = $pdo->prepare("SELECT * FROM tbl_user");
$statement->execute();
$total_employee = $statement->rowCount();
?>
<div class="content-wrapper" style="background: white;">
        <section class="content-header">
            <h1>Dashboard</h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                <li class="active">Dashboard</li>            </ol>
        </section>   


<div class="box-body">
    <div class="row">
                     <div class="col-sm-12" style="padding:2px;">
                            
                             <div class="col-sm-12" style="padding: 5px;border-radius: 10px">
                                 <!--<center><b style="font-size:18px;">Today</b></center>-->
                                 <div class="row">
                                      <div class="col-xs-2">
                                    <div style="background-color:#cbc150;text-align:center;font-size:12px;color:white;font-weight:900;border-radius: 5px;padding: 10px;">
                                       <a href="site.php" style="color:white;"> <i class="fa fa-paper-plane" style="font-size: 250%;"></i><br>
                                 <?php echo $total_site; ?> <br>
                                    Total Sites</a>
                                    </div>
                                </div>
                                      <div class="col-xs-2">
                                   <div style="background-color:#29f6b4;text-align:center;font-size:12px;color:white;font-weight:900;border-radius: 5px;padding: 10px;">
                                  <a href="products.php" style="color:white;"> <i class="fa fa-product-hunt" style="font-size: 250%;"></i><br>
                                    <?php echo $total_products; ?><br>
                                    Total Products</a>
                                    </div>
                                </div>
                                
                                <div class="col-xs-2">
                                   <div style="background-color:#809ad5;text-align:center;font-size:12px;color:white;font-weight:900;border-radius: 5px;padding: 10px;">
                                       <a href="employee.php" style="color:white;"> <i class="fa fa-users" style="font-size: 250%;"></i><br>
                                     <?php echo $total_employee; ?><br>
                                    Total Employee</a>
                                    </div>
                                </div>
                                </div>
                               
                            </div>
                            
                            
                             <div class="col-md-12">
                                 
                                 
                            </div>
                            
                            </div>
                 </div>                    
                              
       </div>
<?php include "footer.php";?>

Zerion Mini Shell 1.0