<?php include APP_WEB_DIR . '/inc/top-unit.inc'; ?> <div class="row"> <?php echo \com\indigloo\sc\html\Site::formMessage(); ?> <div class="span9 wbg"> <div id="page-message" class="hide-me"> </div> <div id="item-page"> <?php echo \com\indigloo\sc\html\Post::getHeader($postView, $loginIdInSession); echo \com\indigloo\sc\html\Post::getFancybox($itemObj->title, $postView->images); echo \com\indigloo\sc\html\Post::getDetail($postView, $links); $likeHtml = \com\indigloo\sc\html\Post::getLikes($likeDBRows); $commentHtml = ''; echo \com\indigloo\sc\html\Post::getActivity($likeHtml, $commentHtml); ?> </div> </div> <div class="span3 wbg"> <?php echo \com\indigloo\sc\html\Post::getUserPanel($postView, $loginIdInSession); ?>
<div class="row"> <div class="span12"> <?php include APP_WEB_DIR . '/inc/toolbar.inc'; ?> </div> </div> <div class="row"> <div class="span12"> <?php $options = array(); $options["group"] = true; $postView = \com\indigloo\sc\html\Post::createPostView($postDBRow, $options); echo \com\indigloo\sc\html\Post::getHeader($postView); ?> </div> </div> <div class="row"> <div class="span9"> <?php echo \com\indigloo\sc\html\Post::getGalleria($itemObj->title, $images); echo \com\indigloo\sc\html\Post::getDetail($postView, $links, $siteDBRow); echo \com\indigloo\sc\html\Post::getToolbar($loginIdInSession, $postDBRow['login_id'], $itemId); //inject activity tile $activityDao = new \com\indigloo\sc\dao\Activity(); $feedDataObj = $activityDao->getPostFeeds($itemId, 10); $htmlObj = new \com\indigloo\sc\html\Activity(); $feedHtml = $htmlObj->getPostTile($feedDataObj);