<!-- page content --> <div class="right_col" role="main"> <?php include_once "../dataconfig/dataprovider.php"; $tongnguoidung = DataProvider::NumRows("SELECT COUNT(*) as Num FROM taikhoan"); $tongnguoinam = DataProvider::NumRows("SELECT COUNT(*) as Num FROM taikhoan where tk_GioiTinh = 1"); $tongnguoinu = DataProvider::NumRows("SELECT COUNT(*) as Num FROM taikhoan where tk_GioiTinh = 2"); $tongbaihoc = DataProvider::NumRows("SELECT COUNT(*) as Num FROM baihoc"); $tongbaitap = DataProvider::NumRows("SELECT COUNT(*) as Num FROM baitap"); $tongcautrochoi = DataProvider::NumRows("SELECT COUNT(*) as Num FROM xepchu"); $tongam = DataProvider::NumRows("SELECT COUNT(*) as Num FROM am"); $tongtu = DataProvider::NumRows("SELECT COUNT(*) as Num FROM tu"); $tongcau = DataProvider::NumRows("SELECT COUNT(*) as Num FROM cau"); $tonghinh = DataProvider::NumRows("SELECT COUNT(*) as Num FROM hinhanh"); $tongloai = $tongam + $tongtu + $tongcau + $tonghinh; ?> <!-- top tiles --> <div class="row tile_count"> <div class="animated flipInY col-md-2 col-sm-4 col-xs-4 tile_stats_count"> <div class="left"></div> <div class="right"> <span class="count_top"><i class="fa fa-user"></i> Tổng số người dùng</span> <div class="count"><?php echo $tongnguoidung; ?> </div> </div> </div> <div class="animated flipInY col-md-2 col-sm-4 col-xs-4 tile_stats_count"> <div class="left"></div>
<div class="activity-item-detail"> Chọn hình ảnh để học lại bài học đó nhé ! </div> </div> <div class="decoration"></div> <?php } } else { echo 'Bạn chưa học bài nào.'; } ?> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM lichsubaihoc where lsbh_TaiKhoan = {$uiduser}"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?page=<?php echo $i; ?> " class="page_link active">
<td><a href="edit-taikhoan.php?lhd=3&id=<?php echo $value[0]; ?> " class="btn btn-primary noprint">Delete</a></td> </tr> <?php } ?> </tbody> </table> </div> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM taikhoan"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?page=<?php echo $i; ?> " class="page_link active">
<td><?php echo date_format($fdate, 'm/d/Y'); ?> </td> </tr> </tbody> <?php $stt++; } } ?> </table> </div> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM lichsubaitap where lsbt_TaiKhoan = {$id}"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?page=<?php echo $i; ?> " class="page_link active">
echo $value['bt_TieuDe']; ?> </em> </a> <?php } } ?> </div> <div class="decoration"> </div> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM baitap"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?page=<?php echo $i; ?> " class="page_link active">
Màng <?php echo $value['xc_level']; ?> </em> </a> <?php } } ?> </div> <div class="decoration"> </div> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM xepchu"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?page=<?php echo $i; ?> " class="page_link active">
<em style="font-weight: bold;"><?php echo $value['bh_TenBaiHoc']; ?> </em> </a> <?php } } ?> </div> <div class="decoration"></div> <div class="col-md-12 text-center"> <ul class="pagination pagination-lg pager" ><?php $total_results = DataProvider::NumRows("SELECT COUNT(*) as Num FROM baihoc WHERE bh_LoaiBaiHoc = {$lessonid}"); $total_pages = ceil($total_results / $max_results); for ($i = 1; $i <= $total_pages; $i++) { ?> <?php if ($i == $_GET['page']) { ?> <li class="active"> <a href="<?php echo $_SERVER['PHP_SELF']; ?> ?lsid=<?php echo $id_LoaiBaiHoc; ?> &page=<?php