</div> </div> <div class="row"> <div class="span12"> <div id="widgets"> <?php $startId = NULL; $endId = NULL; $gNumRecords = sizeof($listDBRows); if ($gNumRecords > 0) { $startId = $listDBRows[0]['id']; $endId = $listDBRows[$gNumRecords - 1]['id']; foreach ($listDBRows as $listDBRow) { echo \com\indigloo\sc\html\Lists::getPubWidget($listDBRow); } } else { $message = "No lists found!"; $htmlItems = \com\indigloo\sc\html\Site::getNoResult($message, $options); } ?> </div> </div> </div> </div> <!-- container --> <?php $paginator->render($pageBaseUrl, $startId, $endId, $gNumRecords);
$options = array("title" => "Likes", "tab" => "likes", "max" => 8, "size" => $gNumDBRows["likes"]); $likesHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options); $content = GraphHtml::getTable($loginId, $followers, 1, $followerUIOptions); $count = $ucounters["follower_count"]; $options = array("title" => "Followers", "tab" => "followers", "max" => 5, "size" => $gNumDBRows["followers"]); $followersHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options); $content = GraphHtml::getTable($loginId, $followings, 2, $followingUIOptions); $count = $ucounters["following_count"]; $options = array("title" => "Followings", "tab" => "followings", "max" => 5, "size" => $gNumDBRows["followings"]); $followingsHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options); $htmlActivityObj = new \com\indigloo\sc\html\Activity(); $activityHtml = $htmlActivityObj->getHtml($feedDataObj); //reset content $content = ""; foreach ($listDBRows as $listDBRow) { $content .= ListHtml::getPubWidget($listDBRow); } $count = $ucounters["list_count"]; $options = array("title" => "Lists", "tab" => "lists", "max" => 4, "size" => $gNumDBRows["lists"]); $listHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options); ?> <!DOCTYPE html> <html> <head> <title> <?php echo $pageTitle; ?> </title>