Changeset 126 for trunk/client


Ignore:
Timestamp:
Jun 9, 2011, 10:45:49 PM (13 years ago)
Author:
eol
Message:

piccole variazioni

Location:
trunk/client/modules/Elezioni
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/grafici.php

    r105 r126  
    310310                if ($genere==0) echo " "._GRUPPO." $num_gruppo";
    311311
    312                 $logo=verificasimbolo(); // carica_logo da funzioni.php
     312                //$logo=verificasimbolo(); // carica_logo da funzioni.php
    313313               
    314314                if ((!$csv && $flash!=1 || $anim!=1) and ($tour!=1)){ # rotazione x tour marzo 2009 a.l.
  • trunk/client/modules/Elezioni/gruppo.php

    r123 r126  
    3838if (isset($param['orienta'])) get_magic_quotes_gpc() ? $orienta=$param['orienta']:$orienta=addslashes($param['orienta']); else $orienta='';
    3939if (isset($param['datipdf'])) get_magic_quotes_gpc() ? $datipdf=$param['datipdf']:$datipdf=addslashes($param['datipdf']); else $datipdf='';
     40if (isset($param['formato'])) get_magic_quotes_gpc() ? $formato=$param['formato']:$formato=addslashes($param['formato']); else $formato='';
    4041if (isset($param['formato'])) get_magic_quotes_gpc() ? $formato=$param['formato']:$formato=addslashes($param['formato']); else $formato='';
    4142# anti-xss nov. 2009
  • trunk/client/modules/Elezioni/votanti.php

    r122 r126  
    5656if (isset($param['num_refs'])) $num_refs=$param['num_refs'];
    5757$bgcolor2='#cacaca';
     58
     59
     60if (!IsSet($num_ref)) {
     61                $num_ref=1;
     62                $resg = mysql_query("SELECT id_gruppo from ".$prefix."_ele_gruppo where id_cons=$id_cons", $dbi);
     63                $num_refs= mysql_num_rows($resg); //quante pagine?
     64        }
     65
     66
     67
    5868//**************************************************************************
    5969//        ELE
     
    157167        <a href=\"modules.php?name=Elezioni&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;op=graf_votanti\">
    158168        "._VER_GRAF." <img class=\"image\" src=\"modules/Elezioni/images/grafici.png\" alt=\"\" /></a>
     169
     170         <a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;csv=1&amp;pag=$pag&amp;num_ref=$num_ref&amp;num_refs=$num_refs\">"._VER_STAMPA."
     171
    159172         <a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;csv=1&amp;pag=$pag$curref\">"._VER_STAMPA."
     173
    160174        <img class=\"image\" src=\"modules/Elezioni/images/printer.png\" alt=\"\" /></a>
     175
     176        <a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;xls=1&csv=1;&amp;pag=$pag&amp;num_ref=$num_ref&amp;num_refs=$num_refs\">
     177
    161178        <a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;xls=1&csv=1;&amp;pag=$pag$curref\">
     179
    162180                <img class=\"image\" src=\"modules/Elezioni/images/csv.gif\" alt=\"\" /></a>
    163181
     
    338356        if ($cur>1) {
    339357              $num_ref--;
    340                           $html .= "<a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;num_ref=$num_ref&amp;num_refs=$num_refs&amp;csv=$csv\">";
     358                          $html .= "<a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;num_ref=$num_ref&amp;num_refs=$num_refs&amp;csv=$csv&amp;xls=$xls&amp;pdf=$pdf\">";
    341359              $html .= "[ <b>"._PREV_MATCH."</b> ]</a>";
    342360        }
    343361        if ($cur<$num_refs) {
    344362                $cur++;       
    345                         $html .= "<a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;num_ref=$cur&amp;num_refs=$num_refs&amp;csv=$csv\">";
     363                        $html .= "<a href=\"modules.php?name=Elezioni&amp;op=come&amp;file=index&amp;id_cons_gen=$id_cons_gen&amp;id_comune=$id_comune&amp;info=votanti&amp;num_ref=$cur&amp;num_refs=$num_refs&amp;csv=$csv&amp;xls=$xls&amp;pdf=$pdf\">";
    346364                       
    347365            $html .= "[ <b>"._NEXT_MATCH."</b> ]</a>";
     
    365383if($csv==1){
    366384      $data=date("d-m-y G:i");
    367       $html .="<br/><div><i>Stampato: $data</i></div>";
    368       $html .="<br/><i>Eleonline by l. apolito & r. gigli - www.eleonline.it</i>";             
     385      $html .="</div><br/><div style=\"margin:0 auto;text-align:center;\"><i>Stampato: $data</i>";
     386      $html .="<br/><i>Eleonline by l. apolito & r. gigli - www.eleonline.it</i></div>";               
    369387      //$html .= $html;
    370388     
Note: See TracChangeset for help on using the changeset viewer.