Z-Blog Wiki Z-Blog Wiki

Z-Blog官方文库

用户工具

站点工具


zblogasp:theme:默认模板各文件内容说明

默认模板里各文件内容说明

<#ZC_MSG025#>:模板内类似这样zc_msg结构的标签,调用的是LANGUAGE文件夹下的SimpChinese.asp,数字是一一对应的。你可以选择修改SimpChinese.asp下的文字,也可以直接在模板里把这个标签用自己想要的文字换掉。

1-5 主页面

h 1. default.html 对应首页 |h

<!--W3C规则-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>" >
<!--head开始,一般js调用,css调用,meta等都加在这里-->
<head>
        <!--网页编码 UTF-8 -->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!--网页语言 -->
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <!--网站标题(在浏览器上的),调用博客后台-站点基本设置-网站标题和网站子标题,当然也可以自己写固定的-->
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#ZC_BLOG_SUBTITLE#></title>
        <!--网站CSS路径(默认过滤,将css存放于其它目录可隐藏themes路径)-->
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <!--网站CSS,采用了asp模式来调用,可使同一主题的不同样式更换不用文件重建,其代码参考默认主题-->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <!--网站rss信息,保留-->
        <link rel="alternate" type="application/rss+xml" href="<#ZC_BLOG_HOST#>rss.xml" title="<#ZC_BLOG_TITLE#>" />
        <!--网站相关js调用,保留,勿动-->
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
        <script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<!--head结束-->
<body class="multi default"><!--body内容,class为标识,一般勿动-->
<div id="divAll"><!--最外层,一般css内只定义width为100%-->
        <div id="divPage"><!--第二层,一般css对应定义内容总宽度,小于或等于divAll-->
                <div id="divMiddle"><!--第三层,一般这层才是页面内容真正开始层;这样三层的好处是方便扩展-->
                        <!--日志顶部部分,一般为博客标题-->
                        <div id="divTop">
                                <!--顶部标题,调用博客后台-blog名称-->
                                <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                                <!--顶部副标题,调用博客后台博客-blog简洁-->
                                <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                        </div>
                        <!--顶部菜单,一般为博客顶部菜单-->
                        <div id="divNavBar">
                                <h3><#ZC_MSG052#></h3>
                                <ul>
                                        <!--调用博客后台-链接管理-导航的内容-->
                                        <#CACHE_INCLUDE_NAVBAR#>
                                </ul>
                        </div>
                        <!--博客正文-->
                        <div id="divMain">
                               <!--调用b_article-multi.html(摘要文章)的内容-->
                               <#template:article-multi#>
                               <!--页码,调用b_pagebar.html的内容-->
                               <div class="post pagebar"><#ZC_MSG042#>:<#template:pagebar#></div>
                        </div>
                        <!--侧栏开始-->
                       <div id="divSidebar">
 
<!--日历模块,这样的模块一般都是整块加入或整块删除,其它新增侧栏内容都可仿造这下面一系列模块样子来写-->
<div class="function" id="divCalendar">
<h3><#ZC_MSG050#></h3><!--这里面的<#ZC_MSG050#>调用的是language文件夹下的语言文件SimpChinese.asp,可按数字对应,后面均同。当然不喜欢也可以整个删除后自己在里面写上文字-->
<div><#CACHE_INCLUDE_CALENDAR#></div>
</div>
 
