pjblog首页及全站日志纯静态插件v1.1[6月7日更新]
作者:小戒 日期:2007-05-27
#160;
替换成:
9.PLUGINS目录下的文件直接覆盖。完后需要到后台修复插件。
.打开ConContent.asp,找到:
找到:
在上面插入一行:
**************************************************************
如果加了我的后台日志管理插件,需要做如下修改:
找到
在后面插入一行:
找到:
修改成:
*
替换成:
复制内容到剪贴板
程序代码
程序代码<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("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Content set log_CateID="&Request.form("source")&" whre log_ID="&Log_Dele(i))
conn.execute ("upate blog_Category set cate_count=cate_count+ whre cate_ID="&Request.form("source"))
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
next
Log_source_ID=conn.execute("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Content set log_CateID="&Request.form("source")&" whre log_ID="&Log_Dele(i))
conn.execute ("upate blog_Category set cate_count=cate_count+ whre cate_ID="&Request.form("source"))
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
next
在后面插入一行:
复制内容到剪贴板
程序代码
程序代码call blog_makehtml(-)
找到:
复制内容到剪贴板
程序代码
程序代码for i=0 to ubound(Log_Dele)
Log_source_ID=conn.execute("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
conn.execute("Delte * from blog_Content whre log_ID="&Log_Dele(i))
next
Log_source_ID=conn.execute("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
conn.execute("Delte * from blog_Content whre log_ID="&Log_Dele(i))
next
修改成:
复制内容到剪贴板
程序代码
程序代码for i=0 to ubound(Log_Dele)
Log_source_ID=conn.execute("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
conn.execute("Delte * from blog_Content whre log_ID="&Log_Dele(i))
if fso.FileExists(server.MapPath("article"& Log_Dele(i) &".html")) then
fso.DelteFile(server.MapPath("article"& Log_Dele(i) &".html"))
end if
next
call blog_makehtml(-)
call Newarticle()
call NewComment()
Log_source_ID=conn.execute("selct log_CateID from blog_Content whre log_ID="&Log_Dele(i))(0)
conn.execute ("upate blog_Category set cate_count=cate_count- whre cate_ID="&Log_source_ID)
conn.execute("Delte * from blog_Content whre log_ID="&Log_Dele(i))
if fso.FileExists(server.MapPath("article"& Log_Dele(i) &".html")) then
fso.DelteFile(server.MapPath("article"& Log_Dele(i) &".html"))
end if
next
call blog_makehtml(-)
call Newarticle()
call NewComment()
*
[本日志由 小戒 于 2008-05-27 08:24 AM 编辑]
上一篇: 习惯性用语--周末愉快
下一篇: 北京海淀艺术职业学校高中生欺辱年迈教师[视频录象]
文章来自: 本站原创
Tags: PJBLOG 静态 插件 日志
相关日志:
评论: 7 | 引用: 0 | 查看次数: -
回SKYII.CN,如果是新站可以直接覆盖。但我本地测试的新站删掉了。在服务器上。呆会放上去。
可以直接提供修改的文件吗?
蔷薇,你的网站我打不开。
你好啊,我完全用了你的方法已经修改过了,但是还是不行呢,为什么啊,
请看看我的地址依然是动态的,http://rose.0start.cn
请看看我的地址依然是动态的,http://rose.0start.cn
推荐你用Macromedia Dreamweaver 8
你的博客不错,请问,用什么来编辑asp文件, 
发表评论


回复


可以把修改好的原版用邮箱发给我吗?官网上面这个下载有木马,我下了好多次都不行,谢谢了。
shenshu#188.com
非病毒,纯属误报。关掉再解压就行了。生成HTML时的代码被当成病毒了。