projects
/
cl7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX Some syntax error
[cl7.git]
/
index.php
diff --git
a/index.php
b/index.php
index
4aa606b
..
f7136c5
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-16,7
+16,7
@@
include_once("php/config.php");
include_once("php/controller.php");
$MENU = array(
include_once("php/controller.php");
$MENU = array(
- 'acc
euil' => 'Acceu
il',
+ 'acc
ueil' => 'Accue
il',
'jeux_joues' => 'Jeux joués',
'inscription' => 'Inscription',
'inscrits' => 'Inscrits',
'jeux_joues' => 'Jeux joués',
'inscription' => 'Inscription',
'inscrits' => 'Inscrits',
@@
-42,7
+42,8
@@
echo '<?xml version="1.0" encoding="UTF-8"?>';
# Des constantes stockées en BD accessible par le javascript.
echo '<meta name="cout_periode" content="'.$config->get('cout_periode').'" />';
echo '<meta name="cout_total" content="'.$config->get('cout_total').'" />';
# Des constantes stockées en BD accessible par le javascript.
echo '<meta name="cout_periode" content="'.$config->get('cout_periode').'" />';
echo '<meta name="cout_total" content="'.$config->get('cout_total').'" />';
- echo '<meta name="nb_periodes" content="'.mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM periodes"))[0].'" />';
+ $nbPeriodes = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM periodes"));
+ echo '<meta name="nb_periodes" content="'. $nbPeriodes[0] .'" />';
?>
<title>Corcelles-Lan 7</title>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" ></link>
?>
<title>Corcelles-Lan 7</title>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" ></link>
@@
-97,7
+98,7
@@
echo '<?xml version="1.0" encoding="UTF-8"?>';
switch ($page)
{
case 'accueil':
switch ($page)
{
case 'accueil':
- include("php/
tx_
informations.php");
+ include("php/
pages/
informations.php");
break;
case 'jeux_joues' :
include("php/pages/jeux_joues.php");
break;
case 'jeux_joues' :
include("php/pages/jeux_joues.php");