jueves, 2 de febrero de 2017

PRODUCTOS ALMACEN


IdProductoNombreProductoProveedorCategoríaPrecioUnidadEXISTENCIASPEDIDOS
1Té DharamsalaExotic LiquidsBebidas Q                -  390
2Cerveza tibetana BarleyExotic LiquidsBebidas Q           19.001740
3Sirope de regalizExotic LiquidsCondimentos Q           10.001370
4Especias Cajun del chef AntonNew Orleans Cajun DelightsCondimentos Q           22.00530
5Mezcla Gumbo del chef AntonNew Orleans Cajun DelightsCondimentos Q           21.3500
6Mermelada de grosellas de la abuelaGrandma Kelly's HomesteadCondimentos Q           25.001200
7Peras secas orgánicas del tío BobGrandma Kelly's HomesteadFrutas/Verduras Q           30.00150
8Salsa de arándanos NorthwoodsGrandma Kelly's HomesteadCondimentos Q           40.0060
9Buey Mishi KobeTokyo TradersCarnes Q           97.00290
10Pez espadaTokyo TradersPescado/Marisco Q           31.00310
11Queso CabralesCooperativa de Quesos 'Las Cabras'Lácteos Q           21.002230
12Queso Manchego La PastoraCooperativa de Quesos 'Las Cabras'Lácteos Q           38.00860
13Algas KonbuMayumi'sPescado/Marisco Q             6.00240
14Cuajada de judíasMayumi'sFrutas/Verduras Q           23.25350
15Salsa de soja baja en sodioMayumi'sCondimentos Q           15.50390
16Postre de merengue PavlovaPavlova, Ltd.Repostería Q           17.45290
17Cordero Alice SpringsPavlova, Ltd.Carnes Q           39.0000
18Langostinos tigre CarnarvonPavlova, Ltd.Pescado/Marisco Q           62.50420
19Pastas de té de chocolateSpecialty Biscuits, Ltd.Repostería Q             9.20250
20Mermelada de Sir Rodney'sSpecialty Biscuits, Ltd.Repostería Q           81.00400
21Bollos de Sir Rodney'sSpecialty Biscuits, Ltd.Repostería Q           10.00340
22Pan de centeno crujiente estilo Gustaf'sPB Knäckebröd ABGranos/Cereales Q           21.001040
23Pan finoPB Knäckebröd ABGranos/Cereales Q             9.00610
24Refresco Guaraná FantásticaRefrescos Americanas LTDABebidas Q             4.50200
25Crema de chocolate y nueces NuNuCaHeli Süßwaren GmbH & Co. KGRepostería Q           14.00760
26Ositos de goma GumbärHeli Süßwaren GmbH & Co. KGRepostería Q           31.23150
27Chocolate SchoggiHeli Süßwaren GmbH & Co. KGRepostería Q           43.90490
28Col fermentada RösslePlutzer Lebensmittelgroßmärkte AGFrutas/Verduras Q           45.60260
29Salchicha ThüringerPlutzer Lebensmittelgroßmärkte AGCarnes Q         123.7900
30Arenque blanco del noroesteNord-Ost-Fisch Handelsgesellschaft mbHPescado/Marisco Q           25.89100
31Queso gorgonzola TelinoFormaggi Fortini s.r.l.Lácteos Q           12.50070
32Queso Mascarpone FabioliFormaggi Fortini s.r.l.Lácteos Q           32.00940
33Queso de cabraNorske MeierierLácteos Q             2.501120
34Cerveza SasquatchBigfoot BreweriesBebidas Q           14.001110
35Cerveza negra SteeleyeBigfoot BreweriesBebidas Q           18.00200
36Escabeche de arenqueSvensk Sjöföda ABPescado/Marisco Q           19.001120
37Salmón ahumado GravadSvensk Sjöföda ABPescado/Marisco Q           26.001150
38Vino Côte de BlayeAux joyeux ecclésiastiquesBebidas Q         263.50170
39Licor verde ChartreuseAux joyeux ecclésiastiquesBebidas Q           18.00690
40Carne de cangrejo de BostonNew England Seafood CanneryPescado/Marisco Q           18.401230
41Crema de almejas estilo Nueva InglaterraNew England Seafood CanneryPescado/Marisco Q             9.65850
42Tallarines de SingapurLeka TradingGranos/Cereales Q           14.00260
43Café de MalasiaLeka TradingBebidas Q           46.001710
44Azúcar negra MalaccaLeka TradingCondimentos Q           19.45270
45Arenque ahumadoLyngbysildPescado/Marisco Q             9.50570
46Arenque saladoLyngbysildPescado/Marisco Q           12.00950
47Galletas ZaanseZaanse SnoepfabriekRepostería Q             9.50360
48Chocolate holandésZaanse SnoepfabriekRepostería Q           12.751570
49RegalizKarkki OyRepostería Q           20.001060
50Chocolate blancoKarkki OyRepostería Q           16.25650
51Manzanas secas ManjimupG'day, MateFrutas/Verduras Q           53.00200
52Cereales para FiloG'day, MateGranos/Cereales Q             7.00380
53Empanada de carneG'day, MateCarnes Q           32.8000
54Empanada de cerdoMa MaisonCarnes Q             7.45210
55Paté chinoMa MaisonCarnes Q           24.001150
56Gnocchi de la abuela AliciaPasta Buttini s.r.l.Granos/Cereales Q           38.002110
57Raviolis AngeloPasta Buttini s.r.l.Granos/Cereales Q           19.50360
58Caracoles de BorgoñaEscargots NouveauxPescado/Marisco Q           13.25620
59Raclet de queso CourdavaultGai pâturageLácteos Q           55.00790
60Camembert PierrotGai pâturageLácteos Q           34.00190
61Sirope de arceForêts d'érablesCondimentos Q           28.501130
62Tarta de azúcarForêts d'érablesRepostería Q           49.30170
63Sandwich de vegetalesPavlova, Ltd.Condimentos Q           43.90240
64Bollos de pan de WimmerPlutzer Lebensmittelgroßmärkte AGGranos/Cereales Q           33.252280
65Salsa de pimiento picante de LuisianaNew Orleans Cajun DelightsCondimentos Q           21.05760
66Especias picantes de LuisianaNew Orleans Cajun DelightsCondimentos Q           17.004100
67Cerveza Laughing LumberjackBigfoot BreweriesBebidas Q           14.00520
68Barras de pan de EscociaSpecialty Biscuits, Ltd.Repostería Q           12.50610
69Queso GudbrandsdalsNorske MeierierLácteos Q           36.00260
70Cerveza OutbackPavlova, Ltd.Bebidas Q           15.001510
71Crema de queso FløtemysNorske MeierierLácteos Q           21.50260
72Queso Mozzarella GiovanniFormaggi Fortini s.r.l.Lácteos Q           34.80140
73Caviar rojoSvensk Sjöföda ABPescado/Marisco Q           15.001010
74Queso de soja LonglifeTokyo TradersFrutas/Verduras Q           10.00420
75Cerveza Klosterbier RhönbräuPlutzer Lebensmittelgroßmärkte AGBebidas Q             7.751250
76Licor CloudberryKarkki OyBebidas Q           18.00570
77Salsa verde original FrankfurterPlutzer Lebensmittelgroßmärkte AGCondimentos Q           13.00320

martes, 4 de octubre de 2016

formulario de control de ventas vehiculos

<html>
<head><title>venta de vehiculos</title></head>
 <body>
<div align="center">
<table border="0" 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 2016</span>
</td>
</tr>
<tr>
    <td>
<form action="pro_venta.php" method="post">
<table border="2" 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"><button type="submit" value="concluir venta">CONCLUIR VENTA</button></td>
</tr>


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

jueves, 22 de septiembre de 2016

pagina principal

<html>
<head>
<title>pagina heber</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/estilos.css">
</head>
<body>
<table align="center" border="0" width="900" bgcolor="gray" class="table1">

<tr>
<td>
<div id="menu">
<a href="inicio.html" target="marco"><img src="imagenes/inicio.png"></a>
<a href="vision.html" target="marco"><img src="imagenes/vision.png"></a>
<a href="vision.html" target="marco"><img src="imagenes/mision.png"></a>
</div>
</td>
</tr>
<tr>
<td>
<iframe name=marco width=100%
height=500 frameborder=0 src="mision.html">
</iframe>
</td>
</tr>
<tr>
<td>
pie de página: Autor Heber Rodriguez
</td>
</tr>
</table>
</body>
</html>

martes, 20 de septiembre de 2016

MOSTRAR Y GUARDAR

<!DOCTYPE html>
<html>
<head>
<title>

</title>
<meta charset="utf-8">
</head>
<body>
<form action="guardar.php" method=POST><!aca es donde se hace la acción de guardar por lo tando debe realizar un archivo de guarda.php->
<table border=2 width=400 align=center>
<tr>
<td>nombre</td>
<td> <input type="text" required name="nombre" size=44px placeholder="ingrese el nombre">  </td>
</tr>
<tr>
<td>grado</td>
<td> <input type="text" required name="grado" placeholder="ingrese el grado academico" > </td>
</tr>
<tr>
<td>edad</td>
<td> <input type="text" required name="edad" placeholder="ingrese la edad de la persona"></td>
</tr>

