<?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>

<!--mainbody area start -->
<div class="main_body">
	<div class="container">
		<div class="row">
		<!--center content area start-->		
		
		
		<div id="item_details">
		<!--items display area start -->
		<section class="sec_marg">
		<div class="col-sm-12 col-lg-12 col-md-12 ">
			<h3><?php echo MY_ACCOUNT_TEXT;?></h3>
		</div>
		</section>
		<div class="clear"></div>
		<div class="text_information"><?php echo $message?></div>
		<div class="col-sm-12 col-lg-12 col-md-12">
		<div class="myaccount_list">
			<div class="row">
            
            <!--Clickable Icons Chnages-->
            
                                <div class="col-sm-12 col-lg-3 col-md-3">
					<a href="orders.php"><div class="myaccount_list_img"><img src="<?php echo $site_url;?>/images/my_orders_icon.png" border="0"/></div>
					<div class="clear"></div>
					<?php echo MY_ORDERS_TEXT;?></a>
				</div>				
				<div class="col-sm-12 col-lg-3 col-md-3">
					<a href="profile.php"><div class="myaccount_list_img"><img src="<?php echo $site_url;?>/images/acount_edit_icon.png" border="0"/></div>
					<div class="clear"></div>
					<?php echo EDIT_PROFILE_TEXT;?></a>
				</div>				
				<div class="col-sm-12 col-lg-3 col-md-3">
					<a href="myreturns.php"><div class="myaccount_list_img"><img src="<?php echo $site_url;?>/images/req_return_icon.png" border="0"/></div>
					<div class="clear"></div>
					<?php echo RETURN_REQUEST_TEXT;?></a>
				</div>                            
                                <div class="col-sm-12 col-lg-3 col-md-3">
					<a href="changepassword.php"><div class="myaccount_list_img"><img src="<?php echo $site_url;?>/images/passoerd_chng_icon.png" border="0"/></div>
					<div class="clear"></div>
					<?php echo CHANGE_PWD_TEXT;?></a>
				</div>
			
            <!--Clickable Icons Chnages-->
            
            </div>
		
		<div class="clear"></div>
		</div> 
		</div>

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




				

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