"; $sqlcomu="select descrizione,fascia from ".$prefix."_ele_comuni where id_comune=$id_comune"; $rescomu= mysql_query("$sqlcomu",$dbi); list($descr_com,$fascia)=mysql_fetch_row($rescomu); echo '
"; echo "
  • "._OPTIONS."
  • "; echo ""; # linguaggio x demo function language(){ global $lang,$name,$op,$file,$filelang,$id_comune,$op,$id_cons,$id_cons_gen; $filename=$filelang; // linguaggio $menulist=''; // scelta linguaggio $langdir = dir("modules/Elezioni/language"); while($func=$langdir->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 = ereg_replace("lang-","",$menulist[$i]); $tl = ereg_replace(".php","",$tl); $altlang = ucfirst($tl); if ($lang==$tl) $bordo="class=\"bordo\"";else $bordo="class=\"nobordo\""; echo "
  • \"$altlang\" "._LINGUA." $tl
  • "; } } } ########################### Blocchi # flash x demo function flash(){ global $flash,$name,$id_comune,$op,$id_cons,$id_cons_gen; if ($flash=='1'){ echo "
  • \"NoFlash\" "._OFF." Flash
  • "; }else{ echo "
  • \"YesFlash\" "._ON." Flash
  • "; } } # blocco no function noblocco(){ global $blocco,$name,$id_comune,$op,$id_cons,$id_cons_gen; if ($blocco=='1'){ echo "
  • \"NoBlocco\" "._OFF." "._BLOCCO."
  • "; }else{ echo "
  • \"YesBlocco\" "._ON." "._BLOCCO."
  • "; } } ?>