AEOS Calvarium v0.4
This commit is contained in:
parent
821b405f5a
commit
57b531cb62
189 changed files with 3810 additions and 1417 deletions
53
themes/defaut/base.php
Normal file → Executable file
53
themes/defaut/base.php
Normal file → Executable file
|
|
@ -1,45 +1,24 @@
|
|||
<?php (SECURITY)?die():FALSE; ?>
|
||||
<body>
|
||||
<div id="general">
|
||||
<div id="header">
|
||||
<h1><?php echo $SITE_NOM; ?></h1>
|
||||
<p><?php echo $SITE_DESC; ?></p>
|
||||
<ul class="menu">
|
||||
<?php
|
||||
// Listings des pages + menu
|
||||
$list=listing_dossier($DATA_PAGES);
|
||||
if(empty($_GET['id'])){$id=1;} else {$id = $_GET['id'];}
|
||||
foreach ($list as &$pages) {
|
||||
$page = lecture_xml($DATA_PAGES.$pages);
|
||||
if ($page['page']['etat']['#text']==1){
|
||||
echo "<li><a href='index.php?id=".$page['page']['ordre']['#text']."'>";
|
||||
if ($page['page']['ordre']['#text']==$id){echo "<b>"; }
|
||||
echo $page['page']['nom']['#text'];
|
||||
if ($page['page']['ordre']['#text']==$id){echo "</b>"; }
|
||||
echo "</a></li>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div id="General">
|
||||
<div id="Header">
|
||||
<h1><?php echo AEOS_NAME; ?></h1>
|
||||
<p><?php echo AEOS_DESC; ?></p>
|
||||
|
||||
<ul class="Menu">
|
||||
<?php require_once('core/menu.php'); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="corps">
|
||||
<div id="contentG">
|
||||
<p>
|
||||
<?php
|
||||
// Affichage de la page
|
||||
if(empty($_GET['id'])){$id=1;} else {$id = $_GET['id'];}
|
||||
$contenu = lecture_xml($DATA_PAGES.$id.'.xml');
|
||||
if((@include_once("modules/".$contenu['page']['type']['#text']."/base.php"))==FALSE)
|
||||
{
|
||||
echo "<span class='erreur'>Impossible d'accéder au module demandé.</span>";
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="Corps">
|
||||
<p>
|
||||
AEOS v<?php echo $SITE_VERSION; ?> - <?php echo round(microtime(true)-$execTime, 3)."s<br />".$SITE_FOOTER; ?>
|
||||
<?php require_once('core/base.php'); ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="Footer">
|
||||
<p>
|
||||
<?php require_once('core/footer.php'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue