<?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
include "../includes/config.php";
include "../includes/session.php";
include "../includes/functions.php";

if (get_magic_quotes_gpc()) {
    $_POST = array_map('stripslashes_deep', $_POST);
    $_GET = array_map('stripslashes_deep', $_GET);
    $_COOKIE = array_map('stripslashes_deep', $_COOKIE);
}

if(isset( $_SESSION["sess_affiliateid"]) and $_SESSION["sess_affiliateid"]!= ""){
	$affiliateid = $_SESSION["sess_affiliateid"];
}else{
	header("Location:login.php");
	exit;
}
include "../includes/htmltop.php";
?>


		<body>
		<center>
		
		<div align="left" id="layout">
				
				<!--header area start -->
				
<?php

	include_once("../includes/topheader_affiliate.php")

?>						
				
				<!--header area end -->
				
				
				<div align="left" class="main_body">
				<!--main body start -->
<?php	
			
	include "../includes/afftopmenu.php";
	
?>
			
					<div align="left" class="content_area">
					<!--content area start -->
							
							<div align="left" class="welcome_box">
									<div align="center" class="wecome_txt_area">
											<?php echo TEXT_WELCOM;?>&nbsp;<?php echo $_SESSION["sess_affiliatename"]; ?>
									</div>
							</div>
							
					<!--content area ends -->
				 </div>	
				 
							
				<div align="left" class="clear_float"><img src="images/clear_admin.gif" alt="" width="1" height="1" /></div>
				<!--main body end -->
				</div>


<?php

	include "../includes/footer.php";

?>