Documentos de Académico
Documentos de Profesional
Documentos de Cultura
INTRODUCCION
OBJETIVO
DIAGRAMA DE FLUJO
DIAGRAMA DE CLASES
AL USUARIO FINAL
INTRODUCCION
Este manual contiene toda la informacin sobre cmo utilizar una aplicacin de un
centro turstico, lleva una descripcin sobre las caractersticas fsicas y tcnicas de
cada elemento. Por ejemplo: el usuario, contrasea, seleccin de paquetes,
descripciones, costo, datos del cliente.
Dicha aplicacin se de desarrollo en HTML, PHP, java script y un gestor de base
de datos.
OBJETIVO
Proporcionar informacin eficaz sobre ligares tursticos y proporcionar al cliente
una cotizacin de acuerdo a sus elecciones
CODIFICACION DE PANTALLAS
GuardarDatos.php
<?php
$nom=$_POST['nombre'];
$tel=$_POST['telefono'];
$dir=$_POST['direccion'];
$numbolt=$_POST['numbol'];
$pagar=$_POST['pago'];
$id_c=$_POST['cliente'];
$id_v=$_POST['venta'];
if(isset($_POST['nombre']) && !empty($_POST['nombre']) &&
isset($_POST['telefono']) && !empty($_POST['telefono']) &&
isset($_POST['direccion']) && !empty($_POST['direccion']) &&
isset($_POST['numbol']) && !empty($_POST['numbol']) &&
isset($_POST['pago']) && !empty($_POST['pago']) )
{
$EnlaceBD=mysql_connect(localhost,root,2828483662) or die("No se conecto a
la BD");
mysql_select_db(turismo,$EnlaceBD) or die("No se puede seleccionar la
BD");
mysql_query("INSERT INTO clientes_boletos
VALUES('$id_c','$nom','$tel','$dir','$id_v','$numbolt','$pagar')");
echo"Datos Enviados Correctamente";
}else{
?>
Reporte.php
<?php
require("../FPDF/fpdf.php");
$pdf->Cell(25,8,'Numero de boletos',0);
$pdf->Cell(25,8,'Total a pagar',0);
$pdf->Ln(8);
$pdf->SetFont('courier','',8);
$item = 0;
while($clientes2 = mysql_fetch_array($clientes)){
$item = $item+1;
$pdf->Cell(15,8,$item,0);
$pdf->Cell(15,8,$clientes['id_cliente'],0);
$pdf->Cell(80,8,$clientes['nombre'],0);
$pdf->Cell(15,8,$clientes['telefono'],0);
$pdf->Cell(40,8,$clientes['direccion'],0);
$pdf->Cell(25,8,$clientes['cantidad'],0);
$pdf->Cell(25,8,$clientes['pago'],0);
$pdf->Ln(8);
$pdf->Output();
?>
Index.html
<html>
<head>
<title>
Entrada
</title>
<meta charset="utf-8">
</head>
<body background="Utilerias/12520.jpg">
<center><br><br><br><br><br>
INICIO DE SESION<br><br><br><br><br>
<form name="login">
<table border="0">
<tr>
<td>Nombre de Usuario:</td><td><input type="text"
name="userid"/></td>
</tr>
<tr>
<td>Contrasea:</td><td><input type="password" name="pswrd"/></td>
</tr>
<tr>
<td><input type="button" onclick="check(this.form)"
value="ENTRAR"/></td>
<td><input type="reset" value="CANCELAR"/></td>
</tr>
</table>
</form>
</center>
<script language="javascript">
function check(form)
{
Paquetes.html
<html>
<head>
<title>Centros Turisticos</title>
<meta charset="utf-8">
</head>
<body bgcolor="aqua">
<font face="castellar" color="blue" size=25>
<center>Centros Turisticos</center>
</font>
</td>
<td>
<img src="Utilerias/cancun.jpg" height="200" width="350">
<input type="checkbox" name="cancun"></td>
<td><center><p>ACAPULCO</p>
<P>CLAVE: 7CK7</P>
<P>DESCRIPCION</P>
<P><FONT face="arial" size="3">HOTEL 5 ESTRELLAS
HABITACION STANDARD / 2 ADULTOS 2 MENORES
5 NOCHES / 6 DAS,
TRASLADO TERRESTRE REDONDO (Apto.-Hotel-Apto.)
TOUR XCARET PLUS (2 PAX)
TULUM Y XEL-HA TODO INCLUIDO (2 PAX)
CHICHEN ITZA TODO INCLUIDO (2 PAX)
</P>
<P>PRECIO DEL BOLETO:$3000</P>
</td>
<tr><td>
<img src="Utilerias/velas-vallarta3.jpg" height="200" width="350">
<input type="checkbox" name="acapulco"></td>
<td><center><p>PUERTO VALLARTA</p>
<P>CLAVE: 2AD3</P>
<P>DESCRIPCION</P></font>
<P><FONT face="arial" size="3">4 * HOTEL LADO MAR
5 NOCHES / 6 DIAS
HABITACION STANDARD
TRASLADO APTO-HOTEL-APTO
XCARET transportacin entrada, guia y show de la noche
CHICHEN ITZA CLASICO transportacin, lunch, guia y entradas
</P>
<P>PRECIO DEL BOLETO:$3600</P>
</td>
<td>
<img src="Utilerias/PLAYA_DEL_CARMEN.jpg" height="200"
width="350">
<input type="checkbox" name="playadelcarmen"></td>
<td><center><p>PLAYA DEL CARMEN</p>
<P>CLAVE: 3HH4</P>
<P>DESCRIPCION</P></font>
<P><FONT face="arial" size="3">5 NOCHES / 6 DAS
HABITACIN TIPO ESTUDIO
refrigerador, comedor, cafetera, horno micro ondas, utensilios y quemadores
para guisar
TRASLADOS APTO-HTL-APTO
XCARET PLUS transportacin entrada, guia y show de la noche
PASEO A TULUM XEL-HA todo incluido alimentos y bebidas
PASEO ISLA MUJERES todo incluido alimentos, bebidas, snorkel y tour de la isla
en carritos de golf.
CHICHEN ITZA CLASICO trasportacin, luch, guia y entradas
</P>
<P>PRECIO DEL BOLETO:$4700</P>
</td>
<tr><td><img src="Utilerias/hola.jpeg" height="200" width="350">
<input type="checkbox" name="cabos"></td>
<td><center><p>LOS CABOS</p>
<P>CLAVE: 8JK5</P>
<P>DESCRIPCION</P>
<P>BOLETO</P></font>
<P><FONT face="arial" size="3">3 NOCHES / 4 DAS
TRASLADOS APTO-HTL-APTO
PASEO ISLA MUJERES todo incluido coctail de bienvenida abordo, bar abierto y
buffet
</P>
<P>PRECIO DEL BOLETO:$2600</P>
</td>
<td><center><a href="datos.html."><input type="button"
value="Siguiente"</a></center>
</td>
</font>
</BODY>
</html>
Datos.html
<html>
<head>
<title>
INGRESO DE DATOS
</title>
<meta charset="utf-8">
<script>
function calculadora(operacion){
var costo= document.calc.costo.value
var numbol= document.calc.numbol.value
var result= eval(costo+operacion+numbol)
document.calc.pago.value=result
}
</script>
</head>
<body background="Utilerias/12567.jpg">
<font size="6" face="book antigua">
<center>Ingreso de Datos</center>
</font><p><p><br><br><p>
<form name="calc" method="post"
action="ArchivosPHP/GuardarDatos.php">
<center>
<table border="0">
<tr>
<td>Nombre:</td><td><input type="text" size="30"
name="nombre" id="textfield"></td>
</tr>
<tr>
<td>Telefono:</td><td><input type="text" size="10"
name="telefono" id="textfield1"></tdZ
</tr>
<tr>
<td>Direccin:</td><td><input type="text" size="30"
name="direccion" id="textfield2"></td>
</tr>
<tr>
<td>Costo del Paquete:</td><td><input type="text" size="10"
name="costo" id="textfield5" value="0"></td>
</tr>
<tr>
<td>Nmero de Boletos:</td><td><input type="text" size="10"
name="numbol" id="textfield3" value="0"></td><td><input type="button"
value="=" onclick="calculadora('*')"></td>
</tr>
<tr>
<td>Total a Pagar</td><td><input type="text" size="20"
name="pago" id="textfield4"></td>
</tr>
</table><p>
<input type="submit" name="Guardar" id="enviar" value="Guardar">
</center>
</form>
</body>
</html>
DIAGRA DE FLUJO
DIAGRAMA DE CASOS DE USO
INICIO
PAQUETES
FORMULARIO
TICKET
INICIO
PAQUETES
FORMULARIO
TICKET
INICIO
ACAPULCO
NOMBRE:
USUARIO:
DIRECCION:
CONTRA:
TELEFONO:
ENTRAR
COSTO
PAQUETE:
NO
CANCUN
NUMERO DE
BOLETOS:
TOTAL A PAGAR:
CONTRA =
CONTRA
MARTIN
SANDOVAL
PUERTO
VALLARTA
NO
CALLE NIO
PERDIDO
NO
PLAYA DEL
NOCARMEN
S
I
$3500
2
7000
LOS CABOS
NO
SIGUIENTE
SI
SISTEMA
CLIENTE
DIAGRAMA DE CLASES
INICIO
USUARIO
CONTRASE
A
CANCUN
CLAVE
CLAVE
DESCRIPCION
DESCRIPCION
COSTO
COSTO
ACAPULCO
CLAVE
FORMULARIO
NOMBRE:
DESCRIPCION
COSTO
DIRECCION:
TELEFONO:
COSTO PAQUETE:
PUERTO VALLARTA
CLAVE DEL
PAQUETE:
CLAVE
NUMERO DE
BOLETOS:
DESCRIPCION
COSTO
TOTAL A PAGAR:
LOS CABOS
CLAVE
DESCRIPCION
CANCUN
ACAPULCO
PUERTO VALLARTA
LOS CABOS
PLAYA DEL CARMEN
COSTO