<div class="anketa-blok-odpovedi"> <form action="ankety.php" method="post"><input type="radio" name="hlas" value="82"> Určitě ano (59hl.)<br> <div class="anketa-blok-odp-cara"><div class="anketa-blok-odp-cara-hlasy" style="width: 79px;" title="59"> </div></div> <form action="ankety.php" method="post"><input type="radio" name="hlas" value="83"> Rozhodně ne (6hl.)<br> <div class="anketa-blok-odp-cara"><div class="anketa-blok-odp-cara-hlasy" style="width: 8px;" title="6"> </div></div> <form action="ankety.php" method="post"><input type="radio" name="hlas" value="84"> Ještě nevím (40hl.)<br> <div class="anketa-blok-odp-cara"><div class="anketa-blok-odp-cara-hlasy" style="width: 54px;" title="40"> </div></div> <br><center><input type="submit" value=" Hlasuj! " class="tl"><br> <input type="hidden" name="akce" value="hlasuj"> <input type="hidden" name="cil" value="index"> <input type="hidden" name="anketa" value="19"><div class="anketa-blok-z">Celkom hlasovalo: 105</div> <a href="./ankety.php">(archiv)</a></center> </form></div>
echo "<form action=\"ankety.php\" method=\"post\" class=\"komentar\">\n"; echo "<p class=\"anketa-std-otazka\">".$akt_pole_anketa['otazka']."</p>\n"; echo "<div align=\"left\"><div class=\"anketa-std-ram\">\n"; $checked_prvni_pol=0; while ($pole_data = phprs_sql_fetch_assoc($dotazodp)): $akt_procento=$jedno_proc*$pole_data["pocitadlo"]; echo "<div class=\"anketa-std-odpovedi\">"; if ($checked_prvni_pol==0): echo "<input type=\"radio\" name=\"hlas\" value=\"".$pole_data["ido"]."\"/> "; $checked_prvni_pol=1; else: echo "<input type=\"radio\" name=\"hlas\" value=\"".$pole_data["ido"]."\" /> "; endif; echo $pole_data["odpoved"]." <i>(".RS_AN_POCET_HLA.": ".$pole_data["pocitadlo"].")</i><br>\n"; echo "<img src=\"".$GLOBALS["adrobrlayoutu"]."line.png\" width=\"8\" height=\"10\" alt=\"\" />"; echo "<img src=\"".$GLOBALS["adrobrlayoutu"]."line.png\" width=".ceil(3*$akt_procento)." height=\"10\" alt=\"\" />"; echo "<img src=\"".$GLOBALS["adrobrlayoutu"]."line.png\" width=\"8\" height=\"10\" alt=\"\" /> (".Zo($akt_procento)." %)</div>\n"; endwhile; echo "</div></div>\n"; echo "<div align=\"center\" class=\"z\"><input type=\"submit\" value=\" ".RS_AN_TL_HLASUJ." \" class=\"tl\" /><br><br><strong>".RS_AN_CELKEM_HLA.": ".$celkem_hlasu."</strong></div>\n"; echo "<input type=\"hidden\" name=\"akce\" value=\"hlasuj\" /><input type=\"hidden\" name=\"anketa\" value=\"".$GLOBALS['anketa']."\" />\n"; echo "</form>\n";