git-svn-id: svn://localhost/cl7/trunk@12 4c3d3983-c6fa-4c6c-9935-18c3bbef1bf0
[cl7.git] / index.php
index 6d614a3..e1d6fb1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -9,9 +9,9 @@ $MASK_RESEAU = '255.255.255.0';
 if($titre[1] && (ip2long($REMOTE_ADDR) & ip2long($MASK_RESEAU)) != (ip2long($IP_SERVEUR) & ip2long($MASK_RESEAU)))
 */
 
-include_once("php/config.php");
 include_once("php/class_participant.php");\r
 include_once("php/connexion.php");
+include_once("php/config.php");
 include_once("php/controller.php");
 
 $MENU = array(
@@ -34,6 +34,11 @@ echo '<?xml version="1.0" encoding="UTF-8"?>';
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+   <?php
+      if ($message_utilisateur) echo '<meta name="messageUtilisateur" content="'.$message_utilisateur.'" />';
+      echo '<meta name="cout_periode" content="'.$config->get('cout_periode').'" />';
+      echo '<meta name="cout_total" content="'.$config->get('cout_total').'" />';
+   ?>
    <title>Corcelles-Lan 7</title>\r
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" ></link>\r
    <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>