Witam. Chciałem przerobić sklep G[o]Q na dwa protokoły ale coś jest nie tam proszę o pomoc
<form action="" method="post"> <table> <tr> <td> </div> <div style="width:239px;min-height:110px; border: 1px solid rgba(103, 102, 101, 0.7);" id="rm2"> <div style="display:block;text-align:center;"><b>Wybierz typ CS:</b> <hr style="border:1px solid #333"> </div> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%"> <tbody><tr><td> <input type="radio" onclick="document.getElementById('ce').style.display = 'none';document.getElementById('a').style.display = 'block';" checked="checked" value="a" name="platforma">Non-Steam </td> <td> <input type="radio" onclick="document.getElementById('ce').style.display = 'block';document.getElementById('a').style.display = 'none';" value="ce" name="platforma">Steam (SID) </td> </tr></tbody></table> <div style="display: none;" id="ce"> <table> <tbody><tr> <td style="width: 200px"><span style="font-size:.8em">STEAM_<font color="red">*</font><font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="31" size="15" name="steam"></td> </tr> <tr> <td style="width: 200px"><span style="font-size:.8em">Nick<font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="31" size="15" name="nick"></td> </tr> <tr> <td style="width: 200px"><span style="font-size:.8em">Hasło<font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="20" size="15" name="haslo"></td> </tr> </tbody></table> </div> <div style="display: block;" id="a"> <table> <tbody><tr> <td style="width: 200px"><span style="font-size:.8em">Nick<font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="31" size="15" name="steam"></td> </tr> <tr> <td style="width: 200px"><span style="font-size:.8em">Powtórz Nick<font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="31" size="15" name="nick"></td> </tr> <tr> <td style="width: 200px"><span style="font-size:.8em">Hasło<font color="red">*</font>:</span></td> <td style="width: 100px"> <input type="text" id="poletxt" maxlength="20" size="15" name="haslo"></td> </tr> </tbody></table> </div> <td> <div style="width:239px;min-height:134px; border: 1px solid rgba(103, 102, 101, 0.7);" id="rm2"> <div style="display:block;text-align:center;"><b>Wybierz dane usługi:</b> <hr style="border:1px solid #333"> </div> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%"> </tr> <tr><td>Okres:</td><td><select name="opcja" style="width:120px;"> <?php for($i=0;$i<count($ceny);$i++){ echo '<option value="'.$wartosci[$i].'">'.$nazwy[$i].'</option>'; } ?> </select></td></tr> <tr><td>Server:</td> <td> <select name="server" style="width:120px;"> <?php for($i=0;$i<count($snazwy);$i++){ $wzor='/#/'; $zamiana=' '; $tmp=preg_replace($wzor,$zamiana,$snazwy[$i]); echo '<option value="'.$sid[$i].'">'.$tmp.'</option>'; } ?> </select> </td></tr> </table> <tr><td colspan="2"><input type="submit" name="go" value="dodaj"></td></tr> </form>
Na hasło działa ładnie ale na steam tak jakby nie były wypełnione pola.