All Skins Artery _DZ6.1 29/07/2008
[b][u][size=3][color=sandybrown]Categories of information - Discuz! Style Published [/color][/size][/u][/b][b][color=royalblue]Style name artery_freeNo.11_DZ6.1
[/color][color=green]Applicable version Discuz! 6.1[/color]
[color=sandybrown]Language coding GBK UTF8 BIG5[/color]
[color=red]Style writer Artery[/color]
[color=darkorchid]Copyright Artery.cn + CnTheme.com[/color]
[color=teal]Conversion to original style[/color]
Support site[/b] [url=http://www.artery.cn/]http://www.artery.cn[/url]
[attach]4970[/attach]
[attach]4971[/attach]
[attach]4972[/attach]
[attach]4969[/attach]
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[b][color=seagreen]Style name artery_freeNo.10_DZ6.1 [/color][/b]
[b][color=purple]Applicable version Discuz! 6.1 [/color][/b]
[b][color=deepskyblue]Language coding GBK UTF8 BIG5 [/color][/b]
[b][color=magenta]Style writer Artery [/color][/b]
[b][color=sienna]Copyright Artery.cn + CnTheme.com [/color][/b]
[b][color=blue]Conversion to original style [/color][/b]
Support site [url=http://www.artery.cn/]http://www.artery.cn[/url]
[attach]3752[/attach]
[attach]4024[/attach]
[attach]4025[/attach]
[attach]4026[/attach]
[attach]4027[/attach]
แทบไม่ต้องปรับแต่งอาไรมากมายเลยสวยมากพลิกเทมเพลทของดิสคัทเลยยอดมากๆ ~(29)~
สกินนี้ discuz.net อยู่ใน หัวข้อสำคัญระดับ 3 เลย
[size=3][color=red]
[b][u]อัพเดทแก้ไขโค้ดเพิ่มเติม 23/05/2008[/u][/b][/color][/size]
แก้ไขให้ 5 กระทู้ล่าสุดโชว์สีกระทู้ที่เน้น
[attach]3777[/attach]
แก้ไขไฟล์ index.php หาโค้ด[code]
$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;
}
[/code]เปลี่ยนเป็น[code]
//??????--??
$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[0]);
$row['highlight'] = 'style="';
$row['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
$row['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
$row['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
$row['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
$row['highlight'] .= '"';
} else {
$row['highlight'] = '';
}
${'new_no'.$row['fid'].'_threadlist'}[] = $row;
}
//??????--??
[/code][b][u][size=5][color=red]ARTERY FREE 9 for discuz 6.1.0[/color][/size][/u][/b]
[attach]3940[/attach]
[img]http://www.artery.cn/website/images/stories/artery_freeNo9_big.jpg[/img]
[b][u][size=5][color=red]ARTERY FREE 8 for discuz 6.1.0[/color][/size][/u][/b]
[attach]3941[/attach]
[img]http://www.artery.cn/website/images/stories/free_8.jpg[/img]
[b][u][size=5][color=red]ARTERY FREE 7 for discuz 6.1.0[/color][/size][/u][/b]
[attach]3942[/attach]
[img]http://www.artery.cn/website/images/stories/artery_freeNo7.jpg[/img]
[b][u][size=5][color=red]ARTERY FREE 6 for discuz 6.1.0[/color][/size][/u][/b]
[attach]3943[/attach]
[img]http://www.artery.cn/website/images/stories/artery_freeNo6.jpg[/img]
[b][u][size=5][color=red]ARTERY FREE 5 for discuz 6.1.0[/color][/size][/u][/b]
[attach]3944[/attach]
[img]http://www.artery.cn/website/images/stories/artery_free_5.jpg[/img]
[b][u][size=5][color=red]ARTERY BLOG for discuz 6.1.0[/color][/size][/u][/b]
[attach]3945[/attach]
[img]http://www.artery.cn/website/images/stories/artery_blog_6.jpg[/img]
[[i] แก้ไขล่าสุด buachompoox เมื่อ 2008-7-29 13:31 [/i]]
ตอบกลับโพสของ 1# buachompoox
ว้าว ของ [url]http://www.artery.cn[/url] ออกตัวที่ 10 เป็น 6.1 แล้วหรอสวยมากมาย ขอบคุณมากค่ะ :handshake สวยมากกกกกกกกกกกก [quote]ต้นฉบับโพสโดย [i]buachompoox[/i] เมื่อ 2008-5-21 12:27 [url=http://www.cazdesign.com/forums/redirect.php?goto=findpost&pid=26139&ptid=2630][img]http://www.cazdesign.com/forums/images/common/back.gif[/img][/url]Categories 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 ... [/quote]
ว้าว.. [color=red][b]ARTERY FREE 8 for discuz 6.1.0[/b][/color] ในที่สุดก็ได้...ขอบคุณมากๆค่ะ ปลื้มๆ :kiss:
เมนูครงนี้แก้ไงอ่ะครับ
[img]http://www.catonearth.com/picture/menu.jpg[/img][color=Red][size=4]แก้ไข หรือ ว่าเพิ่ม ไปยังลิ้งที่ต้องการไงอ่ะครับ[/size][/color]
[color=Lime][size=2]ขอบคุณล่วงหน้าครับ[/size][/color]
ตอบกลับโพสของ 5# mr_top
แก้ไขที่ไฟล์ header.htmlโค้ดเมนูบน[code] <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>
[/code]อันนี้เมนูด้านล่าง[code] <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>
[/code] ท่านปูครับ โปรดหาวิธีที่ทำให้ IE6 ใช้การได้ทีครับ (~55~) ขอบคุณมาก ๆ (~56~) ลองโหลดไปดู สักอันนะคับ 555+ มีของดีมาแย้วว คุงงับ [quote]แก้ไขให้ 5 กระทู้ล่าสุดโชว์สีกระทู้ที่เน้น
[img]http://www.cazdesign.com/forums/attachments/day_080523/20080523_67410dca07cab6426f98YTjX2v6khI1P.png[/img]
แก้ไขไฟล์ index.php หาโค้ด คัดลอกไปที่คลิปบอร์ด
[code]
$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;
}
[/code]
เปลี่ยนเป็น
คัดลอกไปที่คลิปบอร์ด [code]//??????--??
$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[0]);
$row['highlight'] = 'style="';
$row['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
$row['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
$row['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
$row['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
$row['highlight'] .= '"';
} else {
$row['highlight'] = '';
}
${'new_no'.$row['fid'].'_threadlist'}[] = $row;
}
//??????--??[/code] [/quote]
[b][size=6][color=red]ตัวนี้ทำงัย ทำตามแล้ว ไม่เห็นได้เลย [/color][/size][/b]
[[i] แก้ไขล่าสุด veverman เมื่อ 2008-6-30 11:46 [/i]] สวยๆทั้งนั้นเลย ขอบคุณมากๆเลยครับ **** ข้อมูลต้นฉบับที่นำมาอ้างอิงถูกห้ามหรือถูกระงับ **** หุหุหุแหล่มมากมาย
0.0
เด็กใหม่อะก๊าบ อยากได้ยัง ไม่ทราบว่าถ้าจะใส่ shoutbox แทรก code ไว้ตรงไหนคะ? แทรกตำแหน่งเดิมแล้วใช้ไม่ได้อ่ะ :) ขอบคุณครับ ขอบคุณครับ ว่าแต่ต้องเอาไปลงตรงไหนครับ ขอบคุณครับ ขอบบุญขอบคุณหน้า:
[1]
2
