public function action_pay() { $orderid = $this->params['orderid']; $model = new Model_Member_Order(); $info = $model->getOrderDetail($orderid); $totalprice = $info['price'] * $info['dingnum'] + $info['childprice'] * $info['childnum'] + $info['oldprice'] * $info['oldnum']; $info['depoist'] = $info['dingjin'] * ($info['dingnum'] + $info['childnum'] + $info['oldnum']); $info['totalprice'] = $totalprice; $cfg_pay_type = Common::getSysPara('cfg_pay_type'); $pay_arr = explode(',', $cfg_pay_type); if (in_array(6, $pay_arr)) { $this->assign('isXianxia', 1); } $this->assign('paytypes', $pay_arr); $this->assign('info', $info); $this->display('public/fukuan'); }
public function action_pinlun() { $orderid = $this->params['orderid']; $model = new Model_Member_Order(); $order = $model->getOrderDetail($orderid); $this->assign('order', $order); $this->display('user/order_writepl'); }