Please forget about line numbers... I have edited so many thing in the script and added so many mods...
In the file viewFriends.php, function getFriendList( $id )
after:
$id = (int)$id;
I added:
/***** pagination ****/
$sCountSQL = "SELECT count(*) FROM `FriendList`
LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `FriendList`.`Profile` AND `FriendList`.`ID` = '$id' OR `Profiles`.`ID` = `FriendList`.`ID` AND `FriendList`.`Profile` = '$id')
WHERE see more (`FriendList`.`Profile` = '$id' OR `FriendList`.`ID` = '$id') AND `FriendList`.`Check` = '1' ";
Please forget about line numbers... I have edited so many thing in the script and added so many mods...
In the file viewFriends.php, function getFriendList( $id )
after:
$id = (int)$id;
I added:
/***** pagination ****/
$sCountSQL = "SELECT count(*) FROM `FriendList`
LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `FriendList`.`Profile` AND `FriendList`.`ID` = '$id' OR `Profiles`.`ID` = `FriendList`.`ID` AND `FriendList`.`Profile` = '$id')
WHERE see more