<?php
// +---------------------------------------------+
// |     Copyright  2005 - 2007 weenCompany      |
// |     http://www.weentech.com                 |
// |     This file may not be redistributed.     |
// +---------------------------------------------+

if(!defined('IN_WEENCOMPANY'))
{
  die('File not found!');
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
  <title><?php echo $mainsettings['websitetitle']; ?></title>
  <meta name="description" content="<?php echo $mainsettings['metadescription']; ?>" />
  <meta name="keywords" content="<?php echo $mainsettings['metakeywords'];    ?>" />
  <?php echo $mainsettings['templateheader']; ?>
  <link rel="stylesheet" type="text/css" href="templates/default/styles.css" />
  <link rel="stylesheet" type="text/css" href="templates/default/menu.css" />
<script language='JavaScript' type='text/javascript'>
<!--
bg = new Array(5);
bg[0] = 'templates/default/images/top_back1.jpg'
bg[1] = 'templates/default/images/top_back2.jpg'
bg[2] = 'templates/default/images/top_back3.jpg'
bg[3] = 'templates/default/images/top_back4.jpg'
bg[4] = 'templates/default/images/top_back5.jpg'
bg[5] = 'templates/default/images/top_back6.jpg'

index = Math.floor(Math.random() * bg.length);
document.write("<style>#weencompany{background-image:url("+bg[index]+")}</style>");

-->
</script>
</head>
<BODY>
<TABLE class=main_1 cellSpacing=0 cellPadding=0 
border=0>
  
  <TR>
    <TD class=logo><DIV><?php echo $logo; ?></DIV></TD></TR>
  <TR>
    <TD class=navigation_1>
      <TABLE class=navigation_2 cellSpacing=0 cellPadding=0 
      border=0>
        
        <TR>
          <TD class=navigation_3>
            <TABLE class=width_100 cellSpacing=0 cellPadding=0 
            border=0>
              
              <TR>
                <TD class=navigation_4><?php include('templates/default/categories.php'); ?></TD>
                <TD class=navigation_5>
				<A href="index.php" target=_self><IMG class=icon alt="Home" src="templates/default/images/ln_icon_home.gif" border=0></A>
				<A href="index.php" target=_self><IMG class=icon alt="Site map" src="templates/default/images/ln_icon_sitemap.gif" border=0></A>
				<A href="mailto:<?php echo $technicalemail; ?>" target=_self><IMG class=icon alt="Mail webmaster" src="templates/default/images/ln_icon_contact.gif" border=0></A>
				</TD></TR></TABLE></TD></TR></TABLE></TD></TR>
  <TR>
    <TD id=weencompany class=banner>&nbsp;
	</TD></TR>
  <TR>
    <TD class=spacer></TD></TR>
  <TR>
    <TD class=main_4>
      <TABLE class=main_5 cellSpacing=0 cellPadding=0 
      border=0>
        
        <TR>
          <TD class=main_6>
            <TABLE class=main_7 cellSpacing=0 cellPadding=0 
            border=0>
              
              <TR>
                <TD class=main_8>
                  <TABLE class=width_100 cellSpacing=0 cellPadding=0 
                  border=0>
                    
                    <TR>
                      <TD class=main_9>
                        <TABLE class=main_10 cellSpacing=0 cellPadding=0 
                        border=0>
                          
                          <TR>
                            <TD class=main_11>
                              <TABLE class=width_100 cellSpacing=0 cellPadding=0 
                              border=0>
                                
                                <TR>
                                <TD class=main_13>
									<?php
									
									$inputsize = 30;
									
									for($i = 0; $i < 10; $i++)
									{
									if($modulepath[$i] != 'modules/m1_empty/empty.php')
									{
									
									echo '<DIV class=plugin_1_1>';
									
									if(strlen($modulename[$i]) > 0)
									{
									echo '<DIV class=plugin_1_2>' . $modulename [$i] . '</div>';
									}
									
									echo '<DIV class=plugin_1_3>
										<DIV class=plugin_1_4>
										<DIV class=plugin_1_5>';
									
									include($modulepath[$i]);
									
									echo '</DIV></DIV></DIV></DIV>';
									}
									}
									
									?>
								</TD>
                                <TD class=plugin_2_1_1></TD>
                                <TD class=main_14>
									<?php
									
									$inputsize = 30;
									
									for($i = 10; $i < 20; $i++)
									{
									if($modulepath[$i] != 'modules/m1_empty/empty.php')
									{
									
									echo '<DIV class=plugin_1_1>';
									
									if(strlen($modulename[$i]) > 0)
									{
									echo '<DIV class=plugin_1_2>' . $modulename [$i] . '</div>';
									}
									
									echo '<DIV class=plugin_1_3>
										<DIV class=plugin_1_4>
										<DIV class=plugin_1_5>';
									
									include($modulepath[$i]);
									
									echo '</DIV></DIV></DIV></DIV>';
									}
									}
									
									?>

								
								</TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR>
  <TR>
    <TD class=footer_1>
      <DIV class=footer_2>
      <DIV class=copyright><?php echo $copyright; ?></DIV></DIV></TD></TR></TABLE>
	  
</BODY>
</HTML>
