1、集成了文章、博客、下载、FLASH、图库、商店、视频于一体,轻易架设门户站 2、源代码全部开源不加密,可以很方便的进行二次开发。 3、功能极其的强大完善,集成了采集器功能,文章栏目支持无限级分类,支持自定义风格与模板,可以由栏目变成一个频道。 4、扩展性非常强,可以自由删除现有的模块或安装更多的其他模块。 5、可以很好的整合discuz论坛与phpwind论坛的用户系。最关键的是纯绿色整合,不修改原论坛的数据结构与程序文件,丝毫不影响原论坛的正常运行。 6、性能极其优秀,能承受大负载量数据,稳定,安全,快速是你搭建门户网站的首选。 7、真静态。 特色: 1.源代码全部开源不加密,可以很方便的进行二次开发,可以说:在CMS界,开源的CMS源代码实属罕见 2.可以很好的满足个人,企业,门户建站的需要. 3.功能极其的强大完善,文章栏目支持无限级分类,支持自定义风格与模板,可以由栏目变成一个频道。 4.对广大用户而言,完全免费使用,并且在论坛提供免费技术支持. 5.扩展性非常强,可以自由安装官方提供下载、商城、图库、音乐、视频、博客等等模块。 6.可以很好的整合discuz论坛与phpwind论坛的用户系统.最关键的是纯绿色整合,不修改原论坛的数据结构与程序文件.丝毫不影响原论坛的正常运行。 7.还有更多的特色功能,尽在不言中,大家慢慢体会吧。 get_one(" SELECT * FROM {$pre}channel WHERE id='$ch' "); $head_tpl=$chdb[head_tpl]; $foot_tpl=$chdb[foot_tpl]; $chdb[style] && $STYLE=$chdb[style]; //频道定义了风格将以频道为主 //其他频道的SEO if($chdb[id]!=1) { $titleDB[title]="$chdb[name] - $titleDB[title]"; $titleDB[keywords]=$titleDB[description]="$titleDB[title] - $titleDB[keywords]"; } /** *自动访问静态首页,处理有的服务器,index.php的访问优先于index.htm,或index.html **/ if($webdb[MakeIndexHtmlTime]>0&&!$MakeIndex&&!$jobs&&is_file(PHP168_PATH.$chdb[htmlname])){ header("location:$webdb[www_url]/$chdb[htmlname]"); exit; } /** *fid栏目FID定为0,pagetype页面类型定义0(其实为1的,省略方便些),module定义为0 **/ $ch_fid = $ch_pagetype = $ch_module = 0; require(PHP168_PATH."inc/label.php"); /** *首页显示推荐栏目 **/ if($chdb[fids]) { $chdb[config]=unserialize($chdb[config]); $fiddb_article=fiddb_article($chdb[fids],$chdb[config][rows]>0?$chdb[config][rows]:10,$chdb[config][leng]>0?$chdb[config][leng]:40,$chdb[config][order]?$chdb[config][order]:'list'); $fiddb_article || $fiddb_article=array(); } require(PHP168_PATH."inc/head.php"); require(html("index",$chdb[main_tpl])); require(PHP168_PATH."inc/foot.php"); //伪静态 if($webdb[NewsMakeHtml]==2) { $content=ob_get_contents(); ob_end_clean(); ob_start(); $content=fake_html($content); echo "$content"; } //真静态 elseif($webdb[NewsMakeHtml]==1) { $content=ob_get_contents(); ob_end_clean(); ob_start(); //备用 $content=make_html($content,'index'); echo "$content"; } /*首页生静态*/ if( ($jobs!='show'&&$webdb[MakeIndexHtmlTime]>0) || $MakeIndex ) { if( $MakeIndex || (time()-@filemtime($chdb[htmlname])-$webdb[MakeIndexHtmlTime]*60)>0 ) { $webdb[MakeIndexHtmlTime] && $content.="
"; write_file($chdb[htmlname],$content); if($MakeIndex) { ob_end_clean(); echo ""; exit; } } } ?>