Пример #1
0
?>
<body>
<div id="wrapper">
<div id="header"><?php 
GENERAR_CABEZA();
?>
</div>
<div id="secc_general">
<?php 
require_once 'PHP/traductor.php';
?>
</div> <!-- secc_general !-->
</div> <!-- wrapper !-->
<div style="clear:both"></div>
<div id="footer"><?php 
echo GENERAR_PIE();
?>
</div>
<div id="GA"><?php 
echo GENERAR_GOOGLE_ANALYTICS();
?>
</div>
</body>
</html>
<?php 
$BODY = ob_get_clean();
/* CAPTURAR <head> */
ob_start();
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Пример #2
0
<body>

<?php 
if (!isset($GLOBAL_IMPRESION)) {
    ?>
    <div id="wrapper">
    <div id="header"><?php 
    GENERAR_CABEZA();
    ?>
</div>
    <div id="secc_general">
    <?php 
    echo $BODY;
    ?>
    <?php 
    GENERAR_PIE();
    ?>
    </div> <!-- secc_general !-->
    </div> <!-- wrapper !-->
<?php 
} else {
    ?>
    <style>
    body{background:none !important;background-image:none !important;}
    #wrapper{border:none !important;margin:0 !important;padding:1em !important;}
    .medio-oculto{font-size:11pt;}
    </style>
    <div id="wrapper">
    <div id="secc_general">
    <?php 
    echo $BODY;