Changeset 42


Ignore:
Timestamp:
Mar 24, 2010, 2:19:36 PM (14 years ago)
Author:
roby
Message:

aggiunti grafici di lista per le regionali per tutti i temi. Esclusa visualizzazione dei comuni senza consultazioni assegnate. Eliminati altri notice. Corretta la chiusura di uno span in 02_risultati.php

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/inc/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php

    r23 r42  
    4848
    4949        $strBP = dirname($_SERVER['PHP_SELF']);
    50         $strBP = stristr_reverse($strBP, 'includes/FCKeditor/editor/filemanager/browser/default/connectors/php');
     50        $strBP = stristr_reverse($strBP, 'inc/FCKeditor/editor/filemanager/browser/default/connectors/php');
    5151        if ($strBP{strlen($strBP)-1} != "/") $strBP     .= "/";
    52         $strBP .= 'includes/FCKeditor/upload/';
     52        $strBP .= 'inc/FCKeditor/upload/';
    5353        $GLOBALS["UserFilesPath"] = $strBP ;
    5454}
  • trunk/client/modules/Elezioni/blocchi/02_risultati.php

    r40 r42  
    2020    //$content .="<div style=\"text-align:left;\"><strong>$descr_cons</strong></div><br/>";
    2121    for($x=0;$x<count($gruppo);$x++){
    22         echo "<strong><big>&middot;</big></strong>".$gruppo[$x]." <b><span style=\"color:#ff0000;\">".$pro[$x] ."%</a></b> <br />\n";
     22        echo "<strong><big>&middot;</big></strong>".$gruppo[$x]." <b><span style=\"color:#ff0000;\">".$pro[$x] ."%</span></b> <br />\n";
    2323    }
    2424
  • trunk/client/modules/Elezioni/index.php

    r39 r42  
    2020if (isset($param['pdf'])) $pdf=intval($param['pdf']); else $pdf='0';
    2121if (isset($param['datipdf'])) get_magic_quotes_gpc() ? $datipdf=$param['datipdf']:$datipdf=addslashes($param['datipdf']); else $datipdf='';
     22if(isset($param['visgralista'])) $visgralista=1;
    2223if (isset($param['id_comune'])) $id_comune=intval($param['id_comune']); else $id_comune=$siteistat;
    2324if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else $id_cons_gen=$id_cons_pred;// cons predefinita
     
    143144*************************/
    144145function menu() {
    145         global $hondt,$lang,$multicomune, $tema, $op, $prefix, $dbi, $offset, $min,$descr_cons,$info,$dati, $votog,$votol,$votoc,$circo, $id_cons,$tipo_cons,$genere,$descr_cons,$id_cons_gen,$id_comune,$id_circ,$minsez,$offsetsez, $limite,$hondt,$tema_on,$js;
     146        global $hondt,$lang,$multicomune, $tema, $op, $prefix, $dbi, $offset, $min,$descr_cons,$info,$dati, $votog,$votol,$votoc,$circo, $id_cons,$tipo_cons,$genere,$descr_cons,$id_cons_gen,$id_comune,$id_circ,$minsez,$offsetsez, $limite,$hondt,$tema_on,$js,$visgralista;
    146147
    147148$tema=htmlentities($tema); //xss       
     
    448449
    449450}
    450 
     451        if(!isset($max)) $max=0;
    451452     page($id_cons_gen,$go,$max,$min,$prev,$next,$offset,$file);
    452453
  • trunk/client/modules/Elezioni/language/lang-it.php

    r28 r42  
    199199define("_SCELTA_LISTE","ASSEGNA LE LISTE AI RAGGRUPPAMENTI");
    200200define("_ALTRI","Altri sotto il 3%");
    201 define("_CNFR_CONS",htmlentities("RAFFRONTO TRA CONSULTAZIONI<br/>si può impostare su liste singole o su raggruppamenti"));
     201define("_CNFR_CONS","RAFFRONTO TRA CONSULTAZIONI<br/>".htmlentities("si può impostare su liste singole o su raggruppamenti"));
    202202define("_SCELTA_CONS","<b>Scegli le consultazioni da mettere a confronto</b>");
    203203
  • trunk/client/modules/Elezioni/menu.php

    r2 r42  
    3434        if ($multicomune=='1')
    3535        {
    36               $sqlcomu="select t1.id_comune,t1.descrizione,count(0) from ".$prefix."_ele_comuni as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_comune=t2.id_comune group by t1.id_comune,t1.descrizione order by t1.descrizione asc";
     36              $sqlcomu="select t1.id_comune,t1.descrizione,count(0) from ".$prefix."_ele_comuni as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_comune=t2.id_comune and t2.chiusa<2 group by t1.id_comune,t1.descrizione order by t1.descrizione asc";
    3737              $rescomu= mysql_query("$sqlcomu",$dbi);
    3838              $esiste_multi=mysql_num_rows($rescomu);
     
    187187        echo "<td >";
    188188
    189                 $temp = array('affluenze_graf'=>'','graf_votanti'=>'','graf_gruppo'=>'','graf_candidato'=>'');
    190                 $temp[$op]='selected="selected"';
     189                $temp = array('affluenze_graf'=>'','graf_votanti'=>'','graf_gruppo'=>'','graf_lista'=>'','graf_candidato'=>'');
     190                if(!isset($visgralista))
     191                        $temp[$op]='selected="selected"';
     192                else $temp['graf_lista']='selected="selected"';
    191193                #       <div><label class=\"blu\" for=\"grafici\">"._GRAFICI."
    192194               
     
    204206#inutile                if($genere!=4 || $tipo_cons==8)
    205207                        echo "<option value=\"graf_gruppo\" ".$temp['graf_gruppo']." >"._GRUPPO."</option>";
     208                        if($genere==5)
     209                        echo "<option value=\"graf_gruppo&amp;visgralista=1\" ".$temp['graf_lista'].">"._LISTA."</option>";
    206210                if ($genere>3){
    207211                        if (!$circo && !$votog) 
  • trunk/client/temi/facebook/menu.php

    r41 r42  
    5959        if ($multicomune=='1')
    6060        {
    61               $sqlcomu="select t1.id_comune,t1.descrizione,count(0) from ".$prefix."_ele_comuni as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_comune=t2.id_comune group by t1.id_comune,t1.descrizione order by t1.descrizione asc";
     61              $sqlcomu="select t1.id_comune,t1.descrizione,count(0) from ".$prefix."_ele_comuni as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_comune=t2.id_comune and t2.chiusa<2 group by t1.id_comune,t1.descrizione order by t1.descrizione asc";
    6262              $rescomu= mysql_query("$sqlcomu",$dbi);
    6363              $esiste_multi=mysql_num_rows($rescomu);
Note: See TracChangeset for help on using the changeset viewer.