# 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'); ?>

\"libre"; } else { echo"\"libre"; } ?>





-

'.utf8_encode($trad[$i]).' '; } ?>
'.CODINGTEAM_PROJETLIBRE_50.''; } elseif ($os == "indeplat") { echo ''.CODINGTEAM_PROJETLIBRE_12.''; } elseif ($os == "onlywin") { echo 'MS-DOS - Microsoft Windows'; } elseif ($os == "onlymac") { echo 'Mac OS'; } elseif ($os == "onlylinux") { echo 'GNU/Linux'; } elseif ($os == "onlybsd") { echo 'BSD'; } elseif ($os == "onlyunix") { echo 'UNIX'; } elseif ($os == "onlymain") { echo 'Mainframes'; } else { $trad = explode(', ', $mb['operating']); for($i=0; $iPOSIX (GNU/Linux, BSD, UNIX)'; } if($trad[$i] == 'bsd') { $affiche = 'BSD (*BSD, Mac OS)'; } if($trad[$i] == 'ms') { $affiche = 'MS-DOS - Microsoft Windows'; } echo ''.$affiche.' '; } } } ?>
'.$trad[$i].' '; } else { include('lang/languagelist.'.$ct_lang.'.utf8.inc.php'); echo ''.$projects_language_list[$langid].' '; } } } ?>

".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.""; } } ?>

 




 


".bb_parse($row['texte']).""; echo "".$row['date']." @ ".$row['heure']." "; echo $row['auteur']; echo""; } ?>

 


 


 


 


 


 


/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 
/> 

 






 

Supprimer ce projet"; } ?> rss syndication'; $nb_total = mysql_num_rows(mysql_query("SELECT * FROM ct2_os")); $nbmbr = 6; if(!isset($_GET['page'])) { $debut=0; $page=0; } else { $page=$_GET['page']; $debut=$page*$nbmbr; } $ma = mysql_query("SELECT * FROM ct2_os ORDER BY id DESC LIMIT $debut,$nbmbr"); while($mb = mysql_fetch_array($ma)) { $titre = $mb['titre']; $url = $mb['adresse']; ?>

\"libre"; } else { echo"\"libre"; } ?>




">http://.codingteam.net

 

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.""; } ?>