-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrearAnuncio.php
9 lines (9 loc) · 2.12 KB
/
crearAnuncio.php
1
2
3
4
5
6
7
8
9
<?php
echo "<form action=\"nuevoAnuncio.php\" method=\"POST\" enctype=\"multipart/form-data\"><div style=\"float:left;width:50%;\"><p>Imagen del Producto</p><input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"700000\" /><p><input type=\"file\" name=\"imagen1\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p>
<br /><p><input type=\"file\" name=\"imagen2\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p><br /><p><input type=\"file\" name=\"imagen3\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p><br /><br /><br /><br /><p>Categoria</p><p><select name=\"categoria\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\">";
include 'categoria.php';
echo "</select></p><br /><p>Condicion</p><p><select name=\"condicion\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\"><option value=\"Nuevo\">Nuevo</option><option value=\"Bueno\">Bueno</option><option value=\"Regular\">Regular</option><option value=\"Malo\">Malo</option></select></p></div>
<div style=\"float:left;width:50%;\"><p>Nombre del Producto</p><p><input type=\"text\" name=\"producto\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p><br /><p>Descripccion</p><p><textarea name=\"descripccion\" rows=\"3\" style=\"width:90%;background:WhiteSmoke;border:0;color:BLACK\"></textarea></p>
<br /><p>Precio \"En Quetzales\"</p><p><input type=\"number\" name=\"precio\" step=\"any\" min=\"0\" value=\"0.00\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p><br /><p>Cantidad \"Numero de unidades\"</p><p><input type=\"number\" name=\"cantidad\" min=\"1\" value=\"1\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p>
<br /><p>Fecha de expiracion</p><p><input type=\"date\" name=\"fecha\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p><br /><input type=\"hidden\" name=\"prioridad\" value=\"0\" /><br /><br /><p><input type=\"submit\" style=\"width:90%;height:25px;background:WhiteSmoke;border:0;color:BLACK\" /></p></div></form>";
?>