ci #1

Merged
n merged 3 commits from ci into main 2024-02-12 21:41:22 +01:00
45 changed files with 938 additions and 958 deletions
Showing only changes of commit 0a3c559a59 - Show all commits

View file

@ -1,6 +1,6 @@
<?php
$titlepage = "Accès refusé";
include "include/head.inc.php";
<?php
$titlepage = "Accès refusé";
include "include/head.inc.php";
include "include/theme.inc.php";
include "themes/default/theme.php";

View file

@ -1,4 +1,4 @@
<?php
<?php
$titlepage = "Fichier non trouvé";
include "include/head.inc.php";
include "include/theme.inc.php";

View file

@ -1,5 +1,5 @@
<?php
$titlepage="Erreur interne";
$titlepage = "Erreur interne";
include "include/head.inc.php";
include "include/theme.inc.php";

View file

@ -1,17 +1,16 @@
<?php
define("IFPP_PATH","http://$HTTP_HOST/ifpp");
define("IFPP_PATH", "http://$HTTP_HOST/ifpp");
define("PAGES_PATH",IFPP_PATH."/pages");
define("INCLUDE_PATH",IFPP_PATH."/include");
define("IMAGES_PATH",IFPP_PATH."/images");
define("MODULES_PATH",IFPP_PATH."/modules");
define("PAGES_PATH", IFPP_PATH."/pages");
define("INCLUDE_PATH", IFPP_PATH."/include");
define("IMAGES_PATH", IFPP_PATH."/images");
define("MODULES_PATH", IFPP_PATH."/modules");
define("MODULES_FORTUNE_PATH",IFPP_PATH.MODULES_PATH."/fortunes");
define("MODULES_SONDAGE_PATH",IFPP_PATH.MODULES_PATH."/sondages");
define("MODULES_LIENSDIRECTS_PATH",IFPP_PATH.MODULES_PATH."/liensdirects");
define("MODULES_TRIBUNE_PATH",IFPP_PATH.MODULES_PATH."/tribune");
define("MODULES_FORTUNE_PATH", IFPP_PATH.MODULES_PATH."/fortunes");
define("MODULES_SONDAGE_PATH", IFPP_PATH.MODULES_PATH."/sondages");
define("MODULES_LIENSDIRECTS_PATH", IFPP_PATH.MODULES_PATH."/liensdirects");
define("MODULES_TRIBUNE_PATH", IFPP_PATH.MODULES_PATH."/tribune");
include INCLUDE_PATH."/body.inc.php";
echo INCLUDE_PATH;
?>

View file

@ -1,15 +1,18 @@
<?php
echo "<img src='images/li_lgn1_animated.gif' width=100%><div align=center>
<table border=0 width='100%' valign=bottom><tr>
<td align =center>\n<a href='http://fr.php.net/' target='_blank'>\n<img src='images/";
if (date("n")!="4")
echo "elephpant.gif";
else
echo "phpoisson_davril.gif";
if (date("n") != "4") {
echo "elephpant.gif";
} else {
echo "phpoisson_davril.gif";
}
echo "' alt='Ce site utilise PHP5' title='Ce site utilise PHP5' border=0></a>\n</td>\n";
if ($HTTP_GET_VARS["IFRANCE"] =="1")
echo "<td align=center>{=compt_puce_b}</td>\n";
if ($HTTP_GET_VARS["IFRANCE"] == "1") {
echo "<td align=center>{=compt_puce_b}</td>\n";
}
echo "
<td align=center>\n<a href='http://www.ifrance.com/phpinfo/index.php?section=pages/pip&page=index&theme=$theme' target='_blank'>\n<img src='images/mercipip.jpg' height=45 width=102 alt='Powered by PIP' title='Powered by PIP' border=0></a>\n</td>
@ -20,4 +23,3 @@ echo "
</tr></table></div></div>\n";
// echo "<br><a href=\"index.php\">retour au menu</a><br></div>";
?>

View file

@ -1,18 +1,18 @@
<div align=right>
<?php
setlocale (LC_ALL, 'fr_FR');
//$link = mysql_connect("localhost", "", "")
// or die("Could not connect");
//$hits = mysql_query("SELECT COUNT(*) FROM visit.visiteurs",$link)
// or die("Invalid query");
//echo strftime("%A %e %B %G | %R");
//if ($hits)
// echo mysql_result($hits,0)."<a href='visit/'> Hits</a><hr>";
//mysql_close($link);
//echo rand(10,10000000);
//echo "<a href='visit/' title=\"Vous y croyez, vous ?\"> Hits</a><hr>";
setlocale(LC_ALL, 'fr_FR');
//$link = mysql_connect("localhost", "", "")
// or die("Could not connect");
//$hits = mysql_query("SELECT COUNT(*) FROM visit.visiteurs",$link)
// or die("Invalid query");
//echo strftime("%A %e %B %G | %R");
//if ($hits)
// echo mysql_result($hits,0)."<a href='visit/'> Hits</a><hr>";
//mysql_close($link);
//echo rand(10,10000000);
//echo "<a href='visit/' title=\"Vous y croyez, vous ?\"> Hits</a><hr>";
?>
</div>

View file

@ -18,4 +18,3 @@ $noir = "#000000";
$blanc = "#FFFFFF";
*/
echo "<body onload=\"initLightbox(); useStyleAgain('styleTestStore');\" onunload=\"rememberStyle('styleTestStore');\">";
?>

View file

@ -2,10 +2,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
if ($titlepage == "")
$titlepage = "Train Miniature Avallonnais";
else
$titlepage = "Train Miniature Avallonnais : $titlepage";
if ($titlepage == "") {
$titlepage = "Train Miniature Avallonnais";
} else {
$titlepage = "Train Miniature Avallonnais : $titlepage";
}
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\">
<head>

View file

