Changeset 126 for trunk/client/modules/Elezioni/votanti.php
- Timestamp:
- Jun 9, 2011, 10:45:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.