Location: PHPKode > projects > FPCode > fpcode091/fpcode/index.php
<? 
//
//	FPCode v0.9, Date 2002-01-11
//
//	Copyright (c) 2002 Wen-Yu Chang and FrostyPlace.com. All rights reserved.
//
//	The contents of this file constitute Original Code as defined in and
//	are subject to the GNU Library General Public License (the
//	"License").  You may not use this file except in compliance with the
//	License.  Please obtain a copy of the License at
//	http://www.gnu.org/licenses/gpl.html and read it before using this file.
//	
//	This Original Code and all software distributed under the License are
//	distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
//	EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
//	INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
//	FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
//	License for the specific language governing rights and limitations
//	under the License.
//
//
//								Main Page
//
//	Just a reminder that you have to setup the config.inc.php file before 
//  you can load the main page correctly.

require_once("./includes/index.inc.php"); ?>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=big5">
	<title><? echo $fpconfig["site_name"];?></title>
	<? require_once("./includes/styles.inc.php"); ?>
</head>
<body  bgcolor="#EEEEEE" link="#0030aa" vlink="#404080" alink = "#cc9000" leftMargin="15" topMargin="20" MARGINWIDTH="15" MARGINHEIGHT="20">

<!-- Begin Header -->

<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" class="table_bkg">
	<tr>
		<td colspan="5" height="1" class="outline_edge"></td>
	</tr>
	<tr>
		<td rowspan="3" width="1" class="outline_edge"></td>
		<td valign="top" rowspan="3" width="180"><a href="<? echo $PHP_SELF; ?>"><img alt="FrostyPlace" border="0" src="<? echo "images/{$fpconfig[banner_img]}"; ?>"></a></td>
		<td rowspan="3" width="1" class="dashline"></td>
		<td height="25"><? print_top_banner(); ?></td>
		<td rowspan="3" width="1" class="outline_edge"></td>
	</td>
	<tr>
		<td height="1" class="dashline"></td>
	</tr>
	<tr>
		<td align="left">
			<table>
			<tr>
				<td><a href="http://www.apple.com" target="_blank"><img alt="This site was made by Mac." border="0" vspace="8" hspace="8" src="images/mac.gif"></a></td>
				<td><!-- PUT YOUR BANNER HERE --></td>
			</tr>
			</table>
		</td>
	</tr>
</table>

<!-- End Header -->


<!-- Begin Main Table -->

<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" class="table_bkg">
	<tr>
		<td rowspan="2" width="1" class="outline_edge"></td>
<!-- Begin Main Block -->
		<td rowspan="2" align="center" valign="top"><br>
			<? main_switch(); ?>
		</td>
<!-- End Main Block -->
		<td rowspan="2" width="1" class="dashline"></td>
<!-- Begin Sidebar -->
		<td width="230" valign="top">
			<table border="0" width="210" cellspacing="0" cellpadding="0" align="center" class="table_bkg">
				<tr>
					<td colspan="3" height="13" class="sidebar_top"></td>
				</tr>
				<tr>
					<td width="13" class="sidebar_left"></td>
					<td width="184" class="sidebar_body">
						<? print_search_box(); ?>
						<? print_quickies(); ?>
						<? print_sw_links(); ?>
						<? print_reports(); ?>
						<? print_sites(); ?>
					</td>
					<td width="13" class="sidebar_right"></td>
				</tr>
				<tr>
					<td colspan="3" height="13" class="sidebar_bottom"></td>
				</tr>
			</table>

		</td>
<!-- End Sidebar -->
		<td rowspan="2" width="1" class="outline_edge"></td>		
	</tr>
	<tr>		
		<td valign="bottom"><br><? print_last_updated(); ?><br></td>
	</tr>
	<tr>
		<td colspan="4" height="1" class="outline_edge"></td>
	</tr>
</table>

<!-- End Main Table -->

<!-- Begin Footer -->

<table border="0" width="100%" cellspacing="0" cellpadding="0" frame="box" align="center" class="footer_box">
	<tr>
		<td><? print_footer(); ?></td>
	</tr>
</table>

<!-- End Footer -->

</body>
</html>
Return current item: FPCode