Commit | Line | Data |
---|---|---|
bc13d5d6 H |
1 | |
2 | function showForm($login='',$email='',$web='',$info='') { | |
3 | include("./inc/form.inc"); | |
4 | $form=new HTML_Form($PHP_SELF,"POST","","multipart/form-data",true); | |
5 | $form->addText("login","Prihlasovacie meno:",$login); | |
6 | $form->addPassword("password1","Heslo:","",10); | |
7 | $form->addPassword("password2","Heslo pre overenie:","",10); | |
8 | $form->addText("email:","Emailova adresa",$email); | |
9 | $form->addText("web","Stranka:",$web); | |
10 | $form->addSelect("skin","Skin:",$kyberia->listSkinArray()); | |
11 | $form->addFile("image","Obrazok:"); | |
12 | $form->addTextarea("info","Dodatocne informacie",$info); | |
13 | $form->addSubmit("submit","Zaregistruj sa!",""); | |
14 | $form->addHidden("sent","ok"); | |
15 | $form->display(); | |
16 | ||
17 | } | |
18 |