<?php
/*
Copyright (C) 2001, 2002 Bertand Pallie, Loc Dayot
EPNadmin - Version 0.6 - 05/01/2003
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
http://epnadmin.pierrefitte93.fr/
*/
// Renomm de 6cartes.php en 6cartes.inc.php
require_once("header.inc.php"); // car confidentiel !
require_once("constantes.inc.php"); // dfinition des constantes
if (!defined("FCT_USAGERS"))
return $fctnonactive;
//require_once("fonctions.inc.php"); // concernant des fonctions transversales inclassables
//require_once("mysql.inc.php"); // concernant mysql
//require_once("sessions.inc.php"); // concernant les sessions et initiations
//require_once("usagers.inc.php"); // concernant la gestion des usagers
//require_once("reservations.inc.php"); // concernant les rservations des postes en accs individuel par des usagers
//require_once("tableaux.inc.php"); // Concernant l'affichage transpos d'un tableau
//require_once("siteweb.inc.php"); // concernant les pages perso des usagers et les sites web des structures
//require_once("dateheure.inc.php"); // concernant la manipulation des heures et des dates, formulaire, conversion...
//require_once("structures.inc.php"); // concernant les structures
//require_once("initiations.inc.php"); // concernant les initiations et les thmes
//require_once("parcours.inc.php"); // concernant les parcours des usagers et leur positionnement
header ("Content-type: image/png");
$image = @ImageCreate (480*2, 460*3) or die ("Cannot Initialize new GD image stream");
for ($i=1;$i<7;$i++)
{
$imgcarte=ImageCreateFromPNG($dir_tmp_images.$i.".png");
$x=480 * (($i-1)%2);
$y=460 *floor(($i-1)/2);
ImageCopyResized($image,$imgcarte, $x,$y, 0,0, 480,460, 480,460);
ImageDestroy ($imgcarte);
}
ImagePNG($image);
ImageDestroy ($image);
//require("footer.inc.php");
?>