<?php
/************************************************************/
/* Theme Name: paradise (v1.6)                              */
/* Copyright (c) 2002 Xoops (http://www.xoops.org)          */
/* Created by Xend  (Http;//www.xendtech.com)               */
/* Last Updated: 01/31/2002                                 */
/************************************************************/

 $xoopsTheme['thename'] = "paradise";

/************************************************************/
/* 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($width="100%") {
 global $xoopsTheme;
 echo "<table width='".$width."' border='0' cellspacing='1' cellpadding='0'  class='bg2'><tr><td valign='top'>\n";
 echo "<table width='100%' border='0' cellspacing='2' cellpadding='2'  class='bg1'><tr><td valign='top'>\n";
 }
function CloseTable() {
 echo "</td></tr></table></td></tr></table>\n";
 }

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader($show_rblock){
 global $xoopsConfig,$xoopsTheme;
 echo"</head><BODY text='#000000' vLink='#41493C' aLink='#ff0000' link='#11435C' background='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/background.gif'>\n";

 //OpenWaitBox();

 echo"<center><table border='0' cellpadding='0' cellspacing='0' width='766'><tr><td>";


/////////////* Header table */////////////

 echo"<div><table border='0' cellpadding='0' cellspacing='0' width='766'>"

    ."<tr>"
    ."<td colspan='3'><img name='prosite_r1_c1' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/paradise_r1_c1.gif' width='766' height='17' border='0'></td>"
    ."</tr>"

    ."<tr>"
    ."<td><a href='".XOOPS_URL."/'><img name='paradise_r2_c1' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/logo.gif' width='173' height='47' border='0'></a></td>"
    ."<td rowspan='2'><img name='paradise_r2_c2' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/paradise_r2_c2.gif' width='584' height='74' border='0'></td>"
    ."<td rowspan='2'><img name='paradise_r2_c3' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/paradise_r2_c3.gif' width='9' height='74' border='0'></td>"
    ."</tr>"

    ."<tr>"
    ."<td><img name='paradise_r3_c1' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/paradise_r3_c1.gif' width='173' height='27' border='0'></td>"
    ."</tr>"
    ."</table></div>";

/////////////* Header table Stop */////////////



/////////////* Main table */////////////

 echo"<div><table width='766' border='0' cellpadding='0' cellspacing='0'><tr>"
    ."<td width='149' valign='top' background='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/sback.gif'>";
 make_sidebar("left");
 echo"</td><td width='100%' valign='top' bgcolor='#E3DFD3'>";
 if ( $xoopsConfig['banners'] ) {
 showbanner();
 }else{
 echo"";
 }
}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter($show_rblock, $footer){
 global $xoopsTheme;

 echo"</td>";
 if ( $show_rblock ) {
 echo"<td width='149' valign='top' background='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/sback.gif'>";
 make_sidebar("right");
 echo"</td>";
 }
 echo"</tr></table></div>";

/////////////* Main table stop */////////////


/////////////* Footer table */////////////

 echo"<div><table border='0' cellpadding='0' cellspacing='0' width='766'>"

    ."<tr>"
    ."<td><img name='footer_r1_c1' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/footer_r1_c1.gif' width='18' height='46' border='0'></td>"
    ."<td><img name='footer_r1_c2' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/footer_r1_c2.gif' width='573' height='46' border='0'></td>"
    ."<td><img name='footer_r1_c3' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/footer_r1_c3.gif' width='175' height='46' border='0'></td>"
    ."</tr>"

    ."<tr>"
    ."<td colspan='3'><img name='footer_r2_c1' src='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/footer_r2_c1.gif' width='766' height='22' border='0'></td>"
    ."</tr>"

    ."</table></div>";

        /////////////* Footer table stop */////////////



 echo"<div><font color='#A0510A'>$footer</font></div>";

 //CloseWaitBox();

 echo"</td></tr></table></center>";
 }

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
 global $xoopsTheme;
 echo"<table cellspacing='0' cellpadding='4' width='149' border='0'>"
    ."<tr height='21'>"
    ."<td width='149' background='".XOOPS_URL."/themes/".$xoopsTheme['thename']."/images/tback.gif'><center><b>$title</b></center></td>"
    ."</tr>"
    ."<td width='149'>$content</td>"
    ."</tr></table><br />";
 }

/************************************************************/
/* Function themecenterposts()                              */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themecenterposts($title, $content) {
 echo"<table cellspacing='0' cellpadding='4' width='100%' border='0'>"
    ."<tbody><tr height='21'>"
    ."<td bgcolor='#6CB8B9' height='21'><b>$title</b></td>"
    ."</tr><tr height='20'>"
    ."<td>$content</td>"
    ."</tr></tbody></table>";
 }
?>
