Exemple #1
0
<?php

session_start();
require '../clases/class.db.php';
require '../clases/class.pagina.php';
$configura = new Pagina();
$nombre = $configura->rescata('web');
if (isset($_POST['login'])) {
    $configura->logate();
}
?>

<!DOCTYPE html>
<html>
<head>
  <title><?php 
echo $nombre;
?>
 : Gestor</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Mis estilos -->
  <link rel="stylesheet" href="../css/style.css">

  <!-- Latest compiled and minified CSS -->
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">

  <!-- jQuery library -->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>