Dedecms文件夹目录解释完整版

dedecms目录介绍: ! f V- V8 ]2 H ./dede dede后台 ./html 生成栏目对应的文件 ./include 类库,配置文件,词库! Y0 m* W0 ]* m( x- k: p8 ~ ./member 会员功能 ./plus 插件(留言簿,投票。。) ./setup 安装程序目录6 ?’ H" _, D4 z7 \( E3 D0 G5 m2 ] ./special 专题生成目录$ a4 ?3 V- y6 k( B ./templets 网站模板目录 ./upimg 采集,后者用户上传的附件所在的目录 D/ `- `9 M0 a base.css 基本样式表 index.php 网站默认首页 robots.txt 搜索控制文件% m! X g) Y. q+ w; ~) q z. s //**************************************************************** 文件介绍: ./index.html 由模板生成的html首页文件 ./index.php 解析模板,并且显示出首页,; @3 z$ x8 ?( x 具体代码做个分析:+ y( l: {‘ b) ] require_once(dirname(__FILE__)."/include/config_base.php"); require_once(dirname(__FILE__)."/include/inc_arcpart_view.php"); //上面两段是调用两个文件一个是基本的配置文件,另一个是是文章类文件7 e# U: E’ W( h$ Z dirname(__FILE__)是当前路径0 z5 m( d, y2 n1 B) \5 r: j) x6 T CODE: $dsql = new DedeSql(false); U* [4 e/ @ i% y $row = $dsql->GetOne("Select * From dede_homepageset"); $dsql->Close();! b$ n- r0 N7 v; s# ?/ c //SQL语句,查询表dede_homepageset 字段templet (调用哪个模板) CODE: $pv = new PartView(); $pv->SetTemplet($cfg_basedir."/".$cfg_templets_dir."/".$row[‘templet’]);0 d’ K. L% u( t+ \ $pv->Display();6 x3 A. H- @8 h- z5 V $pv->Close();& P4 C( F8 G0 H: c //类库调用,* r5 g# d. p# p% i4 ? $cfg_basedir."/".$cfg_templets_dir."/".是路径, $row[‘templet’]是模板的具体的位置, 然后是$pv->Display();显示模板文件。 ============================================/ |# G" V% `1 b! a /templets模板目录 ) |& {7 U8 }$ q* K’ s! ` /dedecmsv31 3模板目录 /default 默认模板目录 . @% H) _8 d+ }& F5 f’ H9 S article_article.htm 普通文章页面模板 . t- k7 h: \ Z’ ~: ]/ e article_default.htm 一般文档页面模板 article_flash.htm flash页面模板 & b7 c6 x* T( i9 U article_image.htm 图集页面模板 5 c r6 i9 E1 f" l, M; E article_soft.htm 软件页面模板 ) Y$ a$ I$ X# c7 g T article_spec.htm 专题页面模板 % I& Q. {2 z- U# l7 ]* h index.htm 网站首页模板 # | `# c6 w% M+ ~% {9 G index_article.htm 文章频道封面模板 1 I2 ?’ t! a- ]; G( R) h) E index_article_webart1.htm / G: p: t! Q1 V% H index_article_webart2.htm , c4 `0 d5 F N index_article_webart.htm index_default.htm 一般文档封面模板 index_flash.htm flash频道封面模板 index_image.htm 图集频道封面模板 index_soft.htm 软件频道封面模板 list_article.htm 文章列表模板 ) o3 Z& j- l6 o. M/ N list_default.htm 一般文档列表目录模板 ( B7 K& N/ ~3 _; |4 p’ ]* x. } list_flash.htm flash文档列表模板 ! x3 w+ `/ F: j: V9 w# z list_free.htm 自由列表模板 list_image.htm 图集列表模板 list_soft.htm 软件列表模板 M* [4 R2 b, q list_spec.htm 专题列表模板 /img 模板图片目录(含样式表). t# v" {* b1 T% b B, ^- S. }, C$ n$ ^ /plus 辅助插件模板目录 download_links_templet.htm 下载链接模板 " b( A1 ^& @# U @9 X, x9 Y feedback_confirm.htm 评论确认模板 , ?" c0 m3 M, z P* ^6 q6 I feedback_templet.htm 用户评论模板 * t4 ^2 f5 a0 W feedback_templet_js.htm flink-add.htm 友情链接添加模板 flink-list.htm 友情链接列表模板 guestbook.htm 留言本模板 . _$ D3 |& i* y) n’ Q/ o; h1 c heightsearch.htm 高级搜索模板 js.htm , E$ S0 E/ ~9 I# [# }; Q. g recommend.htm 推荐好友模板 4 m7 T, @, Z, `$ S# L: J rss.htm RSS的XML模板 6 K0 h! t" s+ x& U9 N* d rssmap.htm RSS订阅文件 showphoto.htm 图片显示模板 ( [# K( z’ }5 V sitemap.htm 网站地图模板 2 L$ U8 Z1 |9 W4 c1 V view_msg.htm 会员提示信息模板 . f2 l! Z, g( j. a vote.htm 投票结果显示模板9 v. o2 ^: T9 N, F0 i) f /system 系统模板目录" j0 E6 F! @- k9 x. L1 a channel_list.htm 栏目列表系统模板 list_fulllist.htm 文档列表系统模板 mynews.htm 站内新闻系统模板 part_arclist.htm 文章列表系统模板 part_autochannel.htm 分类栏目系统模板 ) y3 A% @, [7 b, F part_channelartlist.htm 包含文章列表的栏目系统模板 part_imginfolist.htm 使用imginfolist标签调用的模板 : O5 i/ ~: e6 e. c D& E6 U part_imglist.htm 使用imglist标签调用的模板 part_type_list.htm 单个栏目的系统模板 spec_arclist.htm 专题列表文章系统模板 + Y) B4 ]0 e A4 J& J* b6 M9 C& W+ Q spec_list.htm 专题用模板 1 t3 u3 ]4 L$ W! c% h& E2 y+ [, W tag_arclist.htm . g; c5 f. c; J5 i tag_fieldlist.htm fieldlist用系统模板$ W# r/ B5 \&; Y. A$ X [( ~. n1 \5 w /system/channel 频道特殊底层模板目录 ! n7 Z. P8 D: I3 c i- N channel_downlinkpage.htm 下载地址列表链接模板 5 R9 A9 _’ G$ ?- {: h/ u channel_downlinks.htm 下载地址列表模板 ! t/ V$ X’ e- ?5 K: f% G channel_spec_note.htm 专题节点列表模板 /include目录 程序核心目录 3 |! H& O" r/ |- c9 T config_base.php 环境定义文件。用于检测系统环境,定义工作目录,保存数据库链接信息,引入常用函数等,建议不要修改。 config_hand.php 系统配置文件。定义系统常用的配置信息定义,可从后台管理直接生成该文件。 config_passport.php 通行证文件 5 @9 P% A% Y% P0 Y’ P+ w config_rglobals.php 检测系统外部变量 config_rglobals_magic.php 同上 inc_archives_view.php 用于浏览文档或对文档生成HTML 0 q3 y0 o# [. F5 Z U inc_arclist_view.php 用于浏览频道列表或对内容列表生成HTML ( o% [8 A& }; k) d/ S( U0 V M inc_arcmember_view.php 用于浏览会员发布的文档 inc_arcpart_view.php 用于解析和创建全局性质的模板,如频道封面,主页,单个页面等 inc_arcsearch_view.php 用于文档搜索 inc_arcspec_view.php 用于浏览所有专题列表或对专题列表生成HTML inc_channel_unit.php 用户解析特定频道的附加数据结构信息 inc_channel_unit_functions.php 系统共用函数集合 6 o! d’ j; Y6 r1 @& H’ M: R8 w inc_downclass.php 防采集随机字符串函数 inc_freelist_view.php 用于对特定内容列表生成HTML inc_functions.php 可供用户使用的函数集合 inc_imgbt.php GetTypeidSelMember inc_memberlogin.php 用于用户登录及获得会员状态 inc_photograph.php 用于处理系统中的图片,例如水印,缩略图等 inc_photowatermark_config.php 图片处理参数定义 ; y5 r2 n+ v’ Y* c% R8 T+ Q4 b inc_rss_view.php 用于浏览频道RSS或对RSS生成静态文件 5 {6 S, a* P; X! p9 E inc_separate_functions.php SpGetArcList函数,用于获得文档列表 inc_sitemap.php 用于生成网站地图 & c1 d( i8 K0 b# g$ l inc_type_tree.php 用于选择栏目的目录树 5 Z+ U- J8 D’ Q4 p inc_type_tree_member.php 同上,会员使用 inc_typelink.php 用于显示文章的位置和栏目位置等 inc_typeunit_admin.php 用于频道管理时的一些复杂操作,主要用于后台 inc_typeunit_menu.php 同上 * _) p. b+ n0 c inc_userlogin.php 用于管理员登录 inc_vote.php 用于管理投票 , q+ L7 c* G% B jump.php 用于超链接跳转 pub_charset.php 共用字符处理函数,GB/UTF-8/Unicode/BIG5等互换 pub_collection.php 用于采集 pub_collection_functions.php 采集用函数 ; @4 e3 i0 C" |0 s8 V5 ~ pub_datalist.php 后台管理用数据列表 Z# r# M8 C/ Z, c/ t d pub_datalist_dm.php 同上,不使用模板 ‘ {& |$ i0 j! b pub_db_mysql.php 用于操作数据库 ) |4 i( C2 V9 ~3 ?" y pub_dedehtml2.php 用于采集中的HTML解析 pub_dedehtml.php HTML解析器 ( H6 g5 @) E \- M9 s pub_dedetag.php 用于dede模板标签解析 pub_httpdown.php 用于下载http中的资源 pub_oxwindow.php 后台程序扩展 & G9 K |# b" L5 d* t( A pub_splitword_www.php 织梦分词算法 0 X! H# ^5 c2 P- H$ E validateimg.php 验证码 vdimgck.php 验证码1 G9 ~0 U0 d6 ^; x9 \ /inc 共用函数目录% v( k: |# L- A7 n! T* } & G0 y! D’ m. {4 t+ o inc_fun_funAdmin.php 获取拼音码等函数 9 E7 u2 I" i+ M% _% t inc_fun_funString.php html代码处理等函数 3 F9 U% z; K3 z- a/ j; g- ?1 A0 g inc_fun_SpGetArcList.php 获取文档列表SpGetArcList 5 m# p: q$ v6 F+ k: O / q) n+ u& W6 Z+ U0 n0 X dede功能模块模板路径对应表 $ ~! a& d: Z/ `2 [* M 首页模板 \templets\default\index.html 文章频道首页 \templets\default\index_article.htm / l7 p7 @( m! O( c. @+ X1 I 文章列表页 \templets\default\list_article.htm . i- y3 v3 s. r5 f 文章内容页 \templets\default\article_article.htm 图集频道首页 \templets\default\index_image.htm 图集列表页 \templets\default\list_image.htm 1 ~" A% g+ A( v6 B’ o# w" ^ 图集内容页 \templets\default\article_image.htm 3 B7 l; b, v3 M# D% s: x 图集详细页面 \templets\plus\showphoto.htm / E9 Y2 f8 i6 R5 V, H; p" N( ^ 软件频道首页 \templets\default\index_soft.htm . X& W$ ?( e3 n 软件列表页 \templets\default\list_soft.htm 软件内容页 \templets\default\article_soft.htm 4 _" T2 O. s N: g4 Z( p 软件最终下载页 \templets\plus\download_links_templet.htm 0 `4 {% W: }3 }, x7 h+ Y 动画频道首页 \templets\default\index_flash.htm 动画列表页 \templets\default\list_flash.htm 动画内容页 \templets\default\article_flash.htm & s2 G" O U6 Y5 Q 产品频道首页 \templets\default\index_product.htm – w8 L, q, G0 d6 w% h2 N3 S 产品列表页 \templets\default\list_product.htm & G8 N3 T* [$ y’ s \( s2 Z’ E3 h 产品内容页 \templets\default\article_product.htm 分类信息频道首页 \templets\default\index_info.htm 0 p/ e) i( ?( a 分类信息列表页 \templets\default\list_info.htm 分类信息内容页 \templets\default\article_info.htm 分类信息搜索页 \templets\default\infosearch.htm 专题列表页 \templets\default\list_spec.htm / R, {- K# r9 Q’ ~. }9 e7 B2 g 专题内容页 \templets\default\article_spec.htm 5 ^3 T, Q" D’ }% i q 图书模块 图书首页 \templets\default\books_index.htm ! d7 Y0 u0 Z4 U7 q4 h9 H2 _ 图书列表页 \templets\default\books_list.htm * Y5 C’ r9 _3 Q2 W- Q0 h* q 图书搜索页 \templets\default\books_search.htm 图书内容页 \templets\default\books_book.htm ; F6 i- N7 e- s5 c( [3 Q 小说章节内容页 \templets\default\books_story.htm 9 @" o7 z0 i’ n/ K4 q0 F7 Z6 S 漫画章节内容页 \templets\default\books_photo.htm n3 p- s) @2 D! A3 w/ \!! Z2 u4 ? vip章节内容页 \templets\default\book_member_err.htm 5 c0 r/ ]& Q) B’ D0 l 1 T% a6 K0 V C d+ | 9 t0 L4 `: s, x( x 问答模块 " [ l, y5 z( t9 ~ 问答首页 \ask\template\default\dede.htm 问答列表页 \ask\template\default\browser.htm ! S( h4 Q/ `4 ?% R# H: w( b# M 问答内容页 \ask\template\default\question.htm 问答提问页 \ask\template\default\post.htm . K9 O- w7 C3 _+ V 问答内容维护页 \ask\template\default\post.adopt.htm & J) u# Y! [7 b) F+ |- d \ask\template\default\post.extra.htm \ask\template\default\post.upreward.htm 问答搜索结果页 \ask\template\default\search.htm 1 o e8 ?0 I8 | 问答消息提示页 \ask\template\default\showmsg.htm + P% R K$ B9 O$ R 1 O1 H; l* t& Q( O n3 g% t 其他功能与插件 6 {3 J9 S+ b3 J" w! M8 F5 J9 j, e TAG列表页 \templets\default\taglist.htm ; @: T* p3 i% j+ l TAG内容列表 \templets\default\tag.htm ! h7 h4 ~ X3 P$ G# ^: a DIGG列表页 \templets\default\digg.htm 搜索结果页 \templets\default\search.htm , [5 l- T( ]+ F( A n$ G0 Z 高级搜索页 \templets\plus\heightsearch.htm 2 c& Z# n# ~3 k- x* @5 Y 评论页模板 \templets\plus\feedback_templet.htm ; V: L, F5 }" V1 w! f q* ^4 X 评论验证码确认页 \templets\plus\feedback_confirm.htm 评论JS内容页 \templets\plus\feedback_templet_js.htm & B. [$ H) v9 o8 z/ V$ c 站点地图页 \templets\plus\sitemap.htm " \; ^+ j( W/ X+ w3 L6 x# c% n RSS地图页 \templets\plus\rssmap.htm RSS内容页 \templets\plus\rss.htm 8 c8 b5 m; g’ `4 `: E 投票页 \templets\plus\vote.htm 栏目JS文件 \templets\plus\js.htm 推荐文档信息页 \templets\plus\recommend.htm 友情连接提交页 \templets\plus\flink-add.htm 友情链接列表页 \templets\plus\flink-list.htm 1 p0 I8 k0 _* @6 i1 }4 i6 ^ 留言板插件 \templets\plus\guestbook.htm 才能做到人在旅途,感悟人生,享受人生。

Dedecms文件夹目录解释完整版

相关文章:

你感兴趣的文章:

标签云: