| Citation: |
<?php
/************************************************************/
/* OpenTable Functions */
/* */
/* Define the tables look&feel for you whole site. For this */
/* we have two options: OpenTable and OpenTable2 functions. */
/* Then we have CloseTable and CloseTable2 function to */
/* properly close our tables. The difference is that */
/* OpenTable has a 100% width and OpenTable2 has a width */
/* according with the table content */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"10\">
<tr>
<td>
<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >
<tr>
<td ><img src=\"themes/CoolVista/images/news/hg.png\" ALT=\"hg\" /></td>
<td class=\"hm\" width=\"100%\" align=\"center\"></td>
<td><img src=\"themes/CoolVista/images/commun/hd.png\" ALT=\"hd\" /></td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"mg\" width=\"11\"></td>
<td>
<table width=\"100%\" bgcolor=\"#ffffff\" border=\"0\" cellspacing=\"0\" cellpadding=\"10\">
<tr>
<td>
";
}
function CloseTable()
{
echo "</td>
</tr>
</table>
</td>
<td class=\"md\" width=\"11\"></td>
</tr>
<tr>
<td ><img src=\"themes/CoolVista/images/commun/bg.png\" ALT=\"bg\" /></td>
<td class=\"bm\" width=\"100%\"></td>
<td ><img src=\"themes/CoolVista/images/commun/bd.png\" ALT=\"bd\" /></td>
</tr>
</table>
</table>
";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
<tr>
<td bgcolor=\"#FFFFFF\">";
}
function CloseTable2() {
echo "</td>
</tr>
</table></td>
</tr>
</table>";
}
?> |