<!--登录模块-->
<div class="function" id="divContorPanel">
<h3><#ZC_MSG025#></h3>
<ul>
<li>
<!--登录后台地址-->
<a href="cmd.asp?act=login">[<#ZC_MSG009#>]</a>  
<!--权限显示链接-->
<a href="cmd.asp?act=vrs">[<#ZC_MSG021#>]</a>
</li>
</ul>
</div>
 
<!--分类模块,调用博客文章分类-->
<div class="function" id="divCatalog">
<h3><#ZC_MSG026#></h3>
<ul>
<#CACHE_INCLUDE_CATALOG#>
</ul>
</div>
 
<!--最新评论和回复模块-->
<div class="function" id="divComments">
 
 
 
<h3><#ZC_MSG027#></h3>
<ul>
<#CACHE_INCLUDE_COMMENTS#>
</ul>
</div>
 
<!--最新留言模块-->
<div class="function" id="divGuestComments">
<h3><#ZC_MSG274#></h3>
<ul>
<#CACHE_INCLUDE_GUESTCOMMENTS#>
</ul>
</div>
 
<!--最新引用模块-->
<div class="function" id="divTrackbacks">
<h3><#ZC_MSG154#></h3>
<ul>
<#CACHE_INCLUDE_TRACKBACKS#>
</ul>
</div>
 
<!--文章按月份归档模块-->
<div class="function" id="divArchives">
<h3><#ZC_MSG028#></h3>
<ul>
<#CACHE_INCLUDE_ARCHIVES#>
</ul>
</div>
 
<!--搜索模块-->
<div class="function" id="divSearchPanel">
<h3><#ZC_MSG085#></h3>
<ul>
<li>
<form method="post" action="<#ZC_BLOG_HOST#>cmd.asp?act=Search">
<!--搜索输入框,一般别动各参数,美化在css里针对 #edtSearch 来写-->
<input type="text" name="edtSearch" id="edtSearch" size="12" />
<!--搜索“搜索”按钮,可直接替换<#ZC_MSG087>即“搜索”字样,美化在css里针对 #btnPost 来写-->
<input type="submit" value="<#ZC_MSG087#>" name="btnPost" id="btnPost" />
</form>
</li>
</ul>
</div>
 
<!--统计模块-->
<div class="function" id="divStatistics">
<h3><#ZC_MSG029#></h3>
<ul>
<#CACHE_INCLUDE_STATISTICS#>
</ul>
</div>
 
<!--网站收藏模块,博客后台-链接管理-网站收藏处内容-->
<div class="function" id="divFavorites">
<h3><#ZC_MSG030#></h3>
<ul>
<#CACHE_INCLUDE_FAVORITE#>
</ul>
</div>
 
<!--友情连接模块,博客后台-链接管理-友情链接处内容-->
<div class="function" id="divLinkage">
<h3><#ZC_MSG031#></h3>
<ul>
<#CACHE_INCLUDE_LINK#>
</ul>
</div>
 
<!--图标汇集模块,博客后台-链接管理-图标汇集处内容-->
<div class="function" id="divMisc">
<h3><#ZC_MSG039#></h3>
<ul>
<#CACHE_INCLUDE_MISC#>
</ul>
                       </div>
<!--侧栏结束-->
                </div>
 
                <!--底部内容-->
                <div id="divBottom">
                        <!--底部版权信息-->
                        <h3 id="BlogPowerBy">Powered By <a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> <span id="footer-security"><a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense"><img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" /></a></span></h3>
                        <!--底部blog版权说明,博客后台-网站设置管理-blog版权说明处内容-->
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
        </div>
</div>
<!--正常运作所需js代码,保留勿动-->
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){ 
 
try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};
 
});
</script>
</body>
</html>

h 2. catalog.html 对应第二页第三页等及分类目录等 |h

<!--顶部同default.html-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#></title>
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
        <script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<body class="multi catalog">
<div id="divAll">
        <div id="divPage">
        <div id="divMiddle">
                <!--顶部部分同default.html-->
                <div id="divTop">
                        <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                        <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                </div>
                <div id="divNavBar">
<h3><#ZC_MSG052#></h3>
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
                </div>
                <div id="divMain">
<!--调用b_article-multi.html的内容-->
<#template:article-multi#>
<!--页码,调用b_pagebar.html的内容-->
<div class="post pagebar"><#ZC_MSG042#>:<#template:pagebar#></div>
                </div>
                <div id="divSidebar">
<!--日历模块-->
<div class="function" id="divCalendar">
<h3><#ZC_MSG050#></h3>
<div><#CACHE_INCLUDE_CALENDAR_NOW#></div>
</div>
 
<!--分类模块,调用博客文章分类-->
<div class="function" id="divCatalog">
<h3><#ZC_MSG026#></h3>
<ul>
<#CACHE_INCLUDE_CATALOG#>
</ul>
</div>
 
