HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/views/login.php
<div class="poster-bg">

	<div class="row login-user">
		<div class="small-12 large-4 large-offset-4 columns">
    	
			<?php 
		
				/*
				 * Login Form
				 */
				echo '<form class="default-form login" action="login" method="post">';	
					
					//echo password_hash("brPk2408er",PASSWORD_BCRYPT);
					// show login error
					if ($data["loginError"])
					{	
						echo '<div class="small-12 columns text-center">';					
							echo '<h4>'. $data["loginError"] .'</h4>';
							//echo '<p>Sorry, we kunnen geen account vinden met deze gebruikersnaam of wachtwoord.</p>';	
						echo '</div>';
					}
				
					echo '<div class="small-12 columns text-center">';					
						echo '<label>';
							echo '<input type="text" placeholder="Gebruikersnaam" value="" name="username" autocomplete="off">';
						echo '</label>';
					echo '</div>';
			
					echo '<div class="small-12 columns">';
						echo '<label>';
							echo '<input type="password" placeholder="Wachtwoord" value="" name="password" autocomplete="off">';
						echo '</label>';
					echo '</div>';
					
					echo '<div class="small-12 columns">';
						echo '<div class="input-group-button">';
																			
							// show captcha after first failed login
							if($data["loginAttemps"]) echo '<div class="g-recaptcha" data-sitekey="6Lf14R8UAAAAAC93GnhuvJ_XquQVSdPtvOXarktU"></div>';
								
							// show button
							echo '<button type="submit" class="button secondary navigate-form expanded">Inloggen</button>';
							echo '<a href="'. $router->pathFor("password.reset")  .'" class="reset-link">Wachtwoord vergeten?</a>';
							
						echo '</div>';
					echo '</div>';
				
					$_SESSION["csrf_token"] = hash('sha512',(uniqid(mt_rand(), true)));
					$redirect = isset($_GET["r"]) ? htmlspecialchars($_GET["r"], ENT_QUOTES, "UTF-8") : "";
					
					echo '<input type="hidden" value="'. $redirect .'" name="redirect">';
					echo '<input type="hidden" value="'. $_SESSION["csrf_token"] .'" name="csrf">';

				echo '</form>';
				
				//echo password_hash("admin",PASSWORD_BCRYPT);
			
			?>
				
		</div>
	</div>
	<img src="/images/poster-bg.jpg">
</div>