mudzakkir

changes

Feb 9th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. $sql_new = "select * from $tabl where status='1' order by timestamp DESC limit 0,60";
  2. $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";
  3. $sql_ou = "select * from $tabl where user_status='1' group by email order by first_name ASC limit 0,60";
  4.  
  5. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. Added line:
  7. 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")) {
  8. echo age_counter($fetch_ou['birth_month'], $fetch_ou['birth_day'], $fetch_ou['birth_year']);
  9. echo "&nbsp;years old<br/>";
  10. }
  11. if ($fetch_ou['uniq'] == $user_uniq) {
  12. echo "That's You!";
  13. }
  14. ?>
  15. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16.  
  17. <?php if ($count_online > 60) { ?>
  18. <span class="newpro_subhead"><a href="online_members.php"><u>Click Here To See All</u></a></span>
  19. <?php } ?>
  20.  
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. if ($count_visit > 60) {
  23. echo '<span class="newpro_subhead"><a href="see_all_visitors.php"><u>Click Here To See All</u></a></span>';
  24. }
  25. ?>
  26.  
  27. </fieldset>
  28. <?php if ($visit > 60) { ?>
  29. <span class="newpro_subhead"><a href="profile_visiter.php"><u>Click To See More Visiter</u></a></span>
  30. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment