rendered paste body<?php/*************************************************************************** * theme.php * ------------------- * Author : Ricardo I. Vieitez * E-mail : ricardo@lugmadryn.com.ar * Theme : msl37 (for msl37) * Version : 0.1 * ***************************************************************************//* This theme is not free software. You cannot use it unless you are authorized * * by its author. Anyway, you are free to use it as an inspiration resource. You * * can use it for extracting some ideas or resources. All derived work form this * * theme should be licensed under the terms of the GNU GPL 2.0 or higher. */ $TEMPLATE_linkbar="";$TEMPLATE_contrib="";$TEMPLATE_tla="";function NewLink($text="Sección",$a="#",$return=false,$hx="h2") { global $TEMPLATE_linkbar; if ($a!="#") $a=smodLink($a); $jtext=str_replace("\"","'",$text); $jtext=str_replace("'","",$jtext); $link="<a href=\"${a}\" onmouseover=\"statusIn('${jtext}');return true;\" onmouseout=\"statusOut();\">${text}</a>"; if ($hx) { $hx=preg_replace("/[<>\/]/","",$hx); $link="<${hx}>".$link."</${hx}>"; } if ($return) return $link; $TEMPLATE_linkbar.=$link;}function NewContr($text="Sección",$a="#") { global $TEMPLATE_contrib; if ($a!="#") $a=smodLink($a); $jtext=str_replace("\"","'",$text); $jtext=str_replace("'","",$jtext); $TEMPLATE_contrib.="<h4><a href=\"${a}\" onmouseover=\"statusIn('${jtext}');return true;\" onmouseout=\"statusOut();\">${text}</a></h4>";}function NewTLA($text="Espacio libre",$a="#",$bef="",$aft="") { global $TEMPLATE_tla; $jtext=str_replace("\"","'",$text); $jtext=str_replace("'","",$jtext); $TEMPLATE_tla.="<h3 class=\"ad\"><a href=\"${a}\">"; if ($bef!="") $TEMPLATE_tla.="<em onclick=\"return false;\">${bef}</em> "; $TEMPLATE_tla.="${text}"; if ($aft!="") $TEMPLATE_tla.=" <em onclick=\"return false;\">${aft}</em>"; $TEMPLATE_tla.="</a></h3>";}function templateHTML() { global $TEMPLATE_linkbar;global $TEMPLATE_contrib;global $TEMPLATE_tla;?><?= "<?xml version=\"1.0\" ?>&#&newline;" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>{@WEB_TITLE@}</title><? /*<link rel="stylesheet" type="text/css" href="/templates/{@THEME_N@}/msl37.css" />*/ ?><style type="text/css" media="screen">@import url('/templates/{@THEME_N@}/msl37.css');</style>{@ENCABEZADOS@}</head><body onload="{@ONLOAD@}"><?php if (AJAX) { ?><div id="loadingp"><img src="/images/progress.gif" alt="..." style="width: 16px;height: 16px;" /> Cargando...</div><?php } ?><div id="super"> <div id="main"> <table id="maint"> <tbody> <tr><td id="Logo" colspan="2" rowspan="1"></td></tr> <tr> <td id="tmenu"><div id="menu"> <h1><a>CATEGORÍAS</a></h1> <?= $TEMPLATE_linkbar ?> <h1><a>RECOMENDADOS</a></h1> <?= $TEMPLATE_tla ?> <h1><a>COLABORA</a></h1> <?= $TEMPLATE_contrib ?> <h1><a>FORMAS</a></h1> <div id="LForm"><?php MakeUserLogin(); ?></div> </div></td> <td id="contenido"> @AJAX(WHICH)@ @ADS@ <table id="visual-t" cellpadding="0" cellspacing="0" width="100%"> <tr><td id="visual-si"></td><td id="visuals"></td><td id="visual-sd"></td></tr> <tr><td id="visual-i"></td><td id="visual"> <?php if (!AJAX) @CrearCuerpo(); ?></td><td id="visual-d"></td></tr> <tr><td id="visual-ii"></td><td id="visuali"> </td><td id="visual-id"></td></tr> </table> </td> </tr> <tr> <td id="footer" colspan="2"><?php Powered(); ?></td> </tr> </tbody> </table> </div></div><?php if (function_exists("ADVERTISING")) ADVERTISING(); ?><div><a id="tooCool" href="http://www.w3junkies.com/toocool/">Too Cool for Internet Explorer</a></div></body></html><?php } ?>