<?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_userid"]) and $_SESSION["sess_userid"]!= ""){
	$userid = $_SESSION["sess_userid"];
}else{
	header("Location:login.php");
	exit;
}



/*display the active template*/

$active_template = displayTemplate();


include "includes/htmltop.php";

/* Top File Name */

include_once ("includes/".$active_template[0]);


?>
<script language="JavaScript" type="text/JavaScript">
function clickSearch()
{
	document.frmFeedbacks.submit();
}

</script>

<div align="left" class="main_body">
			<!--mainbody area start -->
			
		<!--center content area start-->		
		
		
		<div align="left" id="item_details">
	
	
		<!--items display area start -->
	
		<div align="left" id="items_top_area">
				
				<div align="left" id="items_top_area_ttl"><?php echo MY_ACCOUNT_TEXT;?></div>
		</div>
		
		<div class="text_information" align="center"><?php echo $message?></div>
		
			
		<div align="left">
		
			<div class="myaccount_list">
			
			<ul>
			<li><a href="changepassword.php"><?php echo CHANGE_PWD_TEXT;?></a></li>
			<li><a href="profile.php"><?php echo EDIT_PROFILE_TEXT;?></a></li>
			<li><a href="orders.php"><?php echo MY_ORDERS_TEXT;?></a></li>
			<li><a href="myreturns.php"><?php echo RETURN_REQUEST_TEXT;?></a></li>
			
			</ul>
			
			
			<div class="clear"></div>
			</div> 
		
		</div>
								

					
					
		 <!--items display area end -->
		  </div>
		
			</form>
		<!--center content area end-->	


		
		<!--mainbody area end -->
        </div>
		




				

<?php
include "includes/".$active_template[2];	/* Bottom File Name */
?>																																									