ok
Direktori : /home2/selectio/www/caliberembedded.com/admin/ |
Current File : /home2/selectio/www/caliberembedded.com/admin/dashboard1.php |
<?php include "header.php"; $media_sql="SELECT * FROM `tbl_gallery`"; $media_statement = $pdo->prepare($media_sql); $media_statement->execute(); $media_result = $media_statement->fetchAll(PDO::FETCH_ASSOC); ?> <div class="content-wrapper" style="background-color: white;"> <center class="h1">Dashboard <span style="color:#00a65a;">Details</span><br></center> <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <div class="container-fluid"> <div class="row"> <div class="col-md-3 col-sm-6"> <div class="counter"> <div class="counter-content"> <div class="counter-icon"> <i class="fa fa-globe"></i> </div> <span class="counter-value">1963</span> </div> <h3>Web Designing</h3> </div> </div> <div class="col-md-3 col-sm-6"> <div class="counter purple"> <div class="counter-content"> <div class="counter-icon"> <i class="fa fa-rocket"></i> </div> <span class="counter-value">1854</span> </div> <h3>Web Development</h3> </div> </div> <div class="col-md-3 col-sm-6"> <div class="counter"> <div class="counter-content"> <div class="counter-icon"> <i class="fa fa-globe"></i> </div> <span class="counter-value">1963</span> </div> <h3>Web Designing</h3> </div> </div> <div class="col-md-3 col-sm-6"> <div class="counter purple"> <div class="counter-content"> <div class="counter-icon"> <i class="fa fa-rocket"></i> </div> <span class="counter-value">1854</span> </div> <h3>Web Development</h3> </div> </div> </div> </div> </div> <style> .counter{ font-family: 'Noto Sans', sans-serif; text-align: center; width: 200px; margin: 0 auto; } .counter .counter-content{ height: 200px; padding: 55px 0 0; margin: 0 0 10px; position: relative; z-index: 1; } .counter .counter-content:before, .counter .counter-content:after{ content: ''; background: linear-gradient(to right bottom,#e9e9e9,#fff); border-radius: 50% 50% 0 50%; border: 4px solid #fff; box-shadow: 3px 3px 5px rgba(0,0,0,0.4); position: absolute; left: 7px; top: 7px; right: 7px; bottom: 7px; z-index: -1; } .counter .counter-content:after{ background: linear-gradient(to right bottom, transparent 50%, #EA237E 51%); height: 70%; width: 70%; border: none; border-radius: 0; box-shadow: none; right: 0; bottom: 0; left: auto; top: auto; z-index: -2; } .counter .counter-icon{ color:#999; font-size: 27px; line-height: 27px; position: absolute; bottom: 15px; right: 15px; } .counter .counter-value{ color:#fff; background: #EA237E; font-size: 30px; font-weight: 600; line-height: 95px; width: 95px; height: 95px; border-radius: 50px; display: inline-block; } .counter h3{ color: #888; font-size: 17px; font-weight: 700; text-transform: uppercase; margin: 0; } .counter.purple .counter-value{ background: #6D4B87; } .counter.purple .counter-content:after{ background: linear-gradient(to right bottom, transparent 50%, #835AA8 51%); } .counter.blue .counter-value{ background: #0C6DB1; } .counter.blue .counter-content:after{ background: linear-gradient(to right bottom, transparent 50%, #0C6DB1 51%); } .counter.skyblue .counter-value{ background: #39C2D5; } .counter.skyblue .counter-content:after{ background: linear-gradient(to right bottom, transparent 50%, #39C2D5 51%); } @media screen and (max-width:990px){ .counter{ margin-bottom: 40px; } } </style> <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";?>