Esempio n. 1
0
<?php

if (!defined('WEBPATH')) {
    die;
}
if (getOption('Allow_imagesWithAlbums')) {
    $firstPageImages = normalizeColumns(2, 3);
} else {
    $firstPageImages = null;
}
if (($total = getNumImages() + getNumAlbums()) > 0) {
    if (isset($_REQUEST['date'])) {
        $searchwords = getSearchDate();
    } else {
        $searchwords = getSearchWords();
    }
}
$c = 0;
?>
<!DOCTYPE html>
<head>
	<?php 
include_once 'header.php';
?>
	<?php 
zp_apply_filter('theme_body_open');
?>
	<meta name="keywords" content="<?php 
echo html_encode(getFormattedMainSiteName('', ', ') . getGalleryTitle() . ', ' . getBareAlbumTitle() . ', ' . implode(',', getTags()));
?>
" />
Esempio n. 2
0
$_noFlash = true;
/* don't know how to deal with the variable folder depth file names
if ((getOption('Use_Simpleviewer')==0) || !getOption('mod_rewrite')) { $_noFlash = true; }

if (isset($_GET['noflash'])) {
	$_noFlash = true;
	zp_setcookie("noFlash", "noFlash");
	} elseif (zp_getCookie("noFlash") != '') {
	$_noFlash = true;
	}
	*/
if (!isset($_GET['format']) || $_GET['format'] != 'xml') {
    require_once 'customfunctions.php';
    // Change the configuration here
    $themeResult = getTheme($zenCSS, $themeColor, 'effervescence');
    $firstPageImages = normalizeColumns(ALBUMCOLUMNS, IMAGECOLUMNS);
    if ($_noFlash) {
        $backgroundColor = "#0";
        /* who cares, we won't use it */
    } else {
        $backgroundColor = parseCSSDef($zenCSS);
    }
    $maxImageWidth = "600";
    $maxImageHeight = "600";
    $preloaderColor = "0xFFFFFF";
    $textColor = "0xFFFFFF";
    $frameColor = "0xFFFFFF";
    $frameWidth = "10";
    $stagePadding = "20";
    $thumbnailColumns = "3";
    $thumbnailRows = "6";
Esempio n. 3
0
<?php

$startTime = array_sum(explode(" ", microtime()));
if (!defined('WEBPATH')) {
    die;
}
normalizeColumns(1, 7);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php 
zenJavascript();
?>
	<title><?php 
echo getBareGalleryTitle();
?>
</title>
	<link rel="stylesheet" href="<?php 
echo $_zp_themeroot;
?>
/zen.css" type="text/css" />
	<link rel="stylesheet" href="<?php 
echo FULLWEBPATH . "/" . ZENFOLDER;
?>
/js/thickbox.css" type="text/css" />
	<?php 
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
echo "\n";
?>
	<script src="<?php 
Esempio n. 4
0
<?php

if (!defined('WEBPATH')) {
    die;
}
$startTime = array_sum(explode(" ", microtime()));
$firstPageImages = normalizeColumns(1, 7);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php 
zenJavascript();
?>
	<title><?php 
echo getBareGalleryTitle();
?>
 | <?php 
echo gettext("Search");
?>
</title>
	<link rel="stylesheet" href="<?php 
echo $_zp_themeroot;
?>
/zen.css" type="text/css" />
	<?php 
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
?>
</head>
<body>
Esempio n. 5
0
<?php

if (!defined('WEBPATH')) {
    die;
}
$themeResult = getTheme($zenCSS, $themeColor, 'light');
$firstPageImages = normalizeColumns('2', '6');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php 
zenJavascript();
?>
	<title><?php 
echo getBareGalleryTitle();
?>
 | <?php 
echo gettext("Archive View");
?>
</title>
	<link rel="stylesheet" href="<?php 
echo $zenCSS;
?>
" type="text/css" />
	<?php 
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
?>
</head>

<body>
Esempio n. 6
0
<?php

if (!defined('WEBPATH')) {
    die;
}
normalizeColumns(2, 8);
ob_start();
zenJavascript();
?>
  <link rel="stylesheet" href="<?php 
echo $_zp_themeroot;
?>
/zen.css" type="text/css" />
  <?php 
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
$headcontent = ob_get_clean();
$dir = getcwd();
chdir("../");
require_once "interface.php";
$layout = EpicInterface::render(getBareGalleryTitle(), $headcontent);
chdir($dir);
echo $layout['header'];
?>

<h1>
  <?php 
printHomeLink('', ' :: ');
echo getGalleryTitle();
?>
</h1>
Esempio n. 7
0
<?php

require 'customfunctions.php';
define('ALBUMCOLUMNS', 3);
define('IMAGECOLUMNS', 5);
$themeResult = getTheme($zenCSS, $themeColor, 'effervescence');
normalizeColumns(ALBUMCOLUMNS, IMAGECOLUMNS);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php 
zenJavascript();
?>
	<title><?php 
echo getBareGalleryTitle();
?>
 | <?php 
echo gettext('Archive');
?>
</title>
	<link rel="stylesheet" href="<?php 
echo $zenCSS;
?>
" type="text/css" />
	<script type="text/javascript" src="<?php 
echo $_zp_themeroot;
?>
/scripts/bluranchors.js"></script>
</head>
Esempio n. 8
0
<?php

$firstPageImages = normalizeColumns(3, 6);
$np = getOption('images_per_page');
if ($firstPageImages > 0) {
    $firstPageImages = $firstPageImages - 1;
    $myimagepagestart = 1;
} else {
    $firstPageImages = $np - 1;
    $myimagepagestart = 0;
}
$_zp_conf_vars['images_first_page'] = $firstPageImages;
$myimagepage = $myimagepagestart + getCurrentPage() - getTotalPages(true);
if ($myimagepage > 1) {
    $link_slides = 2;
} else {
    $link_slides = 1;
}
setOption('images_per_page', $np - $link_slides, false);
$_zp_conf_vars['images_first_page'] = NULL;
setOption('custom_index_page', 'gallery', false);
Esempio n. 9
0
<?php

require 'customfunctions.php';
$themeResult = getTheme($zenCSS, $themeColor, 'effervescence');
normalizeColumns(3, 5);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php 
zenJavascript();
?>
	<title><?php 
echo getBareGalleryTitle();
?>
</title>
	<link rel="stylesheet" href="<?php 
echo $zenCSS;
?>
" type="text/css" />
	<script type="text/javascript" src="<?php 
echo $_zp_themeroot;
?>
/scripts/bluranchors.js"></script>
	<?php 
printRSSHeaderLink('Gallery', 'Gallery RSS');
?>
</head>

<body onload="blurAnchors()">