File: /home/asjudine/public_html/templates/templates/Asjudinet/old_template.php
<?php
$bgcolor1 = "#FFFFFF";
$bgcolor2 = "#990000";
$bgcolor3 = "#e6e6e6";
$bgcolor4 = "#e6e6e6";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#000000";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\" color=\"#505050\">$thetext<br>$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= "".translate("writes")." <i>\"$thetext\"</i> $notes\n";
echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
}
}
function themeheader($section) {
global $slogan, $sitename, $banners;
echo " <body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" background=\"/ELEMENTOS/fondocuadritosgrises.gif\">
<div id=\"cabezote\" style=\"position:absolute; width:780px; height:82px; z-index:1; left: 0; top: 0\"><img src=\"images/cabezote.gif\" width=\"780\" height=\"82\" usemap=\"#Map\" border=\"0\">
<map name=\"Map\">
<area shape=\"rect\" coords=\"3,4,306,77\" href=\"http://www.asjudinet.com/\" alt=\"Página principal de Asjudinet\" title=\"Página principal de Asjudinet\">
</map>
</div>
<table width=\"100\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"98\" background=\"ELEMENTOS/fondovino.jpg\">
<tr>
<td valign=\"top\">
<script language=\"JavaScript1.2\">fwLoadMenus();</script>
<img name=\"cabezoteconmenu\" src=\"images/cabezoteconmenu.gif\" width=\"780\" height=\"98\" border=\"0\" usemap=\"#m_cabezoteconmenu\">
<!-- fwtable fwsrc=\"CABEZO~1.PNG\" fwbase=\"cabezoteconmenu.jpg\" fwstyle=\"Dreamweaver\" fwdocid = \"742308039\" fwnested=\"0\" -->
<map name=\"m_cabezoteconmenu\">
<area shape=\"poly\" coords=\"627,82,775,82,775,99,627,99,627,82\" href=\"#\" onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_0,599,102);\" >
<area shape=\"poly\" coords=\"475,82,623,82,623,99,475,99,475,82\" href=\"#\" onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_1,450,99);\" >
<area shape=\"poly\" coords=\"324,81,468,81,468,98,324,98,324,81\" href=\"#\" onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_2,314,99);\" >
<area shape=\"poly\" coords=\"163,82,311,82,311,99,163,99,163,82\" href=\"#\" onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_3,153,97);\" >
<area shape=\"poly\" coords=\"4,82,152,82,152,99,4,99,4,82\" href=\"#\" onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_4,7,99);\" >
</map>
</td>
</tr>
</table>
<table width=\"780\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#FFFFFF\">
<tr>
<td width=\"199\" align=\"center\" valign=\"top\" bgcolor=#DDDDDD>";
switch($section) {
case "conozcanos":
echo "<img src=\"ELEMENTOS/fotojuntadirectiva.jpg\" width=\"200\" height=\"147\">";
break;
case "prepago":
echo "<img src=\"ELEMENTOS/fotoprepago.jpg\" width=\"200\" height=\"147\">";
break;
case "planes":
echo "<img src=\"ELEMENTOS/fotoplanes.jpg\" width=\"200\" height=\"147\">";
break;
case "contactenos";
echo "<img src=\"ELEMENTOS/fotocontactenos.jpg\" width=\"200\" height=\"147\">";
break;
}
echo "<br><br>";
themesearch();
blocks(left);
switch($section) {
case "conozcanos":
echo "<br><img src=\"ELEMENTOS/bannerprotegemos.gif\" width=\"185\" height=\"65\">";
break;
case "prepago":
echo "<br><img src=\"ELEMENTOS/bannersoluciones.gif\" width=\"185\" height=\"56\">";
break;
case "planes":
echo "<br><img src=\"ELEMENTOS/bannerasesoria.gif\" width=\"180\" height=\"200\">";
break;
}
echo "</td><td bgcolor=#666666><img src=\"images/pix.gif\" width=\"1\" height=\"3\"></td><td valign=top width=100%>";
}
function themefooter() {
global $index;
echo "</td>";
if ($index == 1) {
echo "<td> </td><td valign=\"top\">";
// blocks(right);
}
echo "</tr></table></td></tr></table>
<table width=\"780\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"eeeeee\" bordercolor=\"cccccc\">
<tr>
<td>
<div align=\"center\"><font face=\"Arial, Helvetica, sans-serif\" size=\"2\"><font face=\"Arial, Helvetica, sans-serif\" size=\"1\" color=\"#999999\"><font color=\"#FFFFFF\"><font color=\"#000000\"><b><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#000066\">ASJUDINET
LTDA</font></b></font></font><font color=\"#000066\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b><br>
</b> Calle 19 No 6-68 piso 9o <br>
Bogotá Colombia<br>
Teléfonos: 243 6149 - 243 8820 Fax 243 8870 - 243 8308</font></font>
</font></div>
</td>
</tr>
</table>
<div align=\"center\"></div>
<table width=\"780\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"eeeeee\">
<tr>
<td>
<div align=\"center\"><font face=\"Arial, Helvetica, sans-serif\" size=\"2\">©</font><font face=\"Arial, Helvetica, sans-serif\" size=\"1\">
2002-Diseño y programación: <a href=\"http://www.servicios.especializados.net/\" target=\"_blank\">Servicios.Especializados.net
</a>- <font size=\"2\">®</font></font> </div>
</td>
</tr>
</table>";
// footmsg();
}
// ===================================================================================================================
function themeindex ($aid, $informant, $datetime, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous;
echo "<center><br><br><table width=90% border=0 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
<tr>
<td>";
echo "$thetext";
echo "</table></center><BR>";
}
// ===================================================================================================================
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid;
if ("$aid" == "$informant") { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr valign="top" bgcolor="#990000">
<td><img src="images/cl.gif" width="7" height="10" alt=""><img src="images/pix.gif" width="4" height="4" alt=""></td>
<td width="100%">
<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td>
<font class="option" color="#FFFFFF"><B><?php echo"$title"; ?></B></font>
</td></tr></table>
</td><td align="right"><img src="images/pix.gif" width="4" height="4" alt=""><img src="images/cr.gif" width="7" height="10" alt=""></td>
</tr></table>
<table border="0" cellpadding="0" cellspacing="0"><tr bgcolor="#e6e6e6">
<td background="images/gl.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
<td width="100%">
<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
<td><font class="tiny"><?php echo translate("Posted by "); ?> <?php formatAidHeader($aid) ?> <?php echo translate("on"); ?> <?php echo"$datetime $timezone"; ?></font>
<?php
if ($admin) {
echo " <font class=content> [ <a href=admin.php?op=EditStory&sid=$sid>".translate("Edit")."</a> | <a href=admin.php?op=RemoveStory&sid=$sid>".translate("Delete")."</a> ]";
}
?>
</td>
</tr></table>
</td>
<td background="images/gr.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
</tr>
<tr bgcolor="#990000"><td colspan="3"><img src="images/pix.gif" width="1" height="1"></td></tr>
<tr bgcolor="#ffffff">
<td background="images/wl.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
<td width="100%"><table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td>
<?php echo "<a href=modules.php?name=Search&query=&topic=$topic&author=><img src=images/topics/$topicimage border=0 Alt=\"$topictext\" align=right hspace=10 vspace=10></a>"; ?>
<?php echo "<font class=content>$thetext"; ?>
</td></tr></table></td>
<td background="images/wr.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
</tr>
<tr bgcolor="#990000"><td colspan="3"><img src="images/pix.gif" width="1" height="1"></td></tr>
</table>
<?php } else {
if($informant != "") $boxstuff = "<font class=content><a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
else $boxstuff = "$anonymous ";
$boxstuff .= "<font class=content>".translate("writes")." <i>\"$thetext\"</i> $notes";
?> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr valign="top" bgcolor="#990000">
<td><img src="images/cl.gif" width="7" height="10" alt=""><img src="images/pix.gif" width="4" height="4" alt=""></td>
<td width="100%">
<table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td>
<font class="option" color="#FFFFFF"><B><?php echo"$title"; ?></B></font>
</td></tr></table>
</td><td align="right"><img src="images/pix.gif" width="4" height="4" alt=""><img src="images/cr.gif" width="7" height="10" alt=""></td>
</tr></table>
<table border="0" cellpadding="0" cellspacing="0"><tr bgcolor="#e6e6e6">
<td background="images/gl.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
<td width="100%">
<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
<td><font class="tiny"><?php echo translate("Posted by "); ?> <?php formatAidHeader($aid) ?> <?php echo translate("on"); ?> <?php echo"$datetime $timezone"; ?></font>
<?php
if ($admin) {
echo " <font class=content> [ <a href=admin.php?op=EditStory&sid=$sid>Editar</a> | <a href=admin.php?op=RemoveStory&sid=$sid>Borrar</a> ]";
}
?>
<br><?php echo "<font class=tiny"; ?>
<?php echo "".translate("Contributed by ").""; ?> <?php echo "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a>"; ?>
</td>
</tr></table>
</td>
<td background="images/gr.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
</tr>
<tr bgcolor="#990000"><td colspan="3"><img src="images/pix.gif" width="1" height="1"></td></tr>
<tr bgcolor="#ffffff">
<td background="images/wl.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
<td width="100%"><table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td>
<?php echo "<a href=modules.php?name=Search&query=&topic=$topic&author=><img src=images/topics/$topicimage border=0 Alt=\"$topictext\" align=right hspace=10 vspace=10></a>"; ?>
<?php echo "<font class=content>$thetext"; ?>
</td></tr></table></td>
<td background="images/wr.gif"><img src="images/pix.gif" width="11" height="11" alt=""></td>
</tr>
<tr bgcolor="#990000"><td colspan="3"><img src="images/pix.gif" width="1" height="1"></td></tr>
</table>
<?php }
}
function themesidebox($title, $content) {
?>
<table width="150" border="0" cellspacing="0" cellpadding="0" align="center" background="ELEMENTOS/adornoencuesta.gif" height="10">
<tr>
<td height="15" width="14"></td>
<td height="15" width="136" align="center"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#FFFFFF"><?php echo"$title"; ?></font></b></font></td>
</tr>
</table>
<table width="150" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF" bordercolor="FFEAD2">
<tr>
<td align="center" bgcolor="#FFFFFF"><?php echo"$content"; ?></td>
</tr>
</table><br>
<?php
}
function themesearch() {
echo "<table width=\"170\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"30\"><form action=\"search.php\" method=\"get\">
<tr><td valign=\"middle\" align=\"center\"><input class=\"format\" type=\"text\" name=\"query\" size=\"20\"></td><td valign=\"middle\" align=\"center\"><input class=\"format\" type=\"submit\" name=\"submit\" value=\""._SEARCH."\"></td>
</tr></form>
</table><br>";
}
?>