<!--文章按月份归档模块-->
<div class="function" id="divArchives">
<h3><#ZC_MSG028#></h3>
<ul>
<#CACHE_INCLUDE_ARCHIVES#>
</ul>
</div>
 
<!--tag标签列表-->
<div class="function" id="divTags">
<h3><#ZC_MSG138#></h3>
<ul>
<#CACHE_INCLUDE_TAGS#>
</ul>
</div>
 
                </div>
                <!--底部内容同default.html-->
                <div id="divBottom">
                        <h3 id="BlogPowerBy">Powered By <a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> <span id="footer-security"><a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense"><img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" /></a></span></h3>
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
        </div>
</div>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
 
try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};
 
});
</script>
</body>
</html>

h 3. search.html 对应search.asp搜索页 |h

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#ZC_MSG085#> <#BlogTitle#></title>
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
        <script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<body class="multi search">
<div id="divAll">
        <div id="divPage">
        <div id="divMiddle">
                <div id="divTop">
                        <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                        <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                </div>
                <div id="divNavBar">
<h3><#ZC_MSG052#></h3>
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
                </div>
                <div id="divMain">
                <!--搜索日志处的显示,search字眼,后面跟所搜索的关键字,一般不需修改-->
<div class="post"><#ZC_MSG085#>:<#BlogTitle#></div>
<#template:article-multi#>
                </div>
                <div id="divSidebar">
 
<!--搜索模块,搜索页必须-->
<div class="function" id="divSearchPanel">
<h3><#ZC_MSG085#></h3>
<ul>
<li>
<form method="post" action="<#ZC_BLOG_HOST#>cmd.asp?act=Search">
<input type="text" name="edtSearch" id="edtSearch" size="12" />
<input type="submit" value="<#ZC_MSG087#>" name="btnPost" id="btnPost" />
</form>
</li>
</ul>
</div>
 
                </div>
                <div id="divBottom">
                        <h3 id="BlogPowerBy">Powered By <a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> <span id="footer-security"><a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense"><img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" /></a></span></h3>
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
        </div>
</div>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
 
try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};
 
});
</script>
</body>
</html>

h 4. tags.html 对应 tags.asp标签云集页面 |h

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#></title>
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
        <script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<body class="multi tags">
<div id="divAll">
        <div id="divPage">
        <div id="divMiddle">
                <div id="divTop">
                        <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                        <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                </div>
                <div id="divNavBar">
<h3><#ZC_MSG052#></h3>
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
                </div>
                <div id="divMain">
<!--标签内容,默认显示为tags和标签列表-->
<div class="post">
        <h4 class="post-date"></h4>
        <h2 class="post-title"><#CUSTOM_TAGS_TITLE#></h2>
        <!--标签列表,标签tag页必需品-->
        <div class="post-body"><#CUSTOM_TAGS#></div>
</div>
                </div>
                <div id="divSidebar">
 
<!--日历模块-->
<div class="function" id="divCalendar">
<h3><#ZC_MSG050#></h3>
<#CACHE_INCLUDE_CALENDAR#>
</div>
 
<!--图标汇集模块,博客后台-链接管理-图标汇集处内容-->
<div class="function" id="divMisc">
<h3><#ZC_MSG039#></h3>
<ul>
<#CACHE_INCLUDE_MISC#>
</ul>
</div>
 
                </div>
                <div id="divBottom">
                        <h3 id="BlogPowerBy">Powered By <a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> <span id="footer-security"><a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense"><img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" /></a></span></h3>
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
        </div>
</div>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
 
try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};
 
});
</script>
</body>
</html>
<!-- <#BLOG_CREATE_TIME#> -->

h 5. single.html 对应每个独立文章页和留言本(当无guestbook.html下) |h

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#></title>
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <link rel="alternate" type="application/rss+xml" href="<#ZC_BLOG_HOST#>feed.asp?cmt=<#article/id#>" title="Comments Feed for <#article/title#>" />
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
        <script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strFaceName="<#ZC_EMOTICONS_FILENAME#>";
                var strFaceSize="<#ZC_EMOTICONS_FILESIZE#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<body class="single">
