Changeset 283 for trunk/client/modules/Elezioni
- Timestamp:
- Apr 21, 2019, 10:09:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/candidato.php
r265 r283 90 90 91 91 92 // Da verificare93 #Tolta, gestita globalmente in index.php94 /*95 if ($circo=="1"){ // circoscrizione96 echo "<form name=\"circoscrizione\" method=\"post\" action=\"modules.php\">";97 echo "<input type=\"hidden\" name=\"pagina\" value=\"modules.php?name=Elezioni&op=candi&id_cons_gen=$id_cons_gen&id_comune=$id_comune&id_cons=$id_cons&lettera=$ltr&ordine=$ordine&min=$min&offset=$offset&id_circ=\">$ltr";98 99 $res_sez = mysql_query("SELECT id_circ,descrizione,num_circ from ".$prefix."_ele_circoscrizione where id_cons=$id_cons",$dbi);100 echo "<table><tr><td class=\"bggray\">"._SCELTA_CIR.": <select name=\"id_circ\" onChange=\"top.location.href=this.form.pagina.value+this.form.id_circ.options[this.form.id_circ.selectedIndex].value;return false\">";101 while(list($id_rif,$descr_circ,$num_cir)=mysql_fetch_row($res_sez)) {102 if (!$id_circ) $id_circ=$id_rif;103 $sel = ($id_rif == $id_circ) ? "selected" : "";104 echo "<option value=\"$id_rif\" $sel>";105 for ($j=strlen($num_cir);$j<2;$j++) { echo " ";106 }107 echo $num_cir.") ".$descr_circ;108 }109 echo "</select>";110 111 112 113 114 115 116 echo "</form>";117 echo "</td></tr></table>";118 119 120 121 122 }123 124 */125 126 127 128 92 # conta il numero dei candidati 129 93 if ($circo=="1"){
Note:
See TracChangeset
for help on using the changeset viewer.