...
|
...
|
@@ -849,32 +849,31 @@ class HomeController extends AbstractAction |
|
|
));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助中心列表页
|
|
|
*/
|
|
|
/**
|
|
|
* 帮助中心列表页
|
|
|
*/
|
|
|
public function helpAction()
|
|
|
{
|
|
|
{
|
|
|
$service = Home\HelpModel::serviceInfo();
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' =>$service,
|
|
|
'iHelp' => $service,
|
|
|
);
|
|
|
$this->_view->display('i-help', $data);
|
|
|
$this->_view->display('help', $data);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 帮助中心列表详细信息
|
|
|
*/
|
|
|
public function helpDetailAction()
|
|
|
public function helpDetailAction()
|
|
|
{
|
|
|
$caption = $this->get('caption', '帮助中心');
|
|
|
$code = $this->get('code', 0);
|
|
|
if (empty($code)) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
|
|
|
$this->setTitle($caption);
|
|
|
$this->setNavHeader($caption);
|
|
|
|
...
|
...
|
@@ -883,27 +882,24 @@ class HomeController extends AbstractAction |
|
|
));
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* YOHO币详情 新版
|
|
|
*/
|
|
|
public function currencyDetailAction()
|
|
|
{
|
|
|
// 审判跳转登录页
|
|
|
$this->auditJumpLogin();
|
|
|
|
|
|
$this->setTitle('YOHO币');
|
|
|
$this->setNavHeader('YOHO币', true, false);
|
|
|
|
|
|
$data['money'] = '0';
|
|
|
$page = $this->post('page',1);
|
|
|
$size = $this->post('size', 20);
|
|
|
// $data = UserModel::getYohoCoinLists($this->_uid,$page,$size);
|
|
|
$data = UserModel::getYohoCoinLists(3965746,$page,$size);
|
|
|
$data = UserModel::getYohoCoinLists($this->_uid, 0, 20);
|
|
|
$this->_view->display('currency-detail', array(
|
|
|
'money' => $data['money'],
|
|
|
'pageFooter' => true,
|
|
|
'currencyDetail' => true,
|
|
|
'currencyDetailPage' => true
|
|
|
));
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -911,18 +907,18 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function ajaxCurrencyDetailAction()
|
|
|
{
|
|
|
$data['list'] = array();
|
|
|
$data['money'] = 0;
|
|
|
$page = $this->post('page',1);
|
|
|
$size = $this->post('size', 20);
|
|
|
$data = UserModel::getYohoCoinLists($this->_uid,$page,$size);
|
|
|
//$data = UserModel::getYohoCoinLists(3965746,$page,$size);
|
|
|
$this->_view->display('ajax-currency-detail', array(
|
|
|
'currency' => $data['list'],
|
|
|
'pageFooter' => true,
|
|
|
'currencyDetailPage' => true
|
|
|
));
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
$uid = $this->getUid();
|
|
|
$page = $this->post('page', 1);
|
|
|
$data = UserModel::getYohoCoinLists($uid, $page, 20);
|
|
|
$this->_view->display('ajax-currency-detail', array(
|
|
|
'currency' => $data['list'],
|
|
|
'pageFooter' => true,
|
|
|
'currencyDetailPage' => true
|
|
|
));
|
|
|
} else {
|
|
|
echo ' ';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|