Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql_new = "select * from $tabl where status='1' order by timestamp DESC limit 0,60";
- $sql_visit = "select distinct visiter_id from who_visit_myprofile where user_id='" . $_SESSION['user'] . "' AND visiter_id!='" . $_SESSION['user'] . "' order by timestamp DESC limit 0,60";
- $sql_ou = "select * from $tabl where user_status='1' group by email order by first_name ASC limit 0,60";
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Added line:
- if (($fetch_ou['birth_month'] != "" && $fetch_ou['birth_month'] != "0" ) && ($fetch_ou['birth_day'] != "" && $fetch_ou['birth_day'] != "0" ) && ($fetch_ou['birth_year'] != '' && $fetch_ou['birth_year'] != "0")) {
- echo age_counter($fetch_ou['birth_month'], $fetch_ou['birth_day'], $fetch_ou['birth_year']);
- echo " years old<br/>";
- }
- if ($fetch_ou['uniq'] == $user_uniq) {
- echo "That's You!";
- }
- ?>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <?php if ($count_online > 60) { ?>
- <span class="newpro_subhead"><a href="online_members.php"><u>Click Here To See All</u></a></span>
- <?php } ?>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- if ($count_visit > 60) {
- echo '<span class="newpro_subhead"><a href="see_all_visitors.php"><u>Click Here To See All</u></a></span>';
- }
- ?>
- </fieldset>
- <?php if ($visit > 60) { ?>
- <span class="newpro_subhead"><a href="profile_visiter.php"><u>Click To See More Visiter</u></a></span>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment