0 ){
// artista definito
	$artista = new Artista((int)$_GET['a']);
	$categoria_id = $artista->categoria_id;
	
	$cat = new CategoriaArtista($categoria_id);
	$artisti = new ArtistaCollection;
	$artisti->getByCategoriaInGalleria( $cat );
}elseif( !((int)$_GET['cid']>0) && !((int)$_GET['a']>0) ){
// nulla definito
	$categoria_id = 4;
	$cat = new CategoriaArtista($categoria_id);
	
	$artisti = new ArtistaCollection;
	$artisti->getByCategoriaInGalleria( $cat );
	$artista = $artisti->list[0];
}elseif( ((int)$_GET['cid']>0) && !((int)$_GET['a']>0) ){
// categoria definito
	$categoria_id = (int)$_GET['cid'];
	$cat = new CategoriaArtista($categoria_id);
	
	$artisti = new ArtistaCollection;
	$artisti->getByCategoriaInGalleria( $cat );
	
	$artista = isset($artisti->list[0]) ? $artisti->list[0] : new Artista;
}
$categorie = new CategoriaArtistaCollection;
$categorie->getAll();
$opere = new OperaCollection;
$opere->getByArtista( $artista );
?>
Artisti - Angel Art Gallery - Galleria d'arte contemporanea a Milano
  
    |  | 
  
    |  | 
  
    |  | 
  
    | 
      
        | ©2009 Angel Art Gallery - V.le Affori, 12 - 20161 Milano - Tel. 339 8551272 - P.I. 04851770968 - Privacy | web by effige |  |