$valori=Valori($idx);?>
echo $valori[titolo]?>
echo $valori[testo]?>
$result=mysql_db_query($dbname,"select * from pagine where lay='staff' and vis=1 and pad=$idx order by ord ");
while ($row=mysql_fetch_array($result)){
$valori=Valori($row[ID]);?>
$rsfoto=mysql_db_query($dbname,"select * from foto where tipo=1 and legame=$row[ID] and vis=1 order by ordine");
if ($ft=mysql_fetch_array($rsfoto)){?>
}?>
if ($valori[cognome]!=""){?>
echo $valori[cognome]?> echo $valori[nome]?>
}?>
if ($valori[qualifica]!=""){
$chr=150;
?>
echo $valori[qualifica]?>
}?>
if ($valori[testo]!=""){?>
echo $valori[testo];?>
}?>
}?>