-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreationLoanConfirm.php
105 lines (89 loc) · 4.79 KB
/
CreationLoanConfirm.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles/styleForms.css">
<link rel="stylesheet" href="./styles/styleHeaderUL.css">
<link rel="stylesheet" href="./styles/styleAlert.css">
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<title>Prestamo</title>
</head>
<body>
<header class="header">
<div class="container-head logo-nav-container">
<a href="#" class="logo">DREAMBUCKS</a>
<div class="menu-icon">Menú</div>
<nav class="navigation">
<ul>
<li><a href="admin.php">Volver</a></li>
<li><a href="Register_U.php">Crear cuenta</a></li>
<li><a href="Credit_Recharge.php">Abonar saldo</a></li>
<li><a href="users_table.php">Administrar</a></li>
<li><a href="Logout.php">Cerrar sesión</a></li>
</ul>
</nav>
</div>
</header>
<main>
<?php
session_start();
if(!isset($_SESSION["id_A"])){
header("location:index.php");
}
?>
<form method="post" action="Process_Loan.php" class="form">
<h2 class="form-title">Ingrese datos del prestamo</h2>
<div class="form-container">
<div class="group">
<input class="form-input" type="text" name="name" pattern="[a-zA-Z0-9]+" maxlength="15" id="name" placeholder=" " required>
<label for="name" class="label">Nombre</label>
<span class="form-line"></span>
</div>
<div class="group">
<input class="form-input" type="password" name="password" maxlength="20" autocomplete="new-password" id="password" placeholder=" " required>
<label for="password" class="label">Contraseña</label>
<span class="form-line"></span>
</div>
<div class="group">
<input class="form-input" type="text" name="quantity" id="quantity" placeholder=" " required>
<label for="quantity" class="label">Cantidad</label>
<span class="form-line"></span>
</div>
<p>Lapsos</p>
<div class="group-radio">
<input class="radio" type="radio" name="lapses" id="lapses" value="3" required>
<label for="3"> 3 </label>
<input class="radio" type="radio" name="lapses" id="lapses" value="6" required>
<label for="6"> 6 </label>
<input class="radio" type="radio" name="lapses" id="lapses" value="12" required>
<label for="12"> 12 </label>
<input class="radio" type="radio" name="lapses" id="lapses" value="24" required>
<label for="24"> 24 </label>
</div>
<input class="form-submit" type="submit" value="Ingresar">
<div class="confirmation show">
<span class="fas fa-exclamation-circle"></span>
<span class="msg">Prestamo creado correctamente</span>
<span class="close-btn">
<span class="fas fa-times"></span>
</span>
</div>
</div>
</form>
</main>
<?php
require "footer.html"
?>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="./scriptHUL.js"></script>
<script>
$('.close-btn').click(function(){
$('.confirmation').addClass("hide");
$('.confirmation').removerClass("show");
});
</script>
</body>
</html>