<?php
	function draw_navigation_map() { }
	function draw_header()
{
    global $cfg;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<?php draw_header_tag(); ?>
	<body> <center><?php if( check_module("banners")) draw_banner(); ?></center>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  	<tr> 
    <td height="70" colspan="3" valign="top"><table cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="#6487dc">
  	<tr> 
    <td width="363" height="32" align="left" valign="top" bgcolor="#6487dc">
		  
		<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  		codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
  		ID=123guide WIDTH=371 HEIGHT=30>
		<PARAM NAME=movie VALUE="themes/guide_xp/images/123guide.swf">
		<PARAM NAME=quality VALUE=high>
		<PARAM NAME=loop VALUE=true>
		<PARAM NAME=wmode VALUE=transparent>
		<EMBED src="themes/guide_xp/images/123guide.swf" loop=true quality=high
  		WIDTH=371 HEIGHT=30 TYPE="application/x-shockwave-flash"
  		PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
		</EMBED>
		</OBJECT>
		</td>
        </tr>
      	</table>
      	<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center" bgcolor="#F3F4F7">
        <tr> 
        </tr>
        <tr valign="middle" bgcolor="#EAE7D1"> 
        <td align="left" valign="top" width="8" height="22"><img src="themes/guide_xp/images/topnav-left.gif"></td>
        <td width="15%" background="themes/guide_xp/images/topnav-bg.gif" nowrap><font class="content" color="#363636\">&nbsp; 
         </font></td>
          <td align="center" height="20" width="73%" background="themes/guide_xp/images/topnav-bg.gif"><font class="content"> 
            <A href="index.php">HOME</a> &nbsp;&middot;&nbsp; <A href="">LINK</a> 
            &nbsp;&middot;&nbsp; <A href="">LINK</a> 
            &nbsp;&middot;&nbsp; <A href="">LINK</a> 
            &nbsp;&middot;&nbsp; <A href="">LINK</a> 
            </font> </td>
          <td align="left" valign="top" width="8" height="22"><img src="themes/guide_xp/images/topnav-left.gif"></td>
          <td align="right" width="140" background="themes/guide_xp/images/topnav-bg.gif"> 
		  <?php draw_date(); ?>
          </td>
        </tr>
        <tr> 
          <td bgcolor="#EAE7D1" colspan="5"><IMG src="themes/guide_xp/images/pixel.gif" width="1" height="3" alt="" border="0" hspace="0"></td>
        </tr>
        <tr> 
          <td bgcolor="#ACA899" colspan="5"><IMG src="themes/guide_xp/images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0"></td>
        </tr>
        <tr> 
          <td bgcolor="#716F64" colspan="5"><IMG src="themes/guide_xp/images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0"></td>
        </tr>
      </table></td>
    <td width="5"></td>
  </tr>
  <tr> 
    <td width="188" height="194" valign="top" bgcolor="#FFFFFF"><?php draw_sideboxes("left"); ?></td>
    <td width="612" valign="top"> 
<?php
}

function draw_footer()
{
?>
    </td>
    <td width="187" valign="top"> 
      <?php
draw_sideboxes("right");
if( check_module("sideboxes") ) draw_side_boxes("right");
// please don't remove the link below and help phpWebThings!
// por favor não remova o link abaixo e ajude o phpWebThings!

 theme_draw_rightbox_open( "Powered by" );
?>
      <div align="center"><a href="http://www.phpdbform.com" target="_blank"><img src="images/webthings_button.png" border=0 alt="phpWebThings powered"></a></div>
      <?php
theme_draw_rightbox_close();
?>
    </td>
    <td></td>
  </tr>
  <tr> 
    <td height="19" colspan="3" valign="top"><div align="center">
        <?php draw_copyright(); ?>
        <br>
      </div></td>
    <td rowspan="2"></td></tr>
  <tr> 
    <td height="25" colspan="3" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
</table>
</body>
</html>
<?php
}
// functions that draw the boxes

