예제 #1
0
			<?php 
    printRandomImages($sscount, '', $sstype, $ssalbum, 300, 300, true);
    ?>
			<div id="random-title">
				<?php 
    echo $sstitle;
    ?>
			</div>
		</div>
	<?php 
}
?>

	<!-- PRINTS ZENPAGE EXTRA CONTENT FOR NEW ITEMS, IF APPLICABLE -->
	<?php 
if ($zenpage && getNewsExtraContent()) {
    ?>
		<div class="extracontent">
			<?php 
    printNewsExtraContent();
    ?>
		</div>
	<?php 
}
?>

	<!-- PRINTS ZENPAGE EXTRA CONTENT FOR PAGE ITEMS, IF APPLICABLE -->
	<?php 
if ($zenpage && getPageExtraContent()) {
    ?>
		<div class="extracontent">
/**
 * Prints the extracontent of a news article if in single news articles view
 *
 * @return string
 */
function printNewsExtraContent()
{
    echo getNewsExtraContent();
}
예제 #3
0
    // 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();
            ?>
			</div>
			<?php 
        }
        ?>
			<div class="clearfix">
				<?php 
        printNewsContent();
        ?>
				<?php 
        printCodeblock(1);
예제 #4
0
					<?php 
    }
    ?>
					<?php 
}
?>
 
				</div>
				<div id="sidebar"<?php 
if ($zpmin_switch) {
    echo ' class="switch"';
}
?>
>
					<?php 
if (is_NewsArticle() && getNewsExtraContent()) {
    ?>
					<div class="sidebar-divide">
						<div class="extra-content"><?php 
    printNewsExtraContent();
    ?>
</div>
					</div>
					<?php 
}
?>
					<?php 
include "inc-sidemenu.php";
?>
					<?php 
if (function_exists('printCommentForm')) {