<?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(isset( $_SESSION["sess_userid"]) and $_SESSION["sess_userid"]!= ""){
	$userid = $_SESSION["sess_userid"];
}
/*display the active template*/

$active_template = displayTemplate();
$message = '';
if($_GET['error']!=''){
    $message = urldecode($_GET['error']);
}
include "includes/htmltop.php";

/* Top File Name */

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

?>
	<div class="container">
		<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 PAY_FAIL_TEXT;?></div>
					
			</div>
		
			<div>&nbsp;</div>
			
			<div class="text_information" align="center"><?php echo $message?></div>
			
			<div>
			
				<table cellpadding="0" cellspacing="0" width="100%">
								
					<tr>
						<td class="text_information">
							<?php echo PAY_TRY_LATER_TEXT;?>
						</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
					</tr>
							
					<tr>
						<td align="center">
							<input type='button' value='<?php echo HOME_LINK;?>'  class='button' onClick="window.location.href='index.php'">
											</td>	
					</tr>
				</table>
				
			</div>					
			
			<div align="left" class="float_clear1"></div>
					
					
		 <!--items display area end -->
		  </div>
		
		<!--center content area end-->	
	
	
		<div align="left" class="clear"></div>		
		<!--mainbody area end -->
		</div>
		<div align="left" class="clear"></div>
	</div>


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



