|
@@ -9,7 +9,8 @@ class Controller_Onlinereg extends Controller_Abstract |
|
@@ -9,7 +9,8 @@ class Controller_Onlinereg extends Controller_Abstract |
9
|
*/
|
9
|
*/
|
10
|
public function indexAction()
|
10
|
public function indexAction()
|
11
|
{
|
11
|
{
|
12
|
-
|
12
|
+ $mediaTotal = Facade_Onlinereg::getDownloadTotalByType(Facade_Onlinereg::TYPE_ONLINE_MEDIA);
|
|
|
13
|
+ $this->_view['mediaTotal'] = $mediaTotal;
|
13
|
}
|
14
|
}
|
14
|
|
15
|
|
15
|
/**
|
16
|
/**
|
|
@@ -22,7 +23,7 @@ class Controller_Onlinereg extends Controller_Abstract |
|
@@ -22,7 +23,7 @@ class Controller_Onlinereg extends Controller_Abstract |
22
|
}
|
23
|
}
|
23
|
|
24
|
|
24
|
/**
|
25
|
/**
|
25
|
- * 赞助商
|
26
|
+ * 赞助商英文
|
26
|
*/
|
27
|
*/
|
27
|
public function sponsorenAction()
|
28
|
public function sponsorenAction()
|
28
|
{
|
29
|
{
|
|
@@ -36,11 +37,13 @@ class Controller_Onlinereg extends Controller_Abstract |
|
@@ -36,11 +37,13 @@ class Controller_Onlinereg extends Controller_Abstract |
36
|
public function mediaAction()
|
37
|
public function mediaAction()
|
37
|
{
|
38
|
{
|
38
|
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_MEDIA;
|
39
|
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_MEDIA;
|
|
|
40
|
+ $mediaTotal = Facade_Onlinereg::getDownloadTotalByType(Facade_Onlinereg::TYPE_ONLINE_MEDIA);
|
|
|
41
|
+ $this->_view['mediaTotal'] = $mediaTotal;
|
39
|
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_MEDIA);
|
42
|
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_MEDIA);
|
40
|
}
|
43
|
}
|
41
|
|
44
|
|
42
|
/**
|
45
|
/**
|
43
|
- * 新闻稿
|
46
|
+ * 新闻稿英文
|
44
|
*/
|
47
|
*/
|
45
|
public function mediaenAction()
|
48
|
public function mediaenAction()
|
46
|
{
|
49
|
{
|
|
@@ -58,7 +61,7 @@ class Controller_Onlinereg extends Controller_Abstract |
|
@@ -58,7 +61,7 @@ class Controller_Onlinereg extends Controller_Abstract |
58
|
}
|
61
|
}
|
59
|
|
62
|
|
60
|
/**
|
63
|
/**
|
61
|
- * 参展商
|
64
|
+ * 参展商英文
|
62
|
*/
|
65
|
*/
|
63
|
public function exhibitorenAction()
|
66
|
public function exhibitorenAction()
|
64
|
{
|
67
|
{
|
|
@@ -230,7 +233,7 @@ class Controller_Onlinereg extends Controller_Abstract |
|
@@ -230,7 +233,7 @@ class Controller_Onlinereg extends Controller_Abstract |
230
|
*/
|
233
|
*/
|
231
|
public function downloadAction()
|
234
|
public function downloadAction()
|
232
|
{
|
235
|
{
|
233
|
- $id = $this->_request->query('id');
|
236
|
+ $id = intval($this->_request->query('id'));
|
234
|
if(!empty($id))
|
237
|
if(!empty($id))
|
235
|
{
|
238
|
{
|
236
|
$download = Facade_Onlinereg::getDownloadById($id);
|
239
|
$download = Facade_Onlinereg::getDownloadById($id);
|