} ?> <body> <div class="main-content-wrapper clearfix"> <div class="login_main"> <div class= "login_main_inner"> <?php $page = !empty($_GET['page']) ? (int) $_GET['page'] : 1; $per_page = 5; $total_count = User::count_all(); $myid = $_SESSION['myid']; if (!$_SESSION['mylat']) { $results = User::find_all_pagination($page, $per_page, $total_count, $myid); echo "<h3>Other Members</h3>"; foreach ($results as $result) { ?> <a href="others.php?set=<?php echo $result->user_id; ?> "> <?php echo $result->username; ?> <br /> <img width="100px" src="<?php echo $result->image1; ?>