-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVerCitas.php
More file actions
executable file
·117 lines (108 loc) · 4.38 KB
/
VerCitas.php
File metadata and controls
executable file
·117 lines (108 loc) · 4.38 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE HTML>
<html>
<head>
<title>CONSULTAS MEDICAS</title>
<meta name="description" content="website description" />
<meta name="keywords" content="website keywords, website keywords" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" media="screen,projection" type="text/css" href="css/estilos.css" />
<!-- modernizr enables HTML5 elements and feature detects -->
<script type="text/javascript" src="js/modernizr-1.5.min.js"></script>
</head>
<body>
<div id="main">
<header>
<div id="logo">
<div id="logo_text">
<!-- class="logo_colour", allows you to change the colour of the text -->
<h1><a href="index.html">CLINICA<span class="logo_colour">_ESPECIALIDADES_CHILPANCINGO</span></a></h1>
<h2>16 de Septiembre 24, Emiliano Zapata, 39050 Chilpancingo de Los Bravo, Guerrero</h2>
</div>
</div>
<nav>
<ul class="sf-menu" id="nav">
<li class="selected"><a href="index.html">Home</a></li>
<li><a href="Citas.php">CITAS</a></li>
<li><a href="#">NOSOTROS</a>
<ul>
<li><a href="Medicos.php">MEDICOS</a></li>
<li><a href="Especialidades.php">ESPECIALIDADES</a>
</li>
</ul>
</li>
</ul>
</nav>
</header>
<div id="site_content">
<ul id="images">
<li><img src="images/1.jpg" width="600" height="300" alt="seascape_one" /></li>
<li><img src="images/2.jpg" width="600" height="300" alt="seascape_two" /></li>
<li><img src="images/3.jpg" width="600" height="300" alt="seascape_three" /></li>
<li><img src="images/4.jpg" width="600" height="300" alt="seascape_four" /></li>
<li><img src="images/5.jpg" width="600" height="300" alt="seascape_five" /></li>
<li><img src="images/6.jpg" width="600" height="300" alt="seascape_seascape" /></li>
</ul>
<div id="sidebar_container">
</div>
<div class="content">
<h1 ><CENTER>BIENVENIDOS A CLINICA DE ESPECIALIDADES CHILPANCINGO</CENTER></h1>
<h3>NUESTRAS CITAS A LA FECHA</h3>
<?php
$conexion=mysql_connect("127.0.0.1","root","") or
die("Problemas en la conexion");
mysql_select_db("clinica",$conexion) or
die("Problemas en la selección de la base de datos");
$registros=mysql_query("select nombre_paciente, fecha_consulta, telefono, nombre_medico, consultorio, diagnostico
from consultas_medicas",$conexion) or
die("Problemas en el select:".mysql_error());
while ($reg=mysql_fetch_array($registros))
{
echo "NOMBRE DEL PACIENTE: ".$reg['nombre_paciente']."<br>";
echo "FECHA DE CONSULTA: ".$reg["fecha_consulta"]."<br>";
echo "TELEFONO DE PACIENTE: ".$reg["telefono"]."<br>";
echo "NOMBRE DEL MEDICO: ".$reg["nombre_medico"]."<br>";
echo "NO. DE COSULTORIO: ".$reg["consultorio"]."<br>";
echo "DIAGNOSTICO PREVIO: ".$reg["diagnostico"]."<br>";
echo "<br>";
echo "<hr>";
}
mysql_close($conexion);
?>
</div>
</div>
</div>
<p> </p>
<!-- javascript at the bottom for fast page loading -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.easing-sooper.js"></script>
<script type="text/javascript" src="js/jquery.sooperfish.js"></script>
<script type="text/javascript" src="js/jquery.kwicks-1.5.1.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#images').kwicks({
max : 600,
spacing : 2
});
$('ul.sf-menu').sooperfish();
});
</script>
<section id="wrap">
<footer>
<section id="acerca-de">
<article>
<hgroup><h3>Nuestro sitio</h3></hgroup>
<p>Gracias por utilizar nuestra pagina web :)
</p>
</article>
</section>
<section id="redes-s">
<div class="email"><a href="http://prodigy.msn.com/?ocid=iehp"></a></div>
<div class="twitter"><a href="https://twitter.com/"></a></div>
<div class="youtube"><a href="videos.php"></a></div>
<div class="facebook"><a href="https://www.facebook.com/"></a></div>
</section>
</footer>
</section>
</body>
</html>