# Copyright (c) 2007 Erwan Briand # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation # # 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 # # ***** END LICENSE BLOCK ***** session_start(); require(dirname(__FILE__).'/include/config.inc.php'); $code = $_GET['p']; $code2 = 'OUI'; $cadreonecat = 'codingteam_index'; if ($code != "projetslibres") { $ma = mysql_query("SELECT * FROM ct2_os WHERE adresse = '$code' "); if (mysql_num_rows($ma) == 0) { require('include/erreurs.inc.php'); GenerateErrorPage ("404","Not Found",$txt); exit(); } $mb = mysql_fetch_array($ma); $titre = $mb['titre']; $desc = $mb['description']; $numero = $mb['id']; $auteur = $mb['auteur']; $ct_title = utf8_encode(htmlspecialchars($titre)). ' - CodingTeam.net'; } else { $ct_title = CODINGTEAM_PROJETLIBRE_1.' - CodingTeam.net'; } $ct_description = CODINGTEAM_PROJETLIBRE_2; if ($code == "projetslibres") { $cadreonecat = "index2"; } else { $cadreonecat = "os"; } require(dirname(__FILE__).'/prepend.core.php'); ?>
"; } else { echo""; } ?>
-
".CODINGTEAM_PROJETLIBRE_17.""; } else { $state2 = mysql_fetch_array($state); $etat = $state2['etat']; if ($etat == "Prévision") { echo "".CODINGTEAM_PROJETLIBRE_17.""; } if ($etat == "Développement") { echo "".CODINGTEAM_PROJETLIBRE_18.""; } if ($etat == "En Tests") { echo "".CODINGTEAM_PROJETLIBRE_19.""; } if ($etat == "Alpha") { echo "".CODINGTEAM_PROJETLIBRE_20.""; } if ($etat == "Bêta") { echo "".CODINGTEAM_PROJETLIBRE_21.""; } if ($etat == "Stable") { echo "".CODINGTEAM_PROJETLIBRE_22.""; } if ($etat == "Abandonné") { echo "".CODINGTEAM_PROJETLIBRE_23.""; } } ?>
0) { $precedent=$page-1; echo "".CODINGTEAM_PROJETLIBRE_41." "; } $i=0; $j=1; if($nb_total>$nbmbr) { while($i<($nb_total/$nbmbr)) { if($i!=$page) { echo" $j "; } else { echo" $j "; } $i++;$j++; } } if($debut+$nbmbr<$nb_total) { $suivant=$page+1; echo " ".CODINGTEAM_PROJETLIBRE_42.""; } ?>