Пример #1
0
        echo getCommentCount();
    }
    ?>
</span>
						</div>
						<?php 
    printNewsContent();
    printCodeblock(1);
    ?>
					</div>
					<div id="pagination">
						<?php 
    if (getPrevNewsURL()) {
        ?>
<div class="prev"><?php 
        printPrevNewsLink('←');
        ?>
</div><?php 
    }
    ?>
						<?php 
    if (getNextNewsURL()) {
        ?>
<div class="next"><?php 
        printNextNewsLink('→');
        ?>
</div><?php 
    }
    ?>
					</div>	
					<?php 
Пример #2
0
			<!-- Wrap Main Body -->
			<div id="content">

				<small>&nbsp;</small>
				<div id="main2">
					<div id="content-left">
						<?php 
    if (is_NewsArticle()) {
        // single news article
        ?>
							<?php 
        if (getPrevNewsURL()) {
            ?>
<div class="singlenews_prev"><?php 
            printPrevNewsLink();
            ?>
</div><?php 
        }
        ?>
							<?php 
        if (getPrevNewsURL()) {
            ?>
<div class="singlenews_next"><?php 
            printNextNewsLink();
            ?>
</div><?php 
        }
        ?>
							<?php 
        if (getPrevNewsURL() or getPrevNewsURL()) {
Пример #3
0
        ?>
<div id="comment-wrap"><?php 
        printCommentForm();
        ?>
</div><?php 
    }
    ?>
			
			<?php 
    if (is_NewsArticle()) {
        ?>
			<?php 
        if (getPrevNewsURL()) {
            ?>
<div id="navbar-prev"><?php 
            printPrevNewsLink('‹');
            ?>
</div><?php 
        }
        ?>
			<?php 
        if (getNextNewsURL()) {
            ?>
<div id="navbar-next"><?php 
            printNextNewsLink('›');
            ?>
</div><?php 
        }
        ?>
			<?php 
    }
Пример #4
0
?>
		</h2>
	</div>
	
	<div id="padbox">
	<div class="imageit newsbody">
	
	<?php 
// single news article
if (is_NewsArticle()) {
    ?>
		<?php 
    if (getPrevNewsURL()) {
        ?>
<div class="singlenews_prev"><?php 
        printPrevNewsLink('');
        ?>
</div><?php 
    }
    ?>
		<?php 
    if (getNextNewsURL()) {
        ?>
<div class="singlenews_next"><?php 
        printNextNewsLink('');
        ?>
</div><?php 
    }
    ?>
		<?php 
    if (getPrevNewsURL() or getNextNewsURL()) {
Пример #5
0
		<div id="img-topbar" class="clearfix" style="margin-top:15px;">
			<?php 
    if (getNextNewsURL()) {
        ?>
				<div id="img-next"><?php 
        printNextNewsLink('»');
        ?>
</div>
			<?php 
    }
    ?>
			<?php 
    if (getPrevNewsURL()) {
        ?>
				<div id="img-prev"><?php 
        printPrevNewsLink('«');
        ?>
</div>
			<?php 
    }
    ?>
		</div>

		<?php 
} else {
    // news article loop
    if ($_zp_current_category) {
        ?>
			<h4 class="blockhead-r"><span><?php 
        printCurrentNewsCategory('');
        ?>