Пример #1
0
    $commentsAllowed = NewsUtil::commentsAllowed();
    ?>
		<div class='news' index="<?php 
    echo $u;
    ?>
" 
			 title="<?php 
    echo getNewsTitle();
    ?>
" 
			 titleLink="<?php 
    echo $_zp_current_zenpage_news->getTitleLink();
    ?>
"
			 previewTitle="<?php 
    echo printNewsTitle();
    ?>
" 
			 commentson="<?php 
    echo $commentsAllowed ? 'true' : 'false';
    ?>
" 
			 commentCount="<?php 
    echo $_zp_current_zenpage_news->getCommentCount();
    ?>
">
			<div class='date' day="<?php 
    echo zpFormattedDate('%e', $dt);
    ?>
"
				  month="<?php 
Пример #2
0
    ?>
			<h3><?php 
    printNewsIndexURL(gettext('News'));
    printCurrentNewsCategory(' » ' . gettext('Category') . ' : ');
    printCurrentNewsArchive(' » ');
    ?>
</h3>
		</div>

	<?php 
    // single news article
    if (is_NewsArticle()) {
        ?>
		<div id="news" class="clearfix">
			<h3><?php 
        printNewsTitle();
        ?>
</h3>
			<div class="newsarticlecredit">
				<?php 
        printNewsDate();
        printNewsCategories(', ', gettext(' | '), 'hor-list');
        ?>
			</div>
			<?php 
        if (getNewsExtraContent()) {
            ?>
			<div class="extra-content clearfix">
				<?php 
            printNewsExtraContent();
            ?>
Пример #3
0
<?php

include "inc-header.php";
include "inc-sidebar.php";
?>

<div class="right">
	<?php 
if ($zpfocus_social && is_NewsArticle()) {
    include "inc-social.php";
}
?>
	<h1 id="tagline"><?php 
printNewsIndexURL("News");
printCurrentNewsCategory(" / Category - ");
printNewsTitle(" / ");
printCurrentNewsArchive(" / ");
?>
</h1>
	<?php 
if ($zpfocus_logotype) {
    ?>
		<a style="display:block;" href="<?php 
    echo getGalleryIndexURL();
    ?>
"><img src="<?php 
    echo $_zp_themeroot;
    ?>
/images/<?php 
    echo $zpfocus_logofile;
    ?>