read()) {
if(substr($func, 0, 5) == "lang-") {
$menulist .= "$func ";
}
}
closedir($langdir->handle);
$menulist = explode(" ", $menulist);
sort($menulist);
for ($i=0; $i < sizeof($menulist); $i++) {
if($menulist[$i]!="") {
$tl = preg_replace("lang-","",$menulist[$i]);
$tl = preg_replace(".php","",$tl);
$altlang = ucfirst($tl);
if ($lang==$tl) $bordo="class=\"bordo\"";else $bordo="class=\"nobordo\"";
echo " ";
}
}
}
# flash x demo
function flash(){
global $flash,$name,$id_comune,$op,$id_cons,$id_cons_gen;
if ($flash=='1'){
echo "";
}else{
echo "";
}
}
# blocco no
function noblocco(){
global $blocco,$name,$id_comune,$op,$id_cons,$id_cons_gen;
if ($blocco=='1'){
echo "";
}else{
echo "";
}
}
?>