<tr>
<td colspan="2" align="center">
<a href="mostrar.php">MOSTRAR DATOS</a></td>
</tr>



<tr>
<td colspan=2 align="center">
<button type="submit" >GUARDAR</button>
</td>
</tr>
</table>
</form>
</body>
</html>
_________________________________________________________________________________
ARCHIVO GUARDAR.PHP


<?php
include("conexion.php");
$nombre= $_POST['nombre'];
$grado= $_POST['grado'];
$edad= $_POST['edad'];
$query="INSERT INTO alumnos(nombre,grado,edad)VALUES
('$nombre','$grado','$edad')";
$resultado= $conexion->query($query);


if($resultado){
echo "<script>alert('los datos fueron enviados
 exitosamente');
location.href='index.html'</script>";

}
else
{
echo"error al insertar dato";
}

?>
_____________________________________________________________________________
ARCHIVO MOSTRAR.PHP
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> tabla</title>
</head>
<body>
<center>
<center> <table border="1">
<thead>

<tr>
<th colspan="1"> <a href="index.html">nuevo</a></th><!--el href="index.html es para volver a
cargar el formulario principal por si deseo ingresar otro dato-->
<th colspan="5"> lista de alumnos</th>
</tr>
</thead>
<tbody><!--encabezado de una tabla-->
<tr>
<td> id </td> <!--variables que use en la base de datos-->
<td> nombre</td><!--variables que use en la base de datos-->
<td> grado </td><!--variables que use en la base de datos-->
<td> edad</td><!--variables que use en la base de datos-->

</tr>
<?php
include("conexion.php");
$query="SELECT * FROM alumnos ORDER BY 1";
$resultado=$conexion->query($query);
while($row=$resultado->fetch_assoc()){ //ciclo para llamar los datos//
?>
<tr>
<td><?php echo $row['id'];?></td> <!--son las variables que realice en la base de datos-->
<td><?php echo $row['nombre'];?></td><!--son las variables que realice en la base de datos-->
<td><?php echo $row['grado'];?></td><!--son las variables que realice en la base de datos-->
<td><?php echo $row['edad'];?></td><!--son las variables que realice en la base de datos-->

</tr>
<?php
}
?>
</tbody>
</table>
</center>
</body>
</html>

_______________________________________________________

archivo de conexion.php
<?
$conexion=new mysqli("localhost","root","123456","alumnoss");


?>




___________________________________________________________

CONSULTAR PHP

<!DOCTYPE html>
<html>
<head>
<title>guardar</title>
</head>
<body>
<center>

<?php
include("conexion.php");
$producto=$_POST['producto'];
$query="SELECT *FROM inventarios WHERE producto='$producto'";
$resultado=$conexion->query($query);
$row=$resultado->fetch_assoc();

?>







<CENTER><table border=2 width="200" align=center>
<tr>
<td>id</td>
<td> <input type="text"  name="id"  value="<?php echo $row['id'];?>"/> </td>
</tr>
<tr>
<td>producto</td>
<td> <input type="text" name="producto"  value="<?php echo $row['producto'];?>"/> </td>
</tr>
<tr>
<td>categoria</td>
<td> <input type="text"  name="categoria" value="<?php echo $row['categoria'];?>"/></td>
</tr>
<tr>
<td>fecha</td>
<td> <input type="date" name="fecha"  value="<?php echo $row['fecha'];?>"/></td>
</tr>
<tr>
<td>cantidad</td>
<td> <input type="text"  name="cantidad"  value="<?php echo $row['cantidad'];?>"/></td>
</tr>
<tr>
<td colspan=2 align="center">
<a href="index.html">INICIO</a>
</td>
</tr>
</table>

</CENTER>
</BODY>
</HTML>

martes, 9 de agosto de 2016

www.ccee.edu.uy/ensenian/catcomp/material/Clientes.xls
ENLACE PARA NUESTRA BASE DE DATOS

martes, 2 de agosto de 2016

BASE DE DATOS CLIENTES