function theme_draw_leftbox_open( $title )
{
?>
<br><table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="100%">
    <tr>
    <td>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td align="left" valign="top" width="26" height="30"><img src="themes/guide_xp/images/sidebox-title-left.gif"></td>
	<td align="left" valign="middle" background="themes/guide_xp/images/sidebox-title-bg.gif" width="100%" height="30\">
	<font class="option" color="#363636">&nbsp;&nbsp;<b><?php print $title; ?></b></font>
	</td>
	<td align="left" valign="top" width="6" height="30"><img src="themes/guide_xp/images/sidebox-title-right.gif"></td>
	</tr>
	</table>
    
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td>

	

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td width="4" align="left" valign="top" background="themes/guide_xp/images/sidebox-bar-left.gif"><img src="themes/guide_xp/images/sidebox-bar-px.gif"></td>
	<td>
<?php
}

function theme_draw_leftbox_close()
{
?>
	<table border="0" cellpadding="3" cellspacing="0" width="100%">
	<tr valign="top">
	<td>
	<font color="#999999"><b></font>
   
    </td></tr></table>
    </td>
    <td width="13" align="left" valign="top" background="themes/guide_xp/images/storybox-content-right.gif"><img src="themes/guide_xp/images/storybox-content-right-px.gif"></td>
    </tr></table>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr valign="top">
	<td width="9" height="29" align="left" valign="top"><img src="themes/guide_xp/images/storybox-bottom-left.gif"></td>
	<td width="100%" height="29" background="themes/guide_xp/images/storybox-bottom-bg.gif">&nbsp;</td>
	<td width="18" height="29" align="left" valign="top"><img src="themes/guide_xp/images/storybox-bottom-right.gif"></td>
    </table>

    </td></tr></table>

    </td></tr></table>
<?php
}

function theme_draw_rightbox_open( $title )
{
?>
<br><table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="100%">
    <tr>
    <td>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td align="left" valign="top" width="26" height="30"><img src="themes/guide_xp/images/sidebox-title-left.gif"></td>
	<td align="left" valign="middle" background="themes/guide_xp/images/sidebox-title-bg.gif" width="100%" height="30\">
	<font class="option" color="#363636">&nbsp;&nbsp;<b><?php print $title; ?></b></font>
	</td>
	<td align="left" valign="top" width="6" height="30"><img src="themes/guide_xp/images/sidebox-title-right.gif"></td>
	</tr>
	</table>
    
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td>

	

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	<td width="4" align="left" valign="top" background="themes/guide_xp/images/sidebox-bar-left.gif"><img src="themes/guide_xp/images/sidebox-bar-px.gif"></td>
	<td>
<?php
}

function theme_draw_rightbox_close()
{
?>

<table border="0" cellpadding="3" cellspacing="0" width="100%">
	<tr valign="top">
	<td>
	<font color="#999999"><b></font>
   
    </td></tr></table>
    </td>
    <td width="13" align="left" valign="top" background="themes/guide_xp/images/storybox-content-right.gif"><img src="themes/guide_xp/images/storybox-content-right-px.gif"></td>
    </tr></table>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr valign="top">
	<td width="9" height="29" align="left" valign="top"><img src="themes/guide_xp/images/storybox-bottom-left.gif"></td>
	<td width="100%" height="29" background="themes/guide_xp/images/storybox-bottom-bg.gif">&nbsp;</td>
	<td width="18" height="29" align="left" valign="top"><img src="themes/guide_xp/images/storybox-bottom-right.gif"></td>
    </table>

    </td></tr></table>
	</td></tr></table>
<?php
}

function theme_draw_centerbox_open( $title )
{
?>
<table align="center" border="1" cellpadding="0" cellspacing="0" bgcolor="#D6DFF7" width="95%">
    <tr>
    <td>

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
	
	<td align="left" valign="middle" background="" width="100%" height="30\">
	<center><font class="option" color="#363636">&nbsp;&nbsp;<b><?php print $title; ?></b></font></center>
	</td>
	<td align="left" valign="top" width="6" height="30"></td>
	</tr>
	</table>
<?php
}

function theme_draw_centerbox_close()
{
?>

</td>
</tr>
</table><br>
<?php
}

function theme_draw_menu_item( $text, $link, $newwindow )
{
	$target = ($newwindow == "Y")?"target=\"_blank\"":"";
    return "<a href=\"$link\" $target><img src=\"themes/guide_xp/images/abullet.png\" width=12 height=10 alt=\"\" border=0>&nbsp;$text</a><br>\n";
}
?>