ok

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/home2/selectio/www/saew.in/admin/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/home2/selectio/www/saew.in/admin/index.php

<?php  include "header.php";
$statement = $pdo->prepare("SELECT * FROM gallery_table");
$statement->execute();
$total_gallery= $statement->rowCount();

$banner = $pdo->prepare("SELECT * FROM tbl_project WHERE status=1");
$banner->execute();
$total_banner = $banner->rowCount();


$statement = $pdo->prepare("SELECT * FROM tbl_client");
$statement->execute();
$total_events= $statement->rowCount();?>
<style>
.skin-blue .sidebar a {
    color: #b8c7ce;
}
.sidebar-menu li.active>a {
    font-weight: 800!important;
}
    .info-box-new-style .info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 64px;
    margin-bottom: 0;
    padding-bottom: 0;
    height: 64px;
    width: 64px;
    line-height: 64px;
    font-size: unset;
    box-shadow: 0 0 2rem 0 rgba(136,152,170,.15)!important;
}
.info-box-new-style {
    padding: 12px!important;
    padding-right: 0!important;
}
.info-box-new-style .info-box-content {
    padding: 6px 0 6px 12px;
    margin-left: 64px;
}
.info-box-text {
    color: #8898aa;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}
.info-box-number {
    font-size: 20px;
    word-wrap: break-word;
}
</style>
<div class="content-wrapper" style="background: #2b80ec;">
        <section class="content-header">
            <h1 style="background: #2b80ec;
    color: #fff!important;">Welcome Admin,</h1>
        </section>   


        <div class="box-body">
            <div class="row" >
                <div class="col-sm-12">
                        <!--<div class="col-sm-3 col-xl-2">
                            <div style="background-color: #75bf8f;text-align:center;color:white;font-weight:900;border-radius: 5px;padding:5px;">
                                <i class="fa fa-picture-o" style="font-size: 250%;" aria-hidden="true"></i><br>
                                <?php echo $total_gallery; ?><br>
                                Total Gallery
                            </div>
                        </div>-->
                        <!--<div class="col-sm-3 col-xl-2">
                            <div style="background-color: #f67529;text-align:center;color:white;font-weight:900;border-radius: 5px;padding:5px;">
                                     <i class="fa fa-calendar" style="font-size: 250%;" aria-hidden="true"></i><br>
                                    <?php echo $total_events; ?><br>
                                    Total Events
                            </div>
                        </div>--> 
                        <div class="col-md-3 col-sm-6 col-xs-12 col-custom">
                	      <div class="info-box info-box-new-style">
                	        <span class="info-box-icon bg-aqua"><i class="bi bi-image" style="font-size: 32px;"></i></span>
            
                	        <div class="info-box-content">
                	          <span class="info-box-text">Total Gallery</span>
                	          <span class="info-box-number total_purchase"><?php echo $total_gallery; ?></span>
                	        </div>
                	        <!-- /.info-box-content -->
                	      </div>
                	      <!-- /.info-box -->
                	    </div>
                	    <div class="col-md-3 col-sm-6 col-xs-12 col-custom">
                	      <div class="info-box info-box-new-style">
                	        <span class="info-box-icon bg-yellow"><i class="bi bi-calendar-event" style="font-size: 32px;"></i></span>
            
                	        <div class="info-box-content">
                	          <span class="info-box-text">Total Client</span>
                	          <span class="info-box-number total_purchase"><?php echo $total_events; ?></span>
                	        </div>
                	        <!-- /.info-box-content -->
                	      </div>
                	      <!-- /.info-box -->
                	    </div>
                	    <div class="col-md-3 col-sm-6 col-xs-12 col-custom">
                	      <div class="info-box info-box-new-style">
                	        <span class="info-box-icon bg-green"><i class="bi bi-images" style="font-size: 32px;"></i></span>
            
                	        <div class="info-box-content">
                	          <span class="info-box-text">Total Project</span>
                	          <span class="info-box-number total_purchase"><?php echo $total_banner; ?></span>
                	        </div>
                	        <!-- /.info-box-content -->
                	      </div>
                	      <!-- /.info-box -->
                	    </div>
                	    
                	    
            </div>
        </div>
            
                   
<script type="text/javascript" src="assets/dev/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="assets/dev/js/jquery.canvasjs.min.js"></script>
<?php include "footer.php";?>

Zerion Mini Shell 1.0