"; } $title="Registration"; $breadcrumb = array( "last" => $title ); if( isset($_POST["firstname"]) ) $fname = $_POST["firstname"]; if( isset($_POST["lastname"]) ) $lname = $_POST["lastname"]; if( isset($_POST["email"]) ) $mail = $_POST["email"]; if( isset($_POST["pass"]) ) $paswd = $_POST["pass"]; if( isset($_POST["rpass"]) ) $paswd2= $_POST["rpass"]; if( isset($_POST["subscribe"]) ) $subscrb=$_POST["subscribe"]; if( isset($_POST["type"]) ) $r_type= $_POST["type"]; $pwd_miss = false; $mail_exists = false; $success = false; $empt_fld = false; $pwd_too_smoll = false; $mail_valid = true; if( $r_type == 1 ) { if( !($fname != '' && $lname != '' && $mail != '' && $paswd != '' && $paswd2 != '') ) { $empt_fld = true; } if( $mail != '' && !filter_var($mail, FILTER_VALIDATE_EMAIL) ) { $mail_valid = false; } if( $mail != '' && $mail_valid && db_checkIfUsrExists( $mail ) ) { $mail_exists = true; } if( strlen( $paswd ) < 6 ) { $pwd_too_smoll = true; } if( $paswd != $paswd2 ) { $pwd_miss = true; } if( !$empt_fld && $mail_valid && !$mail_exists && !$pwd_too_smoll && !$pwd_miss ) { db_addNewUsr( $fname, $lname, $mail, $paswd, ($subscrb == "1")?1:0 ); $success = true; } } include( $osc_include_dir."/osc_header.html" ); ?>

You were successfully registred!

Please check your email to activate registration.
Don't forget to check spam folder.

'/>
">Please enter your first name.
">Please enter your last name.
"> forgot?"; } } ?>
">
Strength
  • Use a mix of at least 6 letters (A-Z, a-z), numbers or special characters.
  • Avoid using passwords you use for other sites.
">
name="subscribe">
By clicking "Submit" I agree that: