Subversion Repositories Applications.projet

Rev

Rev 419 | Rev 424 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 419 Rev 422
Line 378... Line 378...
378
		for ($rep_courant = $dernierRepertoire; $rep_courant >= 0; $rep_courant--) {
378
		for ($rep_courant = $dernierRepertoire; $rep_courant >= 0; $rep_courant--) {
379
			$fichier_index = file ($this->listdir.'/archive/'.$rep_courant.'/index', FILE_IGNORE_NEW_LINES);
379
			$fichier_index = file ($this->listdir.'/archive/'.$rep_courant.'/index', FILE_IGNORE_NEW_LINES);
Line 380... Line 380...
380
 
380
 
381
			// On parcours le fichier a l envers
381
			// On parcours le fichier a l envers
382
			for ($j = count($fichier_index)-1; $j >= 0; $j-=2) {
382
			for ($j = count($fichier_index)-1; $j >= 0; $j-=2) {
383
				preg_match('/\t([0-9]+) ([a-zA-Z][a-zA-Z][a-zA-Z]) ([0-9][0-9][0-9][0-9])/', $fichier_index[$j], $match) ;
383
				preg_match('/\t([0-9]+) ([a-zA-Z]{3}) ([0-9]{4})/', $fichier_index[$j], $match) ;
384
				if ($match[0] != '') {
384
				if ($match[0] != '') {
385
					$threadmonth = date('n', strtotime($match[0]))  ;
385
					$threadmonth = date('n', strtotime($match[0]));
386
					$threadyear = date('Y', strtotime($match[0])) ;
386
					$threadyear = date('Y', strtotime($match[0]));
387
					if ($Annnee != '') {
387
					if ($Annnee != '') {