Discuz Thai

 ลืมรหัสผ่าน
 สมัครสมาชิก
ค้นหา
คำค้นยอดนิยม: ภาษาไทย discuz
Discuz! X2.5 Official VersionDiscuz X2.5 Thai Mr.JakVDO อัพเกรดดิสคัส 2.5
ดู: 1377|ตอบกลับ: 5

ฮิฮิ แปลไม่ออกดูกันเอาเอง

[คัดลอกลิงก์]

0

กระทู้

0

ติดตาม

205

เครดิต

Member

Rank: 2

สิทธิ์ในการอ่าน
20
UID
208
เครดิต
205
จิตพิศัย
205
Money
3251
Gold
0
โพสต์
118
กระทู้
0
ลงทะเบียนเมื่อ
2007-11-13
ลงชื่อเข้าใช้ล่าสุด
2010-9-13
โพสต์เมื่อ 2007-12-18 11:52:26 |ดูโพสต์ทั้งหมด
โฮสสำหรับดิสคัสโดยเฉพาะ

เวป DEMO http://bbs.17new.net/viewthread.php?tid=157675
DEMO อีกเวปครับ http://www.thairpg.com/forum/

เปิดไฟล์ index.php
ค้นหา
$discuz_action = 1;
วางอันนี้ไว้ด้านบน
//---------------???-- 1/2
require_once DISCUZ_ROOT.'./include/misc.func.php';
//---------------???-- 1/2 end
ค้นหาอีกครั้ง
$rsshead = $rssstatus
วางอันนี้ไว้ด้านบน
//---------------???-- 2/2
$colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
//??//
$hack_cut_str = 33; //????????
$hack_cut_strauthor = 9;
$new_post_threadlist = array();
$nthread = 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, 8");
while($nthread = $db->fetch_array($query)) {
        $nthread['forumname'] = $nthread['name'];
        $nthread['view_subject'] = cutstr($nthread['subject'],$hack_cut_str);
        $nthread['view_author'] = cutstr($nthread['author'],$hack_cut_strauthor);
        $nthread['date']= gmdate("$dateformat $timeformat", $nthread['dateline'] + $timeoffset * 3600);
        $nthread['lastreplytime']= gmdate("$dateformat $timeformat", $nthread[lastpost] + ($timeoffset * 3600));
        if($nthread['highlight']) {
                $string = sprintf('%02d', $nthread['highlight']);
                $stylestr = sprintf('%03b', $string[0]);
                $nthread['highlight'] = 'style="';
                $nthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
                $nthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
                $nthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
                $nthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
                $nthread['highlight'] .= '"';
        } else {
                $nthread['highlight'] = '';
        }
        $new_post_threadlist[] = $nthread;
}
//??//
//???
$hack_cut_str = 33; //????????
$hack_cut_strauthor = 9;
$new_reply_threadlist = array();
$rthread = array();
$query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid  AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 8");
while($rthread = $db->fetch_array($query)) {
        $rthread['forumname'] = $rthread['name'];
        $rthread['view_subject'] = cutstr($rthread['subject'],$hack_cut_str);
        $rthread['view_lastposter'] = cutstr($rthread['lastposter'],$hack_cut_strauthor);
$rthread['date']= gmdate("$dateformat $timeformat", $rthread['dateline'] + $timeoffset * 3600);
        $rthread['lastreplytime']= gmdate("$dateformat $timeformat", $rthread[lastpost] + ($timeoffset * 3600));
        if($rthread['highlight']) {
                $string = sprintf('%02d', $rthread['highlight']);
                $stylestr = sprintf('%03b', $string[0]);
                $rthread['highlight'] = 'style="';
                $rthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
                $rthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
                $rthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
                $rthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
                $rthread['highlight'] .= '"';
        } else {
                $rthread['highlight'] = '';
        }
        $new_reply_threadlist[] = $rthread;
}
//??//
//??
$hack_cut_str = 33; //????????
$hack_cut_strauthor = 9;
$new_hot_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  AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 ORDER BY t.views DESC LIMIT 0, 8");
while($mthread = $db->fetch_array($query)) {
        $mthread['forumname'] = $mthread['name'];
        $mthread['view_subject'] = cutstr($mthread['subject'],$hack_cut_str);
        $mthread['view_lastposter'] = cutstr($mthread['lastposter'],$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'] = '';
        }
        $new_hot_threadlist[] = $mthread;
}
//??//
//---------------???-- 2/2 end
[ แก้ไขล่าสุด thairpg เมื่อ 2007-12-18 17:08 ]

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

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

