Tu je kod zo stranky:
</script><form action="index.php" method="post" name="adminForm">
<div style="width:90%;"><div style="padding:5px;text-align:center;"><strong>(* = Požadováno)</strong></div><fieldset>
<legend class="sectiontableheader">Osobní data</legend>
<div id="vm_text_div" class="formLabel "><label for="vm_text_field">Příjmení</label><strong>* </strong> </div>
<div class="formField" id="vm_text_input">
<input type="text" id="vm_text_field" name="vm_text" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_jmno_div" class="formLabel "><label for="vm_jmno_field">Jméno</label><strong>* </strong> </div>
<div class="formField" id="vm_jmno_input">
<input type="text" id="vm_jmno_field" name="vm_jmno" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_ulice_div" class="formLabel "><label for="vm_ulice_field">Ulice</label><strong>* </strong> </div>
<div class="formField" id="vm_ulice_input">
<input type="text" id="vm_ulice_field" name="vm_ulice" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_mesto_div" class="formLabel "><label for="vm_mesto_field">Město</label><strong>* </strong> </div>
<div class="formField" id="vm_mesto_input">
<input type="text" id="vm_mesto_field" name="vm_mesto" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_psc_div" class="formLabel "><label for="vm_psc_field">PSČ</label><strong>* </strong> </div>
<div class="formField" id="vm_psc_input">
<input type="text" id="vm_psc_field" name="vm_psc" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_telefon_div" class="formLabel "><label for="vm_telefon_field">Telefon</label><strong>* </strong> </div>
<div class="formField" id="vm_telefon_input">
<input type="text" id="vm_telefon_field" name="vm_telefon" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="email_div" class="formLabel "><label for="email_field">Váš e-mail</label><strong>* </strong> </div>
<div class="formField" id="email_input">
<input type="text" id="email_field" name="email" size="30" value="" class="inputbox" maxlength="100" />
<br /></div>
<br style="clear:both;" /><input type="hidden" id="register_account" name="register_account" value="1" /><div id="username_div" class="formLabel "><label for="username_field">Uživatelské jméno</label><strong>* </strong> </div>
<div class="formField" id="username_input">
<input type="text" id="username_field" name="username" size="30" value="" class="inputbox" maxlength="25" />
<br /></div>
<br style="clear:both;" /><div id="password_div" class="formLabel "><label for="password_field">Heslo</label><strong>* </strong> </div>
<div class="formField" id="password_input">
<input type="password" id="password_field" name="password" size="30" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="password2_div" class="formLabel "><label for="password2_field">Potvrdit heslo</label><strong>* </strong> </div>
<div class="formField" id="password2_input">
<input type="password" id="password2_field" name="password2" size="30" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_student_div" class="formLabel "><label for="vm_student_field">Student</label> </div>
<div class="formField" id="vm_student_input">
<input type="checkbox" name="vm_student" id="vm_student_field" value="1" /><br /></div>
<br style="clear:both;" /><div id="vm_vyberteskolu_div" class="formLabel "><label for="vm_vyberteskolu_field">Vyberte prosím školu</label> </div>
<div class="formField" id="vm_vyberteskolu_input">
<select name="vm_vyberteskolu[]" id="vm_vyberteskolu" class="inputbox" size="0" >
<option value="">Vybrat</option>
<option value="1">CVUT</option>
<option value="2">Fakulta stavební FSv</option>
<option value="2">Fakulta architektúry FA</option>
<option value="2">Fakulta strojní FS</option>
<option value="2">fakulta elektrotechnická FEL</option>
<option value="2">Fakulta informačních technologií FIT</option>
<option value="2">Ostatní fakulty</option>
<option value="1">VŠCHT</option>
<option value="2">Vysoká škola chemicko-technologická</option>
<option value="1">Jiná</option>
<option value="2">Jiná škola</option>
</select>
<br /></div>
<br style="clear:both;" /></fieldset>
<fieldset>
<legend class="sectiontableheader">Zaměstnanec VŠ</legend>
<div id="vm_skola_div" class="formLabel "><label for="vm_skola_field">Škola</label> </div>
<div class="formField" id="vm_skola_input">
<select name="vm_skola[]" id="vm_skola" class="inputbox" size="0" >
<option value="">Vybrat</option>
<option value="1">ČVUT</option>
<option value="2">VŠCHT</option>
<option value="3">Ostatní</option>
</select>
<br /></div>
<br style="clear:both;" /><div id="vm_fir_div" class="formLabel "><label for="vm_fir_field">Zastupuji firmu</label> </div>
<div class="formField" id="vm_fir_input">
<input type="checkbox" name="vm_fir" id="vm_fir_field" value="1" /><br /></div>
<br style="clear:both;" /><div id="vm_firmy_div" class="formLabel "><label for="vm_firmy_field">Firma</label> </div>
<div class="formField" id="vm_firmy_input">
<input type="text" id="vm_firmy_field" name="vm_firmy" size="0" value="" class="inputbox" maxlength="64" />
<br /></div>
<br style="clear:both;" /><div id="vm_uliceb_div" class="formLabel "><label for="vm_uliceb_field">Ulice</label> </div>
<div class="formField" id="vm_uliceb_input">
<input type="text" id="vm_uliceb_field" name="vm_uliceb" size="0" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_mestob_div" class="formLabel "><label for="vm_mestob_field">Město</label> </div>
<div class="formField" id="vm_mestob_input">
<input type="text" id="vm_mestob_field" name="vm_mestob" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_pscb_div" class="formLabel "><label for="vm_pscb_field">PSČ</label> </div>
<div class="formField" id="vm_pscb_input">
<input type="text" id="vm_pscb_field" name="vm_pscb" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_ico_div" class="formLabel "><label for="vm_ico_field">IČO</label> </div>
<div class="formField" id="vm_ico_input">
<input type="text" id="vm_ico_field" name="vm_ico" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_dic_div" class="formLabel "><label for="vm_dic_field">DIČ</label> </div>
<div class="formField" id="vm_dic_input">
<input type="text" id="vm_dic_field" name="vm_dic" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_telfax_div" class="formLabel "><label for="vm_telfax_field">Tel./Fax:</label> </div>
<div class="formField" id="vm_telfax_input">
<input type="text" id="vm_telfax_field" name="vm_telfax" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_mobil_div" class="formLabel "><label for="vm_mobil_field">Mobil</label> </div>
<div class="formField" id="vm_mobil_input">
<input type="text" id="vm_mobil_field" name="vm_mobil" size="30" value="" class="inputbox" />
<br /></div>
<br style="clear:both;" /><div id="vm_dodaci_div" class="formLabel "><label for="vm_dodaci_field">Dodací adresa</label> </div>
<div class="formField" id="vm_dodaci_input">
<input type="checkbox" name="vm_dodaci" id="vm_dodaci_field" value="1" /><br /></div>
<br style="clear:both;" /><div id="company_div" class="formLabel "><label for="company_field">Jméno/Firma</label> </div>
<div class="formField" id="company_input">
<input type="text" id="company_field" name="company" size="30" value="" class="inputbox" maxlength="64" />
<br /></div>
<br style="clear:both;" /><div id="address_1_div" class="formLabel "><label for="address_1_field">Ulice</label> </div>
<div class="formField" id="address_1_input">
<input type="text" id="address_1_field" name="address_1" size="30" value="" class="inputbox" maxlength="64" />
<br /></div>
<br style="clear:both;" /><div id="city_div" class="formLabel "><label for="city_field">Město</label> </div>
<div class="formField" id="city_input">
<input type="text" id="city_field" name="city" size="30" value="" class="inputbox" maxlength="32" />
<br /></div>
<br style="clear:both;" /><div id="zip_div" class="formLabel "><label for="zip_field">PSČ</label> </div>
<div class="formField" id="zip_input">
<input type="text" id="zip_field" name="zip" size="30" value="" class="inputbox" maxlength="32" />
<br /></div>
<br style="clear:both;" /><div id="phone_1_div" class="formLabel "><label for="phone_1_field">Telefón/Fax</label> </div>
<div class="formField" id="phone_1_input">
<input type="text" id="phone_1_field" name="phone_1" size="30" value="" class="inputbox" maxlength="32" />
<br /></div>
<br style="clear:both;" /><div id="phone_2_div" class="formLabel "><label for="phone_2_field">Mobil</label> </div>
<div class="formField" id="phone_2_input">
<input type="text" id="phone_2_field" name="phone_2" size="30" value="" class="inputbox" maxlength="32" />
<br /></div>
<br style="clear:both;" /></fieldset>
<fieldset>
<legend class="sectiontableheader">Potvrdit registraci</legend>
<div id="agreed_div" class="formLabel "><label for="agreed_field"><script type="text/javascript">//<![CDATA[
document.write('<label for="agreed_field">Souhlasím s obchodními podmínkami</label><a href="javascript:void window.open(\'/index2.php?option=com_virtuemart&page=shop.tos&pop=1\', \'win2\', \'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no\');">');
document.write(' (Obchodní podmínky)</a>');
//]]></script>
<noscript>
<label for="agreed_field">Souhlasím s obchodními podmínkami</label>
<a target="_blank" href="/index.php?option=com_virtuemart&page=shop.tos" title="Souhlasím s obchodními podmínkami">
(Obchodní podmínky)
</a></noscript></label><strong>* </strong> </div>
<div class="formField" id="agreed_input">
<input type="checkbox" id="agreed_field" name="agreed" value="1" class="inputbox" /><br /></div>
<br style="clear:both;" /><div id="vm_delimiterpoznamky_div" class="formLabel "><label for="vm_delimiterpoznamky_field">Poznámka</label> </div>
<div class="formField" id="vm_delimiterpoznamky_input">
<textarea name="vm_delimiterpoznamky" id="vm_delimiterpoznamky_field" cols="30" rows="10" >0</textarea><br /></div>
<br style="clear:both;" /></fieldset>
</div>
<div align="center"><input type="hidden" name="remember" value="yes" />
<input type="submit" value="Potvrdit registraci" class="button" onclick="return( submitregistration());" />
</div>
<input type="hidden" name="Itemid" value="11" />
<input type="hidden" name="gid" value="0" />
<input type="hidden" name="id" value="0" />
<input type="hidden" name="user_id" value="0" />
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="95cdc805c6201abf11191921032037b9" value="1" />
<input type="hidden" name="useractivation" value="1" />
<input type="hidden" name="func" value="shopperadd" />
<input type="hidden" name="page" value="checkout.index" />
</form>
<style>
#vmMainPage form div br {display:none;}
</style>
<script type="text/javascript">
document.getElementById('vm_fir_field').onclick = function(){
if (document.getElementById('vm_fir_field').checked)
{
document.getElementById("vm_firmy_field").style.display = "block";
document.getElementById("vm_firmy_div").style.display = "block";
document.getElementById("vm_uliceb_field").style.display = "block";
document.getElementById("vm_uliceb_div").style.display = "block";
document.getElementById("vm_mestob_field").style.display = "block";
document.getElementById("vm_mestob_div").style.display = "block";
document.getElementById("vm_pscb_field").style.display = "block";
document.getElementById("vm_pscb_div").style.display = "block";
document.getElementById("vm_ico_field").style.display = "block";
document.getElementById("vm_ico_div").style.display = "block";
document.getElementById("vm_dic_field").style.display = "block";
document.getElementById("vm_dic_div").style.display = "block";
document.getElementById("vm_telfax_field").style.display = "block";
document.getElementById("vm_telfax_div").style.display = "block";
document.getElementById("vm_mobil_field").style.display = "block";
document.getElementById("vm_mobil_div").style.display = "block";
}
else
{
document.getElementById("vm_firmy_field").style.display = "none";
document.getElementById("vm_firmy_div").style.display = "none";
document.getElementById("vm_uliceb_field").style.display = "none";
document.getElementById("vm_uliceb_div").style.display = "none";
document.getElementById("vm_mestob_field").style.display = "none";
document.getElementById("vm_mestob_div").style.display = "none";
document.getElementById("vm_pscb_field").style.display = "none";
document.getElementById("vm_pscb_div").style.display = "none";
document.getElementById("vm_ico_field").style.display = "none";
document.getElementById("vm_ico_div").style.display = "none";
document.getElementById("vm_dic_field").style.display = "none";
document.getElementById("vm_dic_div").style.display = "none";
document.getElementById("vm_telfax_field").style.display = "none";
document.getElementById("vm_telfax_div").style.display = "none";
document.getElementById("vm_mobil_field").style.display = "none";
document.getElementById("vm_mobil_div").style.display = "none";
}
}
</script>
<style>
#vm_firmy_field, #vm_firmy_div,#vm_uliceb_field, #vm_uliceb_div, #vm_mestob_field, #vm_mestob_div,#vm_pscb_field,
#vm_pscb_div,#vm_ico_field, #vm_ico_div, #vm_dic_field, #vm_dic_div, #vm_telfax_field, #vm_telfax_div, #vm_mobil_field,
#vm_mobil_div {display:none;};
</style>
<style>
#vmMainPage form div br {display:none;}
</style>
<script type="text/javascript">
document.getElementById('vm_dodaci_field').onclick = function(){
if (document.getElementById('vm_dodaci_field').checked)
{
document.getElementById("company_field").style.display = "block";
document.getElementById("company_div").style.display = "block";
document.getElementById("address_1_field").style.display = "block";
document.getElementById("address_1_div").style.display = "block";
document.getElementById("city_field").style.display = "block";
document.getElementById("city_div").style.display = "block";
document.getElementById("zip_field").style.display = "block";
document.getElementById("zip_div").style.display = "block";
document.getElementById("phone_1_field").style.display = "block";
document.getElementById("phone_1_div").style.display = "block";
document.getElementById("phone_2_field").style.display = "block";
document.getElementById("phone_2_div").style.display = "block";
}
else
{
document.getElementById("company_field").style.display = "none";
document.getElementById("company_div").style.display = "none";
document.getElementById("address_1_field").style.display = "none";
document.getElementById("address_1_div").style.display = "none";
document.getElementById("city_field").style.display = "none";
document.getElementById("city_div").style.display = "none";
document.getElementById("zip_field").style.display = "none";
document.getElementById("zip_div").style.display = "none";
document.getElementById("phone_1_field").style.display = "none";
document.getElementById("phone_1_div").style.display = "none";
document.getElementById("phone_2_field").style.display = "none";
document.getElementById("phone_2_div").style.display = "none";
}
}
</script>
<style>
#company_field, #company_div,#address_1_field, #address_1_div, #city_field, #city_div,#zip_field, #zip_div,
#phone_1_field, #phone_1_div, #phone_2_field, #phone_2_div {display:none;};
</style>
<style>
#vmMainPage form div br {display:none;}
</style>
<script type="text/javascript">
document.getElementById('vm_student_field').onclick = function(){
if (document.getElementById('vm_student_field').checked)
{
document.getElementById("vm_vyberteskolu_field").style.display = "block";
document.getElementById("vm_vyberteskolu_div").style.display = "block";
}
else
{
document.getElementById("vm_vyberteskolu_field").style.display = "none";
document.getElementById("vm_vyberteskolu_div").style.display = "none";
}
}
</script>
<style>
#vm_vyberteskolu_field, #vm_vyberteskolu_div {display:none;};
</style>
<div id="statusBox" style="text-align:center;display:none;visibility:hidden;"></div></div>
</div>
</div>
<div class="clear"></div>
</div>
Ten kod do CSS moze byt teda podla vyssie HTML
<style>
#vmMainPage form div br {display:none;}
</style>
Dakujem.
Inac ked tento kod pouzijem do php suboru register_form.php tak sa stahuje na polovicu bez neho sa nestahuje vobec riadok pod.