Exemplo n.º 1
0
" class="view-all">(view all)</a>
                <?php 
} else {
    ?>
                <a href="/profile.php?user=<?php 
    echo $userData['userID'];
    ?>
" class="view-all">(back to profile)</a>
                <?php 
}
?>
                
            </h3>
            <?php 
foreach ($posts as $post) {
    echo buckys_get_single_post_html($post, $userID);
}
?>
            <?php 
if (!isset($_GET['post'])) {
    ?>
            <!-- View More Stream -->
            <div class="clear"></div>
            <div id="more-stream" data-page="post" data-user-id="<?php 
    echo $profileID;
    ?>
"><img src="<?php 
    echo DIR_WS_IMAGE;
    ?>
loading1.gif" height="15" /></div>
            <?php 
Exemplo n.º 2
0
                </h3>
            <?php 
} else {
    ?>
                <h3>Posts <a href="/page.php?pid=<?php 
    echo $pageData['pageID'];
    ?>
&postsonly=1"
                        class="view-all">(view all)</a>
                </h3>
            <?php 
}
?>
            <?php 
foreach ($view['posts'] as $post) {
    echo buckys_get_single_post_html($post, $userID, false, $pageData);
}
?>
            <!-- View More Stream -->
            <div class="clear"></div>

            <?php 
if ($view['show_only_post'] == false) {
    ?>
                <div id="more-stream" data-page="page-post" data-page-id="<?php 
    echo $pageData['pageID'];
    ?>
">
                    <img src="<?php 
    echo DIR_WS_IMAGE;
    ?>