| Server IP : 104.21.37.246 / Your IP : 172.71.28.145 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/simded.com/order_member/ |
Upload File : |
<?php include('../include/class.php');?>
<?php
$order_id = $_POST['id'];
$sql = array('table'=>'payment_order','where'=>"order_id = '".$order_id."'");
$view = $view_db->view($sql);
$row = $view_db->q($view);
$arr = array();
$arr['bank'] = $row['bank_name'];
$arr['price'] = $row['price'];
$arr['file'] = $row['file'];
$arr_dt = explode(' ',$row['time']);
$arr_day = explode('-',$arr_dt[0]);
$y = $arr_day[0]+543;
$arr['datetime'] = $arr_day[2].'/'.$arr_day[1].'/'.$y .' '. $arr_dt['1'];
/*echo '<pre>';
print_r($arr_day);
echo '</pre>';*/
$sql1 = array('table'=>'orders','where'=>"id = '".$order_id."'");
$view1 = $view_db->view($sql1);
$row1 = $view_db->q($view1);
$arr['name'] = $row1['name'].' '. $row1['lastname'];
/*echo '<pre>';
print_r($arr);
echo '</pre>';
echo json_encode($arr);
exit();
exit;*/
header("Location : index.php");
?>