打开模板 css.htm 文件
查找:
.altbg2 {
background: {ALTBG2};
font: {FONTSIZE} {FONT};
}
在下面添加:
#top {
width: 100%;
border: none;
margin: 0 auto;
text-align: center;
}
.
Banner {
width: {MAINTABLEWIDTH};
background: {MAINTABLECOLOR};
background-image: URL('{IMGDIR}/topbg.gif');
border: none;
margin: 0 auto;
text-align: center;
}
.maincolumn {
width: {MAINTABLEWIDTH};
margin-right: auto;
margin-left: auto;
background: {MAINTABLECOLOR};
text-align: center;
}
更新缓存 和 更新css文件缓存 OK!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
登陆,退出无提示自动直接跳转!
打开根目录: logging.PHP 文件
查找:
showmessage('login_succeed', dreferer());
改为:
update
session();
header("Location: $referer");
再查找:
showmessage('logout_succeed', dreferer());
改为:
$referer = dreferer();
updatesession();
header("Location: $referer");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
搜索无提示自动直接跳转!
打开根目录:search.php 文件
查找:
showmessage('search_redirect', "search.php?searchid=$searchid&orderby=$orderby&ascdesc=$ascdesc&searchsubm
IT=yes");
改为:
header("Location: search.php?searchid=$searchid&orderby=$orderby&ascdesc=$ascdesc&searchsubmit=yes");
exit();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
发贴无提示自动直接跳转!
打开: include/newthread.inc.php 文件
查找:
showmessage('post_newthread_succeed', "viewthread.php?tid=$tid&extra=$extra");
改为:
header("Location: viewthread.php?tid=$tid&extra=$extra");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
回贴无提示自动直接跳转!
打开: include/newreply.inc.php 文件
查找:
showmessage('post_reply_succeed', "viewthread.php?tid=$tid&pid=$pid&page=".(@ceil(($thread['replies'] + 2) / $ppp))."&extra=$extra#pid$pid");
改为:
header("Location: viewthread.php?tid=$tid&pid=$pid&page=".(@ceil(($thread['replies'] + 2) / $ppp))."&extra=$extra#pid$pid");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
编辑贴无提示自动直接跳转!
打开: include/editpost.inc.php 文件
查找:
showmessage('post_edit_delete_succeed', "forumd
ISPlay.php?fid=$fid");
改为:
header("Location:forumd
ISPlay.php?fid=$fid");
再查找:
showmessage('post_edit_succeed', "viewthread.php?tid=$tid&page=$page&extra=$extra#pid$pid");
改为:
header("Location:viewthread.php?tid=$tid&page=$page&extra=$extra#pid$pid");