tpl = 'view/mobile/'; $payid=$_GET['payid']; $pay = $this->model()->select()->from('userinfo')->where(array('fields' => 'userid=?', 'values' => array($payid)))->fetchRow(); $pay2 = $this->model()->select()->from('users')->where(array('fields' => 'id=?', 'values' => array($payid)))->fetchRow(); $data = array('title' => '支付','payzh'=>$pay,'userpay'=>$pay2); $this->put('pay.php', $data); } } ?>