pagination($total, $pindex, $psize); $casebanner = pdo_fetch('select casebanner,background from ' . tablename('ewei_shop_system_setting') . ' where uniacid = :uniacid ', array(':uniacid' => $uniacid)); $basicset = $this->basicset(); $title = '案例展示'; include $this->template('case/index'); } public function detail() { global $_W; global $_GPC; $id = intval($_GPC['id']); $article = pdo_fetch('SELECT * FROM ' . tablename('ewei_shop_system_case') . ' AS a' . "\n" . ' LEFT JOIN ' . tablename('ewei_shop_system_casecategory') . ' AS c ON a.cate = c.id' . "\n" . ' WHERE a.id = ' . $id); $basicset = $this->basicset(); $title = $article['title']; include $this->template('news/detail'); } } ?>