51 |
// Add user |
// Add user |
52 |
if ( isset ($_POST["LOGIN"]) ) { |
if ( isset ($_POST["LOGIN"]) ) { |
53 |
$cn=DbConnect(); |
$cn=DbConnect(); |
54 |
$pass5=md5($PASS); |
$pass5=md5($_POST['PASS']); |
55 |
$Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass |
$Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass |
56 |
,use_usertype) |
,use_usertype) |
57 |
values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5', |
values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5', |