-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulario.php
96 lines (77 loc) · 4.8 KB
/
formulario.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
<?php session_start(); ?>
<?php require("mantenercookie.inc"); ?>
<?php require("redirec.inc"); ?>
<?php require("cabecera.inc"); ?>
<?php require("menu.inc"); ?>
<!-- El cuerpo -->
<body>
<?php require("logo.inc"); ?>
<nav id="menuPrincipal">
<ul>
<li><a href="<?php echo $menu;?>"><span> </span><span>FlicktriX</span></a></li>
<li><a href="<?php echo $menu;?>"><span> </span><span>FlicktriX</span></a></li>
</ul>
</nav>
<form id="formPedirAlbum" action="respuestaalbum.php" method="POST">
<br>
<label>Nombre: <input type="text" name="nombre" id="nombre" placeholder="Pon tu nombre y apellidos" autofocus="" required="" maxlength="200" ></label><br><br></input>
<label>Título Álbum: <input type="text" name="titalbum" id="titalbum" placeholder="Para la cubierta del álbum" required="" maxlength="200" ></label><br><br></input>
<label>Texto adicional: <textarea name="comentario" rows="5" cols="40" placeholder="Dedicatoria o descripción del álbum" maxlength="4000"></textarea></label><br><br></input>
<label>Email: <input type="email" name="email" placeholder="Pon tu email" required="" maxlength="200"></label><br><br></input>
<label>Dirección envío: <input type="text" name="direnvio" id="nombre" placeholder="Calle, número, piso, puerta, código postal, localidad, provincia, país" required="" maxlength="200" ></label></input>
<label>Código postal: <input type="number" name="cp" id="cp" placeholder="Código postal" required="" maxlength="10"></label><br><br></input>
<label>País: <input type="text" name="pais" id="pais" placeholder="País" required="" maxlength="200"></label></input>
<label>Provincia: <input type="text" name="provincia" id="provincia" placeholder="Provincia" required="" maxlength="200"></label></input>
<label>Localidad: <input type="text" name="localidad" id="localidad" placeholder="Localidad" required="" maxlength="200"></label><br><br></input>
<label>Color de la portada: <input type="color" name="color" id="color" required="" ></label><br><br></input>
<label>Número de copias: <input type="number" name="copias" id="copias" required=""min="1" value="1" ></label><br><br></input>
<label>Resolución de las fotos: <input type="number" name="resolucion" id="resolucion"min="150" value="150"max="900" ></label><br><br></input>
<label for="album" required="">Álbum de PI:</label>
<select name="selectalb"id="album">
<option value="value1">xxx</option>
<option value="value2" selected>xxx</option>
<option value="value3">xxx</option>
</select><br><br>
<label>Fecha de recepción: <input type="date" name="frec" id="fecharec" required="" min="<?php echo date('Y-n-j'); ?>" value="<?php echo date('Y-n-j'); ?>" ></label> Fecha aproximada de recepción <br><br></input>
¿Impresión a color?
<label><input type="radio" name="c" value="A Color"> Color</label></input>
<label><input type="radio" name="c" value="Blanco y negro"> Blanco y negro</label></input>
<br><br>
<p id="bot"><input name="submit" type="submit" id="boton" value="Solicitar" class="boton"/></input></p>
</form>
<table id="tablaTarifas">
<caption>Tarifas</caption>
<tr>
<th>Concepto</th>
<th>Tarifa</th>
</tr>
<tr>
<th>< 5 páginas</th>
<th>0.10€ por pág.</th>
</tr>
<tr>
<th>entre 5 y 10 págs.</th>
<th>0.08€ por pág.</th>
</tr>
<tr>
<th>> 11 páginas</th>
<th>0.07€ por pág.</th>
</tr>
<tr>
<th>Blanco y negro</th>
<th>0€</th>
</tr>
<tr>
<th>Color</th>
<th>0.05€ por foto</th>
</tr>
<tr>
<th>Resolució > 300 dpi</th>
<th>0.02€ por foto</th>
</tr>
</table>
<?php require("pie.inc"); ?>
<p>
</p>
</body>
</html>