<div id="divAll">
        <div id="divPage">
        <div id="divMiddle">
                <div id="divTop">
                        <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                        <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                </div>
                <div id="divNavBar">
<h3><#ZC_MSG052#></h3>
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
                </div>
                <div id="divMain">
<!--调用b_article-single.html的内容-->
<#template:article-single#>
                </div>
                <div id="divSidebar">
 
<!--日历模块-->
<div class="function" id="divCalendar">
<h3><#ZC_MSG050#></h3>
<div id="divCalendar2"><script language="JavaScript" type="text/javascript">strBatchInculde+="divCalendar2=calendar,"</script></div>
</div>
 
<!--最新评论和回复模块-->
<div class="function" id="divComments">
<h3><#ZC_MSG027#></h3>
<ul id="ulComments">
<script language="JavaScript" type="text/javascript">strBatchInculde+="ulComments=comments,"</script>
</ul>
</div>
 
<!--最新日志模块-->
<div class="function" id="divPrevious">
<h3><#ZC_MSG032#></h3>
<ul id="ulPrevious">
<script language="JavaScript" type="text/javascript">strBatchInculde+="ulPrevious=previous,"</script>
</ul>
</div>
 
                </div>
                <div id="divBottom">
                        <h3 id="BlogPowerBy">Powered By <a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> <span id="footer-security"><a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense"><img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" /></a></span></h3>
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
        </div>
</div>
<script language="JavaScript" type="text/javascript">
 
/*                jQuery 1.1 API used                */
var RevertID=0;
$(document).ready(function(){
 
try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};
 
        if(document.getElementById("inpVerify")){
                var objImageValid=$("img[@src^='"+str00+"function/c_validcode.asp?name=commentvalid']");
                objImageValid.css("cursor","pointer");
                objImageValid.click( function() {
                                objImageValid.attr("src",str00+"function/c_validcode.asp?name=commentvalid"+"&random="+Math.random());
                } );
        }
});
</script>
</body>
</html>
<!-- <#BLOG_CREATE_TIME#> -->

6-9 内模板

h 6. b_article-single.html 对应日志正文内容处的显示 |h

<div class="post cate<#article/category/id#> auth<#article/author/id#>">
        <!--调用b_article_nvabar_l.html和b_article_nvabar_r.html,表示上一篇日志和下一篇日志-->
        <div class="post-nav"><#template:article_navbar_l#><#template:article_navbar_r#></div>
        <!--日志发表时间-->
        <h4 class="post-date"><#article/posttime#></h4>
        <!--日志文章标题-->
        <h2 class="post-title"><#article/title#></h2>
        <!--日志正文全部内容-->
        <div class="post-body"><#article/content#></div>
        <!--日志标签-->
        <h5 class="post-tags"><#ZC_MSG138#>: <#template:article_tag#></h5>
        <h6 class="post-footer">
                <!--依次是作者|所在分类|评论数|引用数|查看数(包含js)-->
                <#ZC_MSG011#>:<#article/author/name#> | <#ZC_MSG012#>:<#article/category/name#> | <#ZC_MSG013#>:<#article/commnums#> | <#ZC_MSG014#>:<#article/trackbacknums#> | <#ZC_MSG130#>:<span id="spn<#article/id#>"></span>
                <script language="JavaScript" type="text/javascript">strBatchCount+="spn<#article/id#>=<#article/id#>,"</script>
        </h6>
</div>
<!--日志引用地址-->
<ul class="msg trackback">
        <li class="tbname"><a href="<#article/pretrackback_url#>" target="_blank"><#ZC_MSG232#></a></li>
</ul>
<!--相关日志-->
<ul class="msg mutuality">
        <li class="tbname"><#ZC_MSG231#>:</li>
        <!--相关日志列表,调用b_article_mutuality.html的内容-->
        <li class="msgarticle"><#template:article_mutuality#></li>
</ul>
<!--调用b_article_trackback.html、b_article_comment.html、b_article_commentpost.html三个页面,分别对应的是引用显示、评论显示、回复评论-->
<#template:article_trackback#>
<#template:article_comment#>
<#template:article_commentpost#>

h 7. b_article-multi.html 对应首页、翻页和分类等处的日志摘要显示 |h

