Example #1
0
<?php

global $_zp_themeroot;
include dirname(dirname(__FILE__)) . "/shared/init.php";
?>

zin.fetchNewsCommentUrl = '<?php 
echo NewsUtil::getNewsIndexUrl();
?>
';
zin.postCommentUrl = '<?php 
echo getCustomPageUrl("add-comment");
?>
';
zin.messages = zin.messages || { } ;
$.extend(zin.messages, {
	success: '<?php 
echo gettext("Success");
?>
',
	error: '<?php 
echo gettext("Error");
?>
'
});
Example #2
0
<div id="page-desc">
	<?php 
echo getOption('simplicity3_search_text');
?>
</div>

<div id="album-wrapper">

	<div id="page-content" class="Archives">
		<?php 
printAllDates('archive', 'year', 'month', 'desc');
?>

		<div id="search-form">
			<form action="<?php 
echo getCustomPageUrl('search');
?>
" method='post'>	
				<input type="submit" id="search_submit" value="search:" />
				<input name="words" value="" id="search_input" size="10" type="text"/>
				<input name="p" value="search" type="hidden" />
			</form>
		</div>

		<div id="search-results">
				<?php 
echo $controller->getHitResults();
?>
		</div>
	</div>