- Timestamp:
- Jun 9, 2011, 7:08:51 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_cons_comuni.php
r53 r122 150 150 // copia circoscrizione 151 151 $res=mysql_query("select * from ".$prefix."_ele_circoscrizione where id_cons='$id_consulta'", $dbi); 152 while (list($id,$idcirc,$num,$des)=mysql_fetch_row($res)){ 152 while (list($id,$idcirc,$num,$des2)=mysql_fetch_row($res)){ 153 $des=addslashes($des2); 153 154 $resconnew=mysql_query("select count(0) from ".$prefix."_ele_circoscrizione where id_cons='$id_cons2' and num_circ='$num'", $dbi); 154 155 list($contr_circ)=mysql_fetch_row($resconnew); … … 160 161 // copia sede 161 162 $res1=mysql_query("select * from ".$prefix."_ele_sede where id_cons='$id_consulta' and id_circ='$idcirc'", $dbi); 162 while(list($id1,$idsede1,$idcirc1,$ind,$tel,$tel2,$fax,$resp,$mappa2,$filemappa)=mysql_fetch_row($res1)){ 163 while(list($id1,$idsede1,$idcirc1,$ind2,$tel,$tel2,$fax,$resp,$mappa2,$filemappa2)=mysql_fetch_row($res1)){ 164 $filemappa=addslashes($filemappa2); 163 165 $mappa=addslashes($mappa2); 166 $ind=addslashes($ind2); 164 167 $ressednew=mysql_query("select count(0) from ".$prefix."_ele_sede where id_cons='$id_cons2' and indirizzo='$ind'", $dbi); 165 168 list($contr_sed)=mysql_fetch_row($ressednew); -
trunk/client/modules/Elezioni/votanti.php
r117 r122 152 152 // icone stampa e grafici 153 153 if ($csv!=1){ 154 if(isset($num_ref)) $curref="&num_ref=$num_ref"; else $curref=''; 154 155 if (!isset($html)) $html=''; 155 156 $html .= "<div> 156 157 <a href=\"modules.php?name=Elezioni&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&op=graf_votanti\"> 157 158 "._VER_GRAF." <img class=\"image\" src=\"modules/Elezioni/images/grafici.png\" alt=\"\" /></a> 158 <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 \">"._VER_STAMPA."159 <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." 159 160 <img class=\"image\" src=\"modules/Elezioni/images/printer.png\" alt=\"\" /></a> 160 <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 \">161 <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\"> 161 162 <img class=\"image\" src=\"modules/Elezioni/images/csv.gif\" alt=\"\" /></a> 162 163 163 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&pdf=1&csv=1;&pag=$pag \">164 <a href=\"modules.php?name=Elezioni&op=come&file=index&id_cons_gen=$id_cons_gen&id_comune=$id_comune&info=votanti&pdf=1&csv=1;&pag=$pag$curref\"> 164 165 <img class=\"image\" src=\"modules/Elezioni/images/pdf.gif\" alt=\"\" /></a> 165 166
Note:
See TracChangeset
for help on using the changeset viewer.