<div class="post cate<#article/category/id#> auth<#article/author/id#>">
        <!--日志日期-->
        <h4 class="post-date"><#article/posttime/longdate#></h4>
        <!--日志标题-->
        <h2 class="post-title"><a href="<#article/url#>"><#article/title#></a></h2>
        <!--日志摘要-->
        <div class="post-body"><#article/intro#></div>
        <!--日志标签-->
        <h5 class="post-tags"><#ZC_MSG138#>: <#template:article_tag#></h5>
        <!--日志底部信息-->
        <h6 class="post-footer">
                <!--依次是作者|所在分类|评论数|引用数|查看数(包含js)-->
                <#ZC_MSG011#>:<#article/author/name#> | <#ZC_MSG012#>:<#article/category/name#> | <#ZC_MSG013#>:<#article/commnums#> | <#ZC_MSG014#>:<#article/trackbacknums#> | <#ZC_MSG130#>:<span id="spn<#article/id#>"></span>
                <script language="JavaScript" type="text/javascript">strBatchView+="spn<#article/id#>=<#article/id#>,"</script>
        </h6>
</div>

h 8. b_article-istop.html 对应置顶文章 |h

b_article-istop.html对应置顶文章
<div class="post cate<#article/category/id#> auth<#article/author/id#>">
        <!--置顶文章显示,需要显示置顶正文,把这里改成和b_article-multi.html类似即可-->
        <h2 class="post-title"><a href="<#article/url#>">[<#ZC_MSG051#>] <#article/title#></a></h2>
</div>

h 9. b_article-guestbook.html 对应留言本留言内容处 |h

<!--用在留言本的留言正文处,类似b_article-single.html-->
<div class="post">
        <h2 class="post-title"><#article/title#></h2>
        <div class="post-body"><#article/content#></div>
</div>
<#template:article_trackback#>
<#template:article_comment#>
<div class="post pagebar"><#ZC_MSG042#>:<#template:pagebar#></div>
<#template:article_commentpost#>

10-12 评论

h 10. b_article_comment.html 对应评论留言显示处 |h

<ul class="msg">
        <!--引用回复和楼号、留言名字-->
        <li class="msgname"><span class="comment-quote-icon"><a onclick="InsertQuote(this.parentNode.parentNode.parentNode.getElementsByTagName('a')[2].innerHTML,this.parentNode.parentNode.parentNode.getElementsByTagName('li')[2].innerHTML);return false;" href=""><img src="<#ZC_BLOG_HOST#>image/common/quote.gif" height="9" width="9" alt="quote" title="quote" /></a></span> <a name="cmt<#article/comment/id#>"><#article/comment/count#></a>.<a><#article/comment/name#></a></li>
        <!--评论人的网址-->
        <li class="msgurl"><a href="<#article/comment/urlencoder#>" rel="nofollow" target="_blank"><#article/comment/url#></a></li>
        <!--评论内容-->
        <li class="msgarticle"><#article/comment/content#></li>
        <!--评论时间-->
        <li class="msgtime"><#article/comment/posttime#> <a href="#comment" onclick="RevertComment('<#article/comment/id#>')"><#ZC_MSG265#></a></li>
</ul>

h 11. b_article_commentpost.html 对应评论留言输入处 |h

<div class="post" id="divCommentPost">
        <!--发评论处的东西-->
        <p class="posttop"><a name="comment"><#ZC_MSG024#>:</a></p>
        <form id="frmSumbit" target="_self" method="post" action="<#article/commentposturl#>" >
        <input type="hidden" name="inpId" id="inpId" value="<#article/id#>" />
        <input type="hidden" name="inpArticle" id="inpArticle" value="" />
        <input type="hidden" name="inpLocation" id="inpLocation" value="" />
        <!--昵称-->
        <p><input type="text" name="inpName" id="inpName" class="text" value="" size="28" tabindex="1" /> <label for="inpName"><#ZC_MSG001#>(*)</label></p>
        <!--邮箱-->
        <p><input type="text" name="inpEmail" id="inpEmail" class="text" value="" size="28" tabindex="2" /> <label for="inpEmail"><#ZC_MSG053#></label></p>
        <!--网址-->
        <p><input type="text" name="inpHomePage" id="inpHomePage" class="text" value="" size="28" tabindex="3" /> <label for="inpHomePage"><#ZC_MSG054#></label></p>
        <!--验证码,调用b_article_commentpost-verify.html-->
        <#template:article_commentpost-verify#>
        <!--内容输入处文字-->
        <p><label for="txaArticle"><#ZC_MSG055#>(*)(<#ZC_MSG056#>:<#ZC_CONTENT_MAX#>)</label></p>
        <!--内容输入框-->
        <p><textarea name="txaArticle" id="txaArticle" onchange="GetActiveText(this.id);" onclick="GetActiveText(this.id);" onfocus="GetActiveText(this.id);" class="text" cols="50" rows="4" tabindex="5" ></textarea></p>
        <!--发送按键和记住信息-->
        <p><input name="btnSumbit" type="submit" tabindex="6" value="<#ZC_MSG087#>" onclick="JavaScript:return VerifyMessage()" class="button" /> <input type="checkbox" name="chkRemember" value="1" id="chkRemember" /> <label for="chkRemember"><#ZC_MSG049#></label></p>
        <!--ubb代码调用和表情-->
        <script language="JavaScript" type="text/javascript">objActive="txaArticle";ExportUbbFrame();</script>
        </form>
        <!--底部文字说明-->
        <p class="postbottom"><#ZC_MSG040#></p>
        <!--勿删-->
        <script language="JavaScript" type="text/javascript">LoadRememberInfo();</script>
</div>

h 12. b_article_commentpost-verify.html 对应验证码相关显示 |h

<!--验证码显示-->
        <p><input type="text" name="inpVerify" id="inpVerify" class="text" value="" size="28" tabindex="4" /> <label for="inpVerify"><#ZC_MSG089#>(*)</label> <img style="border:1px solid black" src="<#ZC_BLOG_HOST#>function/c_validcode.asp?name=commentvalid" alt="" title=""/></p>

13-18 其它

h 13. b_article_mutuality.html 对应文章后相关日志显示 |h

<!--相关日志的显示,(<#article/mutuality/posttime#>)为发表日期-->
<p><a  href="<#article/mutuality/url#>"><#article/mutuality/name#></a>  (<#article/mutuality/posttime#>)</p>

h 14. b_article_trackback.html 对应引用内容显示处 |h

<!--引用页,用在正文下方评论处引用内容的显示-->
<ul class="msg tb">
        <!--被引用的文章-->
        <li class="tbname"><a name="tb<#article/trackback/id#>"><#article/trackback/title#></a>(<#ZC_MSG014#>)</li>
        <!--对方文章网址-->
        <li class="msgurl"><a href="<#article/trackback/url#>" rel="nofollow" target="_blank"><#article/trackback/name#></a></li>
        <!--对方引用文章的内容摘要-->
        <li class="msgarticle"><#article/trackback/content#></li>
        <!--引用时间-->
        <li class="msgtime"><#article/trackback/posttime#></li>
</ul>
 
 
<code html|h 15. b_pagebar.html 对应页码条 |h>
<!--首页和翻页、分类页所用页码,可改[ ]中括号或删除中括号-->
<a href="<#pagebar/page/url#>">[<#pagebar/page/number#>]</a>

h 16. b_article_tag.html 对应单个标签显示 |h

<!--标签页,用在tags.html处-->
<a href="<#article/tag/url#>"><#article/tag/name#></a>  

h 17. b_article_nvabar_l.html和b_article_nvabar_r.html对应日志的上一篇和下一篇示 |h

b_article_nvabar_l.html和b_article_nvabar_r.html对应日志的上一篇和下一篇
<!--下一页-->
<a class="r" href="<#article/nav_r/url#>"><#article/nav_r/name#> »</a>
 
和
 
<!--上一页-->
<a class="l" href="<#article/nav_l/url#>">« <#article/nav_l/name#></a>

参考来源

zblogasp/theme/默认模板各文件内容说明.txt · 最后更改: 2016/06/21 15:02 (外部编辑)