pjblog首页及全站日志纯静态插件v1.1[6月7日更新]

#160;               

替换成:
        
<SCRIPT LANGUAGE="JavaScript" SRC="comm.asp?id=<%=webLogArr(0,PageCount)%>&arr=<%=webLogArr(3,PageCount)%>&viewarr=<%=webLogArr(2,PageCount)%>"></SCRIPT>


9.PLUGINS目录下的文件直接覆盖。完后需要到后台修复插件。

.打开ConContent.asp,找到:
找到:
  
<input type="checkbox" name="ReBulid" value="" id="T"/> <label for="T">重建数据缓存</label><br/>

在上面插入一行:
    
<input type="checkbox" name="ReJs" value="" id="T6"/> <label for="T6">刷新所有JS文件</label><br/>


**************************************************************
如果加了我的后台日志管理插件,需要做如下修改:
找到
        
for i=0 to ubound(Log_Dele)
            Log_source_ID=conn.execute("sel�ct log_CateID from blog_Content wh�re log_ID="&Log_Dele(i))(0)
            conn.execute ("up�ate blog_Content set log_CateID="&Request.form("source")&" wh�re log_ID="&Log_Dele(i))
            conn.execute ("up�ate blog_Category set cate_count=cate_count+ wh�re cate_ID="&Request.form("source"))
            conn.execute ("up�ate blog_Category set cate_count=cate_count- wh�re cate_ID="&Log_source_ID)
        next


在后面插入一行:
        
call blog_makehtml(-)

找到:
        
for i=0 to ubound(Log_Dele)
            Log_source_ID=conn.execute("sel�ct log_CateID from blog_Content wh�re log_ID="&Log_Dele(i))(0)
            conn.execute ("up�ate blog_Category set cate_count=cate_count- wh�re cate_ID="&Log_source_ID)
            conn.execute("Del�te * from blog_Content wh�re log_ID="&Log_Dele(i))
        next


修改成:
        
for i=0 to ubound(Log_Dele)
            Log_source_ID=conn.execute("sel�ct log_CateID from blog_Content wh�re log_ID="&Log_Dele(i))(0)
            conn.execute ("up�ate blog_Category set cate_count=cate_count- wh�re cate_ID="&Log_source_ID)
            conn.execute("Del�te * from blog_Content wh�re log_ID="&Log_Dele(i))
            if fso.FileExists(server.MapPath("article"& Log_Dele(i) &".html")) then
                fso.Del�teFile(server.MapPath("article"& Log_Dele(i) &".html"))
            end if
        next
        call blog_makehtml(-)
         call Newarticle()
        call NewComment()

*

上一页  [1] [2] [3] [4] [5] [6] [7]  下一页



[本日志由 小戒 于 2008-05-27 08:24 AM 编辑]
上一篇: 习惯性用语--周末愉快
下一篇: 北京海淀艺术职业学校高中生欺辱年迈教师[视频录象]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: PJBLOG 静态 插件 日志
相关日志:
评论: 7 | 引用: 0 | 查看次数: -
Jared
回复回复Jared[2007-07-09 11:39 PM | | | del]
你好!
可以把修改好的原版用邮箱发给我吗?官网上面这个下载有木马,我下了好多次都不行,谢谢了。
shenshu#188.com

非病毒,纯属误报。关掉再解压就行了。生成HTML时的代码被当成病毒了。
小戒
回复回复小戒[2007-06-07 10:16 PM | | | del]
回SKYII.CN,如果是新站可以直接覆盖。但我本地测试的新站删掉了。在服务器上。呆会放上去。
skyii.cn
回复回复skyii.cn[2007-06-07 10:08 PM | | | del]
可以直接提供修改的文件吗?
小戒
回复回复小戒[2007-06-05 05:17 PM | | | del]
蔷薇,你的网站我打不开。
蔷薇
回复回复蔷薇[2007-06-05 04:35 PM | | | del]
你好啊,我完全用了你的方法已经修改过了,但是还是不行呢,为什么啊,
请看看我的地址依然是动态的,http://rose.0start.cn
小戒
回复回复小戒[2007-05-28 09:28 AM | | | del]
推荐你用Macromedia Dreamweaver 8
he
回复回复he[2007-05-28 08:55 AM | | | del]
你的博客不错,请问,用什么来编辑asp文件,
发表评论
昵 称:
密 码: 游客发言不需要密码.
邮 箱: 支持Gravatar头像.
网 址: 输入网址便于回访.
内 容:
验证码:
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.