Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 小女子初来DZ 就被骗+求助!社会真黑暗!

[复制链接]
玮玮来啦 发表于 2010-5-22 04:09:53 | 显示全部楼层
楼主头像很漂亮,不知道现在问题解决了没有。

个人建意,风格不是所有的都适合你的站,有的站长就用官方默认的风格,也能做出大站的。

网站内容质量比较重要。还有就是坚持恒心的开下去。
回复

使用道具 举报

cullam 发表于 2010-5-22 08:13:51 | 显示全部楼层
您好  7.2居中 版本  http://www.8090zone.com/bbs

调用方法修改主页版块调用,修改文件include/index_classics.inc.php
查找“页第一版调用帖子板块”,修改其中的fid号为你自己所要的
举例:
/* 首页第一版调用帖子板块 and t.fid in (1,2) 为调用fid为1和2的版  */
第一版左边图片及三文章如下,你只要改and t.fid in (1,2)里边的号码为你自己的
$apiclist1 = array();
$query = $db->query("SELECT attach.aid, attach.attachment, t.tid, t.fid, t.dateline, p.message, t.author, t.subject,f.name,p.authorid  FROM {$tablepre}attachments attach LEFT JOIN {$tablepre}threads t ON t.tid=attach.tid LEFT JOIN {$tablepre}posts p on p.tid=attach.tid LEFT JOIN {$tablepre}forums f on f.fid=t.fid WHERE attach.readperm='0' AND isimage IN (1,-1) and t.fid in (1,2) GROUP BY attach.tid ORDER BY t.dateline DESC LIMIT 0,1");
        while ($thread = $db->fetch_array($query)) {
                $thread['picurl'] = 'attachments/'.$thread['attachment'];
                $thread['subject'] = homestr(hb169net_ubb($thread['subject']),28);
                $thread['message'] = homestr(hb169net_ubb($thread['message']),80);
                $apiclist1[] = $thread;
        }
$atxtlist1 = array();
$query = $db->query("SELECT t.subject,t.tid ,t.fid ,f.name ,f.fid FROM {$tablepre}threads t LEFT JOIN {$tablepre}forums f ON f.fid = t.fid WHERE t.fid in (1,2) ORDER By t.dateline DESC LIMIT 0,3");
        while ($thread = $db->fetch_array($query)) {
                $thread['subject'] = homestr(hb169net_ubb($thread['subject']),32);
                $thread['date'] = gmdate("n.j",$thread[dateline]+($timeoffset * 3600));
                $atxtlist1[] = $thread;
        }



第一版左右图片及三文章如下,你只要改and t.fid in (3,4)里边的号码为你自己的
$apiclist2 = array();
$query = $db->query("SELECT attach.aid, attach.attachment, t.tid, t.fid, t.dateline, p.message, t.author, t.subject,f.name,p.authorid  FROM {$tablepre}attachments attach LEFT JOIN {$tablepre}threads t ON t.tid=attach.tid LEFT JOIN {$tablepre}posts p on p.tid=attach.tid LEFT JOIN {$tablepre}forums f on f.fid=t.fid WHERE attach.readperm='0' AND isimage IN (1,-1) and t.fid in (3,4) GROUP BY attach.tid ORDER BY t.dateline DESC LIMIT 0,1");
        while ($thread = $db->fetch_array($query)) {
                $thread['picurl'] = 'attachments/'.$thread['attachment'];
                $thread['subject'] = homestr(hb169net_ubb($thread['subject']),28);
                $thread['message'] = homestr(hb169net_ubb($thread['message']),80);
                $apiclist2[] = $thread;
        }
$atxtlist2 = array();
$query = $db->query("SELECT t.subject,t.tid ,t.fid ,f.name ,f.fid FROM {$tablepre}threads t LEFT JOIN {$tablepre}forums f ON f.fid = t.fid WHERE t.fid in (3,4) ORDER By t.dateline DESC LIMIT 0,3");
        while ($thread = $db->fetch_array($query)) {
                $thread['subject'] = homestr(hb169net_ubb($thread['subject']),32);
                $thread['date'] = gmdate("n.j",$thread[dateline]+($timeoffset * 3600));
                $atxtlist2[] = $thread;
        }

其他第二,第三版雷同!


板块调用:   关于板块调用,  打开 include/index_classics.inc.php 里面 有 5大板块  每个版块 有 4个 调用。
            

          调用ID 方法:  找到  and t.fid in (2,3,4)   括号中的数字(2,3,4) 就是你的板块ID ,如果不知道自己的板块ID 你就点击 自己的板块  然后到浏览器找到 后面的数字就是你对应的板块ID

          添加到   括号中,就能调用 板块了,  



我QQ530270794  
回复

使用道具 举报

oyguang 发表于 2010-5-22 09:33:12 | 显示全部楼层
建议楼主 直接打  我电话  110
回复

使用道具 举报

pyyxx123 发表于 2010-5-22 11:06:59 | 显示全部楼层
杯具~同情,我也在学习DZ的模板设计
回复

使用道具 举报

carlkyo 发表于 2010-5-22 11:47:55 | 显示全部楼层
回复

使用道具 举报

feifei1987 发表于 2010-5-22 13:14:37 | 显示全部楼层
QQ196116707 我自己升级的无错版本!www.huaduba.cn
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-10-13 07:02 , Processed in 0.092111 second(s), 12 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表