Files
zp_photoblog2/404.php
Bruno Pesenti 5cbd6357ed 1er commit
Theme zenphoto
2016-10-20 20:07:26 +02:00

75 lines
2.0 KiB
PHP

<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
&raquo; <?php echo gettext("Page not found..."); ?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<h4>
<?php echo gettext("The page you are requesting cannot be found.");
if (isset($album)) {
echo '<br />'.sprintf(gettext('Album: %s'),sanitize($album));
}
if (isset($image)) {
echo '<br />'.sprintf(gettext('Image: %s'),sanitize($image));
}
if (isset($obj)) {
echo '<br />'.sprintf(gettext('Page: %s'),substr(basename($obj),0,-4));
}
?>
</h4>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump404">
<p class="goto"><?php echo gettext("Go to album...");?></p>
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php //printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>