มี 1 ผู้ให้คะแนนจิตพิศัย Money ย่อ เหตุผล
acaz + 10 + 10 ขอบคุณครับ

คะแนนรวม: จิตพิศัย + 10  Money + 10   ดูบันทึกคะแนน

41

กระทู้

1

ติดตาม

1938

เครดิต

ผู้ดูแลกระดาน

Not so special !!!

Rank: 7Rank: 7Rank: 7

สิทธิ์ในการอ่าน
100
UID
362
เครดิต
1938
จิตพิศัย
1938
Money
18167
Gold
265
โพสต์
1997
กระทู้
41
ลงทะเบียนเมื่อ
2007-12-6
ลงชื่อเข้าใช้ล่าสุด
2012-5-15
โพสต์เมื่อ 2007-12-18 12:48:52 |ดูโพสต์ทั้งหมด
ดูแปลกตาดีครับ  (~59~)

83

กระทู้

8

ติดตาม

5018

เครดิต

ผู้จัดการกระดาน

ทำดีเพื่อแผ่นดิน

Rank: 9Rank: 9Rank: 9

สิทธิ์ในการอ่าน
200
UID
1
เครดิต
5018
จิตพิศัย
5018
Money
26596
Gold
6307
โพสต์
4517
กระทู้
83
ลงทะเบียนเมื่อ
2007-10-2
ลงชื่อเข้าใช้ล่าสุด
2012-5-24
โพสต์เมื่อ 2007-12-18 14:51:22 |ดูโพสต์ทั้งหมด
โฮสสำหรับดิสคัสโดยเฉพาะ
เจ๋งดีเหมือนกันแฮะ
เหมือน portal เลย

0

กระทู้

0

ติดตาม

359

เครดิต

Member

Rank: 2

สิทธิ์ในการอ่าน
20
UID
30
เครดิต
359
จิตพิศัย
359
Money
6250
Gold
0
โพสต์
153
กระทู้
0
ลงทะเบียนเมื่อ
2007-10-8
ลงชื่อเข้าใช้ล่าสุด
2010-10-29

Medal No.1 Medal No.2

โพสต์เมื่อ 2007-12-18 15:08:23 |ดูโพสต์ทั้งหมด
แปลกดีๆ

6

กระทู้

1

ติดตาม

328

เครดิต

ผู้ดูแลกระดาน

Rank: 7Rank: 7Rank: 7

สิทธิ์ในการอ่าน
100
UID
401
เครดิต
328
จิตพิศัย
328
Money
663
Gold
0
โพสต์
351
กระทู้
6
ลงทะเบียนเมื่อ
2007-12-10
ลงชื่อเข้าใช้ล่าสุด
2012-5-23
โพสต์เมื่อ 2007-12-18 19:01:41 |ดูโพสต์ทั้งหมด
ขอบคุณมากๆครับ

0

กระทู้

0

ติดตาม

-1

เครดิต

Beggar

สิทธิ์ในการอ่าน
1
UID
1455
เครดิต
-1
จิตพิศัย
-1
Money
276
Gold
0
โพสต์
152
กระทู้
0
ลงทะเบียนเมื่อ
2008-2-29
ลงชื่อเข้าใช้ล่าสุด
2011-6-1
โพสต์เมื่อ 2008-3-29 01:31:48 |ดูโพสต์ทั้งหมด
ขอบคุณมากครับผมชอบมากเลยครับ:) :)
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

โทรศัพท์มือถือ|รูปแบบข้อความล้วน|ดิสคัส ไทย Follow us: Become a fan on facebook. Follow us on Twitter.

GMT+7, 2012-5-25 03:54 , Processed in 0.118690 second(s), 12 queries , Memcache On.

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

ขึ้นไปด้านบน