<?php

/************************************************************/
/* OpenTable Functions                                      */
/* #003E5E                                                  */
/* 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%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"
  . "  <tr>"
  . "    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">"
  . "  <tr>"
  . "    <td bgcolor=\"#006699\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
  . "        <tr>"
  . "          <td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">"
  . "                    <tr> "
  . "                      <td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"
  . "                          <tr> "
  . "                            <td>"
 ."";
}

function CloseTable() {
echo"</td>"
  . "                          </tr>"
  . "                        </table></td>"
  . "                    </tr>"
  . "                  </table></td>"
  . "        </tr>"
  . "      </table></td>"
  . "  </tr>"
  . "</table>"
  . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tbl\"><tr><td class=\"tbll\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td><td class=\"tblbot\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td><td class=\"tblr\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td></tr></table>"
  . "</td>"
  . "  </tr>"
  . "</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=\"1\">"
  . "  <tr>"
  . "    <td bgcolor=\"#006699\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
  . "        <tr>"
  . "          <td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">"
  . "                    <tr> "
  . "                      <td bgcolor=\"#EAEDF4\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"
  . "                          <tr> "
  . "                            <td>"
 ."";
}

function CloseTable2() {
echo"</td>"
  . "                          </tr>"
  . "                        </table></td>"
  . "                    </tr>"
  . "                  </table></td>"
  . "        </tr>"
  . "      </table></td>"
  . "  </tr>"
  . "</table>"
  . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tbl\"><tr><td class=\"tbll\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td><td class=\"tblbot\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td><td class=\"tblr\"><img src=\"themes/fisubsilversh/forums/images/spacer.gif\" alt=\"\" width=\"8\" height=\"4\" /></td></tr></table>"
  . "</td>"
  . "  </tr>"
  . "</table>"
 ."";

}

?>