活動對象:所有m+平台玩家 活動時間:2024年02月...
/var/www/html/www.mplus.fun/app/html/module/news.html(50)PHP notice
38 </a>
39 <?php
40 }
41 ?>
42 </div>
43 </div>
44 <?php
45 }
46 ?>
47 <div>
48 <div class="j-subhd2 clearfix">
49 <em></em>
50 <!-- <?php if ($mods['game_link'] != '') { ?>
51 <span class="j-text-hd"><a href="<?php echo '/'.$mods['game_link'];?>">遊戲官網</a></span>
52 <?php } else { ?>
53 <span class="j-text-hd"><a href="<?php echo $urls['newsAndEvents'];?>">所有遊戲新聞、活動</a></span>
54 <?php } ?> -->
55 <span class="j-text-hd"><a href="<?php echo $urls['newsAndEvents'];?>">所有遊戲新聞、活動</a></span>
56
57 <span class="j-text-hd"> > <?php echo empty($is_event)?'所有新聞':'遊戲活動';?></span>
58
59
60 <div class="links">
61 <em class="j-new-icon"></em>
62 <span class="j-text-hd">
Stack Trace
#0
15 <div class="yui3-g">
16 <div class="yui3-u w255">
17 <?php include(TPL_PATH.'module/user_info.html');?>
18 <?php include(TPL_PATH.'module/events_topgames.html');?>
19 </div><div class="yui3-u w705 last">
20 <?php include(TPL_PATH.'module/news.html');?>
21 </div>
22 </div>
23 <div class="yui3-g">
24 <div class="yui3-u-1 last">
25 <?php include(TPL_PATH.'module/dummy_2.html');?>
#1
32 }
33
34 public function display($path)
35 {
36 global $model;
37 include_once(TPL_PATH . $path);
38 }
39 public function setPageTitleV2($title, $full=false)
40 {
41 global $model;
42 if (!$full) {
#2
095 $news['list'][] = $tmp;
096 }
097
098 $this->setPageTitle($title);
099 $this->attach('news', $news);
100 $this->display("{$t}.html");
101 }
102
103 public function actionPost($t, $id) {
104 switch($t) {
105 case 'news':
#3
#4
3739 else if($param->isDefaultValueAvailable())
3740 $ps[]=$param->getDefaultValue();
3741 else
3742 return false;
3743 }
3744 $method->invokeArgs($object,$ps);
3745 return true;
3746 }
3747 }
3748 class CInlineAction extends CAction
3749 {
#5
3756 {
3757 $methodName='action'.$this->getId();
3758 $controller=$this->getController();
3759 $method=new ReflectionMethod($controller, $methodName);
3760 if($method->getNumberOfParameters()>0)
3761 return $this->runWithParamsInternal($controller, $method, $params);
3762 else
3763 return $controller->$methodName();
3764 }
3765 }
3766 class CWebUser extends CApplicationComponent implements IWebUser
#6
3270 {
3271 $priorAction=$this->_action;
3272 $this->_action=$action;
3273 if($this->beforeAction($action))
3274 {
3275 if($action->runWithParams($this->getActionParams())===false)
3276 $this->invalidActionParams($action);
3277 else
3278 $this->afterAction($action);
3279 }
3280 $this->_action=$priorAction;
#7
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
6179 class CFilter extends CComponent implements IFilter
6180 {
6181 public function filter($filterChain)
#8
6180 {
6181 public function filter($filterChain)
6182 {
6183 if($this->preFilter($filterChain))
6184 {
6185 $filterChain->run();
6186 $this->postFilter($filterChain);
6187 }
6188 }
6189 public function init()
6190 {
#9
6168 public function run()
6169 {
6170 if($this->offsetExists($this->filterIndex))
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
#10
6180 {
6181 public function filter($filterChain)
6182 {
6183 if($this->preFilter($filterChain))
6184 {
6185 $filterChain->run();
6186 $this->postFilter($filterChain);
6187 }
6188 }
6189 public function init()
6190 {
#11
6168 public function run()
6169 {
6170 if($this->offsetExists($this->filterIndex))
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
#12
3260 $this->runAction($action);
3261 else
3262 {
3263 $priorAction=$this->_action;
3264 $this->_action=$action;
3265 CFilterChain::create($this,$action,$filters)->run();
3266 $this->_action=$priorAction;
3267 }
3268 }
3269 public function runAction($action)
3270 {
#13
3245 {
3246 if(($parent=$this->getModule())===null)
3247 $parent=Yii::app();
3248 if($parent->beforeControllerAction($this,$action))
3249 {
3250 $this->runActionWithFilters($action,$this->filters());
3251 $parent->afterControllerAction($this,$action);
3252 }
3253 }
3254 else
3255 $this->missingAction($actionID);
#14
1684 {
1685 list($controller,$actionID)=$ca;
1686 $oldController=$this->_controller;
1687 $this->_controller=$controller;
1688 $controller->init();
1689 $controller->run($actionID);
1690 $this->_controller=$oldController;
1691 }
1692 else
1693 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
1694 array('{route}'=>$route===''?$this->defaultController:$route)));
#15
1604 foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
1605 $_GET[$name]=$value;
1606 }
1607 else
1608 $route=$this->getUrlManager()->parseUrl($this->getRequest());
1609 $this->runController($route);
1610 }
1611 protected function registerCoreComponents()
1612 {
1613 parent::registerCoreComponents();
1614 $components=array(
#16
1130 }
1131 public function run()
1132 {
1133 if($this->hasEventHandler('onBeginRequest'))
1134 $this->onBeginRequest(new CEvent($this));
1135 $this->processRequest();
1136 if($this->hasEventHandler('onEndRequest'))
1137 $this->onEndRequest(new CEvent($this));
1138 }
1139 public function end($status=0, $exit=true)
1140 {
#17
29 define('APPLICATION_ENV_PRODUCTION', $env == 'production');
30 define('APPLICATION_ENV_DEVEL', $env == 'devel');
31 define('APPLICATION_ENV_TEST', $env == 'test');
32
33 require_once($yii);
34 Yii::createWebApplication($config)->run();