2020-06-18 14:48:12 +02:00
|
|
|
<?php session_start(); ?>
|
2020-06-18 13:25:00 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<title>MDIS</title>
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<nav>
|
|
|
|
<ul class="navbar-left">
|
|
|
|
<li class="list"><a href="index.php">Página principal</a></li>
|
2020-06-18 14:48:12 +02:00
|
|
|
<?php if(isset($_SESSION["user"])) : ?>
|
2020-06-18 13:25:00 +02:00
|
|
|
<li class="list"><a href="user.php">Usuarios</a></li>
|
|
|
|
<li class="list"><a href="patient.php">Pacientes</a></li>
|
|
|
|
<li class="list"><a href="appointment.php">Citas</a></li>
|
|
|
|
<li class="list"><a href="holiday.php">Vacaciones</a></li>
|
2020-06-18 14:48:12 +02:00
|
|
|
<?php endif ?>
|
|
|
|
<?php if($_SESSION["user_type"] == 2) : ?>
|
2020-06-18 13:25:00 +02:00
|
|
|
<li class="list"><a href="report.php">Informes</a></li>
|
2020-06-18 14:48:12 +02:00
|
|
|
<?php endif ?>
|
2020-06-18 13:25:00 +02:00
|
|
|
<li class="list"><a href="login.php">Login</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
<section class="hero">
|
|
|
|
<div class="hero-inner">
|
|
|
|
<h1>MDIS</h1>
|
|
|
|
<h2>MDIS es un sistema de información que permite gestionar una consulta médica.</h2>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<main>
|
|
|
|
</body>
|