';
html_header($title,$header);
####### CONTENT
#
$content = '
h1
';
$content .= 'texto h1
';
$content .= 'h2
';
$content .= 'texto h2
';
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
';
html_footer($footer);
?>
$title
HTML;
}
########### HTML_CONTENT
#
function html_content($content) {
echo <<
$content
HTML;
}
########### HTML_FOOTER
#
function html_footer($footer) {
echo <<
$footer
HTML;
}
?>
# hoja de estilos
body {
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;
}