Write Up Here
[
'enter_order_id'=>'Order ID (enter your order ID)',
'search'=>'Search',
'order_status'=>'Order Status',
'order_details'=>'Order details',
'order_not_found'=>'Order not found, please try with a different order ID',
'no_order_id_supplied'=>'No order ID supplied!',
'order_id'=>'Order ID',
'date'=>'Date',
'product'=>'Product',
'link'=>'Link',
'quantity'=>'Qty',
'start'=>'START',
'remains'=>'REMAINS',
'final'=>'FINAL',
'api_status'=>'Order Status',
'completed'=>'Completed',
'error'=>'Error',
],
'cn'=>[
'enter_order_id'=>'订单 ID(输入您的订单 ID',
'search'=>'搜索',
'order_status'=>'订单状态',
'order_details'=>'订单详细信息',
'order_not_found'=>'未找到订单,请尝试使用其他订单 ID',
'no_order_id_supplied'=>'未提供订单 ID!',
'order_id'=>'订单编号',
'date'=>'订购日期',
'product'=>'产品',
'link'=>'关联',
'quantity'=>'数量',
'start'=>'开始',
'remains'=>'遺跡',
'final'=>'最后',
'api_status'=>'API 状态',
'completed'=>'完全的',
'error'=>'錯誤',
]
];
?>
query("SELECT * FROM wpre_api_orders WHERE WC_orderID = $order_id"); $cc = $qc->num_rows; if ($cc == 0) { echo '
';
}
}
?>
query("SELECT * FROM wpre_api_orders WHERE WC_orderID = $order_id"); $cc = $qc->num_rows; if ($cc == 0) { echo '
' . $tr[$lang]['order_not_found'] . '!
'; } else { $qo = $dbh->query("SELECT wpre_api_orders.*, wpre_woocommerce_order_items.order_item_name FROM wpre_api_orders INNER JOIN wpre_woocommerce_order_items ON wpre_api_orders.item_id = wpre_woocommerce_order_items.order_item_id WHERE wpre_api_orders.WC_orderID = $order_id"); echo '' . $tr[$lang]['order_id'] . ' | ' . $tr[$lang]['date'] . ' | ' . $tr[$lang]['product'] . ' | ' . $tr[$lang]['link'] . ' | ' . $tr[$lang]['quantity'] . ' | ' . $tr[$lang]['start'] . ' | ' . $tr[$lang]['remains'] . ' | ' . $tr[$lang]['final'] . ' | ' . $tr[$lang]['api_status'] . ' |
---|---|---|---|---|---|---|---|---|
#' . $ro['WC_orderID'] . ' | ' . date('Y-m-d', strtotime($ro['created_at'])) . ' ' . date('H:i', strtotime($ro['created_at'])) . ' |
' . $ro['order_item_name'] . ' | ' . $ro['link'] . ' | ' . intval($ro['quantity']) . ' | 0 | 0 | 0 | '; echo $ro['status']; if (!empty($ro['mesg'])) { echo ' - ' . $ro['mesg']; } echo ' |
#' . $ro['WC_orderID'] . ' | ' . date('Y-m-d H:i', strtotime($ro['created_at'])) . ' | ' . $ro['order_item_name'] . ' | ' . $ro['link'] . ' | ' . intval($ro['quantity']) . ' | ' . $status['start_count'] . ' | ' . $status['remains'] . ' | ' . ($ro['quantity']+$status['start_count']) . ' | ' . $status['status'] . ' |
#' . $ro['WC_orderID'] . ' | ' . date('Y-m-d', strtotime($ro['created_at'])) . ' ' . date('H:i', strtotime($ro['created_at'])) . ' |
' . $ro['order_item_name'] . ' | ' . $ro['link'] . ' | ' . intval($ro['quantity']) . ' | 0 | 0 | 0 | '; echo $ro['status']; if (!empty($ro['mesg'])) { echo ' - ' . $ro['mesg']; } echo ' |