Nov
16
#2007-11-19 修改模板template/wind/lang_email.php,修正6.0 注册激活时无法显示用户名、密码的BUG
1. 打开lang_email.php,查找“{$regname}”,改成“{$rg_name}”;
2. 继续查找“{$_POST[regpwd]}”,改成“{$regpwd}”,OK
#2007-11-18 修改UTF-8编码论坛程序根目录下的文件sitemap.php,纠正生成网站地图错误
1. 打开sitemap.php,将<?xml version =\"1.0\" encoding=\"GB2312\"?>改成<?xml version =\"1.0\" encoding=\"utf-8\"?>
#2007-11-16 修改模板template/wind/lang_email.php,美化“mail邮件”代码
#2007-11-16 修改Home界面,美化界面并增加Google广告
1. 打开模板template/wind/home.htm,查找“$header_ad”,替换成Google广告;查找“<div class="footguide bgA">”,将默认的链接删除,替换成Google广告;细节美化;
#2007-11-16 修改无图版界面,美化界面并增加Google广告
1. 打开模板template/wind/simple_footer.htm、simple_header.htm、simple_index.htm、simple_read.htm、simple_thread.htm修改美化并增加Google广告
#2007-11-16 修改模板template/wind/remail.htm,“填写原邮箱地址”栏自动带出会员注册时的邮箱地址
1. 查找“<input class="input" type="text" name="rg_email" size="40" />”,改成“<input type="text" name="rg_email" size="40" value=$men[email] />”
# 2007-11-16 修改模板template\admin\setforum.htm、template\wind\forumcp.htm,增加“主题分类突破字节限制,并且可以加颜色”代码
1. 打开 template\admin\setforum.htm 查找“<td><input type="text" size="30" maxLength=25 value="$t_typedb[$m]" name="t_db[$m]"></td>”,修改maxLength=大于25这个值;
2. 打开 template\wind\forumcp.htm 查找“<th><input class="input" type="text" size="30" maxLength="25" value="$t_typedb[$m]" name="t_db[$m]" /></th>”,修改maxLength=大于25;
#2007-11-16 关闭 PHPWind 的赞助广告
1. 打开simple/index.php,查看第14行,将“$db_adclose=0;”改为“$db_adclose=1;”,关闭赞助广告;
2. 打开simple/index.php,找到“$db_union && $db_union=explode("\t",stripslashes($db_union));”,把“explode("\t",stripslashes($db_union))”改成“null”
#2007-11-16 修改模板template/wind/register.htm和showuserdb.htm,删除会员性别“保密”选项;删除skype广告代码;增加防恶意注册问题答案链接;
#2007-11-16 修改模板template/wind/fastpost.htm,增加“快速回复框'勿灌水提示背景'图片”代码
1. 打开fastpost.htm,查找“<textarea onkeydown="quickpost(event)" name="atc_content" rows="8" style="width:96%"></textarea>”,替换成“<textarea onkeydown="quickpost(event)" name="atc_content" rows="8" style="width:96%;background: url($imgpath/notice_bg.gif) no-repeat left bottom;"></textarea>”;
2. 背景图片位置不变,还是放在images下;
# 2007-11-16 修改模板template/wind/read.htm,增加“收藏到QQ宠物书签”、“添加到百度搜藏”代码
1. 查找“<td class="h" style="text-align:right;"><span>”,在代码后面加上
“
<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)" class="fn">QQ书签</a> | <a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" class="fn">百度收藏</a> |
”
# 2007-11-16 修改模板template/wind/read.htm,增加“复制本帖地址,推荐给QQ/MSN上的好友,增加您的贡献值”代码;
1. 在网摘代码后面加上“
<a title="点击复制本贴地址,直接在MSN/QQ上粘贴即可\n 他人点击后您的贡献值将增加" style="CURSOR: hand" onclick=copyToClipBoard()><font color="#ff6600">[复制本帖推荐给好友,增加您的贡献值]</font></a>
<script language=javascript>
function copyToClipBoard()
{
var clipBoardContent='';
clipBoardContent+='给你推荐一篇好文章哦:\\r\\n<< {$subject} >>\\r\\n';
clipBoardContent+='http://www.watchbiz.cn/bbs/read.php?tid={$tid}&u=$winduid';
window.clipboardData.setData("Text",clipBoardContent);
alert("复制成功,请粘贴到你的QQ/MSN上推荐给你的好友");
}
</script>
”
# 2007-11-16 修改模板template/wind/read.htm,增加“添加到网摘”代码;
1. <font color="#000000">添加到网摘:</font>
[<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=http://www.jobui.com&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();" title="收藏的网页将被永久地保存到新浪vivi收藏夹" style="color:#f60;">新浪vivi</a>] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'_blank','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));" title="收藏到poco网摘" style="color:#4cb509;">poco网摘</a> ] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();" title="将本文加入天极网摘" style="color:#00f;">天极网摘</a>] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://bookmark.hexun.com/post.aspx?title='+escape(d.title)+'&url='+escape(d.locationhref)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();" title="将本文加入和讯网摘" style="color:#000;">和讯网摘</a>]
# 2007-11-16 会员登陆JS问候代码
1. 打开template/wind/header.htm,查找“<a href="$loginouturl">退出</a>”;
2. 插入代码“
<script Language="JavaScript">
var text=""; day = new Date( ); time = day.getHours( );
if (( time>=0) && (time < 7 ))
text="<font color=red>天还没亮,请注意身体!</font>"
if (( time >= 7 ) && (time < 12))
text="<font color=red>上午好!</font>"
if (( time >= 12) && (time < 14))
text="<font color=red>中午好!</font>"
if (( time >=14) && (time < 18))
text="<font color=red>下午好!</font>"
if ((time >= 18) && (time <= 22))
text="<font color=red>晚上好!</font>"
if ((time >= 22) && (time < 24))
text="<font color=red>夜深了,早点休息吧!</font>"
document.write(text)
</script>
”;
内文分页: [1] [2]
1. 打开lang_email.php,查找“{$regname}”,改成“{$rg_name}”;
2. 继续查找“{$_POST[regpwd]}”,改成“{$regpwd}”,OK
#2007-11-18 修改UTF-8编码论坛程序根目录下的文件sitemap.php,纠正生成网站地图错误
1. 打开sitemap.php,将<?xml version =\"1.0\" encoding=\"GB2312\"?>改成<?xml version =\"1.0\" encoding=\"utf-8\"?>
#2007-11-16 修改模板template/wind/lang_email.php,美化“mail邮件”代码
#2007-11-16 修改Home界面,美化界面并增加Google广告
1. 打开模板template/wind/home.htm,查找“$header_ad”,替换成Google广告;查找“<div class="footguide bgA">”,将默认的链接删除,替换成Google广告;细节美化;
#2007-11-16 修改无图版界面,美化界面并增加Google广告
1. 打开模板template/wind/simple_footer.htm、simple_header.htm、simple_index.htm、simple_read.htm、simple_thread.htm修改美化并增加Google广告
#2007-11-16 修改模板template/wind/remail.htm,“填写原邮箱地址”栏自动带出会员注册时的邮箱地址
1. 查找“<input class="input" type="text" name="rg_email" size="40" />”,改成“<input type="text" name="rg_email" size="40" value=$men[email] />”
# 2007-11-16 修改模板template\admin\setforum.htm、template\wind\forumcp.htm,增加“主题分类突破字节限制,并且可以加颜色”代码
1. 打开 template\admin\setforum.htm 查找“<td><input type="text" size="30" maxLength=25 value="$t_typedb[$m]" name="t_db[$m]"></td>”,修改maxLength=大于25这个值;
2. 打开 template\wind\forumcp.htm 查找“<th><input class="input" type="text" size="30" maxLength="25" value="$t_typedb[$m]" name="t_db[$m]" /></th>”,修改maxLength=大于25;
#2007-11-16 关闭 PHPWind 的赞助广告
1. 打开simple/index.php,查看第14行,将“$db_adclose=0;”改为“$db_adclose=1;”,关闭赞助广告;
2. 打开simple/index.php,找到“$db_union && $db_union=explode("\t",stripslashes($db_union));”,把“explode("\t",stripslashes($db_union))”改成“null”
#2007-11-16 修改模板template/wind/register.htm和showuserdb.htm,删除会员性别“保密”选项;删除skype广告代码;增加防恶意注册问题答案链接;
#2007-11-16 修改模板template/wind/fastpost.htm,增加“快速回复框'勿灌水提示背景'图片”代码
1. 打开fastpost.htm,查找“<textarea onkeydown="quickpost(event)" name="atc_content" rows="8" style="width:96%"></textarea>”,替换成“<textarea onkeydown="quickpost(event)" name="atc_content" rows="8" style="width:96%;background: url($imgpath/notice_bg.gif) no-repeat left bottom;"></textarea>”;
2. 背景图片位置不变,还是放在images下;
# 2007-11-16 修改模板template/wind/read.htm,增加“收藏到QQ宠物书签”、“添加到百度搜藏”代码
1. 查找“<td class="h" style="text-align:right;"><span>”,在代码后面加上
“
<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)" class="fn">QQ书签</a> | <a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" class="fn">百度收藏</a> |
”
# 2007-11-16 修改模板template/wind/read.htm,增加“复制本帖地址,推荐给QQ/MSN上的好友,增加您的贡献值”代码;
1. 在网摘代码后面加上“
<a title="点击复制本贴地址,直接在MSN/QQ上粘贴即可\n 他人点击后您的贡献值将增加" style="CURSOR: hand" onclick=copyToClipBoard()><font color="#ff6600">[复制本帖推荐给好友,增加您的贡献值]</font></a>
<script language=javascript>
function copyToClipBoard()
{
var clipBoardContent='';
clipBoardContent+='给你推荐一篇好文章哦:\\r\\n<< {$subject} >>\\r\\n';
clipBoardContent+='http://www.watchbiz.cn/bbs/read.php?tid={$tid}&u=$winduid';
window.clipboardData.setData("Text",clipBoardContent);
alert("复制成功,请粘贴到你的QQ/MSN上推荐给你的好友");
}
</script>
”
# 2007-11-16 修改模板template/wind/read.htm,增加“添加到网摘”代码;
1. <font color="#000000">添加到网摘:</font>
[<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=http://www.jobui.com&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();" title="收藏的网页将被永久地保存到新浪vivi收藏夹" style="color:#f60;">新浪vivi</a>] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'_blank','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));" title="收藏到poco网摘" style="color:#4cb509;">poco网摘</a> ] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();" title="将本文加入天极网摘" style="color:#00f;">天极网摘</a>] [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://bookmark.hexun.com/post.aspx?title='+escape(d.title)+'&url='+escape(d.locationhref)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();" title="将本文加入和讯网摘" style="color:#000;">和讯网摘</a>]
# 2007-11-16 会员登陆JS问候代码
1. 打开template/wind/header.htm,查找“<a href="$loginouturl">退出</a>”;
2. 插入代码“
<script Language="JavaScript">
var text=""; day = new Date( ); time = day.getHours( );
if (( time>=0) && (time < 7 ))
text="<font color=red>天还没亮,请注意身体!</font>"
if (( time >= 7 ) && (time < 12))
text="<font color=red>上午好!</font>"
if (( time >= 12) && (time < 14))
text="<font color=red>中午好!</font>"
if (( time >=14) && (time < 18))
text="<font color=red>下午好!</font>"
if ((time >= 18) && (time <= 22))
text="<font color=red>晚上好!</font>"
if ((time >= 22) && (time < 24))
text="<font color=red>夜深了,早点休息吧!</font>"
document.write(text)
</script>
”;
内文分页: [1] [2]
MySQL数据表字段内容的批量
FlashFXP v3.4.0



