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
###############################
if(!function_exists("flash")){
function flash(){
###############################
global $flash,$name,$id_comune,$op,$id_cons,$id_cons_gen;
if ($flash=='1'){
echo "";
}else{
echo "";
}
}
}
# blocco no
############################
if(!function_exists("noblocco")){
function noblocco(){
############################
global $blocco,$name,$id_comune,$op,$id_cons,$id_cons_gen;
if ($blocco=='1'){
echo "";
}else{
echo "";
}
}
}
# tour
############################
if(!function_exists("tour")){
function tour(){
############################
global $tour,$name,$id_comune,$op,$id_cons,$id_cons_gen;
if ($tour=='1'){
echo "
";
}else{
echo "
";
}
}
}
?>