Changeset 126 for trunk/client
- Timestamp:
- Jun 9, 2011, 10:45:49 PM (13 years ago)
- Location:
- trunk/client/modules/Elezioni
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici.php
r105 r126 310 310 if ($genere==0) echo " "._GRUPPO." $num_gruppo"; 311 311 312 $logo=verificasimbolo(); // carica_logo da funzioni.php312 //$logo=verificasimbolo(); // carica_logo da funzioni.php 313 313 314 314 if ((!$csv && $flash!=1 || $anim!=1) and ($tour!=1)){ # rotazione x tour marzo 2009 a.l. -
trunk/client/modules/Elezioni/gruppo.php
r123 r126 38 38 if (isset($param['orienta'])) get_magic_quotes_gpc() ? $orienta=$param['orienta']:$orienta=addslashes($param['orienta']); else $orienta=''; 39 39 if (isset($param['datipdf'])) get_magic_quotes_gpc() ? $datipdf=$param['datipdf']:$datipdf=addslashes($param['datipdf']); else $datipdf=''; 40 if (isset($param['formato'])) get_magic_quotes_gpc() ? $formato=$param['formato']:$formato=addslashes($param['formato']); else $formato=''; 40 41 if (isset($param['formato'])) get_magic_quotes_gpc() ? $formato=$param['formato']:$formato=addslashes($param['formato']); else $formato=''; 41 42 # anti-xss nov. 2009 -
trunk/client/modules/Elezioni/votanti.php
r122 r126 56 56 if (isset($param['num_refs'])) $num_refs=$param['num_refs']; 57 57 $bgcolor2='#cacaca'; 58 59 60 if (!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 58 68 //************************************************************************** 59 69 // ELE … … 157 167 <a href=\"modules.php?name=Elezioni&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&op=graf_votanti\"> 158 168 "._VER_GRAF." <img class=\"image\" src=\"modules/Elezioni/images/grafici.png\" alt=\"\" /></a> 169 170 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&csv=1&pag=$pag&num_ref=$num_ref&num_refs=$num_refs\">"._VER_STAMPA." 171 159 172 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&csv=1&pag=$pag$curref\">"._VER_STAMPA." 173 160 174 <img class=\"image\" src=\"modules/Elezioni/images/printer.png\" alt=\"\" /></a> 175 176 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&xls=1&csv=1;&pag=$pag&num_ref=$num_ref&num_refs=$num_refs\"> 177 161 178 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&xls=1&csv=1;&pag=$pag$curref\"> 179 162 180 <img class=\"image\" src=\"modules/Elezioni/images/csv.gif\" alt=\"\" /></a> 163 181 … … 338 356 if ($cur>1) { 339 357 $num_ref--; 340 $html .= "<a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&num_ref=$num_ref&num_refs=$num_refs&csv=$csv \">";358 $html .= "<a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&num_ref=$num_ref&num_refs=$num_refs&csv=$csv&xls=$xls&pdf=$pdf\">"; 341 359 $html .= "[ <b>"._PREV_MATCH."</b> ]</a>"; 342 360 } 343 361 if ($cur<$num_refs) { 344 362 $cur++; 345 $html .= "<a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&num_ref=$cur&num_refs=$num_refs&csv=$csv \">";363 $html .= "<a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&num_ref=$cur&num_refs=$num_refs&csv=$csv&xls=$xls&pdf=$pdf\">"; 346 364 347 365 $html .= "[ <b>"._NEXT_MATCH."</b> ]</a>"; … … 365 383 if($csv==1){ 366 384 $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>"; 369 387 //$html .= $html; 370 388
Note:
See TracChangeset
for help on using the changeset viewer.