Discuz Thai

 ลืมรหัสผ่าน
 สมัครสมาชิก

ข้อตกลงการใช้งานกระดานข่าวดิสคัสไทย DiscuzThai Agreement (English Version) ประกาศดิสคัสไทย - ทำเนียบดิสคัสภาษาไทย

Discuz! X3.5 Thai R20231001 Rev.8 (NEW) [วิดีโอช่วยสอน] อัปเกรด Discuz! X3.4 เป็น X3.5 Discord ของ Discuz! Thai Community อย่างเป็นทางการ

Discuz! X3.4 Thai R20220811 (REV.75) สิ้นสุดการสนับสนุน Discuz! X3.4 ภาษาไทยตั้งแต่วันนี้เป็นต้นไป (ขอแนะนำให้อัปเกรดเป็น X3.5 แทน)

ค้นหา
แท็กยอดนิยม: ดิสคัสภาษาไทย Discuz Thai
ดู: 21825|ตอบกลับ: 31

[สกิน6.1] All Skins Artery _DZ6.1 29/07/2008

[คัดลอกลิงก์]
buachompoox โพสต์ 2008-5-21 12:27:49 |โหมดอ่าน
Categories of information - Discuz! Style Published

Style 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 หาโค้ด

  1. $hack_cut_str =60;
  2. $fids = array();
  3. if (file_exists("./forumdata/cache/cache_forums.php")){
  4.         require_once "./forumdata/cache/cache_forums.php";
  5.         if (is_array($_DCACHE['forums'])){
  6.                 foreach ($_DCACHE['forums'] as $k => $v){
  7.                 if (!strstr(',sub,forum,',','.$v['type'].',')) continue;
  8.                         $fids[$k] = 5;
  9.                 }
  10.         }
  11. }
  12. if (count($fids) < 1){
  13.         $query = $db->query("SELECT fid FROM {$tablepre}forums WHERE type='forum' OR type='sub'");
  14.         while ($row = $db->fetch_array($query)){
  15.                 $fids[$row['fid']] = 5;
  16.         }
  17. }
  18. $limit_counts = 0;

  19. foreach ($fids as $k => $v){
  20.         $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 ";
  21. }
  22. if ($sql){
  23.         $sql = substr($sql,0,strlen($sql)-6);
  24. }
  25. $query = $db->query($sql);
  26. while ($row = $db->fetch_array($query)){
  27.         $row['view_subject'] = cutstr($row['subject'],$hack_cut_str);
  28.         $row['date']= gmdate("$dateformat", $row['dateline'] + $timeoffset * 3600);
  29.         ${'new_no'.$row['fid'].'_threadlist'}[] = $row;
  30. }
