AEOS Calvarium v0.1a
This commit is contained in:
commit
37d5452518
56 changed files with 2081 additions and 0 deletions
30
index.php
Normal file
30
index.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
// Vérification de l'installation.
|
||||
ob_start();
|
||||
if (!file_exists("data/config.xml")){header('Location: install/index.php?etape=0');}
|
||||
// Inclusion des librairie
|
||||
require_once ('lib/aeos.lib.php');
|
||||
require_once ('lib/var.lib.php');
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
||||
<title><?php echo $SITE_NOM; ?></title>
|
||||
<meta name="description" content="<?php echo $SITE_DESC; ?>" />
|
||||
|
||||
<?php
|
||||
// Detection du navigateur. Si iPhone ou non.
|
||||
if(preg_match("/iphone/i", $_SERVER["HTTP_USER_AGENT"])) {?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="themes/<?php echo $SITE_THEME; ?>/styles_mobile.css" /><?php } else { ?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="themes/<?php echo $SITE_THEME; ?>/styles.css" />
|
||||
<link rel="icon" type="image/png" href="themes/<?php echo $SITE_THEME; ?>/images/favicon_aeos.ico" /><?php } ?>
|
||||
</head>
|
||||
|
||||
<?php
|
||||
// Maintenance ou non
|
||||
if ($SITE_MAINTENANCE=="on"){require_once('themes/'.$SITE_THEME.'/maintenance.php');}
|
||||
else {require_once('themes/'.$SITE_THEME.'/base.php');}
|
||||
ob_end_flush();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue