include '../settings/impostazioni.php'; include '../libs/common_lib.php'; ?>
    
	
	if(!isset($_GET['id_gall'])){
	$SqlMenu1="SELECT * FROM tbl_gall WHERE cat='locale' order BY id_gall ASC LIMIT 1";
	$ResultMenu1 = mysql_query($SqlMenu1);
	$FieldMenu1 = mysql_fetch_array($ResultMenu1);
	$_GET['id_gall']=$FieldMenu1['id_gall'];
	}
	$SqlMenu="SELECT * FROM tbl_gall WHERE cat='locale' order BY id_gall ASC";
	$ResultMenu = mysql_query($SqlMenu);
    $r=1;
	while($FieldMenu = mysql_fetch_array($ResultMenu)){
	
	if($_GET['id_gall']==$FieldMenu['id_gall']){
	print '';
	$LabelGall=htmlentities($FieldMenu['nome_gall'], ENT_QUOTES);
	}else{
    print '';}
	
	$r++;
	}?>