NUMERO DE ORDEN
CLIENTE TIENDA 1 TIENDA 2 TIENDA 3 TIENDA 4 TIENDA 5
1001 Alcor Ltda.  Q  60,000.00  Q    6,000.00  Q  12,433.00  Q16,941.00  Q  52,000.00
1002 Aldebarán S.A.  Q  54,435.00  Q  42,821.00  Q    6,955.00  Q  4,659.00  Q  50,000.00
1003 Aldebarán S.A.  Q    5,717.00  Q    4,828.00  Q      500.00  Q     389.00  Q  25,000.00
1004 Algol Ltda.  Q  82,930.00  Q    9,521.00  Q  50,186.00  Q23,223.00  Q100,000.00
1005 Arturo S.A.  Q189,092.00  Q114,632.00  Q  42,473.00  Q31,987.00  Q200,000.00
1006 Betelgeuse S.A.  Q    5,228.00  Q    4,879.00  Q      349.00  Q           -    Q  50,000.00
1007 Cabra S.A.  Q  68,184.00  Q  64,743.00  Q    2,583.00  Q     858.00  Q100,000.00
1008 Cabrillas SRL  Q188,652.00  Q146,319.00  Q  31,128.00  Q11,205.00  Q200,000.00
1009 Canícula S.A.  Q147,266.00  Q  59,764.00  Q  54,240.00  Q33,262.00  Q200,000.00
1010 Capela S.A.  Q173,951.00  Q  56,847.00  Q117,104.00  Q           -    Q200,000.00
1011 Deneb Ltda.  Q  28,999.00  Q  25,812.00  Q    1,405.00  Q  1,782.00  Q  50,000.00
1012 Denébola SRL  Q185,704.00  Q143,332.00  Q  25,077.00  Q17,295.00  Q200,000.00
1013 Espiga Ltda.  Q  54,973.00  Q      621.00  Q  29,299.00  Q25,053.00  Q  50,000.00
1014 Formalhaut S.A.  Q170,217.00  Q100,853.00  Q  21,304.00  Q48,060.00  Q200,000.00
1015 Markab Ltda.  Q  21,274.00  Q  17,057.00  Q    2,363.00  Q  1,854.00  Q  25,000.00
1016 Menkar Ltda.  Q145,770.00  Q100,935.00  Q  15,926.00  Q28,909.00  Q200,000.00
1017 Mira Ceti S.A.  Q  86,577.00  Q  12,703.00  Q  31,188.00  Q42,686.00  Q  25,000.00
1018 Mirak S.A.  Q147,615.00  Q113,882.00  Q  13,628.00  Q20,105.00  Q200,000.00
1019 Mirfak S.A.  Q  49,561.00  Q  10,557.00  Q  31,404.00  Q  7,600.00  Q  50,000.00
1021 Perla S.A.  Q  42,716.00  Q  18,784.00  Q  12,267.00  Q11,665.00  Q  50,000.00
1022 Polar S.A.  Q207,082.00  Q  62,824.00  Q  49,854.00  Q82,263.00  Q200,000.00
1023 Pollux Ltda.  Q  51,929.00  Q  46,133.00  Q    4,673.00  Q  1,123.00  Q100,000.00
1024 Proción S.A.  Q  51,755.00  Q    3,606.00  Q  17,585.00  Q30,564.00  Q100,000.00
1025 Régulo S.A.  Q191,434.00  Q119,080.00  Q  23,877.00  Q48,477.00  Q200,000.00
1027 RR Lira Ltda.  Q  87,416.00  Q  55,800.00  Q  31,616.00  Q           -    Q100,000.00
1028 Rukbah S.A.  Q  15,207.00  Q    2,510.00  Q    4,423.00  Q  8,274.00  Q  50,000.00
1029 Scheat S.A.  Q113,138.00  Q  79,852.00  Q  20,083.00  Q13,203.00  Q200,000.00
1031 Sirio S.A.  Q  85,366.00  Q  28,018.00  Q  37,069.00  Q20,279.00  Q100,000.00
1032 Sirrah SRL  Q  62,422.00  Q  31,165.00  Q    9,764.00  Q21,493.00  Q100,000.00
1033 Tolimán S.A.  Q  62,077.00  Q  16,137.00  Q  45,940.00  Q           -    Q100,000.00
1035 Vega Ltda.  Q147,271.00  Q  97,336.00  Q  32,410.00  Q17,525.00  Q200,000.00
1063 Schédir Ltda.  Q  44,304.00  Q    6,235.00  Q  19,603.00  Q18,466.00  Q  50,000.00
1086 Rigel S.A.  Q  58,006.00  Q  45,989.00  Q    4,764.00  Q  7,253.00  Q100,000.00
1104 Mizar S.A.  Q  14,881.00  Q  11,448.00  Q    1,108.00  Q  2,325.00  Q  25,000.00
1106 Cástor S.A.  Q  45,567.00  Q  26,749.00  Q    6,321.00  Q12,497.00  Q  50,000.00
1109 Trapecio SRL  Q146,178.00  Q  68,804.00  Q  28,973.00  Q48,401.00  Q100,000.00