Authored by whb

在线登记

... ... @@ -9,7 +9,8 @@ class Controller_Onlinereg extends Controller_Abstract
*/
public function indexAction()
{
$mediaTotal = Facade_Onlinereg::getDownloadTotalByType(Facade_Onlinereg::TYPE_ONLINE_MEDIA);
$this->_view['mediaTotal'] = $mediaTotal;
}
/**
... ... @@ -22,7 +23,7 @@ class Controller_Onlinereg extends Controller_Abstract
}
/**
* 赞助商
* 赞助商英文
*/
public function sponsorenAction()
{
... ... @@ -36,11 +37,13 @@ class Controller_Onlinereg extends Controller_Abstract
public function mediaAction()
{
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_MEDIA;
$mediaTotal = Facade_Onlinereg::getDownloadTotalByType(Facade_Onlinereg::TYPE_ONLINE_MEDIA);
$this->_view['mediaTotal'] = $mediaTotal;
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_MEDIA);
}
/**
* 新闻稿
* 新闻稿英文
*/
public function mediaenAction()
{
... ... @@ -58,7 +61,7 @@ class Controller_Onlinereg extends Controller_Abstract
}
/**
* 参展商
* 参展商英文
*/
public function exhibitorenAction()
{
... ... @@ -230,7 +233,7 @@ class Controller_Onlinereg extends Controller_Abstract
*/
public function downloadAction()
{
$id = $this->_request->query('id');
$id = intval($this->_request->query('id'));
if(!empty($id))
{
$download = Facade_Onlinereg::getDownloadById($id);
... ...