Пример #1
0
			<div class='date' day="<?php 
    echo zpFormattedDate('%e', $dt);
    ?>
"
				  month="<?php 
    echo zpFormattedDate('%b', $dt);
    ?>
"
			      year="<?php 
    echo zpFormattedDate('%Y', $dt);
    ?>
"/>
			<div class='content'><?php 
    echo getNewsContent();
    ?>
</div>
			<div class='categories'><?php 
    echo ThemeUtil::clean(NewsUtil::printNewsCategories(',', false, false), FALSE);
    ?>
</div>
			<div class='preview'><?php 
    echo ThemeUtil::clean(getNewsContent(), FALSE, 120, FALSE);
    ?>
</div>
		</div>
	<?php 
    $u++;
}
?>
</div>
Пример #2
0
echo getRandomImages()->getCustomImage(NULL, 192, 48, 192, 48, NULL, null, false);
?>
" width="195" height="48"/>
		</div>
	</div>
	
	<div id="page-date" class="opa60">
		<?php 
echo NewsUtil::printPageLastChangeDate();
?>
 
	</div>

	<?php 
$codeBlock = getCodeblock(2);
if (isset($codeBlock) && ThemeUtil::clean($codeBlock, false) != '') {
    ?>
		<div id="album-description" class="page opa60">
			<?php 
    printCodeBlock(2);
    ?>
		</div>
	<?php 
}
?>
	
	<div id="page-filler" class="opa20">&nbsp;</div>
	
</div>

Пример #3
0
?>
 found
	</div>

	<?php 
echo $prevNext['prev'];
?>
	<div id="image-thumb-container">
		<?php 
$u = 0;
while (next_image()) {
    $imageTitle = getImageTitle();
    $size = getSizeCustomImage(NULL, 383);
    $desc = getImageDesc();
    if (!empty($desc)) {
        $desc = ThemeUtil::clean($desc);
    } else {
        $desc = '';
    }
    ThemeUtil::$script .= "images.push({" . "  title: '{$imageTitle}', \n" . "  description: '{$desc}', \n" . "  location: '" . getCustomImageURL(NULL, 383) . "', \n" . "  url: '" . getFullImageURL() . "',\n" . "  width: " . $size[0] . ",\n" . "  height: " . $size[1] . "\n" . "});\n";
    if (isset($_highlight_image) && $_highlight_image == $_zp_current_image->filename) {
        ThemeUtil::$script .= "initialImageThumbSelection = {$u}; \n";
    }
    ?>
			<div class="image-thumb left opa60 <?php 
    echo $u % 2 == 0 ? 'even' : 'odd';
    ?>
">
				<img 
					index="<?php 
    echo $u;
Пример #4
0
			<div class="news-preview">
				<div class="news-preview-title">
					<span><?php 
    printNewsTitle();
    ?>
</span>
				</div>
				<div class="news-preview-content">
					<?php 
    echo ThemeUtil::clean(getNewsContent(), FALSE, 120, FALSE);
    ?>
				</div>
			</div>
		</div>
	<?php 
    ThemeUtil::$script .= 'news.push({' . '	"titleLink": \'' . $_zp_current_zenpage_news->getTitleLink() . '\',' . '	"title": \'' . ThemeUtil::clean(getNewsTitle(), FALSE) . '\',' . '	"content": \'' . ThemeUtil::clean(getNewsContent()) . '\',' . '	"date": ' . zpFormattedDate("{day: %d, month:  '%b', year: %Y}", strtotime($_zp_current_zenpage_news->getDateTime())) . ', ' . '	"categories": \'' . ThemeUtil::clean(NewsUtil::printNewsCategories(',', false, false), FALSE) . '\', ' . '    "commentson": ' . (NewsUtil::commentsAllowed() ? "true" : "false") . "," . '	"commentCount": ' . $_zp_current_zenpage_news->getCommentCount() . '}); ';
    $u++;
}
ThemeUtil::$script .= $sel;
?>
	</div>

	<?php 
echo isset($prevNext['next']) ? $prevNext['next'] : "<div id='news-nav-next' class='proxy'></div>";
?>
	
	<div id="page-filler" class="opa20">&nbsp;</div>

</div>

<div id="workaround-non-xml-comment-crap" style="display: none;"></div>