Exemple #1
0
?>
					<?php 
include "inc-sidemenu.php";
?>
					<?php 
if (function_exists('printCommentForm')) {
    ?>
					<div class="latest">
						<?php 
    if (function_exists('printLatestDisqus')) {
        printLatestDisqus(3);
    } else {
        if ($zenpage) {
            printLatestComments(2);
        }
        printLatestComments(2);
    }
    ?>
					</div>
					<?php 
}
?>
				</div>
			</div>

<?php 
include "inc-footer.php";
?>
	

Exemple #2
0
            ?>
				<?php 
        }
        ?>
			<?php 
    } else {
        ?>
				<?php 
        if (function_exists('printCommentForm')) {
            ?>
					<h4 class="blockhead"><span><?php 
            echo gettext('Latest News Comments');
            ?>
</span></h4>
					<?php 
            printLatestComments(3, '100');
            ?>
				<?php 
        }
        ?>
				<?php 
    }
}
?>

		<!-- PRINTS NEWS CATEGORIES IF IN NEWS CONTEXT -->
		<?php 
if ($_zp_gallery_page == 'news.php') {
    ?>
			<div id="newscats">
				<h4 class="blockhead"><span><?php 
Exemple #3
0
				
				<?php 
if (getOption('zpbase_disqus') && getOption('zpbase_disqus_shortname')) {
    ?>
				<div class="sidebar-block">
					<h3><?php 
    echo gettext('Latest Comments');
    ?>
</h3>
					<script type="text/javascript" src="http://<?php 
    echo getOption('zpbase_disqus_shortname');
    ?>
.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=0&avatar_size=32&excerpt_length=150"></script>
				</div>
				<?php 
} elseif (function_exists('printCommentForm')) {
    ?>
				<div class="sidebar-block">
					<h3><?php 
    echo gettext('Latest Comments');
    ?>
</h3>
					<?php 
    printLatestComments(5, '150', 'all');
    ?>
				</div>
				<?php 
}
?>
				
			</div>
        ?>
</h3>
		<?php 
        printLatestNews(1, '', true, true, 250, false, 'Read More...');
        ?>
				</div>
				<div class="eight columns latest-list<?php 
        echo $class;
        ?>
">
					<h3><?php 
        echo gettext('Latest Comments');
        ?>
</h3>
				<?php 
        printLatestComments(2, '125', 'all');
        ?>
				</div>
	<?php 
    }
}
?>
		<div class="sixteen columns">
			<hr <?php 
echo $classfull;
?>
/>
			<ul class="taglist rss">
				<?php 
if (getOption('RSS_album_image')) {
    ?>
Exemple #5
0
    }
    ?>
				
				<?php 
    if (getOption('libratus_stats_comments_latest_bottom') && class_exists('comment_form')) {
        ?>
					<div class="<?php 
        echo $class;
        ?>
">
						<h5><?php 
        echo gettext('Latest Comments');
        ?>
</h5>
						<div><?php 
        printLatestComments(3);
        ?>
</div>
					</div>
				<?php 
        $c++;
    }
    ?>
				
				<?php 
    if (getOption('libratus_stats_images_popular_bottom')) {
        if ($c == getOption('libratus_bottom_stats_perrow')) {
            echo '</div><div class="row">';
            $c = 0;
        }
        ?>
Exemple #6
0
?>
						</div>
						<?php 
if (function_exists('printCommentForm')) {
    ?>
						<div class="latest sidebar-divide">
							<h3><?php 
    echo gettext('Latest Comments');
    ?>
</h3>
							<?php 
    if (function_exists('printLatestDisqus')) {
        printLatestDisqus(3);
    } else {
        printLatestComments(1);
        printLatestComments(1);
    }
    ?>
						</div>
						<?php 
}
?>
						<?php 
include "inc-copy.php";
?>
					</div>
				</div>
			</div>
			<?php 
if (is_NewsArticle()) {
    ?>
/**
 * @deprecated
 * @since 1.4.5
 */
function printLatestZenpageComments($number, $shorten = '123', $id = 'showlatestcomments', $type = "all", $itemID = "")
{
    deprecated_functions::notify(gettext('use printLatestComments($number, $shorten, $type, $itemID, $id);'));
    printLatestComments($number, $shorten, $type, $itemID, $id);
}