mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
some small update
* moved site_closed to database, now you can close your site through admin panel * added option to admin panel: clear cache * added experiencetable_rows configurable * optimized OTS_Account->getGroupId(), now its using like 20 queries less * optimized OTS_Player->load($id) function, should perform faster loading * fixed highscores displaying of group outfits
This commit is contained in:
@@ -681,17 +681,9 @@ echo "</div>";
|
||||
<div class="Border_1" style="background-image:url(<?php echo $template_path; ?>/images/content/border-1.gif);"></div>
|
||||
<div class="BorderTitleText" style="background-image:url(<?php echo $template_path; ?>/images/content/title-background-green.gif);"></div>
|
||||
<?php
|
||||
/*
|
||||
<img class="Title" src="<?php echo $template_path; ?>/headline.php?p=<?php if(isset($_404)) echo '404'; else echo PAGE; ?>" alt="Contentbox headline" />
|
||||
*/
|
||||
if($config['site_closed'])
|
||||
$tmp_page = $config['site_closed_title'];
|
||||
else
|
||||
$tmp_page = (isset($_404) ? '404' : PAGE);
|
||||
|
||||
$headline = $template_path.'/images/header/headline-' . $tmp_page . '.gif';
|
||||
$headline = $template_path.'/images/header/headline-' . PAGE . '.gif';
|
||||
if(!file_exists($headline))
|
||||
$headline = $template_path . '/headline.php?t=' . ucfirst($tmp_page);
|
||||
$headline = $template_path . '/headline.php?t=' . ucfirst($title);
|
||||
?>
|
||||
<img class="Title" src="<?php echo $headline; ?>" alt="Contentbox headline" />
|
||||
<div class="Border_2">
|
||||
|
Reference in New Issue
Block a user