<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta name="format-detection" content="telephone=no">
<title><?php if(@$_GET['success']==0){echo "支付失败";}else{echo "恭喜您支付成功！";}?></title>
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" />
<script src="./js/jquery-1.4.2.js"> </script>
<style>
*{
	margin:0;
	padding:0;
}
</style>

</head>
<body>


<div style="width:100%; height:40px; line-height:40px; background:#e3e3e3; font-size:18px; color:#000; text-align:center; border-bottom:1px solid #ccc;"><?php if(@$_GET['success']==0){echo "付款失败";}else{echo "支付成功";}?></div>



<div style="width:100%; height:95px; background:#fff;border-bottom:1px solid #ccc;">
 <div style="width:90%; margin:0 auto;height:85px;border-bottom:1px dashed #ccc;">
  <div style="width:35px; height:35px; margin-top:20px; float:left;"><img src="images/<?php if(@$_GET['success']==0){echo "fail.png";}else{echo "success.png";}?>"></div> 
  <div style="width:70%; height:30px; margin-top:20px; margin-left:20px;float:left;font-size:18px; line-height:30px; color:#9cd111;"><?php if(@$_GET['success']==0){echo "对不起，您付款失败了！";}else{echo "恭喜您，支付成功！";}?></div>
  <div style="width:75%; height:25px;float:left;margin-left:20px;font-size:14px;line-height:25px; color:#b1b1b1;">
  <!--
  您的订单号<font color="#b61125"><?php echo @$_GET['ordernumber'];?></font>
  -->
  </div>
 </div>
</div>




<div style="width:100%; height:320px; background:#efefef;">
   <div style="width:95%; margin-left:2.5%; height:50px;font-size:16px; color:#24272e; line-height:25px;"><br>请勿点击返回按钮，以免重复支付订单谢谢！</div>
   <div style="width:95%;margin-left:2.5%; height:25px;font-size:16px; color:#24272e; line-height:25px;text-align:center;">
      页面将在<font color='red' id='time'>5</font>秒后跳转。
   </div>
    <script>
		setInterval(function(){
	    time=parseFloat($("#time").text());
		if(time>0){
        time=time-1;
		$("#time").text(time);
	     }else{

		 
		  }
		},1000);
		
		
		/*setTimeout(function (){
			  <?php if($_GET['type']=='good_order'){?>
		         window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/shopping/index.html';	
		  <?php }else if($_GET['type']=='recharge_order'){?>
		         window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/Huiyuan/recharge.html';
		       	  
		  <?php }?>	
		},5000);*/
		
	
    </script>	

	
	 <?php if($_GET['type']=='good_order'){?>
   <input name="help" type="button" value="继续下单" class=""   onClick="window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/shopping/index.html'"  style="border-radius: 11px;width:95%; height:40px; margin-top:20px;margin-left:2.5%; background:#F22D00;background-size:100% 100%; border:0;font-size:16px; color:#000;line-height:39px;"/>
   
     <input name="help" type="button" value="查看我的订单" class="" onClick="window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/Huiyuan/order.html'"  style="border-radius: 11px;width:95%; height:40px; margin-top:20px;margin-left:2.5%; background:#F22D00;background-size:100% 100%; border:0;font-size:16px; color:#000;line-height:39px;"/> 	
	<?php }else if($_GET['type']=='recharge_order'){?>
	
   <input name="help" type="button" value="继续充值" class=""   onClick="window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/Huiyuan/recharge.html'"  style="border-radius: 11px;width:95%; height:40px; margin-top:20px;margin-left:2.5%; background:#F22D00;background-size:100% 100%; border:0;font-size:16px; color:#000;line-height:39px;"/>
   
     <input name="help" type="button" value="会员中心" class="" onClick="window.location.href='http://<?php echo $_SERVER["HTTP_HOST"];?>/index.php/Huiyuan/huiyuan.html'"  style="border-radius: 11px;width:95%; height:40px; margin-top:20px;margin-left:2.5%; background:#F22D00;background-size:100% 100%; border:0;font-size:16px; color:#000;line-height:39px;"/> 	
	
	 <?php }?>	
 
   <div style="width:95%;margin-left:2.5%; margin-top:20px; height:100px;font-size:16px; color:#b1b1b1; line-height:25px;">温馨提示：<br>
   <span style="text-indent:2em;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   如果您的账户已经扣款，但是订单显示未支付状态，请您及时联系我们，我们将会尽快为您处理，谢谢！</span></div>
  
	 
</div>
</body>
</html>