<?php
    include ("partes/imagenes.php"); 
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Registro | Prestify</title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body>

  <div class="login-container">
    <a href="Fullcode.php">
        <img src="<?php echo $posicion . $arreglo[0]['img']; ?>" alt="Logo prestify">
    </a>
    <h2>Crea tu cuenta</h2>
    <form action="registrar_usuario.php" method="POST">
      <div class="form-group">
        <label for="fullname">Nombre completo</label>
        <input type="text" name="fullname" id="fullname" placeholder="Ingresa tu nombre" required>
      </div>

      <div class="form-group">
        <label for="email">Correo electronico</label>
        <input type="email" name="email" id="email" placeholder="Ingresa tu correo" required>
      </div>

      <div class="form-group">
        <label for="password">Contraseña</label>
        <input type="password" name="password" id="password" placeholder="Crea una contraseña" required>
      </div>

      <div class="form-group">
        <label for="confirm">Confirmar contraseña</label>
        <input type="password" name="confirm" id="confirm" placeholder="Repite tu contraseña" required>
      </div>

      <button type="submit" class="login-button">Resgistrar</button>

      <div class="register-link">
        Ya tienes una cuenta? <a href="login.php">Inicia sesion</a>
      </div>
    </form>
  </div>

</body>
</html>
