-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPracticas(borrador).php
More file actions
98 lines (96 loc) · 3.13 KB
/
Practicas(borrador).php
File metadata and controls
98 lines (96 loc) · 3.13 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link href="estilo.css" rel="stylesheet">
</head>
<body>
<header>
<h3>REGISTRO DEL NUEVO CLIENTE</h3>
<img src="banner_clientes.PNG" width="700" height="250"/>
</header>
<section>
<?php
include('conecta.php');
include('captura.php');
?>
<form method="POST" action="graba.php" enctype="multipart/form-data">
<table border="0" width="700" cellspacing="0" cellpadding="0">
<tr>
<td width="500"></td>
<td>CODIGO
<input type="text" name="txtCodigo"
value="<?php echo getCodigo(); ?>"
maxlength="5" size="50" readonly />
</td>
</tr>
<tr>
<td colspan="2">NOMBRES</td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="txtNombres" size="112"/>
</td>
</tr>
<tr>
<td>PATERNO</td>
<td>MATERNO</td>
</tr>
<tr>
<td><input type="text" name="txtPaterno" size="50"/>
</td>
<td><input type="text" name="txtMaterno" size="50"/>
</td>
</tr>
<tr>
<td colspan="2">DIRECCION</td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="txtDireccion" size="112"/>
</td>
</tr>
<tr>
<td>FONO</td>
<td>DISTRITO</td>
</tr>
<tr>
<td><input type="text" name="txtFono" size="50"/>
</td>
<td><select name="selDistrito">
<?php
$rs=mysql_query('CALL SP_DISTRITOS',$cn);
$n=mysql_num_rows($rs);
while($distritos = mysql_fetch_array($rs)){
echo "<option value='".$distritos[0]."'>"
.$distritos[1]."</option>";
}
?>
</select></td>
</tr>
<tr>
<td>CORREO ELECTRONICO</td>
<td></td>
</tr>
<tr>
<td colspan="2"><input type="text" name="txtCorreo"
size="112"/></td>
</tr>
<tr>
<td><input type="submit"
value="REGISTRAR" name="btnRegistrar" /></td>
<td><input type="file" name="filFoto" value="" /></td>
</tr>
</table>
</form>
</section>
<footer>
<h5>Todos los derechos reservados @2015</h5>
<h5>
<a href="clonado.php">LISTADO DE CLIENTES |</a>
<a href="Practicas(borrador).php">REGISTRO DE CLIENTES </a>
</h5>
</footer>
</body>
</html>