引用:
说明
两只小猪的首次合作作品..希望大家能支持..另外.猪猪集团招收美工小猪.希望美工不错的人能联系我或者坏猪........
收录请注明版权
引用:
***************************************
** 兩只小豬--亦菲西厢 ..FOR Discuz!5.5.0..
** 風格作者/版權:℡瘋м豬豬 ご壞壞〆瀦ㄣ
***************************************
制作时间:2007年7月14日
编码类型: GBK
适用版本: Discuz! 5.5.0 正式版
作品类型: 原创
原创作者: ℡瘋м豬豬 ご壞壞〆瀦ㄣ
图片处理:ininS
简单说明:风格素材取材与网络.
演示站点:http://momo.xmegret.com/
风格素材取材与网络.
風格圖片目錄 -- images
風格模版目錄 -- templates
風格配色方案 -- discuz_style_兩只潮流小豬.txt
風格語言適用 -- 繁體 / 簡體
index.php调用说明如果你的index.php有其他修改..请按照以下方法修改
在index.php里搜索
复制内容到剪贴板
代码:
$lastvisittime = gmdate("$dateformat $timeformat", $lastvisit + $timeoffset * 3600);下面加上
复制内容到剪贴板
代码:
$memberenc = rawurlencode($lastmember);
$newthreads = round(($timestamp - $lastvisit + 600) / 1000) * 1000;
$navigation = $navtitle = '';
//info D.S.T.ご壞壞〆瀦ㄣ//
$colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
///最新贴循环开始//
$hack_cut_str =34; //修改标题显示字数
$hack_cut_strauthor = 7; //修改帖子数
$mew_post_threadlist = array();
$mthread = array();
$query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid ORDER BY t.dateline DESC LIMIT 0, 7");
while($mthread = $db->fetch_array($query)) {
$mthread['forumname'] = $mthread['name'];
$mthread['view_subject'] = cutstr($mthread['subject'],$hack_cut_str);
$mthread['view_author'] = cutstr($mthread['author'],$hack_cut_strauthor);
$mthread['date']= gmdate("$dateformat $timeformat", $mthread['dateline'] + $timeoffset * 3600);
$mthread['lastreplytime']= gmdate("$dateformat $timeformat", $mthread[lastpost] + ($timeoffset * 3600));
if($mthread['highlight']) {
$string = sprintf('%02d', $mthread['highlight']);
$stylestr = sprintf('%03b', $string[0]);
$mthread['highlight'] = 'style="';
$mthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
$mthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
$mthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
$mthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
$mthread['highlight'] .= '"';
} else {
$mthread['highlight'] = '';
}
$mew_post_threadlist[] = $mthread;
}
//最新贴循环结束//演示图 :
点击下载 附件太大.传不上来.