# 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'); $ida=$_GET['ida']; $id=$_GET['idb']; $FORUMANCREI = 0; if ($ida == "news") { $cat = CODINGTEAM_FORUM_5; } if ($ida == "libre") { $cat = CODINGTEAM_FORUM_7; } if ($ida == "programmation") { $cat = CODINGTEAM_FORUM_9; } if ($ida == "projets") { $cat = CODINGTEAM_FORUM_11; } if ($ida == "team") { $cat = CODINGTEAM_FORUM_13; } if ($ida == "ubunture") { $cat = "Ubuntu Réunion"; } $testouille = mysql_query("SELECT * FROM forum_sujet WHERE id='$id' ") or die (mysql_error()); $row = mysql_fetch_array($testouille); $id = $row['id']; $titre = htmlentities($row['titre']); $auteur = $row['auteur']; $type = $row['type']; $message = $row['message']; $msque = mysql_query("SELECT * FROM member WHERE pseudo = '$auteur' ") or die (mysql_error()); $arrq = mysql_fetch_array($msque); $jid = $arrq['jid']; $tvatar = $arrq['avatar']; $niveau = $arrq['niveau']; $cadreonecat = 'communaute'; $ct_title = $titre.' - CodingTeam.net'; require(dirname(__FILE__).'/prepend.core.php'); ?>

".CODINGTEAM_FORUM_22." "; $mavar="0"; } else { echo" - ".CODINGTEAM_FORUM_23.""; } if ($leveltosee == "Administrateur" OR utf8_encode($leveltosee) == "Modérateur" OR $leveltosee == "Modérateur") { echo" - Fermer le sujet - Modérer le sujet "; echo"- Suppr"; } ?>

0) { $precedent=$page-1; echo "".CODINGTEAM_PROJETLIBRE_41." "; } $i=0; $j=1; if($nb_total>$nb_membres_page) { while($i<($nb_total/$nb_membres_page)) { if($i!=$page) { echo" ".$j." "; } else { echo" $j "; } $i++;$j++; } } if($debut+$nb_membres_page<$nb_total) { $suivant=$page+1; echo " ".CODINGTEAM_PROJETLIBRE_42.""; } ?>

".$auteur."
".CODINGTEAM_FORUM_24.""; } else { if (!empty($jid)) echo ' '; ?>

">' style="width:100px;border:0px;" alt="avatar" />

 ".CODINGTEAM_FORUM_22."
"; } else { if ($pseudo == $auteur) { echo"- ".CODINGTEAM_FORUM_26.""; } echo " - ".CODINGTEAM_FORUM_27."
"; } echo "

".bb_parse($message); if ($sign != "") { echo "
_________________
".$sign; } } ?>

 

".$auteurm."
".CODINGTEAM_FORUM_24.""; } else { if (!empty($jidm)) echo ' '; ?>

">' style="width:100px;border:0px;" alt="avatar" />

date non définie  ".CODINGTEAM_FORUM_22." "; } else { if ($pseudo == $auteurm) { echo"- ".CODINGTEAM_FORUM_26." "; } echo " - ".CODINGTEAM_FORUM_27." "; } if ($leveltosee == "Administrateur" OR utf8_encode($leveltosee) == "Modérateur" OR $leveltosee == "Modérateur") { echo"- Modérer cette réponse "; echo"- Suppr"; } echo "

".bb_parse($messagem); if ($signm != "") { echo "
_________________
".$signm; } ?>


".CODINGTEAM_FORUM_28.""; ?>

0) { $precedent=$page-1; echo "".CODINGTEAM_PROJETLIBRE_41." "; } $i=0; $j=1; if($nb_total>$nb_membres_page) { while($i<($nb_total/$nb_membres_page)) { if($i!=$page) { echo" ".$j." "; } else { echo" $j "; } $i++;$j++; } } if($debut+$nb_membres_page<$nb_total) { $suivant=$page+1; echo " ".CODINGTEAM_PROJETLIBRE_42.""; } ?>