คัดลอกไปที่คลิปบอร์ด
เปลี่ยนเป็น

  1. //??????--??
  2. $colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
  3. $hack_cut_str =60; // ????????
  4. $fids = array();
  5. if (file_exists("./forumdata/cache/cache_forums.php")){
  6.         require_once "./forumdata/cache/cache_forums.php";
  7.         if (is_array($_DCACHE['forums'])){
  8.                 foreach ($_DCACHE['forums'] as $k => $v){
  9.                 if (!strstr(',sub,forum,',','.$v['type'].',')) continue;
  10.                         $fids[$k] = 5; // ?????????????????????
  11.                 }
  12.         }
  13. }
  14. if (count($fids) < 1){
  15.         $query = $db->query("SELECT fid FROM {$tablepre}forums WHERE type='forum' OR type='sub'");
  16.         while ($row = $db->fetch_array($query)){
  17.                 $fids[$row['fid']] = 5; // ?????????????????????
  18.         }
  19. }
  20. $limit_counts = 0;

  21. foreach ($fids as $k => $v){
  22.         $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 ";
  23. }
  24. if ($sql){
  25.         $sql = substr($sql,0,strlen($sql)-6);
  26. }
  27. $query = $db->query($sql);
  28. while ($row = $db->fetch_array($query)){
  29.         $row['view_subject'] = cutstr($row['subject'],$hack_cut_str);
  30.         $row['date']= gmdate("$dateformat", $row['dateline'] + $timeoffset * 3600);
  31.         if($row['highlight']) {
  32.                         $string = sprintf('%02d', $row['highlight']);
  33.                         $stylestr = sprintf('%03b', $string[0]);
  34.                         $row['highlight'] = 'style="';
  35.                         $row['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
  36.                         $row['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
  37.                         $row['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
  38.                         $row['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
  39.                         $row['highlight'] .= '"';
  40.         } else {
  41.                         $row['highlight'] = '';
  42.         }
  43.         ${'new_no'.$row['fid'].'_threadlist'}[] = $row;
  44. }
  45. //??????--??
คัดลอกไปที่คลิปบอร์ด
ARTERY FREE 9 for discuz 6.1.0





ARTERY FREE 8 for discuz 6.1.0





ARTERY FREE 7 for discuz 6.1.0





ARTERY FREE 6 for discuz 6.1.0





ARTERY FREE 5 for discuz 6.1.0





ARTERY BLOG for discuz 6.1.0





[ แก้ไขล่าสุด buachompoox เมื่อ 2008-7-29 13:31 ]

ขออภัย! โพสต์นี้มีไฟล์แนบหรือรูปภาพที่ไม่ได้รับอนุญาตให้คุณเข้าถึง

คุณจำเป็นต้อง ลงชื่อเข้าใช้ เพื่อดาวน์โหลดหรือดูไฟล์แนบนี้ คุณยังไม่มีบัญชีใช่ไหม? สมัครสมาชิก

x
suthida โพสต์ 2008-5-21 16:13:14

ตอบกลับโพสของ 1# buachompoox

ว้าว ของ http://www.artery.cn  ออกตัวที่ 10 เป็น 6.1 แล้วหรอสวยมากมาย ขอบคุณมากค่ะ
neo2007 โพสต์ 2008-5-21 16:19:17
สวยมากกกกกกกกกกกก
suthida โพสต์ 2008-6-1 09:18:22
ต้นฉบับโพสโดย buachompoox เมื่อ 2008-5-21 12:27
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 ...



ว้าว.. ARTERY FREE 8 for discuz 6.1.0  ในที่สุดก็ได้...ขอบคุณมากๆค่ะ ปลื้มๆ
mr_top โพสต์ 2008-6-2 02:47:02

เมนูครงนี้แก้ไงอ่ะครับ



แก้ไข หรือ ว่าเพิ่ม ไปยังลิ้งที่ต้องการไงอ่ะครับ

ขอบคุณล่วงหน้าครับ
 เจ้าของ| buachompoox โพสต์ 2008-6-2 15:48:30

ตอบกลับโพสของ 5# mr_top

แก้ไขที่ไฟล์ header.html

โค้ดเมนูบน
  1.   <div class="content-contertopleft">
  2.   <a href="#">LINK-1</a>&nbsp;&nbsp;&nbsp;<a href="#">LINK-2</a>&nbsp;&nbsp;&nbsp;<a href="#">LINK-3</a>&nbsp;&nbsp;&nbsp;<a href="#">LINK-4</a>&nbsp;&nbsp;&nbsp;<a href="#">LINK-5</a>
  3.   </div>
คัดลอกไปที่คลิปบอร์ด
อันนี้เมนูด้านล่าง
  1.         <td nowrap class="artery-topmenu1" style="font-weight:bold">
  2.         <a href="#">LINK-6</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">LINK-7</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">LINK-8</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">LINK-9</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">LINK-10</a>
  3.         </td>
คัดลอกไปที่คลิปบอร์ด
tonict โพสต์ 2008-6-5 13:24:21
ท่านปูครับ โปรดหาวิธีที่ทำให้ IE6 ใช้การได้ทีครับ
veverman โพสต์ 2008-6-6 11:42:46
(~55~)  ขอบคุณมาก ๆ (~56~)
drsalumll โพสต์ 2008-6-27 03:50:48
ลองโหลดไปดู สักอันนะคับ
fukawara โพสต์ 2008-6-29 09:32:24
555+ มีของดีมาแย้วว คุงงับ
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

รายละเอียดเครดิต

รายชื่อผู้กระทำผิด|Archiver|ดิสคัส ไทย Follow us: Become a fan on facebook. Follow us on Twitter.

GMT+7, 2024-4-27 00:14

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

ตอบกระทู้ ขึ้นไปด้านบน ไปที่หน้ารายการกระทู้