會員登入

  • 1 H5魔力原始人
  • 2 H5混沌修仙
  • 3 H5凡人飛仙傳
  • 4 彈彈堂
  • PHP notice

    PHP notice

    Undefined index: game_link

    /var/www/html/www.mplus.fun/app/html/module/news.html(50)

    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">&#12288;&gt;&#12288;<?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
    +
     /var/www/html/www.mplus.fun/app/html/news.html(20): include("/var/www/html/www.mplus.fun/app/html/module/news.html")
    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
    +
     /var/www/html/www.mplus.fun/app/components/Controller.php(37): include_once("/var/www/html/www.mplus.fun/app/html/news.html")
    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
    +
     /var/www/html/www.mplus.fun/app/controllers/NewsController.php(100): Controller->display("news.html")
    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':
    
    2022-07-04 14:29:46 nginx Yii Framework/1.1.10