Esempio n. 1
0
File: item.php Progetto: rjha/sc
?>
             
            <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);
?>
                    <?php 
echo \com\indigloo\sc\html\Post::getGroups($postView);
Esempio n. 2
0
            <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);
echo \com\indigloo\sc\html\Post::getActivity($feedHtml);
echo \com\indigloo\sc\html\Comment::getFeedHtml($commentDBRows);
include APP_WEB_DIR . '/qa/inc/comment.inc';
?>
                    <h3> explore 3mik </h3>
                    <div id="tiles">
                        <?php 
foreach ($xrows as $xrow) {
    echo \com\indigloo\sc\html\Post::getSmallTile($xrow);