示例#1
0
 private function showInfo()
 {
     /*底部其他信息,侧边栏显示*/
     $info_id = intval($this->_input['info_id']);
     if ($info_id == 0) {
         header("Location:?info_id=1");
         exit;
     }
     $foot_array = $this->obj_shopnc_info->getSystemList();
     $this->output('foot_array', $foot_array);
     $info_array = $this->obj_shopnc_info->getSystemInfo(array('info_id' => intval($this->_input['info_id'])));
     $this->output('article_array', $info_array);
     $this->shopshowpage("shop_info");
 }
示例#2
0
 private function showInfo()
 {
     /*底部其他信息,侧边栏显示*/
     $info_id = intval($this->_input['info_id']);
     if ($info_id == 0) {
         header("Location:?info_id=1");
         exit;
     }
     require_once "system.class.php";
     $footer_shopnc_info = new SystemClass();
     $foot_array = $footer_shopnc_info->getSystemList();
     $this->output('foot_array', $foot_array);
     $info_array = $this->obj_shopnc_info->getSystemInfo(array('shop_id' => NC_SHOP_ID, 'info_id' => intval($this->_input['info_id'])));
     $this->output('info_array', $info_array);
     $this->showpage('shopnc_info');
 }