<?
ob_start();
	session_start();
	
	if($_SESSION['lang']=='')
	{
		$_SESSION['lang'] = "en";
	}	
	include 'languages/lang.'.$_SESSION['lang'].'.php';
	include 'languages/lang_common_'.$_SESSION['lang'].'.php';
 	include("include/db.inc.php");
 	include("include/bit_functions.inc.php");
	include("include/functions.php");
   $db1=new db;
   $db1->open();
  mysql_query("SET NAMES 'utf8'");  $currency_symbol_new=symbol_currency();
   $uid=$_SESSION['uid'];

 
   if(isset($_GET['orderid'])){
    $order_id=base64_decode($_GET['orderid']);
   $disc_code=$_GET['disc_code'];
   $cancel=mysql_query("select * from t123go_memberpack where payment='f'and uid=".$uid);
   $sql_qry="update t123go_memberpack set payment='f' where id='".$order_id."'";
   $myrwd=mysql_query($sql_qry);
    mysql_query("update discount_mail set status='0' where uid='$uid' and status='1'  and code='".$disc_code."'");
	mysql_query("update t123go_memvoucher set status='0' where  id='".$disc_code."'");
   }
  
  ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<?=_BASEURL_?>/" />
<meta content="<?=_TITLE1_?> offers bargain auctions of new brand products. Save up to 70% for every product almost. Bid and Win high quality products.<?=_TITLE1_?> offers amazing bargains." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Info-Tech Ltd. | We simplify web 2.0"/>
<title><?=_DOOCANCEL_?></title> 
<link href="<?=_BASEURLCSSNEW_?>/index.css" rel="stylesheet" type="text/css" />
<link href="<?=_BASEURLCSSNEW_?>/myaccount.css" rel="stylesheet" type="text/css" />
<link href="<?=_BASEURLCSSNEW_?>/buybid.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(<?=_BASEURLCSSNEW_?>/ie6.css?0:102290); /* ]]> */</style><![endif]-->
<!--[if gte IE 7]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(<?=_BASEURLCSSNEW_?>/ie7.css?0:99961); /* ]]> */</style><![endif]-->
</head>
<body>
<div id="container">
<? include("header.php");?>

  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="220" align="left" valign="top"><? include("view.php");?></td>
      <td valign="top" align="left">
<div  align="left" class="cl" style=" background-color:#FFFFFF">
   
    <br />
    <table border="0" cellpadding="0" cellspacing="0" >
    <tr>

      <td style="padding-left:20px; color:#5C5C5C" width="820" valign="top">
	  <p><br />
									 <p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									Your Transaction has been Failed!</strong></p>
									  
                                        <br />
                                          <br />
                                          <br />
                                          <br />
	 </td></tr>
		</table>
   
     </div>
</td></tr>
		</table>
     <? include("footer.php");?>
</div>
</body>
</html>