Rev Author Line No. Line
228 kaklik 1 <?php
2 if (!defined('EXTERNAL')) {
3 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head>
7 <title>'.$sg->config->gallery_name.' - '.$sg->pageTitle().'</title>
8 <style type="text/css">@import url('.$sg->config->base_url.$sg->config->pathto_current_template.'css/layout.css);</style>
9 <style type="text/css">@import url('.$sg->config->base_url.$sg->config->pathto_current_template.'css/color_'.$sg->config->template_scheme.'.css);</style>
10 <!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="'.$sg->config->base_url.$sg->config->pathto_current_template.'css/ie.css"><![endif]-->
11 <link rel="alternate" type="application/rss+xml" title="'.$sg->pageTitle().'" href="'.$_SERVER["PHP_SELF"]; if (isset($_GET["gallery"])) { echo '?gallery='.$_GET["gallery"];} echo '&template=rss" />
12 '.$sg->navigationLinks().'</head>
13 <body>
14 ';
15 }
16 if (!isset($_GET["gallery"]) && $sg->config->update_check == 1 && $sg->isLoggedIn()) {
17 $handle = fopen($sg->config->update_url."update.php", "r");
18 $buffer = fgets($handle);
19 $thisBuffer = str_replace(' ', '', $buffer);
20 if ($thisBuffer != $sg->config->current_version) { echo '<div id="sgUpdate">There is a new version of Modern ('.$thisBuffer.') - <a href="'.$sg->config->update_url.$thisBuffer.'.zip">Download</a> - <a href="http://www.abitcloser.com/projects/singapore/">Read More</a></div>'; };
21 fclose($handle);
22 }
23 ?>
24  
25 <!--
26 This page was generated by singapore <http://singapore.sourceforge.net>
27 singapore is free software licensed under the terms of the GNU GPL.
28  
29 Modern Template <? echo $sg->config->current_version ?> by Ross Howard
30 http://www.abitcloser.com/projects/singapore
31 -->
32 <div id="sgContainer">
33 <div id="sgHeader">
34 <div id="sgOptions"><?php echo $sg->languageFlipper(); ?><?php echo $sg->templateFlipper(); ?></div>
35 <div class="sgCrumb"><?php echo $sg->crumbLine(); ?></div>
36 <!-- end of header.tpl.php -->