Esempio n. 1
0
    ?>
">
					<?php 
    while (next_news()) {
        ?>
					<div class="<?php 
        echo $zpbase_newsstyle;
        ?>
-item">
						<div class="<?php 
        echo $zpbase_newsstyle;
        ?>
-padding">
							<?php 
        if (function_exists('printSizedFeaturedImage')) {
            printSizedFeaturedImage(null, null, getOption('thumb_size'), null, null, null, null, null, null, 'remove-attributes', null, true, null);
        }
        ?>
							<h3><?php 
        printNewsURL();
        ?>
</h3>
							<div class="news-meta">
								<span>
								<?php 
        if (getOption('zpbase_date_news')) {
            echo getNewsDate() . '&nbsp;|&nbsp;';
        }
        ?>
								<?php 
        printNewsCategories(', ', gettext('Categories: '), 'taglist');
Esempio n. 2
0
				<div class="page-sidebar pad">
					<?php 
    $hasFeaturedImage = false;
    if (function_exists('printSizedFeaturedImage')) {
        $hasFeaturedImage = getFeaturedImage();
    }
    if ($hasFeaturedImage) {
        if (is_numeric(getOption('libratus_maxwidth'))) {
            $size = 0.7 * getOption('libratus_maxwidth');
        } else {
            $size = 920;
        }
        ?>
					<div class="featured-image full-article">
						<?php 
        printSizedFeaturedImage(null, null, $size, null, null, null, null, null, null, 'scale', null, true, null);
        ?>
					</div>
					<hr />
					<?php 
    }
    ?>
					<?php 
    if (getOption('libratus_date_pages')) {
        ?>
<em><?php 
        echo gettext('Last Updated: ');
        ?>
</em><?php 
        echo getPageLastChangeDate();
        ?>
Esempio n. 3
0
                ?>
&nbsp;&nbsp;&nbsp;&nbsp;</span><?php 
            }
            ?>
						</div>
						<div class="news-content">
							<?php 
            $hasFeaturedImage = false;
            if (function_exists('printSizedFeaturedImage')) {
                $hasFeaturedImage = getFeaturedImage();
            }
            if ($hasFeaturedImage) {
                ?>
							<div class="featured-image news-reel">
								<?php 
                printSizedFeaturedImage(null, null, getOption('thumb_size'), null, null, null, null, null, null, 'scale', null, true, null);
                ?>
							</div>
							<?php 
            }
            ?>
							<?php 
            printNewsContent();
            ?>
						</div>
					</div>
					<?php 
        }
        ?>
					<?php 
        if (getNextNewsPageURL() || getPrevNewsPageURL()) {