<?php
!defined('IN_ONEZ') && exit('Access Denied');
$message=onez()->gp('message');
if(strpos($message,':cancel')!==false){?>
<div class="container text-center">
  <p style="padding: 60px 0 30px 0">
    <img src="<?=$this->url?>/php/images/status_error.png" width="100">
  </p>
  <p style="margin-bottom: 5px;font-weight: 400;font-size: 20px;">支付已取消</p>
</div>
<?}elseif($status=='fail'){?>
<div class="container text-center">
  <p style="padding: 60px 0 30px 0">
    <img src="<?=$this->url?>/php/images/status_error.png" width="100">
  </p>
  <p style="margin-bottom: 5px;font-weight: 400;font-size: 20px;">支付失败</p>
</div>
<?}elseif($status=='ok' || strpos($message,':ok')!==false){?>
<div class="container text-center">
  <p style="padding: 60px 0 30px 0">
    <img src="<?=$this->url?>/php/images/status_right.png" width="100">
  </p>
  <p style="margin-bottom: 5px;font-weight: 400;font-size: 20px;">恭喜！支付成功！</p>
</div>
<?}else{?>
<div class="container text-center">
  <p style="padding: 60px 0 30px 0">
    <img src="<?=$this->url?>/php/images/status_error.png" width="100">
  </p>
  <p style="margin-bottom: 5px;font-weight: 400;font-size: 20px;">支付完成!</p>
  <p><?=$message?></p>
</div>
<?}?>