Beispiel #1
0
<?php

require '../clases/class.db.php';
require '../clases/class.pagina.php';
$configura = new Pagina();
$nombre = $configura->rescata('web');
$numero = $configura->rescata('numero');
$secciones = $configura->seccionesEspecial($numero);
$social = $configura->social();
if (isset($_POST["enviar"])) {
    $configura->correo($_POST['nombre'], $_POST['email'], $_POST['texto']);
}
?>

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

	<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>