1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
| <?php echo "<?xml version=\"1.0\"?>";
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?></title>
<?php include ("editor/editor.php"); ?>
<?php initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php include ("includes/metadata.php"); ?>
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="templates/hosting/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico" />
<?php // Custom MainMenu extension...
$database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering");
$mymenu_rows = $database->loadObjectList();
$mymenu_content = "";
foreach($mymenu_rows as $mymenu_row) {
// print_r($mymenu_rows);
$mymenulink = $mymenu_row->link;
if ($mymenu_row->type != "url") {
$mymenulink .= "&Itemid=$mymenu_row->id";
}
if ($mymenu_row->type != "separator") {
$mymenu_content .= "<a href=\"".sefRelToAbs($mymenulink)."\" class=\"bar\">$mymenu_row->name</a><font color=\"#62A1AA\"> | </font>";
}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?>
</head>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (hosting_top.psd) -->
<TABLE WIDTH=770 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF" style="border-left:1px solid #62A1AA; border-right:1px solid #62A1AA; ">
<TR>
<TD COLSPAN=4>
<IMG SRC="templates/hosting/images/hosting_top_01.gif" WIDTH=770 HEIGHT=182 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="templates/hosting/images/hosting_top_02.gif" WIDTH=103 HEIGHT=50 ALT=""></TD>
<TD background="templates/hosting/images/hosting_top_03.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'>
<div align="left">
<input class="searchbox" type="text" name="searchword" height="16" size="15" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
<input type="hidden" name="option" value="search" />
</div>
</td></form>
</tr>
</table></TD>
<TD COLSPAN=2>
<IMG SRC="templates/hosting/images/hosting_top_04.gif" WIDTH=496 HEIGHT=50 ALT=""></TD>
</TR>
<TR>
<TD height="95" COLSPAN=3 align="left" valign="bottom" background="templates/hosting/images/hosting_top_05.gif"><span class="pathway">
<?php include "pathway.php"; ?>
</span> </TD>
<TD align="right" valign="bottom" background="templates/hosting/images/hosting_top_06.gif"><?php echo (strftime (_DATE_FORMAT_LC, time()+($mosConfig_offset*60*60))); ?> </TD>
</TR>
<TR>
<TD>
<IMG SRC="templates/hosting/images/spacer.gif" WIDTH=103 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="templates/hosting/images/spacer.gif" WIDTH=171 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="templates/hosting/images/spacer.gif" WIDTH=109 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="templates/hosting/images/spacer.gif" WIDTH=387 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
<table width="772" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left:1px solid #62A1AA; border-right:1px solid #62A1AA; ">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%" valign="top"><TABLE WIDTH=237 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=3>
<IMG SRC="templates/hosting/images/hosting_menu_01.gif" WIDTH=237 HEIGHT=55 ALT=""></TD>
</TR>
<TR>
<TD width="15" background="templates/hosting/images/hosting_menu_02.gif"> </TD>
<TD width="196" background="templates/hosting/images/hosting_menu_03.gif"><p>
<?php mosLoadModules ( 'left' ); ?>
</p>
<p> </p></TD>
<TD width="26" background="templates/hosting/images/hosting_menu_04.gif"> </TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="templates/hosting/images/hosting_menu_05.gif" WIDTH=237 HEIGHT=57 ALT=""></TD>
</TR>
</TABLE></td>
<td width="69%" align="left" valign="top" background="templates/hosting/images/bg.gif"><table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td><?php mosLoadModules ( 'top' ); ?></td>
</tr>
<tr>
<td><?php include ("mainbody.php"); ?></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="middle" bgcolor="#E4F7FA" style="border-top:1px solid #62A1AA; border-bottom:1px solid #62A1AA "><span class="bar"><?php echo $mymenu_content ?></span></td>
</tr>
<tr>
<td align="center" valign="top"><p>
<?php mosLoadComponent( "banners" ); ?>
<?php mosLoadModules ( 'inset' ); ?>
</td>
</tr>
</table>
</BODY>
</HTML> |