1、帝國cms 首頁模板只顯示[!--pagetitle--]
後台系統參數設置了沒有,如圖:

2、怎麼改網站底部信息,如備案和網址,統計等等 帝國cms
有些可以在後台改的
有些需要在網站源代碼裡面改,有footer之類的文件
3、帝國cms如何實現統計某個數據表裡有多少文章
這個可以可以的,如:
[totaldata]'news',2,0,0[/totaldata]
這個是統計新聞數據表有多少信息的。
4、怎麼把cnzz流量統計工具的代碼加進帝國cms的後台
直接把代碼放到網站底部模本後台裡面就可以了
5、帝國CMS會員首頁能以列表顯示 ?
<?php
$userr=sys_ShowMemberInfo(1,'');
?>
<img src="<?=$userr[userpic]?$userr[userpic]:'/e/data/images/nouserpic.gif'?>" border="0">
<a href="/e/space/?userid=<?=$userr[userid]?>"><?=$userr[username]?></a>
(點擊訪問會員空間)
呵呵呵會員列表調用函數:sys_ListMemberInfo(調用條數,操作類型,會員組ID,用戶ID,查詢欄位)操作類型:0為按注冊時間、1為按積分排行、2為按資金排行、3為按會員空間人氣排行
會員組ID:指定要調用的會員組ID,不設置為不限,多個會員組用逗號隔開,如:'1,2'
用戶ID:指定要調用的會員ID,不設置為不限,多個用戶ID用逗號隔開,如:'25,27'
詳細資料請見: http://bbs.phome.net/showthread-42-108558-0.html
6、帝國cms首頁多表調用,要調用欄目縮略圖+標題。
本來不想回答 去年做過項目4表聯合 拿去自己改吧 不會改就沒辦法 不解釋
[e:loop={'select *
from
(
(select id,classid,istop,title,titleurl,titlepic,newstime from phome_ecms_news where istop=1 order by newstime desc limit 13 )
Union All
(select id,classid,istop,title,titleurl,titlepic,newstime from phome_ecms_news1 where istop=1 order by newstime desc limit 13)
Union All
(select id,classid,istop,title,titleurl,titlepic,newstime from phome_ecms_news2 where istop=1 order by newstime desc limit 13)
Union All
(select id,classid,istop,title,titleurl,titlepic,newstime from phome_ecms_news3 where istop=1 order by newstime desc limit 13)
) as A order by newstime desc limit 20',0,24,0}]
<?php
$fb=$empire->fetch1("select *
from
(
(select id,classid,smalltext from phome_ecms_news_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,smalltext from phome_ecms_news1_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,smalltext from phome_ecms_news2_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,smalltext from phome_ecms_news3_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
) as A");
?>
<li class="clearfix">
<a target='_blank' href="<?=$bqr[titleurl]?>" title="<?=$bqr[title]?>" class="index-img"><img src="<?=$bqr[titlepic]?$bqr[titlepic]:'404.jpg'?>" alt="<?=$bqr[title]?>"></a>
<div class="index-text">
<h1><a target='_blank' href="<?=$bqr[titleurl]?>"><?=$bqr[title]?></a>
</h1>
<div class="index-con"></div>
<div class="index-intro"><a target="_blank" href="<?=$bqr[titleurl]?>?from=index_new_intro"><?=$fb[smalltext]?></a></div>
<div class="index-like clearfix">
<span class="time">
<?php
$fr=$empire->fetch1("select *
from
(
(select id,classid,infotags from phome_ecms_news_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,infotags from phome_ecms_news1_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,infotags from phome_ecms_news2_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
Union All
(select id,classid,infotags from phome_ecms_news3_data_1 where id='$bqr[id]' and classid='$bqr[classid]')
) as A");
$keyr=explode(',',$fr[infotags]);
for($i=0;$i<2;$i++)
{
echo'<span><a href="/liaotian/tags-'.$keyr[$i].'-0.html" target=_blank>'.$keyr[$i].'</a></span> ';
}
?>
</span>
<span class="time"><?=format_datetime($bqr[newstime],"m-d")?></span>
<div class="post-ope">
<a href="/e/public/digg/?classid=<?=$bqr[classid]?>&id=<?=$bqr[id]?>&dotop=1&ajaxarea=diggnum<?=$bqr[id]?>" class="post-like-btn post-like" id="post-like-top-btn">
<script>
document.write('<script src="/e/public/ViewClick/?classid=<?=$bqr[classid]?>&id=<?=$bqr[id]?>&down=5?t='+Math.random()+'"><'+'/script>');
</script>
</a>
</div>
</div>
</div>
</li>
[/e:loop]
功能:聯合取4表數據 關聯取附表簡介 並取標簽 附加頂功能 動態瀏覽量等
7、帝國CMS為什麼頁面不統計訪問數
要統計頁面訪問率,需在模板加上「[!--page.stats--]」標簽
用戶在模板那邊選擇是否增加此標簽(如下載系統中一般不統計訪問量,不加此標簽就不會統計了)
8、帝國cms首頁顯示欄目問題
例子 國內新聞|我是國內新聞文章的標題
[e:loop={2,5,0,0}]
<li><?=$bqsr['classname']?>|<a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a></li>
[/e:loop]
上面這意思是調用欄目ID為2的欄目,最新5條信息。若是用在列表頁里可把欄目ID改為'selfinfo' 表當新欄目;欄目ID為2為 新聞{ 國內新聞、國際新聞、其它新聞 }。這很詳細了....
9、帝國CMS程序的底部在哪裡修改。我想添加網站流量統計和ICP信息,誰知道告訴我!!謝謝!
默認的是
模板---公共模板變數--頁面尾部