All Skins Artery _DZ6.1 29/07/2008
Categories of information - Discuz! Style PublishedStyle name artery_freeNo.11_DZ6.1
Applicable version Discuz! 6.1
Language coding GBK UTF8 BIG5
Style writer Artery
Copyright Artery.cn + CnTheme.com
Conversion to original style
Support site http://www.artery.cn
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Style name artery_freeNo.10_DZ6.1
Applicable version Discuz! 6.1
Language coding GBK UTF8 BIG5
Style writer Artery
Copyright Artery.cn + CnTheme.com
Conversion to original style
Support site http://www.artery.cn
แทบไม่ต้องปรับแต่งอาไรมากมายเลยสวยมากพลิกเทมเพลทของดิสคัทเลยยอดมากๆ ~(29)~
สกินนี้ discuz.net อยู่ใน หัวข้อสำคัญระดับ 3 เลย
อัพเดทแก้ไขโค้ดเพิ่มเติม 23/05/2008
แก้ไขให้ 5 กระทู้ล่าสุดโชว์สีกระทู้ที่เน้น
แก้ไขไฟล์index.php หาโค้ด
$hack_cut_str =60;
$fids = array();
if (file_exists("./forumdata/cache/cache_forums.php")){
require_once "./forumdata/cache/cache_forums.php";
if (is_array($_DCACHE['forums'])){
foreach ($_DCACHE['forums'] as $k => $v){
if (!strstr(',sub,forum,',','.$v['type'].',')) continue;
$fids[$k] = 5;
}
}
}
if (count($fids) < 1){
$query = $db->query("SELECT fid FROM {$tablepre}forums WHERE type='forum' OR type='sub'");
while ($row = $db->fetch_array($query)){
$fids[$row['fid']] = 5;
}
}
$limit_counts = 0;
foreach ($fids as $k => $v){
$sql .= "(SELECT t.*, f.name FROM {$tablepre}threads t LEFT JOIN {$tablepre}forums f ON f.fid = t.fid WHERE t.fid='$k' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT $v) UNION ";
}
if ($sql){
$sql = substr($sql,0,strlen($sql)-6);
}
$query = $db->query($sql);
while ($row = $db->fetch_array($query)){
$row['view_subject'] = cutstr($row['subject'],$hack_cut_str);
$row['date']= gmdate("$dateformat", $row['dateline'] + $timeoffset * 3600);
${'new_no'.$row['fid'].'_threadlist'}[] = $row;
}
เปลี่ยนเป็น
//??????--??
$colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
$hack_cut_str =60; // ????????
$fids = array();
if (file_exists("./forumdata/cache/cache_forums.php")){
require_once "./forumdata/cache/cache_forums.php";
if (is_array($_DCACHE['forums'])){
foreach ($_DCACHE['forums'] as $k => $v){
if (!strstr(',sub,forum,',','.$v['type'].',')) continue;
$fids[$k] = 5; // ?????????????????????
}
}
}
if (count($fids) < 1){
$query = $db->query("SELECT fid FROM {$tablepre}forums WHERE type='forum' OR type='sub'");
while ($row = $db->fetch_array($query)){
$fids[$row['fid']] = 5; // ?????????????????????
}
}
$limit_counts = 0;
foreach ($fids as $k => $v){
$sql .= "(SELECT t.*, f.name FROM {$tablepre}threads t LEFT JOIN {$tablepre}forums f ON f.fid = t.fid WHERE t.fid='$k' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT $v) UNION ";
}
if ($sql){
$sql = substr($sql,0,strlen($sql)-6);
}
$query = $db->query($sql);
while ($row = $db->fetch_array($query)){
$row['view_subject'] = cutstr($row['subject'],$hack_cut_str);
$row['date']= gmdate("$dateformat", $row['dateline'] + $timeoffset * 3600);
if($row['highlight']) {
$string = sprintf('%02d', $row['highlight']);
$stylestr = sprintf('%03b', $string);
$row['highlight'] = 'style="';
$row['highlight'] .= $stylestr ? 'font-weight: bold;' : '';
$row['highlight'] .= $stylestr ? 'font-style: italic;' : '';
$row['highlight'] .= $stylestr ? 'text-decoration: underline;' : '';
$row['highlight'] .= $string ? 'color: '.$colorarray[$string] : '';
$row['highlight'] .= '"';
} else {
$row['highlight'] = '';
}
${'new_no'.$row['fid'].'_threadlist'}[] = $row;
}
//??????--??
ARTERY FREE 9 for discuz 6.1.0
http://www.artery.cn/website/images/stories/artery_freeNo9_big.jpg
ARTERY FREE 8 for discuz 6.1.0
http://www.artery.cn/website/images/stories/free_8.jpg
ARTERY FREE 7 for discuz 6.1.0
http://www.artery.cn/website/images/stories/artery_freeNo7.jpg
ARTERY FREE 6 for discuz 6.1.0
http://www.artery.cn/website/images/stories/artery_freeNo6.jpg
ARTERY FREE 5 for discuz 6.1.0
http://www.artery.cn/website/images/stories/artery_free_5.jpg
ARTERY BLOG for discuz 6.1.0
http://www.artery.cn/website/images/stories/artery_blog_6.jpg
[ แก้ไขล่าสุด buachompoox เมื่อ 2008-7-29 13:31 ]
ตอบกลับโพสของ 1# buachompoox
ว้าว ของ http://www.artery.cnออกตัวที่ 10 เป็น 6.1 แล้วหรอสวยมากมาย ขอบคุณมากค่ะ :handshake สวยมากกกกกกกกกกกก ต้นฉบับโพสโดย buachompoox เมื่อ 2008-5-21 12:27 http://www.cazdesign.com/forums/images/common/back.gifCategories of information - Discuz! Style Published
Style name artery_freeNo.10_DZ6.1
Applicable version Discuz! 6.1
Language coding GBK UTF8 BIG5
Style writer Artery
Copyright Artery.cn + CnThe ...
ว้าว.. ARTERY FREE 8 for discuz 6.1.0ในที่สุดก็ได้...ขอบคุณมากๆค่ะ ปลื้มๆ :kiss:
เมนูครงนี้แก้ไงอ่ะครับ
http://www.catonearth.com/picture/menu.jpgแก้ไข หรือ ว่าเพิ่ม ไปยังลิ้งที่ต้องการไงอ่ะครับ
ขอบคุณล่วงหน้าครับ
ตอบกลับโพสของ 5# mr_top
แก้ไขที่ไฟล์ header.htmlโค้ดเมนูบน<div class="content-contertopleft">
<a href="#">LINK-1</a> <a href="#">LINK-2</a> <a href="#">LINK-3</a> <a href="#">LINK-4</a> <a href="#">LINK-5</a>
</div>
อันนี้เมนูด้านล่าง <td nowrap class="artery-topmenu1" style="font-weight:bold">
<a href="#">LINK-6</a> <a href="#">LINK-7</a> <a href="#">LINK-8</a> <a href="#">LINK-9</a> <a href="#">LINK-10</a>
</td>
ท่านปูครับ โปรดหาวิธีที่ทำให้ IE6 ใช้การได้ทีครับ (~55~)ขอบคุณมาก ๆ (~56~) ลองโหลดไปดู สักอันนะคับ 555+ มีของดีมาแย้วว คุงงับ