ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/tnpsctestbatch.com/admin/
Upload File :
Current File : //proc/self/root/home2/selectio/www/tnpsctestbatch.com/admin/index.php

<?php
include "header.php";
$today_date = date("Y-m-d");

$statement = $pdo->prepare("SELECT * FROM tbl_questions");
$statement -> execute();
$result = $statement->rowCount();

$statement = $pdo->prepare("SELECT * FROM tbl_mock_test");
$statement -> execute();
$mock_test_type1 = $statement->rowCount();

$statement = $pdo->prepare("SELECT * FROM tbl_mock_test where mock_test_type=2");
$statement -> execute();
$mock_test_type2 = $statement->rowCount();

?>

<div class="content-wrapper">
        <section class="content-header">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <img src="images/logo/logo.png" alt="IMG" style="margin-left: 30%;padding-bottom: 20px;">
                    </div>
                    <div class="col-md-3 col-sm-6" style="padding: 0px 0px 0px 0px;margin-right: -20px;">
                        <div class="counter" style="margin-right: 0px;">
                            <span class="counter-value"><?php echo $result;?></span>
                            <h3>Total Questions</h3>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6" style="padding: 0px 0px 0px 0px;margin-right: -80px;">
                        <div class="counter blue">
                            <span class="counter-value"><?php echo $mock_test_type1; ?></span>
                            <h3 style="font-size: 14px;">Total Mock Test 1 Questions</h3>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6" style="padding: 0px 0px 0px 0px;margin-right: -135px;">
                        <div class="counter blue">
                            <span class="counter-value"><?php $mock_test_type2; ?></span>
                            <h3 style="font-size: 14px;">Current Affair Questions</h3>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6" style="padding: 0px 0px 0px 0px;">
                        <div class="counter blue" style="margin-right: 0px;">
                            <span class="counter-value">1854</span>
                            <h3 style="font-size: 14px;">Total Mock Test 3 Questions</h3>
                        </div>
                    </div>
                </div>
            </div>
        </section>
</div>

<style>
    .counter{
       
    color: #fff;
    background: linear-gradient(to right bottom, #FFD81B, #f9b12a);
    font-family: 'Dosis', sans-serif;
    text-align: center;
    width: 180px;
    height: 180px;
    padding: 40px 20px 20px;
    margin: 0 auto;
    border-radius: 10px 10px 100px 100px;
    box-shadow: 0 0 15px -5px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.counter:after{
    content: '';
    background-color: #f9b12a;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.counter .counter-value{
    font-size: 55px;
    font-weight: 600;
    line-height: 40px;
    margin: 0 0 15px;
    display: block;
}
.counter h3{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}
.counter.green{ background: linear-gradient(to right bottom, #a9dd23, #52C242); }
.counter.green:after{ background: #52C242; }
.counter.cgreen{ background: linear-gradient(to right bottom, #01AD9F, #008888); }
.counter.cgreen:after{ background: #008888; }
.counter.blue{ background: linear-gradient(to right bottom, #00C5EF, #0092f4); }
.counter.blue:after{ background: #0092f4; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
</style>

<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
 
<script>
    $(document).ready(function(){
    $('.counter-value').each(function(){
        $(this).prop('Counter',0).animate({
            Counter: $(this).text()
        },{
            duration: 3500,
            easing: 'swing',
            step: function (now){
                $(this).text(Math.ceil(now));
            }
        });
    });
});
</script>

<?php
include "footer.php";
?>
                
                
                
                
                
                
                
                
  



Zerion Mini Shell 1.0