<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts Multicart                     |
// +----------------------------------------------------------------------+
// | Authors: Programmer<programmer@armia.com>        		              |
// +----------------------------------------------------------------------+
// | Copyrights Armia Systems, Inc and iScripts.com � 2005                |
// | All rights reserved                                                  |
// +----------------------------------------------------------------------+
// | This script may not be distributed, sold, given away for free to     |
// | third party, or used as a part of any internet services such as      |
// | webdesign etc.                                                       |
// +----------------------------------------------------------------------+
?>
<?php
	if(!isset($_SERVER['REQUEST_URI'])) {
			if(isset($_SERVER['SCRIPT_NAME']))
				$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
			else
				$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];

			if($_SERVER['QUERY_STRING']){
				$_SERVER['REQUEST_URI'] .=  '?'.$_SERVER['QUERY_STRING'];
			}
		}


if(strcasecmp(basename($_SERVER['REQUEST_URI']),"install.php")==0){
;
}else{
	if (INSTALLED ===true) {
		;
	}else{

		header("Location:./install/install.php");
	}

}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?echo htmlentities(SITE_NAME);?></title>
<link href="<?php echo $stylesfolder?>/<?php echo $sitestyle?>" rel="stylesheet" type="text/css">
<link href="style/rating.css" rel="stylesheet" type="text/css">
<script src="../js/javascript_check.js"></script>

<!-- rating star script begins -->

<script type="text/javascript" language="javascript" src="js/behavior.js"></script>
<script type="text/javascript" language="javascript" src="js/rating.js"></script>
<script type="text/javascript">AC_FL_RunContent = 0;</script>
<script language="javascript" type="text/javascript" src="js/AC_RunActiveContent.js"></script>

<!-- rating star script ends -->
</head>