@ -1,4 +1,5 @@
<?php
require_once "include/standard.inc.php";
require_once "include/timer.inc.php";
require_once "include/random.inc.php";
@ -6,16 +7,13 @@ require_once "include/random.inc.php";
// modèle = YYYY mm dd hh MM ss
// masque = 0000 00 00 00 10 00
// valeur = 24h.
$Logo = timer("logo",240000);
$Logo = timer("logo", 240000);
if ($Logo == FALSE)
{
while (($RandomLogo = RandomFile("images/logos/")) == $Logo);
settimer("logo","$RandomLogo");
$Logo = $RandomLogo;
if ($Logo == false) {
while (($RandomLogo = RandomFile("images/logos/")) == $Logo);
settimer("logo", "$RandomLogo");
$Logo = $RandomLogo;
}
echo "<a href='leclub.html' title='TMA'><img src='images/logos/$Logo' alt='TMA' width='147' height='82' class='border2' /></a>";
unset($Logo);
unset($RandomLogo);
?>

View file

@ -1,11 +1,11 @@
<?php
function openimg($source,$lien,$titre,$target='_blank')
function openimg($source, $lien, $titre, $target = '_blank')
{
echo "<a href=\"$lien\" title=\"$titre\" onclick=\"window.open(this,'$target','location=0,statusbar=0,menubar=0,width=720,height=500'); return false\"><img src=\"$source\" alt=\"$titre\" title=\"$titre\" /></a>";
echo "<a href=\"$lien\" title=\"$titre\" onclick=\"window.open(this,'$target','location=0,statusbar=0,menubar=0,width=720,height=500'); return false\"><img src=\"$source\" alt=\"$titre\" title=\"$titre\" /></a>";
}
function litebox($source,$lien,$titre,$target='_blank')
function litebox($source, $lien, $titre, $target = '_blank')
{
echo "<a href=\"$lien\" title=\"$titre\" rel=\"lightbox[exemple]\"><img src=\"$source\" alt=\"$titre\" title=\"$titre\" /></a>";
echo "<a href=\"$lien\" title=\"$titre\" rel=\"lightbox[exemple]\"><img src=\"$source\" alt=\"$titre\" title=\"$titre\" /></a>";
}
?>
<br />

View file

@ -1,41 +1,42 @@
<?php
// plante la graine...
@mt_srand ((double) microtime() * 1000000);
@mt_srand((float) microtime() * 1000000);
function RandomColors()
{
$colors = array("ccccff","cceecc","ffcccc","eeccee","ffccff","cceeee","cceeff");
$color[0] = $color[1] = "000000";
$colors = array("ccccff","cceecc","ffcccc","eeccee","ffccff","cceeee","cceeff");
$color[0] = $color[1] = "000000";
while ($color[0] == $color[1])
{
$color[0] = $colors[mt_rand(0, count($colors)-1)];
$color[1] = $colors[mt_rand(0, count($colors)-1)];
}
while ($color[0] == $color[1]) {
$color[0] = $colors[mt_rand(0, count($colors) - 1)];
$color[1] = $colors[mt_rand(0, count($colors) - 1)];
}
@array_splice($colors,0);
@array_splice($colors, 0);
return $color;
return $color;
}
function RandomFile($dirname)
{
$i = 0;
$d = opendir($dirname);
$i = 0;
$d = opendir($dirname);
while (false!==($rfile = readdir($d)))
if (($rfile[0] != ".") && is_file($dirname."/".$rfile))
$listfiles[++$i] = $rfile;
closedir($d);
while (false !== ($rfile = readdir($d))) {
if (($rfile[0] != ".") && is_file($dirname."/".$rfile)) {
$listfiles[++$i] = $rfile;
}
}
closedir($d);
if (count($listfiles) > 1)
$rfile = $listfiles[mt_rand(1, count($listfiles))];
else
$rfile =$listfiles[1];
if (count($listfiles) > 1) {
$rfile = $listfiles[mt_rand(1, count($listfiles))];
} else {
$rfile = $listfiles[1];
}
@array_splice($listfiles,0);
@array_splice($listfiles, 0);
return $rfile;
return $rfile;
}
?>

View file

@ -1,232 +1,241 @@
<?php
// extract($themeset, EXTR_OVERWRITE);
// fonctions & icones par nitro skateboarding
// http://www.multimania.com/nskate
$souriez = array(
array("|:-)", "lunettes.gif"),
array(";-)", "clin.gif"),
array(";)", "clin.gif"),
array(";o)", "clin.gif"),
array(":-))", "dents.gif"),
array(":))", "dents.gif"),
array(":-)", "content.gif"),
array(":)", "content.gif"),
array(":-o", "couteau.gif"),
array(":o)", "debile.gif"),
array(":-((", "enerve.gif"),
array(":((", "enerve.gif"),
array(":-(", "decu.gif"),
array(":(", "decu.gif"),
array("8-)", "hallucine.gif"),
array(":-p", "langue.gif"),
array(";-(", "pleure.gif"),
array(";(", "pleure.gif"),
array(";o(", "pleure.gif")
array("|:-)", "lunettes.gif"),
array(";-)", "clin.gif"),
array(";)", "clin.gif"),
array(";o)", "clin.gif"),
array(":-))", "dents.gif"),
array(":))", "dents.gif"),
array(":-)", "content.gif"),
array(":)", "content.gif"),
array(":-o", "couteau.gif"),
array(":o)", "debile.gif"),
array(":-((", "enerve.gif"),
array(":((", "enerve.gif"),
array(":-(", "decu.gif"),
array(":(", "decu.gif"),
array("8-)", "hallucine.gif"),
array(":-p", "langue.gif"),
array(";-(", "pleure.gif"),
array(";(", "pleure.gif"),
array(";o(", "pleure.gif")
);
// traitement des chaines - transformation des caractères
function parse_string($chaine)
{
include "include/theme.inc.php";
include "include/theme.inc.php";
// smileys
global $souriez;
$traite = str_replace($souriez[0][0], "<img src='modules/share/".$souriez[0][1]."' border='0' alt='|:-&#41;' />", $chaine);
$traite = str_replace($souriez[1][0], "<img src='modules/share/".$souriez[1][1]."' border='0' alt=';-&#41;' />", $traite);
$traite = str_replace($souriez[2][0], "<img src='modules/share/".$souriez[2][1]."' border='0' alt=';&#41;' />", $traite);
$traite = str_replace($souriez[3][0], "<img src='modules/share/".$souriez[3][1]."' border='0' alt=';o&#41;' />", $traite);
$traite = str_replace($souriez[4][0], "<img src='modules/share/".$souriez[4][1]."' border='0' alt=':-&#41;&#41; /'>", $traite);
$traite = str_replace($souriez[5][0], "<img src='modules/share/".$souriez[5][1]."' border='0' alt=':&#41;&#41' />", $traite);
$traite = str_replace($souriez[6][0], "<img src='modules/share/".$souriez[6][1]."' border='0' alt=':-&#41;' />", $traite);
$traite = str_replace($souriez[7][0], "<img src='modules/share/".$souriez[7][1]."' border='0' alt=':&#41;' />", $traite);
$traite = str_replace($souriez[8][0], "<img src='modules/share/".$souriez[8][1]."' border='0' alt=':-o' />", $traite);
$traite = str_replace($souriez[9][0], "<img src='modules/share/".$souriez[9][1]."' border='0' alt=':o&#40; /'>", $traite);
$traite = str_replace($souriez[10][0], "<img src='modules/share/".$souriez[10][1]."' border='0' alt=':o&#40;&#40; /'>", $traite);
$traite = str_replace($souriez[11][0], "<img src='modules/share/".$souriez[11][1]."' border='0' alt=':&#40;&#40;' />", $traite);
$traite = str_replace($souriez[12][0], "<img src='modules/share/".$souriez[12][1]."' border='0' alt=':-&#40;' />", $traite);
$traite = str_replace($souriez[13][0], "<img src='modules/share/".$souriez[13][1]."' border='0' alt=':&#40;' />", $traite);
$traite = str_replace($souriez[14][0], "<img src='modules/share/".$souriez[14][1]."' border='0' alt='8-&#41' />", $traite);
$traite = str_replace($souriez[15][0], "<img src='modules/share/".$souriez[15][1]."' border='0' alt=':-p' />", $traite);
$traite = str_replace($souriez[16][0], "<img src='modules/share/".$souriez[16][1]."' border='0' alt=';-&#40;' />", $traite);
$traite = str_replace($souriez[17][0], "<img src='modules/share/".$souriez[17][1]."' border='0' alt=';-&#40;' />", $traite);
$traite = str_replace($souriez[18][0], "<img src='modules/share/".$souriez[18][1]."' border='0' alt=';-&#40;' />", $traite);
// smileys
global $souriez;
$traite = str_replace($souriez[0][0], "<img src='modules/share/".$souriez[0][1]."' border='0' alt='|:-&#41;' />", $chaine);
$traite = str_replace($souriez[1][0], "<img src='modules/share/".$souriez[1][1]."' border='0' alt=';-&#41;' />", $traite);
$traite = str_replace($souriez[2][0], "<img src='modules/share/".$souriez[2][1]."' border='0' alt=';&#41;' />", $traite);
$traite = str_replace($souriez[3][0], "<img src='modules/share/".$souriez[3][1]."' border='0' alt=';o&#41;' />", $traite);
$traite = str_replace($souriez[4][0], "<img src='modules/share/".$souriez[4][1]."' border='0' alt=':-&#41;&#41; /'>", $traite);
$traite = str_replace($souriez[5][0], "<img src='modules/share/".$souriez[5][1]."' border='0' alt=':&#41;&#41' />", $traite);
$traite = str_replace($souriez[6][0], "<img src='modules/share/".$souriez[6][1]."' border='0' alt=':-&#41;' />", $traite);
$traite = str_replace($souriez[7][0], "<img src='modules/share/".$souriez[7][1]."' border='0' alt=':&#41;' />", $traite);
$traite = str_replace($souriez[8][0], "<img src='modules/share/".$souriez[8][1]."' border='0' alt=':-o' />", $traite);
$traite = str_replace($souriez[9][0], "<img src='modules/share/".$souriez[9][1]."' border='0' alt=':o&#40; /'>", $traite);
$traite = str_replace($souriez[10][0], "<img src='modules/share/".$souriez[10][1]."' border='0' alt=':o&#40;&#40; /'>", $traite);
$traite = str_replace($souriez[11][0], "<img src='modules/share/".$souriez[11][1]."' border='0' alt=':&#40;&#40;' />", $traite);
$traite = str_replace($souriez[12][0], "<img src='modules/share/".$souriez[12][1]."' border='0' alt=':-&#40;' />", $traite);
$traite = str_replace($souriez[13][0], "<img src='modules/share/".$souriez[13][1]."' border='0' alt=':&#40;' />", $traite);
$traite = str_replace($souriez[14][0], "<img src='modules/share/".$souriez[14][1]."' border='0' alt='8-&#41' />", $traite);
$traite = str_replace($souriez[15][0], "<img src='modules/share/".$souriez[15][1]."' border='0' alt=':-p' />", $traite);
$traite = str_replace($souriez[16][0], "<img src='modules/share/".$souriez[16][1]."' border='0' alt=';-&#40;' />", $traite);
$traite = str_replace($souriez[17][0], "<img src='modules/share/".$souriez[17][1]."' border='0' alt=';-&#40;' />", $traite);
$traite = str_replace($souriez[18][0], "<img src='modules/share/".$souriez[18][1]."' border='0' alt=';-&#40;' />", $traite);
// liens
//$traite = ereg_replace("\n","<br />",$traite);
//$traite = ereg_replace("<url>","<a href=\"",$traite);
//$traite = ereg_replace("</url>","\">[Lien]</a>",$traite);
// themes
global $theme;
$traite = ereg_replace("THEME_COURANT",$theme,$traite);
return $traite;
// liens
//$traite = ereg_replace("\n","<br />",$traite);
//$traite = ereg_replace("<url>","<a href=\"",$traite);
//$traite = ereg_replace("</url>","\">[Lien]</a>",$traite);
// themes
global $theme;
$traite = ereg_replace("THEME_COURANT", $theme, $traite);
return $traite;
}
// renvoie la page ou le module en cours
// (nécessaire car netscape ne reconnait pas la constante __SELF__)
function caller()
{
include "include/theme.inc.php";
global $section;
global $page;
global $modulepage;
global $theme;
include "include/theme.inc.php";
global $section;
global $page;
global $modulepage;
global $theme;
if (($section != "") && ($page != ""))
$liencaller = "index.php?section=$section&page=$page&theme=$theme";
else if ($modulepage != "")
$liencaller = "index.php?modulepage=$modulepage&theme=$theme";
else
$liencaller = "index.php?theme=$theme";
if (($section != "") && ($page != "")) {
$liencaller = "index.php?section=$section&page=$page&theme=$theme";
} elseif ($modulepage != "") {
$liencaller = "index.php?modulepage=$modulepage&theme=$theme";
} else {
$liencaller = "index.php?theme=$theme";
}
return $liencaller;
return $liencaller;
}
// renvoie la page ou le module en cours, à ajouter dans un formulaire
// (pour le passage de paramètres par méthode get)
function formcaller()
{
require_once "include/theme.inc.php";
global $section;
global $page;
global $modulepage;
global $theme;
require_once "include/theme.inc.php";
global $section;
global $page;
global $modulepage;
global $theme;
if (($section != "") && ($page != ""))
$formcaller = "<input name='theme' value='$theme' type=hidden>
if (($section != "") && ($page != "")) {
$formcaller = "<input name='theme' value='$theme' type=hidden>
<input name='section' value='$section' type=hidden>
<input name='page' value='$page' type=hidden>";
else if ($modulepage != "")
$formcaller = "<input name='theme' value='$theme' type=hidden>
} elseif ($modulepage != "") {
$formcaller = "<input name='theme' value='$theme' type=hidden>
<input name='modulepage' value='$modulepage' type=hidden>";
else
$formcaller = "<input name='theme' value='$theme' type=hidden>";
} else {
$formcaller = "<input name='theme' value='$theme' type=hidden>";
}
return $formcaller;
return $formcaller;
}
// formate un nombre pour stockage dans un fichier d'index
function splitchar($Number)
{
$byte = strval(dechex($Number));
switch(strlen($byte))
{
case 1:
$byte0=$byte;
$byte1=$byte2=$byte3=0;
break;
case 2:
$byte0="$byte[0]$byte[1]";
$byte1=$byte2=$byte3=0;
break;
case 3:
$byte0="$byte[1]$byte[2]";
$byte1=$byte[0];
$byte2=$byte3=0;
break;
case 4:
$byte0="$byte[2]$byte[3]";
$byte1="$byte[0]$byte[1]";
$byte2=$byte3=0;
break;
case 5:
$byte0="$byte[3]$byte[4]";
$byte1="$byte[1]$byte[2]";
$byte2=$byte[0];
$byte3=0;
break;
case 6:
$byte0="$byte[4]$byte[5]";
$byte1="$byte[2]$byte[3]";
$byte2="$byte[0]$byte[1]";
$byte3=0;
case 7:
$byte0="$byte[5]$byte[6]";
$byte1="$byte[3]$byte[4]";
$byte2="$byte[1]$byte[2]";
$byte3=$byte[0];
break;
case 8:
$byte0="$byte[6]$byte[7]";
$byte1="$byte[4]$byte[5]";
$byte2="$byte[2]$byte[3]";
$byte3="$byte[0]$byte[1]";
break;
default:
echo "depassement !!!!!!";
}
$byte = strval(dechex($Number));
switch(strlen($byte)) {
case 1:
$byte0 = $byte;
$byte1 = $byte2 = $byte3 = 0;
break;
case 2:
$byte0 = "$byte[0]$byte[1]";
$byte1 = $byte2 = $byte3 = 0;
break;
case 3:
$byte0 = "$byte[1]$byte[2]";
$byte1 = $byte[0];
$byte2 = $byte3 = 0;
break;
case 4:
$byte0 = "$byte[2]$byte[3]";
$byte1 = "$byte[0]$byte[1]";
$byte2 = $byte3 = 0;
break;
case 5:
$byte0 = "$byte[3]$byte[4]";
$byte1 = "$byte[1]$byte[2]";
$byte2 = $byte[0];
$byte3 = 0;
break;
case 6:
$byte0 = "$byte[4]$byte[5]";
$byte1 = "$byte[2]$byte[3]";
$byte2 = "$byte[0]$byte[1]";
$byte3 = 0;
// no break
case 7:
$byte0 = "$byte[5]$byte[6]";
$byte1 = "$byte[3]$byte[4]";
$byte2 = "$byte[1]$byte[2]";
$byte3 = $byte[0];
break;
case 8:
$byte0 = "$byte[6]$byte[7]";
$byte1 = "$byte[4]$byte[5]";
$byte2 = "$byte[2]$byte[3]";
$byte3 = "$byte[0]$byte[1]";
break;
default:
echo "depassement !!!!!!";
}
$string = sprintf("%c%c%c%c",hexdec($byte3),hexdec($byte2),hexdec($byte1),hexdec($byte0));
$string = sprintf("%c%c%c%c", hexdec($byte3), hexdec($byte2), hexdec($byte1), hexdec($byte0));
return $string;
return $string;
}
// créé un fichier d'index
function strfile($FileName)
{
$Nb = 0;
$index[$Nb++] = "0";
$input = fopen("$FileName.csv","r");
while ($data = fgetcsv($input, 10000, ","))
$index[$Nb++] = ftell($input);
fclose($input);
$index[--$Nb] = 0;
$output = fopen("$FileName.dat","w");
fwrite($output,splitchar($Nb));
for ($i = 0 ; $i < $Nb ; $i++)
fwrite($output,splitchar($index[$i]));
fclose($output);
$Nb = 0;
$index[$Nb++] = "0";
$input = fopen("$FileName.csv", "r");
while ($data = fgetcsv($input, 10000, ",")) {
$index[$Nb++] = ftell($input);
}
fclose($input);
$index[--$Nb] = 0;
$output = fopen("$FileName.dat", "w");
fwrite($output, splitchar($Nb));
for ($i = 0 ; $i < $Nb ; $i++) {
fwrite($output, splitchar($index[$i]));
}
fclose($output);
}
// lit un fichier d'index et renvoie l'index correspondant au numéro d'enregistrement
function unstr($FileName,$Num)
function unstr($FileName, $Num)
{
if (!file_exists("$FileName.dat"))
strfile($FileName);
if (!file_exists("$FileName.dat")) {
strfile($FileName);
}
$indexfile = fopen("$FileName.dat","r");
$total = hexdec(bin2hex(fread($indexfile,4)));
// echo $total;
if ($Num > $total)
$indexfile = fopen("$FileName.dat", "r");
$total = hexdec(bin2hex(fread($indexfile, 4)));
// echo $total;
if ($Num > $total) {
$Num = $total;
fseek($indexfile,($Num*4)+4);
$pos = hexdec(bin2hex(fread($indexfile,4)));
fclose($indexfile);
return $pos;
}
fseek($indexfile, ($Num * 4) + 4);
$pos = hexdec(bin2hex(fread($indexfile, 4)));
fclose($indexfile);
return $pos;
}
// retourne le nombre d'enregistrement d'après le fichier d'index
function gettotal($FileName)
{
if (!file_exists("$FileName.dat"))
strfile($FileName);
$indexfile = fopen("$FileName.dat","r");
return hexdec(bin2hex(fread($indexfile,4)));
if (!file_exists("$FileName.dat")) {
strfile($FileName);
}
$indexfile = fopen("$FileName.dat", "r");
return hexdec(bin2hex(fread($indexfile, 4)));
}
// compte le nombre d'enregistrement d'un fichier csv
function countcsv($File)
{
$max = 0;
$fd = fopen("$File.csv","r");
while (fgetcsv($fd,10000 , ","))
$max = 0;
$fd = fopen("$File.csv", "r");
while (fgetcsv($fd, 10000, ",")) {
$max++;
fclose($fd);
return $max;
}
fclose($fd);
return $max;
}
// créé un fichier
function createfile($FileName)
{
$fp = fopen($FileName,"w+");
fclose($fp);
$fp = fopen($FileName, "w+");
fclose($fp);
}
// affiche une erreur 401
function err401($msg_err)
{
echo "
echo "
<html>
<head>
<meta http-equiv='Content-Type' content='HTTP/1.0 401 Unauthorized' />
@ -240,92 +249,86 @@ function err401($msg_err)
</body>
</html>";
exit();
exit();
}
// affiche une demande de mot de passe suivant le fichier password.txt
function password($folder)
{
//************** indentification de l'utilisateur *************
//************** indentification de l'utilisateur *************
$fd = fopen("$folder/password.txt","r");
$titre = fgetcsv($fd, 10000, ",");
$fd = fopen("$folder/password.txt", "r");
$titre = fgetcsv($fd, 10000, ",");
while($fd)
{
$data = fgetcsv($fd, 10000, ",");
$login[$i] = $data[0];
$mdp[$i] = $data[1];
$bienvenue[$i] = parse_string(stripcslashes($data[2]));
}
fclose($fd);
while($fd) {
$data = fgetcsv($fd, 10000, ",");
$login[$i] = $data[0];
$mdp[$i] = $data[1];
$bienvenue[$i] = parse_string(stripcslashes($data[2]));
}
fclose($fd);
// vide le cache
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date du passé
// vide le cache
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date du passé
if (!isset($PHP_AUTH_USER))
{
header("WWW-Authenticate: Basic realm=\"iphp\" ");
err401("Action annulée");
}
else
{
if ($login[0] == $PHP_AUTH_USER)
{
echo "bienvenue superuser !";
}
else
{
while (($login[$Cpt++] != $PHP_AUTH_USER) && ($mdp[$Cpt++] != $PHP_AUTH_PW));
echo "bienvenue user !";
}
if (!isset($PHP_AUTH_USER)) {
header("WWW-Authenticate: Basic realm=\"iphp\" ");
err401("Action annulée");
} else {
if ($login[0] == $PHP_AUTH_USER) {
echo "bienvenue superuser !";
} else {
while (($login[$Cpt++] != $PHP_AUTH_USER) && ($mdp[$Cpt++] != $PHP_AUTH_PW));
echo "bienvenue user !";
}
}
}
// créé un fichier de log
function addlog($url)
{
$File = "/logs/".str_replace("/","_",$url).".log";
// si le fichier n'existe pas, on le crée:
if (!file_exists("$File.csv") )
createfile("$File.csv");
$File = "/logs/".str_replace("/", "_", $url).".log";
// si le fichier n'existe pas, on le crée:
if (!file_exists("$File.csv")) {
createfile("$File.csv");
}
$date = strftime ("%d/%m/%Y", time());
$date = strftime("%d/%m/%Y", time());
$string = sprintf("\"".$date."\",\"".iheure()."\",\"".$_SERVER["REMOTE_ADDR"]."\",\"".$_SERVER["HTTP_REFERER"]."\",\"".$_SERVER["HTTP_USER_AGENT"]."\"\n");
$string = sprintf("\"".$date."\",\"".iheure()."\",\"".$_SERVER["REMOTE_ADDR"]."\",\"".$_SERVER["HTTP_REFERER"]."\",\"".$_SERVER["HTTP_USER_AGENT"]."\"\n");
$fp = fopen("$File.csv","a");
fwrite($fp,$string);
fclose($fp);
strfile($File);
$fp = fopen("$File.csv", "a");
fwrite($fp, $string);
fclose($fp);
strfile($File);
}
// convertit les entités HTML en charactères spéciaux
function html2ascii($inputstring)
{
$outputstring = eregi_replace("&eacute;","é",$inputstring);
$outputstring = eregi_replace("&egrave;","è",$outputstring);
$outputstring = eregi_replace("&agrave;","à",$outputstring);
$outputstring = eregi_replace("&ugrave;","ù",$outputstring);
$outputstring = eregi_replace("&eacute;", "é", $inputstring);
$outputstring = eregi_replace("&egrave;", "è", $outputstring);
$outputstring = eregi_replace("&agrave;", "à", $outputstring);
$outputstring = eregi_replace("&ugrave;", "ù", $outputstring);
$outputstring = eregi_replace("&ocirc;","ô",$outputstring);
$outputstring = eregi_replace("&ecirc;","ê",$outputstring);
$outputstring = eregi_replace("&icirc;","î",$outputstring);
$outputstring = eregi_replace("&acirc;","â",$outputstring);
$outputstring = eregi_replace("&ucirc;","û",$outputstring);
$outputstring = eregi_replace("&ocirc;", "ô", $outputstring);
$outputstring = eregi_replace("&ecirc;", "ê", $outputstring);
$outputstring = eregi_replace("&icirc;", "î", $outputstring);
$outputstring = eregi_replace("&acirc;", "â", $outputstring);
$outputstring = eregi_replace("&ucirc;", "û", $outputstring);
$outputstring = eregi_replace("&iuml;","ï",$outputstring);
$outputstring = eregi_replace("&euml;","ë",$outputstring);
$outputstring = eregi_replace("&ccedil;","ç",$outputstring);
$outputstring = eregi_replace("&iuml;", "ï", $outputstring);
$outputstring = eregi_replace("&euml;", "ë", $outputstring);
$outputstring = eregi_replace("&ccedil;", "ç", $outputstring);
$outputstring = eregi_replace("&nbsp;"," ",$outputstring);
$outputstring = eregi_replace("&quot;","\"",$outputstring);
$outputstring = eregi_replace("&amp;","&",$outputstring);
$outputstring = eregi_replace("&nbsp;", " ", $outputstring);
$outputstring = eregi_replace("&quot;", "\"", $outputstring);
$outputstring = eregi_replace("&amp;", "&", $outputstring);
return $outputstring;
return $outputstring;
}
// ------------------------------------------------------------------------- //
@ -349,28 +352,24 @@ fichier .dat
// $filename est le nom du fichier créé pour stocker les informations
function nb_visiteurs_connecte($time,$filename="/tmp/nbweb.dat")
function nb_visiteurs_connecte($time, $filename = "/tmp/nbweb.dat")
{
$ip = getenv("REMOTE_ADDR");
$date=time();
$date = time();
$i=0;
$ii=0;
$bool=0;
$i = 0;
$ii = 0;
$bool = 0;
if(file_exists($filename))
{
if($fichier=fopen($filename,"r"))
{
while(!feof($fichier))
{
$ligne=fgets($fichier,4096);
$tab=explode("|",$ligne);
if(file_exists($filename)) {
if($fichier = fopen($filename, "r")) {
while(!feof($fichier)) {
$ligne = fgets($fichier, 4096);
$tab = explode("|", $ligne);
if($tab[1]>0)
{
$tab_de_tab[$i][0]=$tab[0];
$tab_de_tab[$i][1]=$tab[1];
if($tab[1] > 0) {
$tab_de_tab[$i][0] = $tab[0];
$tab_de_tab[$i][1] = $tab[1];
$i++;
}
@ -379,43 +378,34 @@ function nb_visiteurs_connecte($time,$filename="/tmp/nbweb.dat")
}
}
for($j=0;$j<$i;$j++)
{
if(($date-chop($tab_de_tab[$j][1]))>$time)
{
for($j = 0;$j < $i;$j++) {
if(($date - chop($tab_de_tab[$j][1])) > $time) {
//on ne fait rien
}
else
{
$tab_de_tab_actualise[$ii][0]=$tab_de_tab[$j][0];
$tab_de_tab_actualise[$ii][1]=chop($tab_de_tab[$j][1]);
} else {
$tab_de_tab_actualise[$ii][0] = $tab_de_tab[$j][0];
$tab_de_tab_actualise[$ii][1] = chop($tab_de_tab[$j][1]);
$ii++;
}
}
for($j=0;$j<$ii;$j++)
{
if($tab_de_tab_actualise[$j][0]==$ip)
{
$bool=1;
for($j = 0;$j < $ii;$j++) {
if($tab_de_tab_actualise[$j][0] == $ip) {
$bool = 1;
}
}
if($bool==0)
{
$tab_de_tab_actualise[$ii][0]=$ip;
$tab_de_tab_actualise[$ii][1]=$date;
if($bool == 0) {
$tab_de_tab_actualise[$ii][0] = $ip;
$tab_de_tab_actualise[$ii][1] = $date;
$ii++;
}
if($fichier=fopen($filename,"w"))
{
for($j=0;$j<$ii;$j++)
{
fputs($fichier,chop($tab_de_tab_actualise[$j][0]));
fputs($fichier,"|");
fputs($fichier,chop($tab_de_tab_actualise[$j][1]));
fputs($fichier,"\n");
if($fichier = fopen($filename, "w")) {
for($j = 0;$j < $ii;$j++) {
fputs($fichier, chop($tab_de_tab_actualise[$j][0]));
fputs($fichier, "|");
fputs($fichier, chop($tab_de_tab_actualise[$j][1]));
fputs($fichier, "\n");
}
fclose($fichier);
@ -423,7 +413,3 @@ function nb_visiteurs_connecte($time,$filename="/tmp/nbweb.dat")
return $ii;
}
?>

View file

@ -1,5 +1,5 @@
<?php
if (!isset($theme))
$theme = "default";
?>
if (!isset($theme)) {
$theme = "default";
}

View file

@ -1,73 +1,69 @@
<?php
/* fixe un timer */
function settimer($TimerName,$String)
function settimer($TimerName, $String)
{
$FileTimerName = "modules/timers/$TimerName.csv";
$FileTimerName = "modules/timers/$TimerName.csv";
if (strftime("%m", time()) < 10)
$Date = strftime ("%Y%0m%d%H%M%S", time());
else
$Date = strftime ("%Y%m%d%H%M%S", time());
if (strftime("%m", time()) < 10) {
$Date = strftime("%Y%0m%d%H%M%S", time());
} else {
$Date = strftime("%Y%m%d%H%M%S", time());
}
$fp = fopen("$FileTimerName","w+");
$Ligne = sprintf("\"".$Date."\",\"".$String."\"\n");
fwrite($fp,$Ligne);
fclose($fp);
// echo "fichier créé<br>";
$fp = fopen("$FileTimerName", "w+");
$Ligne = sprintf("\"".$Date."\",\"".$String."\"\n");
fwrite($fp, $Ligne);
fclose($fp);
// echo "fichier créé<br>";
}
/* renvoie $string si le temps n'est pas écoulé, ou FALSE sinon */
function timer($TimerName,$TimerNb)
function timer($TimerName, $TimerNb)
{
$FileTimerN = "modules/timers/$TimerName.csv";
$FileTimerN = "modules/timers/$TimerName.csv";
if (strftime("%m", time()) < 10)
$Date = strftime ("%Y%0m%d%H%M%S", time());
else
$Date = strftime ("%Y%m%d%H%M%S", time());
if (strftime("%m", time()) < 10) {
$Date = strftime("%Y%0m%d%H%M%S", time());
} else {
$Date = strftime("%Y%m%d%H%M%S", time());
}
if (!file_exists("$FileTimerN"))
{
$timer = FALSE;
if (!file_exists("$FileTimerN")) {
$timer = false;
} else {
// lecture de la date stockée dans le fichier
$fp = fopen("$FileTimerN", "r");
$data = fgetcsv($fp, 1000, ",");
fclose($fp);
$FileDate = $data[0];
$Date = strftime("%Y%m%d%H%M%S", time());
$String = $data[1];
if ($Date >= ($FileDate + $TimerNb)) {
// echo "date dépassée:".$Date." >= ".($FileDate+$TimerNb)."<br>";
$timer = false;
} else {
$timer = $String;
}
else
{
// lecture de la date stockée dans le fichier
$fp = fopen("$FileTimerN","r");
$data = fgetcsv($fp, 1000, ",");
fclose($fp);
}
$FileDate = $data[0];
$Date = strftime ("%Y%m%d%H%M%S", time());
$String = $data[1];
if ($Date >= ($FileDate+$TimerNb))
{
// echo "date dépassée:".$Date." >= ".($FileDate+$TimerNb)."<br>";
$timer = FALSE;
}
else
{
$timer = $String;
}
}
return $timer;
return $timer;
}
/* renvoie l'heure française (format HH:MM) */
function iheure()
{
if ($HTTP_GET_VARS["IFRANCE"] =="1")
$iheure=$I_HEURE_UK;
else
$iheure= date("H:i");
return $iheure;
if ($HTTP_GET_VARS["IFRANCE"] == "1") {
$iheure = $I_HEURE_UK;
} else {
$iheure = date("H:i");
}
return $iheure;
}
?>

453
index.php
View file

@ -1,13 +1,14 @@
<?php
$page=$_GET["page"];
$modulepage=$_GET["modulepage"];
$page = $_GET["page"];
$modulepage = $_GET["modulepage"];
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$startgen = getmicrotime ();
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
$startgen = getmicrotime();
// visites
//$lvc_include_dir = 'visit/include/';
//include($lvc_include_dir.'new-visitor.inc.php3');
@ -23,19 +24,23 @@ $couleur = RandomColors(); */
include "include/theme.inc.php";
if (file_exists("themes/$theme/theme.php"))
include "themes/$theme/theme.php";
else
include "themes/e/theme.php";
if (file_exists("themes/$theme/theme.php")) {
include "themes/$theme/theme.php";
} else {
include "themes/e/theme.php";
}
if (!isset($section) || $section == "")
$section="pages";
if (!isset($section) || $section == "") {
$section = "pages";
}
if ($page == "index")
$page="menu";
if ($page == "index") {
$page = "menu";
}
if (isset($File))
$FileNews = $File;
if (isset($File)) {
$FileNews = $File;
}
// if (!isset($FileNews))
// $FileNews = "modules/news/news";
@ -54,225 +59,225 @@ include "include/body.inc.php";
echo "<table border='0' width='100%'><tr>\n"; // tableau principal
// *************** gauche *****************
if (!isset($left) || ($left ==1))
{
//echo "<div class='ltop'>";
$cachefile = "tmp/left.cache.html";
if (!file_exists($cachefile) || (filemtime($cachefile) < filemtime("modules/liens")))
{
$cachecontent=file_get_contents("http://tma.tourmentine.com/left.php");
$fp = fopen($cachefile,"w");
fwrite($fp,$cachecontent);
fclose($fp);
}
echo "\n\n<!-- Partie mise en cache (".date("d/m/Y@H:i:s", filemtime($cachefile)).")-->\n\n";
echo "<td valign='top' class='colonne'>\n";
include $cachefile;
echo "</td>\n";
echo "\n<!-- fin Partie mise en cache -->\n\n";
// echo "</div>";
if (!isset($left) || ($left == 1)) {
//echo "<div class='ltop'>";
$cachefile = "tmp/left.cache.html";
if (!file_exists($cachefile) || (filemtime($cachefile) < filemtime("modules/liens"))) {
$cachecontent = file_get_contents("http://tma.tourmentine.com/left.php");
$fp = fopen($cachefile, "w");
fwrite($fp, $cachecontent);
fclose($fp);
}
echo "\n\n<!-- Partie mise en cache (".date("d/m/Y@H:i:s", filemtime($cachefile)).")-->\n\n";
echo "<td valign='top' class='colonne'>\n";
include $cachefile;
echo "</td>\n";
echo "\n<!-- fin Partie mise en cache -->\n\n";
// echo "</div>";
}
// ************** centre ****************
echo "<td class='pageseparator'><img src='/modules/share/trans.gif' alt='' title='' width='20' class='border0' /></td><td valign='top'>\n";
// --- gestion des modules ---
if (isset($modulepage))
{
if (isset($modulepage)) {
//include "include/logo.inc.php";
switch($modulepage) {
case "sondage":
extract($themeset, EXTR_OVERWRITE);
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode = "</font>";
$bodyclass = "centerbody";
$module = "sondage";
$titre = "Résultats du sondage";
include "modules/magicbox.php";
break;
case "goldbook":
unset($NbMaxPost);
extract($themeset, EXTR_OVERWRITE);
$headstartcode = "<font size='3' class='centerhead'>";
$headendcode = "</font>";
$bodyclass = "centerbody";
$module = "goldbook";
$titre = "Livre d'or";
$GoldbookFile = "goldbook";
echo "<br /><br /><br />\n<div align='center'><h1>Laissez-nous un message...</h1></div><br />\n";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "addnews":
extract($themeset, EXTR_OVERWRITE);
if (isset($File)) {
$FileNews = $File;
}
// fichier de news par défaut
if (!isset($FileNews)) {
$FileNews = "modules/news/news";
}
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode = "</font>";
$bodyclass = "centerbody";
$module = "admin/addnews";
$titre = "Ajout d'une nouvelle";
include "modules/magicbox.php";
unset($bodyclass);
// unset($NewsFile);
// unset($File);
break;
case "affnews":
if (isset($File)) {
$FileNews = $File;
}
if (!isset($FileNews)) {
$FileNews = "modules/news/pipnews";
}
// appel direct du module affnews ; magicbox est appelé par ce dernier
include "modules/affnews.php";
unset($NewsFile);
// unset($newsnb);
//unset($File);
break;
case "commentnews":
if (isset($File)) {
$FileNews = $File;
}
if (!isset($FileNews)) {
$FileNews = "modules/news/news";
}
$modulepage = "affnews";
$start = $idnews;
$NbMaxNews = 1;
include "modules/affnews.php";
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode = "</font>";
$bodyclass = "centerbody";
$module = "forum";
$titre = "Commentaires";
//$goldbooktype = "comment";
$forumfile = "$FileNews.$idnews.forum.csv";
include "modules/magicbox.php";
//$modulepage = "commentbook";
// unset($goldbooktype);
// unset($NewsFile);
// unset($File);
break;
case "print":
if (isset($File)) {
$FileNews = $File;
}
if (!isset($FileNews)) {
$FileNews = "modules/news/news";
}
include "modules/print.php";
break;
case "backend":
if (isset($File)) {
$FileNews = $File;
}
if (!isset($FileNews)) {
$FileNews = "modules/news/news";
}
include "modules/genbackend.php";
break;
case "chatlogin":
extract($themeset, EXTR_OVERWRITE);
$bodyclass = "centerbody";
$module = "kikchat/login";
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode = "</font>";
$titre = "Bienvenue sur le chat";
$bodystartcode = "<div align=center>";
$bodyendcode = "</div>";
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "kikchat":
extract($themeset, EXTR_OVERWRITE);
$bodyclass = "centerbody";
$module = "kikchat/post";
$titre = "Kik it Productions' Live Chat";
$headlien = "http://www.kik-it.com";
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "affimage":
extract($themeset, EXTR_OVERWRITE);
// $headstartcode = "<font name='verdana' size=4 class='centerhead'>";
// $headendcode ="</font>";
$bodyclass = "centerbody";
$module = "affimages";
$titre = $image;
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
default:
include "pages/menu.php";
}
} else {
// ---- affichage des pages ----
//echo "<div align='center'>";
if (isset($section) && isset($page) && $page != "menu") {
// si url éronnée, affiche la page d'acceuil
if (file_exists("$section/$page.php")) {
/* echo "<div id='left'>"; */
include_once "$section/$page.php";
/* echo "</div>";*/
} else {
include_once "pages/menu.php";
}
echo "<div class='center'><a href='/'>&gt;Retour à la page d'accueil&lt;</a><br /></div>";
} else {
//include "include/logo.inc.php";
switch($modulepage)
{
case "sondage":
extract($themeset, EXTR_OVERWRITE);
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode ="</font>";
$bodyclass="centerbody";
$module = "sondage";
$titre = "Résultats du sondage";
include "modules/magicbox.php";
break;
case "goldbook":
unset($NbMaxPost);
extract($themeset, EXTR_OVERWRITE);
$headstartcode = "<font size='3' class='centerhead'>";
$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "goldbook";
$titre = "Livre d'or";
$GoldbookFile = "goldbook";
echo "<br /><br /><br />\n<div align='center'><h1>Laissez-nous un message...</h1></div><br />\n";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "addnews":
extract($themeset, EXTR_OVERWRITE);
if (isset($File))
$FileNews = $File;
// fichier de news par défaut
if (!isset($FileNews))
$FileNews = "modules/news/news";
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "admin/addnews";
$titre = "Ajout d'une nouvelle";
include "modules/magicbox.php";
unset($bodyclass);
// unset($NewsFile);
// unset($File);
break;
case "affnews":
if (isset($File))
$FileNews = $File;
if (!isset($FileNews))
$FileNews = "modules/news/pipnews";
// appel direct du module affnews ; magicbox est appelé par ce dernier
include "modules/affnews.php";
unset($NewsFile);
// unset($newsnb);
//unset($File);
break;
case "commentnews":
if (isset($File))
$FileNews = $File;
if (!isset($FileNews))
$FileNews = "modules/news/news";
$modulepage="affnews";
$start=$idnews;
$NbMaxNews=1;
include "modules/affnews.php";
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "forum";
$titre = "Commentaires";
//$goldbooktype = "comment";
$forumfile = "$FileNews.$idnews.forum.csv";
include "modules/magicbox.php";
//$modulepage = "commentbook";
// unset($goldbooktype);
// unset($NewsFile);
// unset($File);
break;
case "print":
if (isset($File))
$FileNews = $File;
if (!isset($FileNews))
$FileNews = "modules/news/news";
include "modules/print.php";
break;
case "backend":
if (isset($File))
$FileNews = $File;
if (!isset($FileNews))
$FileNews = "modules/news/news";
include "modules/genbackend.php";
break;
case "chatlogin":
extract($themeset, EXTR_OVERWRITE);
$bodyclass = "centerbody";
$module = "kikchat/login";
$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
$headendcode ="</font>";
$titre = "Bienvenue sur le chat";
$bodystartcode="<div align=center>";
$bodyendcode="</div>";
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "kikchat":
extract($themeset, EXTR_OVERWRITE);
$bodyclass = "centerbody";
$module = "kikchat/post";
$titre = "Kik it Productions' Live Chat";
$headlien = "http://www.kik-it.com";
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
case "affimage":
extract($themeset, EXTR_OVERWRITE);
// $headstartcode = "<font name='verdana' size=4 class='centerhead'>";
// $headendcode ="</font>";
$bodyclass = "centerbody";
$module = "affimages";
$titre = $image;
$footerbox = 1;
$footerboxtext = "Retour au menu";
$footerlien = "/";
include "modules/magicbox.php";
unset($bodyclass);
break;
default:
include "pages/menu.php";
}
}
else
{
// ---- affichage des pages ----
//echo "<div align='center'>";
if (isset($section) && isset($page) && $page != "menu")
{
// si url éronnée, affiche la page d'acceuil
if (file_exists("$section/$page.php"))
{
/* echo "<div id='left'>"; */
include_once "$section/$page.php";
/* echo "</div>";*/
}
else
include_once "pages/menu.php";
echo "<div class='center'><a href='/'>&gt;Retour à la page d'accueil&lt;</a><br /></div>";
}
else
{
//include "include/logo.inc.php";
include "pages/menu.php";
}
include "pages/menu.php";
}
}
echo "</td>";
// *************** droite *************************
/*if (!isset($right) || ($right == 1))
{
echo "<td><img src='/modules/share/trans.gif' alt='' width='20' /></td>";
echo "<td><img src='/modules/share/trans.gif' alt='' width='20' /></td>";
echo "<td align='right' valign='top' width='135'>";
include_once "right.php";
echo "</td>";

View file

@ -1,10 +1,11 @@
<?php
include_once "include/theme.inc.php";
if (file_exists("themes/$theme/theme.php"))
include_once "themes/$theme/theme.php";
else
include_once "themes/e/theme.php";
if (file_exists("themes/$theme/theme.php")) {
include_once "themes/$theme/theme.php";
} else {
include_once "themes/e/theme.php";
}
$module = "liens";
$titre = "La gare d'Avallon";
$FileName = "modules/liens/lagare.csv";
@ -40,4 +41,3 @@ $FileName = "modules/liens/themes.csv";
//include "modules/magicbox.php";
unset($titleonly);
unset($FileNews);
?>

View file

@ -1,5 +1,3 @@
<?php
echo "<div align=center valign=middle><img src='images/ayo73/$image' width=134 alt='$image' title='$image'></div>";
?>

View file

@ -11,9 +11,10 @@ include_once "include/standard.inc.php";
extract($_POST);
if (isset($GoldbookFile) && $GoldbookFile != "")
$GoldbookFile="default";
if (isset($GoldbookFile) && $GoldbookFile != "") {
$GoldbookFile = "default";
}
$Cpt = 0;
echo "<form method='post' action='";
@ -24,10 +25,10 @@ echo "<form method='post' action='";
$gbparam = "<input name='File' value='$File' type='hidden'>\n<input name='idnews' value='".$MyNews["index"]."' type='hidden'>";
}
else*/
//echo "?modulepage=goldbook'>\n";
echo "/livre.html'>\n";
//echo "?modulepage=goldbook'>\n";
echo "/livre.html'>\n";
echo "<div class='center'><table border='0'><tr><td>
echo "<div class='center'><table border='0'><tr><td>
<input type='hidden' name='param' value='postgb' />
<input name='GoldBookFile' value='".$GoldbookFile."' type='hidden' />
<i>Nom/Pseudo (facultatif)</i>:<input name=\"VName\" type='text' size='20' value=\"\" /></td><td>
@ -37,82 +38,77 @@ else*/
<input name='piejacon' value='piejacon' class='piejacon' />
<tr><td class='right'><input name=\"Ecrire\" value='Ecrire' type='submit' /></td><td><input name=\"Effacer\" value=\"Effacer\" type=\"reset\" /></td></tr></table></div></form>
<h6><i>Notes</i>: Les balises HTML ne sont pas autorisés dans la boite de saisie. Les messages sont modérés, ils n'apparaitront donc pas immédiatement sur le livre d'or.</h6>\n";
// <hr></td></tr>\n";
// <hr></td></tr>\n";
unset($File);
// si le fichier n'existe pas, on le crée:
if (!(file_exists("modules/goldbook/$GoldbookFile.csv")))
{
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv","w+");
fclose($goldbook);
if (!(file_exists("modules/goldbook/$GoldbookFile.csv"))) {
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "w+");
fclose($goldbook);
}
// ajout des messages
if ($param == "postgb")
{
if ($VMessage != "" && isset($_POST['piejacon']))
{
$date = strftime ("%d/%m/%Y", time());
$iheure= date("H:i");
$VMessage = ereg_replace("<","&lt;",$VMessage);
$VMessage = ereg_replace(">","&gt;",$VMessage);
$VMessage = parse_string(stripcslashes($VMessage));
$VMessage = ereg_replace("\n","<br />",$VMessage);
$VMessage = ereg_replace("&","&amp;",$VMessage);
$gbline = sprintf("\"".$date."\",\"".$iheure."\",\"".htmlspecialchars($VName)."\",\"".$VEmail."\",\"".$VMessage."\"\n");
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv","a");
fwrite($goldbook,$gbline);
fclose($goldbook);
mail("n@tourmentine.com","[TMA] post livre d'or ",$VMessage,"From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
// mail("bernard@legaillart.com","[TMA] post livre d'or ",$VMessage,"From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
//unlink("$GoldbookFile.dat");
}
if ($param == "postgb") {
if ($VMessage != "" && isset($_POST['piejacon'])) {
$date = strftime("%d/%m/%Y", time());
$iheure = date("H:i");
$VMessage = ereg_replace("<", "&lt;", $VMessage);
$VMessage = ereg_replace(">", "&gt;", $VMessage);
$VMessage = parse_string(stripcslashes($VMessage));
$VMessage = ereg_replace("\n", "<br />", $VMessage);
$VMessage = ereg_replace("&", "&amp;", $VMessage);
$gbline = sprintf("\"".$date."\",\"".$iheure."\",\"".htmlspecialchars($VName)."\",\"".$VEmail."\",\"".$VMessage."\"\n");
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "a");
fwrite($goldbook, $gbline);
fclose($goldbook);
mail("n@tourmentine.com", "[TMA] post livre d'or ", $VMessage, "From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
// mail("bernard@legaillart.com","[TMA] post livre d'or ",$VMessage,"From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
//unlink("$GoldbookFile.dat");
}
}
// lecture des messages
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv","r");
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "r");
while ($data = fgetcsv($goldbook, 1000, ","))
{
$VisitorDate[$Cpt] = $data[0];
$VisitorTime[$Cpt] = $data[1];
$VisitorName[$Cpt] = stripcslashes($data[2]);
$VisitorEmail[$Cpt] = $data[3];
$VisitorMessage[$Cpt++] = stripcslashes($data[4]);
while ($data = fgetcsv($goldbook, 1000, ",")) {
$VisitorDate[$Cpt] = $data[0];
$VisitorTime[$Cpt] = $data[1];
$VisitorName[$Cpt] = stripcslashes($data[2]);
$VisitorEmail[$Cpt] = $data[3];
$VisitorMessage[$Cpt++] = stripcslashes($data[4]);
}
fclose($goldbook);
unset($data);
unset($goldbook);
// si $NbMaxPost n'est pas défini, ou si il est plus grand que le nombre d'éléments, on l'ajuste à ce nombre
if ((!isset($NbMaxPost)) || ($NbMaxPost > $Cpt))
{
$NbMaxPost = $Cpt;
if ((!isset($NbMaxPost)) || ($NbMaxPost > $Cpt)) {
$NbMaxPost = $Cpt;
}
// affichage des messages
echo "<hr /><div class='left'>";
if ($NbMaxPost)
for($i=0;$i<=$NbMaxPost-1;$i++)
{
if ($VisitorName[$i] == "")
$VisitorName[$i] = "Anonyme";
if ($NbMaxPost) {
for($i = 0;$i <= $NbMaxPost - 1;$i++) {
if ($VisitorName[$i] == "") {
$VisitorName[$i] = "Anonyme";
}
if ($VisitorEmail[$i] != "")
$Visiteur = "<a href='mailto:".$VisitorEmail[$i]."'>".$VisitorName[$i]."</a>";
else
$Visiteur = $VisitorName[$i];
if ($VisitorEmail[$i] != "") {
$Visiteur = "<a href='mailto:".$VisitorEmail[$i]."'>".$VisitorName[$i]."</a>";
} else {
$Visiteur = $VisitorName[$i];
}
echo "<i>Posté le ".$VisitorDate[$i]." à ".$VisitorTime[$i]." par <b>".$Visiteur."</b></i>:
echo "<i>Posté le ".$VisitorDate[$i]." à ".$VisitorTime[$i]." par <b>".$Visiteur."</b></i>:
<br />« ".$VisitorMessage[$i]." »<br/>";
if ($i != ($NbMaxPost-1))
echo "<hr />";
if ($i != ($NbMaxPost - 1)) {
echo "<hr />";
}
}
}
echo "</div>";
$footerbox = 0;
//$footerboxtext = "Retour au menu";
//$footerlien = "/";
?>

View file

@ -10,92 +10,80 @@ MAJ : 04/02/04
$Cpt = 0;
// si le fichier n'existe pas, on le crée:
if (!(file_exists($FileName)))
{
$fp = fopen($FileName,"w+");
fclose($fp);
if (!(file_exists($FileName))) {
$fp = fopen($FileName, "w+");
fclose($fp);
}
$fp = fopen($FileName,"r");
$fp = fopen($FileName, "r");
while ($data = fgetcsv($fp, 1000, ","))
{
$level[$Cpt] = $data[0];
$linkname[$Cpt] = stripcslashes($data[1]);
$url[$Cpt] = stripcslashes($data[2]);
$url[$Cpt] = preg_replace("/THEME_COURANT/",$theme,$url[$Cpt]);
$comment[$Cpt] = stripcslashes($data[3]);
$target[$Cpt] = stripcslashes($data[4]);
$Cpt++;
while ($data = fgetcsv($fp, 1000, ",")) {
$level[$Cpt] = $data[0];
$linkname[$Cpt] = stripcslashes($data[1]);
$url[$Cpt] = stripcslashes($data[2]);
$url[$Cpt] = preg_replace("/THEME_COURANT/", $theme, $url[$Cpt]);
$comment[$Cpt] = stripcslashes($data[3]);
$target[$Cpt] = stripcslashes($data[4]);
$Cpt++;
}
fclose($fp);
// si $NbMaxPost n'est pas défini, ou si il est plus grand que le nombre d'éléments, on l'ajuste à ce nombre
if ((!isset($NbMaxPost)) || ($NbMaxPost > $Cpt))
{
$NbMaxPost = $Cpt;
if ((!isset($NbMaxPost)) || ($NbMaxPost > $Cpt)) {
$NbMaxPost = $Cpt;
}
include "include/theme.inc.php";
if ($Cpt <= 0)
{
echo "<b>Aucun lien pour l'instant</b><br />";
}
else
{
if (isset($TypeListe) && ($TypeListe == "deroul"))
{
echo "<div class='center'><br /><form action='modules/redirect.php' method='get' target=\"_blank\">";
?>
if ($Cpt <= 0) {
echo "<b>Aucun lien pour l'instant</b><br />";
} else {
if (isset($TypeListe) && ($TypeListe == "deroul")) {
echo "<div class='center'><br /><form action='modules/redirect.php' method='get' target=\"_blank\">";
?>
<?php
echo "<select name='ListeLiens'>";
for($i=0;$i<=$NbMaxPost-1;$i++)
{
echo "<option value='$url[$i]'>$linkname[$i]</option>\n";
}
echo "<select name='ListeLiens'>";
for($i = 0;$i <= $NbMaxPost - 1;$i++) {
echo "<option value='$url[$i]'>$linkname[$i]</option>\n";
}
echo "</select><br /><br /><input type='submit' value='Go!'></form></div>";
}
else
{
echo "</select><br /><br /><input type='submit' value='Go!'></form></div>";
} else {
// affichage des liens
echo "<div class='left'>";
for($i=0;$i<=$NbMaxPost-1;$i++)
{
if ($level[$i] == 1)
{
echo "<b>";
if ($url[$i] != "")
{
echo "<a href='".$url[$i]."' title='".$comment[$i]."'";
if ($target[$i] != "")
echo " target=\"$target[$i]\"";
echo ">".$linkname[$i]."</a>";
}
else echo $linkname[$i];
echo "</b><br />\n";
}
else
{
echo "&nbsp;&nbsp;";
if ($url[$i] != "")
{
echo "<a href='".$url[$i]."' title='".$comment[$i]."' ";
if ($target[$i] != "")
echo " target=\"$target[$i]\"";
echo ">".$linkname[$i]."</a>";
}
else echo $linkname[$i];
echo "<br />\n";
}
echo "<div class='left'>";
for($i = 0;$i <= $NbMaxPost - 1;$i++) {
if ($level[$i] == 1) {
echo "<b>";
if ($url[$i] != "") {
echo "<a href='".$url[$i]."' title='".$comment[$i]."'";
if ($target[$i] != "") {
echo " target=\"$target[$i]\"";
}
echo ">".$linkname[$i]."</a>";
} else {
echo $linkname[$i];
}
echo "</div>";
echo "</b><br />\n";
} else {
echo "&nbsp;&nbsp;";
if ($url[$i] != "") {
echo "<a href='".$url[$i]."' title='".$comment[$i]."' ";
if ($target[$i] != "") {
echo " target=\"$target[$i]\"";
}
echo ">".$linkname[$i]."</a>";
} else {
echo $linkname[$i];
}
echo "<br />\n";
}
}
echo "</div>";
}
}
unset($FileName);
unset($NbMaxPost);
?>
?>

View file

@ -9,75 +9,82 @@ MAJ : 23/09/01
// include "include/theme.inc.php";
extract($themeset, EXTR_OVERWRITE);
if (!isset($largeur))
$largeur="100%";
if (!isset($largeur)) {
$largeur = "100%";
}
if ($boxborder == "")
$boxborder = 0;
if ($boxborder == "") {
$boxborder = 0;
}
echo "\n<!-- // magicbox : module $module // -->\n";
echo "<!-- // (titre: $titre) // -->\n\n";
// ************* header ********************
echo "<table width='$largeur' border='$boxborder' class='";
if ($boxborder != 0)
echo "bordure'>\n";
else
echo "magicbox'>\n";
if ($boxborder != 0) {
echo "bordure'>\n";
} else {
echo "magicbox'>\n";
}
echo " <tr>\n <td align='center'";
//if (isset($headcolor) && $headcolor != "")
//echo " bgcolor='#".$headcolor;
//echo " bgcolor='#".$headcolor;
echo " class='";
if (isset($headclass))
echo $headclass;
else
echo "head";
if (isset($headclass)) {
echo $headclass;
} else {
echo "head";
}
echo "'>\n";
echo "$headstartcode";
if (isset($headlien))
echo "<a href='$headlien' title='$headtitle'>$titre</a>";
else
echo "$titre";
if (isset($headlien)) {
echo "<a href='$headlien' title='$headtitle'>$titre</a>";
} else {
echo "$titre";
}
echo "$headendcode\n";
// ************** body *******************
echo "</td>\n</tr>\n<tr>\n<td class='magicbox'>";
echo "<div class='center'>\n<table border='0' width='90%' class='";
if (isset($bodyclass))
echo $bodyclass;
else
echo "magicbox";
if (isset($bodyclass)) {
echo $bodyclass;
} else {
echo "magicbox";
}
echo "'>\n<tr>\n<td>";
echo "$bodystartcode";
include "modules/".$module.".php";
echo "$bodyendcode";
echo "</td>\n</tr>\n</table>\n</div>\n</td>\n</tr>";
if (isset($footerbox) && ($footerbox == 1))
{
echo "<tr><td align='center'";
if (isset($headcolor) && $headcolor != "")
//echo " bgcolor='#".$headcolor;
if (isset($footerbox) && ($footerbox == 1)) {
echo "<tr><td align='center'";
if (isset($headcolor) && $headcolor != "") {
//echo " bgcolor='#".$headcolor;
echo " class='";
if (isset($headclass))
echo $headclass;
else
echo "head";
echo "'>\n";
}
if (isset($headclass)) {
echo $headclass;
} else {
echo "head";
}
echo "'>\n";
echo "$footerstartcode";
if (isset($footerlien))
{
echo "<a href='$footerlien' title='$footertitle' ";
if (isset($footerlientype) && $footerlientype == "ext")
echo " target='blank'";
echo "$footerstartcode";
if (isset($footerlien)) {
echo "<a href='$footerlien' title='$footertitle' ";
if (isset($footerlientype) && $footerlientype == "ext") {
echo " target='blank'";
}
echo ">$footerboxtext</a>\n";
}
else
echo "$footerboxtext";
echo "$footerendcode\n";
echo " </td>\n</tr>\n";
echo ">$footerboxtext</a>\n";
} else {
echo "$footerboxtext";
}
echo "$footerendcode\n";
echo " </td>\n</tr>\n";
}
echo "</table>\n<br />\n";
@ -100,5 +107,3 @@ unset($footerendcode);
unset($footerbox);
unset($footerboxtext);
unset($footerlien);
?>

View file

@ -1,9 +1,11 @@
<?php
require_once "../include/standard.inc.php";
require_once "../include/news.inc.php";
function PrintPage($FileNews,$newsnb) {
$MyNews=getnews($FileNews,$newsnb);
function PrintPage($FileNews, $newsnb)
{
$MyNews = getnews($FileNews, $newsnb);
echo "
<html>
<head><title>PIP</title></head>
@ -18,13 +20,15 @@ function PrintPage($FileNews,$newsnb) {
Posté le ".$MyNews["date"]." à ".$MyNews["heure"]." par <b>".$MyNews["nom"]."
</center><table><tr>";
if (isset($MyNews["icone"]) && ($MyNews["icone"] != ""))
echo "<td align=center width=100><img src=".$MyNews["icone"]." width=80 heigh=80 alt=''></td><td>&nbsp;&nbsp;</td>\n";
if (isset($MyNews["icone"]) && ($MyNews["icone"] != "")) {
echo "<td align=center width=100><img src=".$MyNews["icone"]." width=80 heigh=80 alt=''></td><td>&nbsp;&nbsp;</td>\n";
}
if (isset($cadrenews) && ($cadrenews != 0))
echo "<td bgcolor=$blanc border=1 cellpadding=3 cellspacing=3 width=100%>\n";
else
echo "<td>\n";
if (isset($cadrenews) && ($cadrenews != 0)) {
echo "<td bgcolor=$blanc border=1 cellpadding=3 cellspacing=3 width=100%>\n";
} else {
echo "<td>\n";
}
echo $MyNews["message"]."</td></tr></table>
</font>
@ -42,6 +46,4 @@ function PrintPage($FileNews,$newsnb) {
";
}
PrintPage($File,$newsnb);
?>
PrintPage($File, $newsnb);

View file

@ -1,18 +1,18 @@
<br /><br /><br />
<h1>Images de la gare d'Avallon (13/12/2008)</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/131208/p_avallon_131208_1.jpg","images/131208/avallon_131208_1.jpg","13/12/08-1"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_2.jpg","images/131208/avallon_131208_2.jpg","13/12/08-2"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_3.jpg","images/131208/avallon_131208_3.jpg","13/12/08-3"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_1.jpg", "images/131208/avallon_131208_1.jpg", "13/12/08-1"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_2.jpg", "images/131208/avallon_131208_2.jpg", "13/12/08-2"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_3.jpg", "images/131208/avallon_131208_3.jpg", "13/12/08-3"); ?></td>
</tr>
<tr>
<td><?php litebox("images/131208/p_avallon_131208_4.jpg","images/131208/avallon_131208_4.jpg","13/12/08-4"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_5.jpg","images/131208/avallon_131208_5.jpg","13/12/08-5"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_4.jpg", "images/131208/avallon_131208_4.jpg", "13/12/08-4"); ?></td>
<td><?php litebox("images/131208/p_avallon_131208_5.jpg", "images/131208/avallon_131208_5.jpg", "13/12/08-5"); ?></td>
</tr>
</table></div>
<br />

View file

@ -1,42 +1,42 @@
<br /><br /><br />
<h1>Images de la gare d'Avallon (2011)</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0021.jpg","images/avallon2011/DSCF0021.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0023.jpg","images/avallon2011/DSCF0023.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0024.jpg","images/avallon2011/DSCF0024.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0021.jpg", "images/avallon2011/DSCF0021.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0023.jpg", "images/avallon2011/DSCF0023.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0024.jpg", "images/avallon2011/DSCF0024.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0025.jpg","images/avallon2011/DSCF0025.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0026.jpg","images/avallon2011/DSCF0026.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0027.jpg","images/avallon2011/DSCF0027.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0025.jpg", "images/avallon2011/DSCF0025.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0026.jpg", "images/avallon2011/DSCF0026.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0027.jpg", "images/avallon2011/DSCF0027.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0028.jpg","images/avallon2011/DSCF0028.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0029.jpg","images/avallon2011/DSCF0029.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0030.jpg","images/avallon2011/DSCF0030.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0028.jpg", "images/avallon2011/DSCF0028.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0029.jpg", "images/avallon2011/DSCF0029.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0030.jpg", "images/avallon2011/DSCF0030.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0035.jpg","images/avallon2011/DSCF0035.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0036.jpg","images/avallon2011/DSCF0036.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0056.jpg","images/avallon2011/DSCF0056.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0035.jpg", "images/avallon2011/DSCF0035.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0036.jpg", "images/avallon2011/DSCF0036.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0056.jpg", "images/avallon2011/DSCF0056.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0057.jpg","images/avallon2011/DSCF0057.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0058.jpg","images/avallon2011/DSCF0058.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0059.jpg","images/avallon2011/DSCF0059.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0057.jpg", "images/avallon2011/DSCF0057.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0058.jpg", "images/avallon2011/DSCF0058.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0059.jpg", "images/avallon2011/DSCF0059.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0060.jpg","images/avallon2011/DSCF0060.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0061.jpg","images/avallon2011/DSCF0061.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0062.jpg","images/avallon2011/DSCF0062.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0060.jpg", "images/avallon2011/DSCF0060.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0061.jpg", "images/avallon2011/DSCF0061.jpg", ""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0062.jpg", "images/avallon2011/DSCF0062.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/avallon2011/p_DSCF0063.jpg","images/avallon2011/DSCF0063.jpg",""); ?></td>
<td><?php openimg("images/avallon2011/p_DSCF0063.jpg", "images/avallon2011/DSCF0063.jpg", ""); ?></td>
</tr>
</table></div>

View file

@ -6,12 +6,12 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/1/p_vue_g01.jpg","/images/carte/1/vue_g01.jpg","vue_g01.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_pano01.jpg","/images/carte/1/pano01.jpg","pano01.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_vue_g01.jpg", "/images/carte/1/vue_g01.jpg", "vue_g01.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_pano01.jpg", "/images/carte/1/pano01.jpg", "pano01.jpg"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/carte/1/p_pano02.jpg","/images/carte/1/pano02.jpg","pano02.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_pano03.jpg","/images/carte/1/pano03.jpg","pano03.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_pano02.jpg", "/images/carte/1/pano02.jpg", "pano02.jpg"); ?></td>
<td><?php litebox("/images/carte/1/p_pano03.jpg", "/images/carte/1/pano03.jpg", "pano03.jpg"); ?></td>
</tr>
</table>

View file

@ -6,18 +6,18 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/2/p_bv01.jpg","/images/carte/2/bv01.jpg","bv01.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_B_V.jpg","/images/carte/2/B_V.jpg","B_V.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_buvette.jpg","/images/carte/2/buvette.jpg","buvette.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_bv01.jpg", "/images/carte/2/bv01.jpg", "bv01.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_B_V.jpg", "/images/carte/2/B_V.jpg", "B_V.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_buvette.jpg", "/images/carte/2/buvette.jpg", "buvette.jpg"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/carte/2/p_batiment.jpg","/images/carte/2/batiment.jpg","batiment.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_marquise.jpg","/images/carte/2/marquise.jpg","marquise.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_vue_g02.jpg","/images/carte/2/vue_g02.jpg","vue_g02.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_batiment.jpg", "/images/carte/2/batiment.jpg", "batiment.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_marquise.jpg", "/images/carte/2/marquise.jpg", "marquise.jpg"); ?></td>
<td><?php litebox("/images/carte/2/p_vue_g02.jpg", "/images/carte/2/vue_g02.jpg", "vue_g02.jpg"); ?></td>
</tr>
<tr>
<td></td>
<td><?php litebox("/images/carte/2/p_Feb22018.jpg","/images/carte/2/Feb22018.jpg","autorail TER"); ?></td>
<td><?php litebox("/images/carte/2/p_Feb22018.jpg", "/images/carte/2/Feb22018.jpg", "autorail TER"); ?></td>
<td></td>
</tr></table>
<hr />

View file

@ -6,9 +6,9 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/3/p_vue_g06.jpg","/images/carte/3/vue_g06.jpg","vue_g06.jpg"); ?></td>
<td><?php litebox("/images/carte/3/p_vue_g07.jpg","/images/carte/3/vue_g07.jpg","vue_g07.jpg"); ?></td>
<td><?php litebox("/images/carte/3/p_vue_g08.jpg","/images/carte/3/vue_g08.jpg","vue_g08.jpg"); ?></td>
<td><?php litebox("/images/carte/3/p_vue_g06.jpg", "/images/carte/3/vue_g06.jpg", "vue_g06.jpg"); ?></td>
<td><?php litebox("/images/carte/3/p_vue_g07.jpg", "/images/carte/3/vue_g07.jpg", "vue_g07.jpg"); ?></td>
<td><?php litebox("/images/carte/3/p_vue_g08.jpg", "/images/carte/3/vue_g08.jpg", "vue_g08.jpg"); ?></td>
</tr>
</table>
<hr />

View file

@ -10,19 +10,19 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/4/p_Dec25_26.JPG","/images/carte/4/Dec25_26.JPG","Dec25_26.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_27.JPG","/images/carte/4/Dec25_27.JPG","Dec25_27.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_28.JPG","/images/carte/4/Dec25_28.JPG","Dec25_28.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_26.JPG", "/images/carte/4/Dec25_26.JPG", "Dec25_26.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_27.JPG", "/images/carte/4/Dec25_27.JPG", "Dec25_27.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_28.JPG", "/images/carte/4/Dec25_28.JPG", "Dec25_28.JPG"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/carte/4/p_Dec25_29.JPG","/images/carte/4/Dec25_29.JPG","Dec25_29.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_30.JPG","/images/carte/4/Dec25_30.JPG","Dec25_30.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_31.JPG","/images/carte/4/Dec25_31.JPG","Dec25_31.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_29.JPG", "/images/carte/4/Dec25_29.JPG", "Dec25_29.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_30.JPG", "/images/carte/4/Dec25_30.JPG", "Dec25_30.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_31.JPG", "/images/carte/4/Dec25_31.JPG", "Dec25_31.JPG"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/carte/4/p_Dec25_32.JPG","/images/carte/4/Dec25_32.JPG","Dec25_32.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_33.JPG","/images/carte/4/Dec25_33.JPG","Dec25_33.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_34.JPG","/images/carte/4/Dec25_34.JPG","Dec25_34.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_32.JPG", "/images/carte/4/Dec25_32.JPG", "Dec25_32.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_33.JPG", "/images/carte/4/Dec25_33.JPG", "Dec25_33.JPG"); ?></td>
<td><?php litebox("/images/carte/4/p_Dec25_34.JPG", "/images/carte/4/Dec25_34.JPG", "Dec25_34.JPG"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,8 +6,8 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/6/p_vue_g14.jpg","/images/carte/6/vue_g14.jpg","vue_g14.jpg"); ?></td>
<td><?php litebox("/images/carte/6/p_vue_g15.jpg","/images/carte/6/vue_g15.jpg","vue_g15.jpg"); ?></td>
<td><?php litebox("/images/carte/6/p_vue_g14.jpg", "/images/carte/6/vue_g14.jpg", "vue_g14.jpg"); ?></td>
<td><?php litebox("/images/carte/6/p_vue_g15.jpg", "/images/carte/6/vue_g15.jpg", "vue_g15.jpg"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,8 +6,8 @@
<div class='center'>
<table width="25%" cellspacing="20">
<tr>
<td><?php openimg("/images/carte/7/p_vue_g16.jpg","/images/carte/7/vue_g16.jpg","vue_g16.jpg"); ?></td>
<td><?php openimg("/images/carte/7/p_vue_g17.jpg","/images/carte/7/vue_g17.jpg","vue_g17.jpg"); ?></td>
<td><?php openimg("/images/carte/7/p_vue_g16.jpg", "/images/carte/7/vue_g16.jpg", "vue_g16.jpg"); ?></td>
<td><?php openimg("/images/carte/7/p_vue_g17.jpg", "/images/carte/7/vue_g17.jpg", "vue_g17.jpg"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,18 +6,18 @@
<div class='center'>
<table width="25%" cellspacing="20">
<tr>
<td><?php openimg("/images/carte/8/p_vue_g18.jpg","/images/carte/8/vue_g18.jpg","vue_g18.jpg"); ?></td>
<td><?php openimg("/images/carte/8/p_vue_g19.jpg","/images/carte/8/vue_g19.jpg","vue_g19.jpg"); ?></td>
<td><?php openimg("/images/carte/8/p_vue_g20.jpg","/images/carte/8/vue_g20.jpg","vue_g20.jpg"); ?></td>
<td><?php openimg("/images/carte/8/p_vue_g18.jpg", "/images/carte/8/vue_g18.jpg", "vue_g18.jpg"); ?></td>
<td><?php openimg("/images/carte/8/p_vue_g19.jpg", "/images/carte/8/vue_g19.jpg", "vue_g19.jpg"); ?></td>
<td><?php openimg("/images/carte/8/p_vue_g20.jpg", "/images/carte/8/vue_g20.jpg", "vue_g20.jpg"); ?></td>
</tr>
<tr>
<td><?php openimg("/images/carte/8/p_Feb22011.jpg","/images/carte/8/Feb22011.jpg","La rame de paris dans un petit matin brumeux et froid de février 2004, composée de voitures Corail Plus."); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22012.jpg","/images/carte/8/Feb22012.jpg","La BB2000 en week-end sous la brume"); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22014.jpg","/images/carte/8/Feb22014.jpg","Les vestiges du dépot"); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22011.jpg", "/images/carte/8/Feb22011.jpg", "La rame de paris dans un petit matin brumeux et froid de février 2004, composée de voitures Corail Plus."); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22012.jpg", "/images/carte/8/Feb22012.jpg", "La BB2000 en week-end sous la brume"); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22014.jpg", "/images/carte/8/Feb22014.jpg", "Les vestiges du dépot"); ?></td>
</tr>
<tr>
<td><?php openimg("/images/carte/8/p_Feb22016.jpg","/images/carte/8/Feb22016.jpg","Le tas de férailles inutile, pour l'inspiration de tout modéliste"); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22011.jpg","/images/carte/8/Feb22011.jpg","Emplacement de la fosse du pont tournant, comblée. La rotonde a malheureusement disparue.."); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22016.jpg", "/images/carte/8/Feb22016.jpg", "Le tas de férailles inutile, pour l'inspiration de tout modéliste"); ?></td>
<td><?php openimg("/images/carte/8/p_Feb22011.jpg", "/images/carte/8/Feb22011.jpg", "Emplacement de la fosse du pont tournant, comblée. La rotonde a malheureusement disparue.."); ?></td>
</tr></table>
<hr />
<a href="/carte.html">cliquez ici pour revenir &agrave; la carte</a>

View file

@ -8,14 +8,14 @@
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/carte/marchandise/p_vue_g09.jpg","/images/carte/marchandise/vue_g09.jpg","vue_g09.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_vue_g12b.jpg","/images/carte/marchandise/vue_g12b.jpg","vue_g12b.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_gm1.jpg","/images/carte/marchandise/gm1.jpg","gm1.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_vue_g09.jpg", "/images/carte/marchandise/vue_g09.jpg", "vue_g09.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_vue_g12b.jpg", "/images/carte/marchandise/vue_g12b.jpg", "vue_g12b.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_gm1.jpg", "/images/carte/marchandise/gm1.jpg", "gm1.jpg"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/carte/marchandise/p_vue_g11.jpg","/images/carte/marchandise/vue_g11.jpg","vue_g11.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_bois.jpg","/images/carte/marchandise/bois.jpg","bois.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_bois1.jpg","/images/carte/marchandise/bois1.jpg","bois1.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_vue_g11.jpg", "/images/carte/marchandise/vue_g11.jpg", "vue_g11.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_bois.jpg", "/images/carte/marchandise/bois.jpg", "bois.jpg"); ?></td>
<td><?php litebox("/images/carte/marchandise/p_bois1.jpg", "/images/carte/marchandise/bois1.jpg", "bois1.jpg"); ?></td>
</tr>
</table>
<hr />

View file

@ -1,18 +1,18 @@
<br /><br /><br />
<h1>Challenge du club 2015</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/challenge2015/p_module_yves.jpg","images/challenge2015/module_yves.jpg","Le module d'Yves"); ?></td>
<td><?php litebox("images/challenge2015/p_module_jean_luc.jpg","images/challenge2015/module_jean_luc.jpg","Le module de Jean-Luc"); ?></td>
<td><?php litebox("images/challenge2015/p_module_alain.jpg","images/challenge2015/module_alain.jpg","Le module d'Alain"); ?></td>
<td><?php litebox("images/challenge2015/p_module_yves.jpg", "images/challenge2015/module_yves.jpg", "Le module d'Yves"); ?></td>
<td><?php litebox("images/challenge2015/p_module_jean_luc.jpg", "images/challenge2015/module_jean_luc.jpg", "Le module de Jean-Luc"); ?></td>
<td><?php litebox("images/challenge2015/p_module_alain.jpg", "images/challenge2015/module_alain.jpg", "Le module d'Alain"); ?></td>
</tr>
<tr>
<td><?php litebox("images/challenge2015/p_module_pascal.jpg","images/challenge2015/module_pascal.jpg","Le module de Pascal"); ?></td>
<td><?php litebox("images/challenge2015/p_module_bernard.jpg","images/challenge2015/module_bernard.jpg","Le module de Bernard"); ?></td>
<td><?php litebox("images/challenge2015/p_module_pascal.jpg", "images/challenge2015/module_pascal.jpg", "Le module de Pascal"); ?></td>
<td><?php litebox("images/challenge2015/p_module_bernard.jpg", "images/challenge2015/module_bernard.jpg", "Le module de Bernard"); ?></td>
</tr>
</table></div>
<br />

View file

@ -1,19 +1,19 @@
<br /><br /><br />
<h1>Forum des associations 2017</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/forum2017/p_20170909_131847.jpg","images/forum2017/20170909_131847.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_131915.jpg","images/forum2017/20170909_131915.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_131953.jpg","images/forum2017/20170909_131953.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_131847.jpg", "images/forum2017/20170909_131847.jpg", ""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_131915.jpg", "images/forum2017/20170909_131915.jpg", ""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_131953.jpg", "images/forum2017/20170909_131953.jpg", ""); ?></td>
</tr>
<tr>
<td><?php litebox("images/forum2017/p_20170909_161127.jpg","images/forum2017/20170909_161127.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_161236.jpg","images/forum2017/20170909_161236.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_161320.jpg","images/forum2017/20170909_161320.jpg",""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_161127.jpg", "images/forum2017/20170909_161127.jpg", ""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_161236.jpg", "images/forum2017/20170909_161236.jpg", ""); ?></td>
<td><?php litebox("images/forum2017/p_20170909_161320.jpg", "images/forum2017/20170909_161320.jpg", ""); ?></td>
</tr>
</table></div>
<br />

View file

@ -6,18 +6,18 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/i.reduit/p_gare1.jpg","images/i.reduit/gare1.jpg","gare1"); ?></td>
<td><?php litebox("images/i.reduit/p_gare2.jpg","images/i.reduit/gare2.jpg","gare2"); ?></td>
<td><?php litebox("images/i.reduit/p_gare3.jpg","images/i.reduit/gare3.jpg","gare3"); ?></td>
<td><?php litebox("images/i.reduit/p_gare1.jpg", "images/i.reduit/gare1.jpg", "gare1"); ?></td>
<td><?php litebox("images/i.reduit/p_gare2.jpg", "images/i.reduit/gare2.jpg", "gare2"); ?></td>
<td><?php litebox("images/i.reduit/p_gare3.jpg", "images/i.reduit/gare3.jpg", "gare3"); ?></td>
</tr>
<tr>
<td><?php litebox("images/i.reduit/p_gare4.jpg","images/i.reduit/gare4.jpg","gare4"); ?></td>
<td><?php litebox("images/i.reduit/p_gare5.jpg","images/i.reduit/gare5.jpg","gare5"); ?></td>
<td><?php litebox("images/i.reduit/p_gare6.jpg","images/i.reduit/gare6.jpg","gare6"); ?></td>
<td><?php litebox("images/i.reduit/p_gare4.jpg", "images/i.reduit/gare4.jpg", "gare4"); ?></td>
<td><?php litebox("images/i.reduit/p_gare5.jpg", "images/i.reduit/gare5.jpg", "gare5"); ?></td>
<td><?php litebox("images/i.reduit/p_gare6.jpg", "images/i.reduit/gare6.jpg", "gare6"); ?></td>
</tr>
<tr>
<td></td>
<td><?php litebox("images/i.reduit/p_gare7.jpg","images/i.reduit/gare7.jpg","gare7"); ?></td>
<td><?php litebox("images/i.reduit/p_gare7.jpg", "images/i.reduit/gare7.jpg", "gare7"); ?></td>
<td></td>
</tr>
</table></div>

View file

@ -6,18 +6,18 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/i.reduit/p_gare1.jpg","images/i.reduit/gare1.jpg","gare1"); ?></td>
<td><?php litebox("images/i.reduit/p_gare2.jpg","images/i.reduit/gare2.jpg","gare2"); ?></td>
<td><?php litebox("images/i.reduit/p_gare3.jpg","images/i.reduit/gare3.jpg","gare3"); ?></td>
<td><?php litebox("images/i.reduit/p_gare1.jpg", "images/i.reduit/gare1.jpg", "gare1"); ?></td>
<td><?php litebox("images/i.reduit/p_gare2.jpg", "images/i.reduit/gare2.jpg", "gare2"); ?></td>
<td><?php litebox("images/i.reduit/p_gare3.jpg", "images/i.reduit/gare3.jpg", "gare3"); ?></td>
</tr>
<tr>
<td><?php litebox("images/i.reduit/p_gare4.jpg","images/i.reduit/gare4.jpg","gare4"); ?></td>
<td><?php litebox("images/i.reduit/p_gare5.jpg","images/i.reduit/gare5.jpg","gare5"); ?></td>
<td><?php litebox("images/i.reduit/p_gare6.jpg","images/i.reduit/gare6.jpg","gare6"); ?></td>
<td><?php litebox("images/i.reduit/p_gare4.jpg", "images/i.reduit/gare4.jpg", "gare4"); ?></td>
<td><?php litebox("images/i.reduit/p_gare5.jpg", "images/i.reduit/gare5.jpg", "gare5"); ?></td>
<td><?php litebox("images/i.reduit/p_gare6.jpg", "images/i.reduit/gare6.jpg", "gare6"); ?></td>
</tr>
<tr>
<td></td>
<td><?php litebox("images/i.reduit/p_gare7.jpg","images/i.reduit/gare7.jpg","gare7"); ?></td>
<td><?php litebox("images/i.reduit/p_gare7.jpg", "images/i.reduit/gare7.jpg", "gare7"); ?></td>
<td></td>
</tr>
</table></div>

View file

@ -1,29 +1,29 @@
<br /><br /><br />
<h1>Images de la gare d'Avallon</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("images/m.reel/BV.jpg","images/i.reel/BV.jpg","BV"); ?></td>
<td><?php litebox("images/m.reel/bois.jpg","images/i.reel/bois.jpg","Bois"); ?></td>
<td><?php litebox("images/m.reel/bois1.jpg","images/i.reel/bois1.jpg","Bois"); ?></td>
<td><?php litebox("images/m.reel/BV.jpg", "images/i.reel/BV.jpg", "BV"); ?></td>
<td><?php litebox("images/m.reel/bois.jpg", "images/i.reel/bois.jpg", "Bois"); ?></td>
<td><?php litebox("images/m.reel/bois1.jpg", "images/i.reel/bois1.jpg", "Bois"); ?></td>
</tr>
<tr>
<td><?php litebox("images/m.reel/chantier.jpg","images/i.reel/chantier.jpg","En chantier..."); ?></td>
<td><?php litebox("images/m.reel/gm1.jpg","images/i.reel/gm1.jpg","La gare de marchandise"); ?></td>
<td><?php litebox("images/m.reel/gm2.jpg","images/i.reel/gm2.jpg","La gare de marchandise"); ?></td>
<td><?php litebox("images/m.reel/chantier.jpg", "images/i.reel/chantier.jpg", "En chantier..."); ?></td>
<td><?php litebox("images/m.reel/gm1.jpg", "images/i.reel/gm1.jpg", "La gare de marchandise"); ?></td>
<td><?php litebox("images/m.reel/gm2.jpg", "images/i.reel/gm2.jpg", "La gare de marchandise"); ?></td>
</tr>
<tr>
<td><?php litebox("images/m.reel/grue.jpg","images/i.reel/grue.jpg","Une grue"); ?></td>
<td><?php litebox("images/m.reel/herbes.jpg","images/i.reel/herbes.jpg","Des herbes"); ?></td>
<td><?php litebox("images/m.reel/marquise.jpg","images/i.reel/marquise.jpg","La marquise de la gare"); ?></td>
<td><?php litebox("images/m.reel/grue.jpg", "images/i.reel/grue.jpg", "Une grue"); ?></td>
<td><?php litebox("images/m.reel/herbes.jpg", "images/i.reel/herbes.jpg", "Des herbes"); ?></td>
<td><?php litebox("images/m.reel/marquise.jpg", "images/i.reel/marquise.jpg", "La marquise de la gare"); ?></td>
</tr>
<tr>
<td><?php litebox("images/m.reel/panogare.jpg","images/i.reel/panogare.jpg","Panorama"); ?></td>
<td><?php litebox("images/m.reel/train.jpg","images/i.reel/train.jpg","train.jpg"); ?></td>
<td><?php litebox("images/m.reel/traind.jpg","images/i.reel/traind.jpg","traind.jpg"); ?></td>
<td><?php litebox("images/m.reel/panogare.jpg", "images/i.reel/panogare.jpg", "Panorama"); ?></td>
<td><?php litebox("images/m.reel/train.jpg", "images/i.reel/train.jpg", "train.jpg"); ?></td>
<td><?php litebox("images/m.reel/traind.jpg", "images/i.reel/traind.jpg", "traind.jpg"); ?></td>
</tr>
</table></div>
<br />

View file

@ -1,10 +1,14 @@
<?php
$randimg=rand(1,3);
switch($randimg)
{
case '1': $logo="yoyo.png"; $logodesc="Y8000"; break;
case '2': $logo="cc70002.png"; $logodesc="CC70002"; break;
case '3': $logo="vapeur.png"; $logodesc="Mallet 030 030T";
$randimg = rand(1, 3);
switch($randimg) {
case '1': $logo = "yoyo.png";
$logodesc = "Y8000";
break;
case '2': $logo = "cc70002.png";
$logodesc = "CC70002";
break;
case '3': $logo = "vapeur.png";
$logodesc = "Mallet 030 030T";
}
?>
<br /><br /><br />

View file

@ -1,13 +1,13 @@
<?php
unset($NbMaxPost);
extract($themeset, EXTR_OVERWRITE);
//$headstartcode = "<font size='3' class='centerhead'>";
//$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "goldbook";
$titre = "Livre d'or";
$GoldbookFile = "goldbook";
echo "<br /><br /><br />\n<div class='center'><h1>Laissez-nous un message...</h1></div><br />\n";
include "modules/magicbox.php";
unset($bodyclass);
?>
unset($NbMaxPost);
extract($themeset, EXTR_OVERWRITE);
//$headstartcode = "<font size='3' class='centerhead'>";
//$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "goldbook";
$titre = "Livre d'or";
$GoldbookFile = "goldbook";
echo "<br /><br /><br />\n<div class='center'><h1>Laissez-nous un message...</h1></div><br />\n";
include "modules/magicbox.php";
unset($bodyclass);

View file

@ -1,43 +1,43 @@
<br /><br /><br />
<h1>Images de la gare de Lormes (2011)</h1>
<?php include "include/note.inc.php"; ?>
<?php include "include/note.inc.php"; ?>
<div class='center'>
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0007.jpg","images/lormes2011/DSCF0007.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0008.jpg","images/lormes2011/DSCF0008.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0009.jpg","images/lormes2011/DSCF0009.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0007.jpg", "images/lormes2011/DSCF0007.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0008.jpg", "images/lormes2011/DSCF0008.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0009.jpg", "images/lormes2011/DSCF0009.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0012.jpg","images/lormes2011/DSCF0012.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0014.jpg","images/lormes2011/DSCF0014.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0015.jpg","images/lormes2011/DSCF0015.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0012.jpg", "images/lormes2011/DSCF0012.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0014.jpg", "images/lormes2011/DSCF0014.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0015.jpg", "images/lormes2011/DSCF0015.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0016.jpg","images/lormes2011/DSCF0016.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0017.jpg","images/lormes2011/DSCF0017.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0018.jpg","images/lormes2011/DSCF0018.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0016.jpg", "images/lormes2011/DSCF0016.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0017.jpg", "images/lormes2011/DSCF0017.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0018.jpg", "images/lormes2011/DSCF0018.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0019.jpg","images/lormes2011/DSCF0019.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0034.jpg","images/lormes2011/DSCF0034.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0047.jpg","images/lormes2011/DSCF0047.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0019.jpg", "images/lormes2011/DSCF0019.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0034.jpg", "images/lormes2011/DSCF0034.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0047.jpg", "images/lormes2011/DSCF0047.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0064.jpg","images/lormes2011/DSCF0064.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0065.jpg","images/lormes2011/DSCF0065.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0066.jpg","images/lormes2011/DSCF0066.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0064.jpg", "images/lormes2011/DSCF0064.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0065.jpg", "images/lormes2011/DSCF0065.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0066.jpg", "images/lormes2011/DSCF0066.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0068.jpg","images/lormes2011/DSCF0068.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0069.jpg","images/lormes2011/DSCF0069.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0070.jpg","images/lormes2011/DSCF0070.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0068.jpg", "images/lormes2011/DSCF0068.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0069.jpg", "images/lormes2011/DSCF0069.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0070.jpg", "images/lormes2011/DSCF0070.jpg", ""); ?></td>
</tr>
<tr>
<td><?php openimg("images/lormes2011/p_DSCF0071.jpg","images/lormes2011/DSCF0071.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0072.jpg","images/lormes2011/DSCF0072.jpg",""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0071.jpg", "images/lormes2011/DSCF0071.jpg", ""); ?></td>
<td><?php openimg("images/lormes2011/p_DSCF0072.jpg", "images/lormes2011/DSCF0072.jpg", ""); ?></td>
</tr>
</table></div>

View file

@ -26,8 +26,8 @@ else if ((myhours >=19) && (myhours <24))
<br />
<h1>Bienvenue sur notre site.</h1>
<?php //include "modules/piwik.php"; ?>
<!--<h2>Vous êtes notre <?php //include "modules/visites.php"; ?><sup>&egrave;me</sup> visiteur depuis le 15/01/2004.</h2>-->
<?php //include "modules/piwik.php";?>
<!--<h2>Vous êtes notre <?php //include "modules/visites.php";?><sup>&egrave;me</sup> visiteur depuis le 15/01/2004.</h2>-->
<h2>Nous vous souhaitons une agréable visite<script type='text/JavaScript'>document.write(msg);</script>...</h2>
<h3>Veuillez choisir un sujet dans le menu ci-contre.</h3>
<br /><br /><br />

View file

@ -6,8 +6,8 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/modules/p_canal.jpg","/images/modules/canal.jpg","Le canal"); ?></td>
<td><?php litebox("/images/modules/p_canal2.jpg","/images/modules/canal2.jpg","Le canal"); ?></td>
<td><?php litebox("/images/modules/p_canal.jpg", "/images/modules/canal.jpg", "Le canal"); ?></td>
<td><?php litebox("/images/modules/p_canal2.jpg", "/images/modules/canal2.jpg", "Le canal"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,11 +6,11 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/modules/p_chateau.jpg","/images/modules/chateau.jpg","Le chateau"); ?></td>
<td><?php litebox("/images/modules/p_chateau2.jpg","/images/modules/chateau2.jpg","Le chateau"); ?></td>
<td><?php litebox("/images/modules/p_chateau.jpg", "/images/modules/chateau.jpg", "Le chateau"); ?></td>
<td><?php litebox("/images/modules/p_chateau2.jpg", "/images/modules/chateau2.jpg", "Le chateau"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/modules/p_chateau3.jpg","/images/modules/chateau3.jpg","Le chateau"); ?></td>
<td><?php litebox("/images/modules/p_chateau3.jpg", "/images/modules/chateau3.jpg", "Le chateau"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,8 +6,8 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/modules/p_chateaudeau1.jpg","/images/modules/chateaudeau1.jpg","Le chateau d'eau"); ?></td>
<td><?php litebox("/images/modules/p_chateaudeau2.jpg","/images/modules/chateaudeau2.jpg","Le chateau d'eau"); ?></td>
<td><?php litebox("/images/modules/p_chateaudeau1.jpg", "/images/modules/chateaudeau1.jpg", "Le chateau d'eau"); ?></td>
<td><?php litebox("/images/modules/p_chateaudeau2.jpg", "/images/modules/chateaudeau2.jpg", "Le chateau d'eau"); ?></td>
</tr>
</table>
<hr />

View file

@ -6,11 +6,11 @@
<div class="center">
<table width="25%" cellspacing="20" align="center">
<tr>
<td><?php litebox("/images/modules/p_ferme01.jpg","/images/modules/ferme01.jpg","La ferme (Août 2000)"); ?></td>
<td><?php litebox("/images/modules/p_ferme01.jpg", "/images/modules/ferme01.jpg", "La ferme (Août 2000)"); ?></td>
</tr>
<tr>
<td><?php litebox("/images/modules/p_ferme02.jpg","/images/modules/ferme02.jpg","La ferme (Octobre 2003)"); ?></td>
<td><?php litebox("/images/modules/p_ferme03.jpg","/images/modules/ferme03.jpg","La ferme (Octobre 2003)"); ?></td>
<td><?php litebox("/images/modules/p_ferme02.jpg", "/images/modules/ferme02.jpg", "La ferme (Octobre 2003)"); ?></td>
<td><?php litebox("/images/modules/p_ferme03.jpg", "/images/modules/ferme03.jpg", "La ferme (Octobre 2003)"); ?></td>
</tr>
</table>
<hr />

View file

@ -1,4 +1,5 @@
<?php
$themeset["pageimage"] = "/themes/default/fond.jpg";
//$themeset["headcolor"] = "44cc44";
$themeset["headcolor"] = "C68484";
@ -6,4 +7,3 @@ $themeset["headcolor"] = "C68484";
$themeset["bodycolor"] = "fffff";
$themeset["boxborder"] = 1;
$themeset["dirtheme"] = "/themes/default";
?>