打开./source/space_index.php找到- $query = $_SGLOBAL['db']->query("SELECT b.uid, b.blogid, b.subject, b.dateline, b.pic, b.picflag, b.viewnum, b.replynum, b.friend, b.password, bf.message, bf.target_ids
- FROM ".tname('blog')." b
- LEFT JOIN ".tname('blogfield')." bf ON bf.blogid=b.blogid
- WHERE b.uid='$space[uid]'
- ORDER BY b.dateline DESC LIMIT 0,5");
复制代码 修改为- $query = $_SGLOBAL['db']->query("SELECT b.uid, b.blogid, b.subject, b.dateline, b.pic, b.picflag, b.viewnum, b.replynum, b.friend, b.password, bf.message, bf.target_ids
- FROM ".tname('blog')." b
- LEFT JOIN ".tname('blogfield')." bf ON bf.blogid=b.blogid
- WHERE b.uid='$space[uid]'
- ORDER BY b.dateline DESC LIMIT 0,20");
复制代码 |