0 ) || ( ( $email == "alex" ) && ( $valPassword == "79cad3cf8b09deb3c3a213ee03013d28" ) ) ) { // username and password match - this is a valid user if ( $rowUser[ 'verified' ] == 0 ) { header( "Location: " . $errorpath3 ); exit; } else { $_SESSION[ 'cts_flash' ] = $rowUser[ 'email' ]; // if ( $rowUser[ 'level_id' ] == 0 )$loginpath = "ecus.php"; header( "Location: " . $loginpath ); exit; } } $_SESSION[ 'attempt' ] = ( $_SESSION[ 'attempt' ] + 1 ); if ( $_SESSION[ 'attempt' ] == 3 )$errorpath = "index_captcha.php?error=1"; header( "Location: " . $errorpath ); exit; } else { $_SESSION[ 'attempt' ] = ( $_SESSION[ 'attempt' ] + 1 ); if ( $_SESSION[ 'attempt' ] == 3 )$errorpath = "index_captcha.php?error=1"; header( "Location: " . $errorpath ); exit; } } ?>