connect_db(); $New = $Login_Process->Register($_POST, $_POST['process']); ?>
Forgot Password? Register Now!


Sign Up






"; elseif(empty($fullname) || empty($password) || empty($cnfpassword)) $errmsg .= "All fields are required
"; elseif($password != $cnfpassword) $errmsg .= "Passwords do not match."; if(empty($errmsg)) { $sql="insert into users (email,passwd,fullname,joindate) values ('$email','".md5($password)."','$fullname',NOW())"; firesql($sql,''); $_SESSION["email"]=$email; $_SESSION["fullname"]=$fullname; go2("index.php"); } else { go2("signup.php?errmsg=$errmsg"); } } elseif($act=="login") { $email=getparams("email"); $password=getparams("password"); $sql="select passwd from users where email='$email'"; $res=firesql($sql,"get"); if($res->passwd == md5($password)) { $_SESSION["email"]=$email; $_SESSION["fullname"]=$fullname; go2("index.php"); } else { go2("signup.php"); } } }*/ ?>