www.gusucode.com > citySHOP B2C商城系统 进销存 2.0.6码程序 > upload/faq.php
<?php include './include/common.inc.php'; include APP_ROOT . './editer/decode.inc.php'; $aid = intval($param); $pagetitle = '帮助中心'; $headlinks = showlinks('css','style'); $jslinks = showlinks('js','common'); if(!$aid){ $aid = $faqlist['faq_ask_questions']['list'][0]['artid']; } $db->query("UPDATE {$tablepre}article SET views=views+1 WHERE artid='$aid'"); $query = $db->query("SELECT a.*,t.name,t.mark FROM {$tablepre}article a,{$tablepre}articletype t WHERE t.typeid=a.type AND a.artid='$aid'"); $art = $db->fetch_array($query); $art['pubtime'] = substr(strftime($timeformat, $art['pubtime']), 0, 10); $art['content'] = discuzcode($art['content']); include (template('faq')); ?>