<?php

/*

  osCommRes, Services Online
  http://www.oscommres.com

  Copyright (c) 2005 osCommRes

  Released under the GNU General Public License
  
  Freeway eCommerce from ZacWare
http://www.zac-ware.com/freeway

Copyright 2007 ZacWare Pty. Ltd 
*/
// Set flag that this is a parent file
	define( '_FEXEC', 1 );
  require('includes/application_top.php');
  require(DIR_WS_CLASSES . 'currencies.php');
  
  $type=$HTTP_GET_VARS['type'];
  //added new
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/menu.js"></script>
<script language="javascript" src="includes/general.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr> 
	<!-- body_text //-->	  
    <td width=100% align=left valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2" align=center>	
	<tr>
          <td>
 	  <table border="0" width="100%" cellspacing="0" cellpadding="0">
	    <tr><td align=left class='pageHeading' colspan='2'>
	    <?php 
	      if ($type=='refund') echo HEADING_REFUND_SUCCESS; 
	      else if ($type=='withdraw') echo HEADING_WITHDRAW_SUCCESS;
	      else echo HEADING_MOVE_SUCCESS;
	    ?>
	    </td></tr>
	  </table></td>
      <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
	 <tr>
	    <td><table border="0" width=50% cellspacing="3" cellpadding="2" class="formArea">
		<tr><td class="main" valign=center>
		<?php 
		  if ($type=='refund') 
		     echo TEXT_REFUND_SUCCESS; 
		  else if($type=='withdraw') 
		     echo TEXT_WITHDRAW_SUCCESS;
		  else
		     echo TEXT_MOVE_SUCCESS;
		?></td>
                </table></td>
	    <tr>
	      <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
	      </tr>
	    <td align=left><?php echo "<a href='" . tep_href_link(FILENAME_SEARCH_RESERVATIONS) . "'>" . tep_image_button('button_continue.gif') . "</a>"; ?>
         </tr>
      </table>
   </td>
</tr>
</table>
<!-- body_text_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
