<!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>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title><?php echo $sg->pageTitle() ?></title>
<?php
	global $CONF;
	$CONF=array();
	$_path='../../../';
	if (@include($_path.'cfg.php')) 
		$_s=getCSSStyle(); 
	else 
		$_s='extreme.css';
	echo '<link rel="stylesheet" type="text/css" href="../skins/base/'.$_s.'" />'."\n";
?>
<link rel="stylesheet" type="text/css" href="<?php echo $sg->config->pathto_admin_template ?>main.css" />
</head>
<body>
<div id="content">
<h1>Administration: <?php echo $sg->config->gallery_name ?></h1>
<div id='topwrapper'><div id='top'>
<ul>
<li><a href='./../' accesskey='a' style='border-left:0 none' title='Homepage'><span class='u'>a</span>rticles</a></li>
<li><a href='./../forum/' accesskey='f' title='Forum'><span class='u'>f</span>orum</a></li>
<li><a href='./' id='topcurrent' accesskey='g' title='Photo gallery'><span class='u'>g</span>allery</a></li>
<li><a href='./../wiki/' accesskey='k' title='Wiki'>wi<span class='u'>k</span>i</a></li>
<li><a href='./../news.php' accesskey='w' title='news feed'>ne<span class='u'>w</span>s</a></li>
<li><a href='./../contact.php' accesskey='c' title='contact form'><span class='u'>c</span>ontact</a></li>
</ul>
</div></div>

<div id="menu">
<div class="nav">
<?php
  $sections = $sg->adminLinksArray(); 
  foreach($sections[0] as $text => $url){ ?>
<div><a href="<?php echo $url ?>"><?php echo $text ?></a></div>
<?php } ?>
  <?php for($i=1;$i<count($sections);$i++){ ?>
  <?php foreach($sections[$i] as $text => $url){ ?>
  <div><a href="<?php echo $url ?>"><?php echo $text ?></a></div>
<?php } ?>
<?php } ?>
</div></div>

<div id="items">
<p><strong><?php echo $sg->translator->_g("crumb line|You are here:") ?> <?php echo $sg->crumbLineText() ?></strong></p>

<?php if(isset($adminMessage)){ ?>
<blockquote>
  <?php 
    echo $sg->translator->_g("Admin message:");
    echo "<br />\n&nbsp;&nbsp;";
    echo $adminMessage; 
  ?>
</blockquote>
<?php } ?>
<!-- start of generated content -->
