/** * 专题详细页 */ public function special_detailOp() { $special_file = getCMSSpecialHtml($_GET['special_id']); if($special_file) { Tpl::output('special_file', $special_file); Tpl::output('index_sign', 'special'); Tpl::showpage('special_detail'); } else { showMessage('专题不存在', '', '', 'error'); } }
<?php defined('InShopNC') or exit('Access Invalid!');?> <div id="body"> <div class="cms-content"> <?php $file = getCMSSpecialHtml($_GET['special_id']); if(is_file($file)) { require($file); } ?> </div> </div> <?php /*?>by QQ355716601<?php */?>