AEOS Calvarium v0.4
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>
|
||||
|
|
|
|||
6
themes/defaut/config.xml
Normal file → Executable file
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<id>1</id>
|
||||
<nom>AEOS - Défaut</nom>
|
||||
<nom>AEOS - Défaut</nom>
|
||||
<dossier>defaut</dossier>
|
||||
<description>Thème de base d'AEOS</description>
|
||||
<description>Thème de base d'AEOS</description>
|
||||
<version>1.0.0</version>
|
||||
<auteurs>NNS Production</auteurs>
|
||||
<email>contact@nekonosekai.com</email>
|
||||
|
|
|
|||
3
themes/defaut/edition.php
Normal file → Executable file
|
|
@ -1,3 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
(SECURITY)?die():FALSE;
|
||||
echo "<span class='erreur'>Aucune modification possible sur ce thème.</span>";
|
||||
?>
|
||||
|
Before Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 150 B |
0
themes/defaut/images/favicon_aeos.ico
Normal file → Executable file
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 982 B |
|
Before Width: | Height: | Size: 968 B |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 938 B |
|
Before Width: | Height: | Size: 938 B |
|
Before Width: | Height: | Size: 1,002 B |
|
Before Width: | Height: | Size: 950 B |
|
Before Width: | Height: | Size: 946 B |