Mam taki skrypt, formularz do wypełnienia, co zrobić, aby zajeresterowani userzy mogli być przeze mnie zatwierdzani?:/ Jakie pliki dodać? Bo to jest tylko czysty formularz
<?php
<b>.:Rejestarcja:.</b>
</td></tr></table>
<div style='padding: 3px;'>
<head>
<script type=text/javascript>
<!--
var ns6=document.getElementById&&!document.all;
var ie4=document.all;
var ns4=document.layers;
function pokaz(identyfikator){
if(ie4)
document.all[identyfikator].style.visibility=\"visible\";
if(ns6)
document.getElementById(identyfikator).style.visibility=\"visible\";
if(ns4)
document.layers[identyfikator].visibility=\"show\";
}
function ukryj(identyfikator){
if(ie4)
document.all[identyfikator].style.visibility=\"hidden\";
if(ns6)
document.getElementById(identyfikator).style.visibility=\"hidden\";
if(ns4)
document.layers[identyfikator].visibility=\"hide\";
}
//-->
</SCRIPT>
<script language=\"javascript\">
function checkCheckBox(f){
if (f.nazwa_rejestracja.value=='') {
alert('Wypełnij proszę pole 'login!');
return false;
}
if (f.haslo_rejestracja.value=='') {
alert('Wypełnij proszę pole 'hasło!');
return false;
}
if (f.miasto_rejestracja.value=='') {
alert('Wypełnij proszę pole 'miasto!');
return false;
}
if (f.haslo2_rejestracja.value=='') {
alert('Wypełnij proszę pole 'powtórz hasło!');
return false;
}
if (f.mail_rejestracja.value=='') {
alert('Wypełnij proszę pole 'E-mail!');
return false;
}
if (f.haslo_rejestracja.value!=f.haslo2_rejestracja.value) {
alert('Podane hasła nie pasuj± do siebie!');
return false;
}
else {
return true;
}
}
</script>
</head>
<form action=\"http://www.wysek.w.tkb.pl/index.php?dzial=rejestracja&co=rejestruj\" name=a000 onsubmit='return checkCheckBox(this)' method=post style='margin: 0; padding: 0'>
<font color=red><b>Konta graczy, którzy graj± na wiele kont będ± bezwzględnie usuwane!</b></font><br><br>
Login (max.15 znaków):<br><input type=text name=nazwa_rejestracja value=><br>
Hasło:<br><input type=password name=haslo_rejestracja value=><br>
Powtórz hasło:<br><input type=password name=haslo2_rejestracja value=><br>
E-mail:<br><input type=text name=mail_rejestracja value=><br>
Nazwa Miasta:<br><input type=text name=miasto_rejestracja value=><br>
Powiadamiania na E-mail:<br>
Tak:<input type=radio name=pow value=1 checked> Nie:<input type=radio name=pow value=0>
<br>
<input type=submit value='Rejestracja'>
</form><br><br><br><br>
</div><br>
?>