stops
发表于 2008-12-1 21:35:07
此home 下面有个栏目 是 叫 个人房屋信息的 栏目 旁边的 分栏目 是否不可以 标签 调用呢?宁夏网的是标签调用是否这个仿制的也去掉了此功能 只可以板块调用呢?
37879856
发表于 2008-12-2 20:26:18
:L :L :L :L :L :L :L
alex
发表于 2008-12-6 14:21:16
有问题,找你吗:lol :lol :)
icezd
发表于 2008-12-9 11:42:51
郁闷,每打开一个连接就要登陆一次!
renshen
发表于 2008-12-10 16:24:13
:Q 绝对要顶上面兄弟的哦
su5608
发表于 2008-12-11 04:42:26
sdf
于如何获得克米官方论坛米币!
转载请注明本内容来自: 克米设计论坛
官方地址:http://www.comiis.com/dz/bbs/
本贴地址:http://www.comiis.com/dz/bbs/viewthread.php?tid=864
fengyunjn
发表于 2008-12-12 14:46:28
占位等待问题编辑
转载请注明本内容来自: 克米设计论坛
官方地址:http://www.comiis.com/dz/bbs/
本贴地址:http://www.comiis.com/dz/bbs/viewthread.php?tid=864
yujilai
发表于 2008-12-14 16:14:12
首页图片调用代码如下:$hack_cut_str =36; //修改标题显示字数
$new_comiiskm_threadlist = array();
$sort_time = $today - (60*60*24*100); //本周
$hack_cut_comiismsstr=80;
$comiisphoto= array();
$query = $db->query("SELECT attach.aid, attach.attachment, attach.uid, t.tid, t.fid, t.subject,p.dateline, p.message FROM {$tablepre}attachments attach LEFT JOIN {$tablepre}threads t ON t.tid=attach.tid LEFT JOIN {$tablepre}posts p on p.tid=attach.tid WHERE t.fid in(168) AND filetype IN ('image/pjpeg','image/gif') GROUP BY attach.tid ORDER BY rand() DESC LIMIT 8");
while ($comiisphoto = $db->fetch_array($query)) {
$comiisphoto['uid'] = $comiisphoto['uid'];
$comiisphoto['fnn'] = $isnum;
$comiisphoto['message']=comiis_ubb($comiisphoto['message']);
$comiisphoto['photo_message'] = comiisleftstr($comiisphoto['message'],$hack_cut_comiismsstr);
$comiisphoto['photo_dateline'] = gmdate("$dateformat $timeformat", $comiisphoto['dateline'] + $timeoffset * 3600);
$comiisphoto['photo_id'] = $comiisphoto['aid'];
$comiisphoto['photo_picurl'] = 'attachments/'.$comiisphoto['attachment'];
$comiisphoto['photo_tid'] = $comiisphoto['tid'];
$comiisphoto['photo_fid'] = $comiisphoto['fid'];
$comiisphoto['photo_subject'] = comiisleftstr($comiisphoto['subject'],$hack_cut_str);
if($comiisphoto['highlight']) {
$string = sprintf('%02d', $comiisphoto['highlight']);
$stylestr = sprintf('%03b', $string);
$comiisphoto['highlight'] = 'style="';
$comiisphoto['highlight'] .= $stylestr ? 'font-weight: bold;' : '';
$comiisphoto['highlight'] .= $stylestr ? 'font-style: italic;' : '';
$comiisphoto['highlight'] .= $stylestr ? 'text-decoration: underline;' : '';
$comiisphoto['highlight'] .= $string ? 'color: '.$colorarray[$string] : '';
$comiisphoto['highlight'] .= '"';
} else {
$comiisphoto['highlight'] = '';
}
$new_comiiskm_threadlist[] = $comiisphoto;
}这个是随机调用论坛帖子里的图片,如何修改成调用最近发布的帖子呢?
yujilai
发表于 2008-12-14 17:27:03
问题解决,感谢克米分享这么好的首页风格
yuhuajie
发表于 2008-12-16 11:16:35
我有多少米币