<!-- Script PHP/MYSQL of management of classifieds ads developed by Script PAG. Script PAG all rights reserved. Use under license. http://www.script-pag.com -->
<div class="container-100">
	<div class="container-100-child forms connexion-form flex-container">
		
		<div>
			<h1><?php echo $info_page; ?></h1>
			<form method="post" action="acc_connexion.php<?php if(!empty($url_back)) echo $url_back; ?>">
			
				<div>
					
					<?php if(isset($error) && $error == 1) : ?>
					<p class="p-error"><?php echo $language['account_con_error2']; ?></p>
					<?php elseif(isset($error) && $error == 2) : ?>
					<p class="p-error"><?php echo $language['account_con_error3']; ?></p>
					<?php elseif(isset($error) && $error == 3) : ?>
					<p class="p-error"><?php echo $language['account_con_error1']; ?></p>
					<?php elseif(isset($error) && $error == 4) : ?>
					<p class="p-error"><?php echo $language['account_con_error4']; ?></p>
					<?php endif; ?>
					
					<?php if($param_api_fb['active_fb'] == '1' && is_allowed_cookie('facebook_connect')) : ?>
					<a class="button-facebook-connect" href="<?php echo htmlspecialchars($loginUrl); ?>"><?php echo $language['account_con_fb']; ?></a>
					<?php endif; ?>
		
					<input type="text" id="email_con" name="email_con" placeholder="<?php echo $language['account_con_email']; ?>" value="<?php if (!empty($_POST['email_con'])) echo htmlspecialchars($_POST['email_con']); ?>" />
					<input type="password" id="password" name="password" placeholder="<?php echo $language['account_con_pass']; ?>" value="<?php if (!empty($_POST['password'])) echo htmlspecialchars($_POST['password']); ?>" />
					<a href="acc_password.php" class="forgot-password-link "><?php echo $language['page_enter_password_forgot']; ?></a>
				
				</div>
	
				<input type="submit" value="<?php echo $language['link_connection']; ?>">
			
			</form>
		</div>
		
		<div>
			<h3><?php echo $language['account_con_not']; ?></h3>
			
			<?php if($param_gen['active_acc'] != 4) : ?>
			<a class="button" href="acc_created.php?type=1"><?php echo $language['account_con_not1']; ?></a>
			<?php endif; ?>
			
			<?php if($param_gen['active_acc'] <= 4) : ?>
			<a class="button" href="acc_created.php?type=2"><?php echo $language['account_con_not2']; ?></a>
			<?php endif; ?>
		</div>

	</div>
</div>