Пример #1
0
</span>
						<?php 
    if (getOption('zpbase_social')) {
        include 'inc/socialshare.php';
    }
    ?>
					</div>
				</div>
				<?php 
    $hasFeaturedImage = false;
    if (function_exists('printSizedFeaturedImage')) {
        $hasFeaturedImage = getFeaturedImage();
    }
    ?>
				<?php 
    if (getCodeBlock() || $hasFeaturedImage || getPageExtraContent()) {
        ?>
				<div class="page-inset">
					<?php 
        if ($hasFeaturedImage) {
            printSizedFeaturedImage(null, null, getOption('thumb_size'), null, null, null, null, null, null, 'remove-attributes', null, true, null);
        }
        ?>
					<?php 
        printCodeblock();
        ?>
					<?php 
        if (getNewsExtraContent()) {
            printNewsExtraContent();
        }
        ?>
Пример #2
0
        ?>
					</div>
					<?php 
        $singletag = getTags();
        $tagstring = implode(', ', $singletag);
        if (strlen($tagstring) > 0) {
            ?>
					<div class="block"><i class="fa fa-tags fa-fw"></i> <?php 
            printTags('links', '', 'taglist', ', ');
            ?>
</div>
					<?php 
        }
        ?>
					<?php 
        if (getCodeBlock(1)) {
            ?>
<div class="codeblock"><?php 
            printCodeblock(1);
            ?>
</div><?php 
        }
        ?>

					<?php 
    } else {
        ?>
					
					<?php 
        while (next_news()) {
            ?>