rendered paste body<?php# index.php# libreriasinclude('libhtml.php');####### HEADER#$title = ':: mikeux ::';$header = '<img src="mikeux.jpg" alt="mikeux.dyndns.org">';html_header($title,$header);####### CONTENT#$content = '<h1>h1</h1>';$content .= 'texto h1<br>';$content .= '<h2>h2</h2>';$content .= 'texto h2<br>';html_content($content);####### FOOTER#$footer = 'Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7g DAV/2 PHP/5.1.2 Server at mikeux.dyndns.org Port 80<br>';html_footer($footer);?><?php# libhtml.php########### HTML_HEADER#function html_header($title,$header) {echo <<<HTML<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head> <title>$title</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Pragma" content="no-cache" > <meta name="DESCRIPTION" content="mikeux - mi keo en linux"> <meta name="AUTHOR" content="sepen@mikeux.dyndns.org"> <meta name="KEYWORDS" content="linux, unix, crux, freebsd, debian, manuales, scripts, proyectos, guias, howto"> <link rel="stylesheet" type="text/css" href="styles.css"></head><body><div id=header>$header</div>HTML;}########### HTML_CONTENT#function html_content($content) {echo <<<HTML<div id=content>$content</div>HTML;}########### HTML_FOOTER#function html_footer($footer) {echo <<<HTML<div id=footer>$footer</div></div></body></html>HTML;}?># hoja de estilosbody { margin : 2px 2px 2px 2px; color : #000000; background : #C0C0C0 url("background.gif") repeat-x; font-size : 12px;}#header { clear : both; position : relative; margin : 0 0 0 0; height : 100px;}#menu {}#content { margin : 0 100px 0 0; background : #FFFFFF url("..images/page-background.gif") repeat-x top left;}#footer { clear : both; margin : 10px 0 0 auto; text-align : center; font-size : 10px;}