"; include("../pages/meta.php"); echo "
"; ////include("../pages/color.php"); if(isset($errors)) { echo $errors; } include("../pages/header.php"); echo "



"; $perpg = 100; $result = mysqli_query($db, "SELECT COUNT(*) FROM `links_records`"); $totalitems = mysqli_fetch_row($result)[0]; if(isset($_GET['page'])) { $page = $_GET['page']; if($page < 1) $page = 1; }else{ $page = 1; } $limitT = (($page * $perpg) - $perpg); $pagination = $perpg; $result = mysqli_query($db, "SELECT * FROM `links_records` ORDER BY `last_updated` ASC LIMIT $limitT, $pagination"); while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { $id = $row['id']; $thisuid = $row['user_id']; $tuname = $row['username']; /////$profile = mysqli_fetch_assoc(mysqli_query($db, "SELECT * FROM `users` WHERE `user_id` = '$thisuid'")); ////$pusername = $profile['username']; $lupdated = $row['last_updated']; $lidate = date("Y.m.d - h:i:a",$lupdated); $goid = md5($id); echo " "; } echo "
CHECKING ID Username Last Updation Time
$goid $tuname $lidate
    "; echo pagination($perpg,$page,'/refresh-site-logs/page/',$totalitems); echo "
"; include("../pages/footer.php"); echo " "; ?>