';print_r($_SERVER); $q = 'select *, g1.catnom as nomcat, g1.idcat as idcat, (select iddoc from ged_docbase where idcat=g1.idcat order by iddoc desc limit 1)iddoc1, (select dateinsert from ged_docbase where iddoc=iddoc1)dateinsert from ged_cat g1 where g1.idparent = 0 and g1.idcat > 1 group by g1.idcat order by if(ordertop,0,1),ordertop,if(orderleft,0,1),orderleft,if(orderright,0,1),orderright,g1.catnom '; $x = mysql_query($q)or die(mysql_error()) ; $n=$divTop=$divLeft=$divRight=$divBot=null; if($x)$n=mysql_num_rows($x); if($n) { $cptr=0; while($r=mysql_fetch_array($x)) { $cptr++; $r2[]=$r; $idcat=$r['idcat']; $nomcat=stripslashes($r['nomcat']); $nomcat4title = rtrim($nomcat,'s'); $nomcat4url = mb_eregi_replace('[^a-z0-9]','-',$nomcat); $fic_id=sprintf("%010s",$r['iddoc1']); $fic_ext = 'jpg';//$r['ext'] ; $fic_path = str_replace( '-' , '/' , $r['dateinsert'] ); $r2[]= $filenameS = '/admin/stockage/'.$fic_path.'/'.$fic_id.'s.'.$fic_ext ; //$filenameM = '/admin/stockage/'.$fic_path.'/'.$fic_id.'m.'.$fic_ext ; //echo "\n".$_SERVER['DOCUMENT_ROOT'].'/'.$filenameS; if( is_file( $_SERVER['DOCUMENT_ROOT'].'/'.$filenameS ) ) { $over = 'onmouseover="document.getElementById(\'showViewM\').style.background=\'url(/readimgm.php?iddoc='.$fic_id.'&'.time().')\';document.getElementById(\'showView\').style.visibility=\'visible\';"'; $over .= 'onmouseout="document.getElementById(\'showView\').style.visibility=\'hidden\';document.getElementById(\'showViewM\').style.background=\'url(/images/vide.gif)\';"'; if($cptr<11) $divTop .= "\n".'
'.$nomcat.'
'; else if($cptr<17) $divLeft .= "\n".'
'.$nomcat.'
'; else if($cptr<23) $divRight .= "\n".'
'.$nomcat.'
'; } //else echo $fic_id.' '.$nomcat.' '; } $divTop .= '
'; } //echo'
';print_r($r2);echo'
'; ?> XUN FR .:|:. XPRESSION URBN .:|:. GRAFFITI SESSIONS .:|:. RELOADED
XUN FR .:|:. XPRESSION URBN .:|:. GRAFFITI SESSIONS

Crews Graffeurs & co
Envoyer une photo
Contact
Derniers upload
Graffiti by Crews
Graffiti by Pays/Villes

abaXe
'; //echo'
';print_r($_SERVER);
?>
		

	


				
				
				
				
				
				 XUN FR .:|:. XPRESSION URBN .:|:. GRAFFITI SESSIONS
				
				
				
				
				
				
								
			
*/
?>