摘要: 打开template/default/common/footer.htm{lang scrolltop}这个是回顶部的代码CSS:template/default/common/common.css #scrolltop部分的 margin 属性,默认为:margin: -30px 0 0;// 上 右 下 左JS:/static/js/common.js 查找showTopLink() 函数,关键在于下面这句:if (basew < 1000) 当宽度是1000px的时候,正好处于临界点,所以 页面滚动的时候,出现的 “回顶部” 会靠在右边浏览器滚动栏,要想还原为紧邻页面主体右侧,可以 阅读全文
posted @ 2013-07-19 15:56 nestfly 阅读(275) 评论(0) 推荐(0)
摘要: 1,找到source\module\forum\forum_viewthread.phpC::t('forum_thread')->increase($_G['tid'], array('views' => 1), true, $tableid);修改固定将上文'views' =>1 中的1修改为你想要的数据修改随机 $viewrnd=rand(3,7);C::t('forum_thread')->increase($_G['tid'], array('views&# 阅读全文
posted @ 2013-07-19 15:55 nestfly 阅读(1325) 评论(0) 推荐(0)
摘要: 输出$newmember 阅读全文
posted @ 2013-07-19 15:52 nestfly 阅读(240) 评论(0) 推荐(0)