# 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'); $id=$_GET['id']; if ($id == "news") { $cat = CODINGTEAM_FORUM_5; } elseif ($id == "libre") { $cat = CODINGTEAM_FORUM_7; } elseif ($id == "programmation") { $cat = CODINGTEAM_FORUM_9; } elseif ($id == "projets") { $cat = CODINGTEAM_FORUM_11; } elseif ($id == "team") { $cat = CODINGTEAM_FORUM_13; } elseif ($id == "ubunture") { $cat = "Ubuntu RĂ©union"; } else { require('include/erreurs.inc.php'); GenerateErrorPage ("404","Not Found",$txt); exit(); } $cadreonecat = 'communaute'; $ct_title = $cat.' - '.CODINGTEAM_GAUCHE_28.' - CodingTeam.net'; require(dirname(__FILE__).'/prepend.core.php'); ?>

".CODINGTEAM_FORUM_20." 

"; ?> $max_caracteres) { $titre = substr($titre, 0, $max_caracteres); $position_espace = strrpos($titre, " "); $titre = substr($titre, 0, $position_espace); $titre = $titre."..."; } if ($i & 1) { $couleur="#f0f0f0"; } else { $couleur="#ffffff"; } ?>
".CODINGTEAM_FORUM_21." "; } ?>" style="background:;">
".$row['date']." - ".$row['heure'].""; } ?>
0) { $precedent=$page-1; echo "".CODINGTEAM_PROJETLIBRE_41." "; } $i=0; $j=1; if($nb_total>$nb_post_page) { while($i<($nb_total/$nb_post_page)) { if($i!=$page) { echo" $j "; } else { echo" $j "; } $i++;$j++; } } if($debut+$nb_post_page<$nb_total) { $suivant=$page+1; echo " ".CODINGTEAM_PROJETLIBRE_42.""; } ?>