lunes, 12 de marzo de 2018

base de datos


formato de prestamos


formulario de ventas vehiculos

<html>
<head><title>venta de vehiculos</title></head>
 <body>
<div align="center">
<table border="1" width="80%" align="center">
<tr align="center">
<td>
<span style="font-family: papyrus; font-size: 3em; color:#9f0025">
Venta de automoviles el buen motor</span><br>
<span style="font-family: luna bar; font-size: 1.5em; color:#ff003c">
Since 2018</span>
</td>
</tr>
<tr>
     <td>
<form action="pro_venta.php" method="post">
<table border="0" width="100%" align="center">
<tr>
<td align="right" colspan="2">
Fecha:
</td>
<td align="left" colspan="3">
<input type="date" name="fecha" required >
</td>
</tr>

<tr>
<td align="right" colspan="2">
Nombre:
</td>
<td align="left" colspan="3">
<input type="name" name="nombre" required >
</td>
</tr>

<tr>
<td align="right" valign="top" colspan="2">
Codigo:
</td>
<td align="left" colspan="3">
<input type="text" name="codigo" required >
</td>
</tr>

<tr bgcolor="#0096ff">
<th>modelo</th>
<th>marca </th>
<th>color </th>
<th>tipo  </th>
<th>precio</th>
</tr>

<tr>
<td><input type="text" name="modelo" required ></td>
<td>
<select name="marca" required>
<option value="">seleccione el modelo</option>
<option value="honda">honda</option>
<option value="porsche">Porsche</option>
<option value="mitsubishi">Mitsubishi</option>
<option value="toyota">Toyota</option>
<option value="chevrolet">Chevrolet</option>
<option value="mazda">Mazda</option>
</select>
</td>

<td>
<select name="color" required >
<option value="">seleccione el color</option>
<option value="rojo">rojo</option>
<option value="gris">gris</option>
<option value="azul">azul</option>
<option value="negro">negro</option>
<option value="amarillo">amarillo</option>
<option value="verde">verde</option>
</select>
</td>

<td>
<select name="tipo" required >
<option value="">seleccione el tipo</option>
<option value="4*4">4*4</option>
<option value="micro-bus">Micro-bus</option>
<option value="deportivo">Deportivo</option>
<option value="tuning">Tuning</option>
</select>
</td>

<td><input type="text" name="precio" required ></td>
</tr>

<tr align="center">
<td colspan="5"><input type="submit" value="concluir venta"></td>
</tr>


</table>
</form>
</td>
</tr>
</table>
</div>
 </body>
</html>

FORMULARIO HORIZONTAL

<html>
<head>
<title>formulario</title>
<meta charset="utf-8">
<style>

</style>
</head>
<body>
<form action="guardar.php" method="post">
<table border="1" align="center" width="600">
<tr>
<td colspan="4" align="center">
INSCRIPCIONES</td>
</tr>
<tr>
<td>NOMBRE</td>
<td>CARRERA</td>
<td>GRADO</td>
<td>FECHA</td>
</tr>
<tr>
<td><input type="text" name="nombre"></input></td>
<td><select type="text" name="carrera">
<option>BACO</option>
<option>PAE</option>
<option>MERCA</option>
<option>BAD</option>
<option>PCC</option>
</select>
</td>
<td>
<select type="text" name="grado">
<option>4TO</option>
<option>5TO</option>
<option>6TO</option>
</select>
</td>
<td>
<input type="date" name="fecha"></input>
</td>
</tr>
<tr>
<td colspan="4" align="center">
<button type="submit" value="enviar">REGISTRAR</button>
</td>
</tr>
</form>
</body>
</html>