Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/49610fe776891d7eab78c4ed84995c16/web/otakubienne/phpBB3/includes/bbcode.php on line 112
Otaku Bienne • View topic - Projet PHP
Page 1 of 2

Projet PHP

PostPosted: Mon Jan 22, 2007 10:45 am
by T Master
Voila je doit faire un petit projet en php, auriez vous des idées en tenant compte que :
- Je suis un autiste et très lent (d'ou un truc pas trop long)
- Je veux pas un truc abusé (un truc basic donc)
- un truc bien (pas un system de gestion d'un boulangerie)

PostPosted: Mon Jan 22, 2007 10:51 am
by F Destroyer
Une super base de données avec tout les jeux de toutes les machines, qui permet d'ajouter plein de categorie..

recherche par genre, année, console

XD

PostPosted: Mon Jan 22, 2007 11:08 am
by T Master
J'ai un petite idée... faire un truc en complément a groovestats.
Parce que groovestats est casiment que pour les truc arcade (en home version y a que ITG1), donc l'idée ce serait de faire un truc la meme chose mais dédié aux home versions (ITG1(PC et PS2) et ITG2(PC et PS2)).
Avec aussi la possibilité d'ajouter des musiques a la liste (sur PC on peux l'utiliser comme step en mettant n'importe quel DWI, et ca pourrait aussi le faire pour les ITG Hack PS2)
Et aussi mettre ajouter le truc pour mettre un image en signature sur les forum avec ses stats (commme Lord avait fait pour DDR)

Bon mais pour ca j'aurai un truc a savoir : "ITG2PS2 beta est'il bien devenu legal ?", sinon je fait passer ca dans ITG2 PC en faisant comprendre que c'est la meme chose

PostPosted: Mon Jan 22, 2007 11:10 am
by F Destroyer
Et ca te rapporte une note ?

PostPosted: Mon Jan 22, 2007 11:10 am
by T Master
ouai

PostPosted: Wed Mar 21, 2007 7:08 pm
by T Master
vous auriez pas une idée de nom pour ce projet xD ?

PostPosted: Wed Mar 21, 2007 7:22 pm
by iRed
Groove Stats Home Edition ?

PostPosted: Wed Mar 21, 2007 7:44 pm
by Taz
Official Groovestats recensing tool by T Master the best and only PHP programmer in Initial Team for his fucking great PHP Project. Bon, j'avoue que le nom est un peu bref, mais on peut toujour étoffer ^^

PostPosted: Wed Mar 21, 2007 8:03 pm
by F Destroyer
Project Ypsilon

PostPosted: Wed Mar 21, 2007 8:08 pm
by T Master
voila "IT 2" car ca me fait chier de designer un logo ou un truc quelquonque

PostPosted: Wed Mar 21, 2007 8:59 pm
by iRed
Taz wrote:Official Groovestats recensing tool by T Master the best and only PHP programmer in Initial Team for his fucking great PHP Project. Bon, j'avoue que le nom est un peu bref, mais on peut toujour étoffer ^^

c'est pas plus ridicule que le nom que je dois utiliser pour mon TIP : absences

xD

PostPosted: Wed Mar 21, 2007 10:14 pm
by T Master
haha mais "absences"

PostPosted: Thu Mar 22, 2007 7:09 am
by iRed
T Master wrote:haha mais "absences"

j'étais parti sur un nom style HolyMail, car je dois gerer les vacances par email... après je regarde mon cahier des charges : Titre : "Absences" xD

PostPosted: Mon Mar 26, 2007 10:30 am
by Taz
Si jamais T, j'ai fait un code :

Code: Select all
<?php
   
   if(!empty($_GET['dir']))
   {   
      $_Dir = $_GET['dir'];
   }else
   {
      $_Dir = './';
      
   }
   switch($_GET['action'])
   {   
      case 'convert' :
         ConvertFiles($_Dir);
      break;
      case 'convfile' :
         if(empty($_GET['file']))
         {
            die('Action impossible sur un fichier');
         }elseif(!is_dir($_GET['file']))
         {
            ConvertPNG2JPG($_GET['file']);
         }
      break;
   }
   
   $aData = scandir($_Dir);
   #echo '<pre>';
   #print_r($GLOBALS);
   #echo '</pre>';
   
   echo '<table width="800px">';
   echo '<tr><td width="300px">Dossier</td><td>Nom</td><td>Visiter</td><td>Convertir</td></tr>';
   foreach($aData as $Data)
   {   
      if(is_dir($_Dir.$Data) && $Data != '..' && $Data != '.' && $Data != eregi_replace('/convert.php','',$_SERVER['SCRIPT_NAME']))
      echo '<tr><td>'.$_Dir.'</td><td>'.$Data.'</td><td><a href="'.$_SERVER['PHP_SELF'].'?dir='.$_Dir.$Data.'/&action=browse&back='.$dir.'">Voir ce dossier</a></td><td><a href="'.$_SERVER['PHP_SELF'].'?dir='.$_Dir.$Data.'&action=convert">Convertir le contenu du dossier en JPG</a></td></tr>';
      elseif(is_file($_Dir.$Data) && eregi('.png$', $Data))
      echo '<tr><td>'.$_Dir.'</td><td>'.$Data.'</td><td><a href="'.$_SERVER['PHP_SELF'].'?file='.$_Dir.$Data.'&dir='.$_Dir.'&action=convfile">Convertir le fichier en JPG</a></td>';
   }
   if(count($aData) < 3)
      echo '<tr><td colspan=4>Ce dossier ne contient pas de fichiers ou de dossiers</td></tr>';
   echo '<tr><td colspan=4><a href="'.$_SERVER['PHP_SELF'].'?dir='.$_GET['back'].'">Retour</a></td></tr>';
   echo '</table>';

   function ConvertFiles($dir)
   {
      $aData = scandir($dir);
      
      foreach($aData as $Data)
      {
         
         if(is_dir($dir.'/'.$Data) && $Data != '..' && $Data != '.')
         {
            ConvertFiles($dir.'/'.$Data);
            echo 'recherche<br />';
         }
         elseif(is_file($dir.'/'.$Data))
         {
            ConvertPNG2JPG($dir.'/'.$Data);
            echo 'Essai de conversion...';
         }else
         {
            
            echo 'pas de correspondace pour '.$dir.'/'.$Data.'<br />';
            
         }
         
      }
   }
   
   function ConvertPNG2JPG($file)
   {
      echo $file;
      if(eregi('.png$', $file)) {
         $image1 = @imagecreatefrompng($file);
         
         if(!image1)
            break;
            
         $x = imagesx($image1);
         $y = imagesy($image1);
         $image2 = @imagecreatetruecolor($x, $y);
   
         imagecopy($image2, $image1, 0,0,0,0,$x, $y);
         
         imagejpeg($image2, substr($file, 0, strlen($file)-4) .'.jpg',100);
         imagedestroy($image1);
         imagedestroy($image2);
         
         echo 'convertit!<br />';
      }else
      {
         
         echo 'fichier non convertit!';
         
      }
   }
?>

PostPosted: Mon Mar 26, 2007 3:44 pm
by T Master