Register    Login    Forum    FAQ

Board index » F.A.Q. » PHP




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: dragon_html category version 1.3 Final นะจ๊ะ
 Post Posted: 15 Mar 2009, 21:15 
Offline

Joined: 28 Jan 2009, 11:28
Posts: 304
เวอร์ชั่น 1.3 Final

http://jquery.jitwitya.com/DragonHtmlCa ... 3Final.zip


เวอร์ชั่นนี้ 1.3Final ที่เปลี่ยนคือ เปลี่ยนเยอะมากจำไม่ได้ใส่อะไรเข้าไปบ้าง :yoyo09:

===================================
เวอร์ชั่น 1.2.2
http://www.ziddu.com/download/4580159/D ... 2.rar.html

เวอร์ชั่นก่อนพอใช้ไปสักพักแล้วมาสังเกตเห็นว่ามันเรียงลำดับไม่ได้นี่หว่า
เห็นโปรแกรมทำงานไม่ได้แล้วอึดอัดเลยแก้ใหม่ซะเลย

เวอร์ชั่นนี้ นอกจากแก้ให้เรียงลำดับได้ แล้วยังเพิ่ม cache ข้อมูลจากตารางลง text file แล้วก็
สามารถเปลี่ยน query ที่ใช้ดึงข้อมูลจากตาราง และสามารถแกไขรูปแบบ tree และ breadcrumb โดยใช้ callback function ครับ
:yoyo09: กว่าจะทำเสร็จเกือบเด้ด

ท่าน Dr.Yes เอาไปไว้ที่ลิงค์ให้หน่อยคร้าบ :yoyo16:

...........
ผ่านวันเดียวเองมีเวอร์ชั่นใหม่อีกแระ จะบอกให้ Dr.Yes เอาลิงค์ไปแปะอีกก็เกรงใจ :yoyo15:
แปะไว้ตรงนี้ก่อนละกัน
เวอร์ชั่น 1.2.1 คลาส callback สามารถอ้างอิงกลับไปหา คลาส category ได้ด้วย
ทำให้ในคลาส callback สามารถเรียกใช้ function ต่างๆ ใน class category ได้ครับ


แหะๆ เจอ error อีก 1 ตัว :yoyo15: แก้เสร็จแล้วดังนั้น version ใหม่ต้องเป็น 1.2.2
http://www.ziddu.com/download/4580159/D ... 2.rar.html

_________________
In your life, There's no such a thing as you can do it or you can't!! but, it's a matter of 'doing it or not doing it!!
the talent of hard work
the first step to the nex level, i think is courageously stepping into the unknown


Last edited by num on 18 Mar 2009, 09:32, edited 8 times in total.

   The following user would like to thank num for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.2
 Post Posted: 15 Mar 2009, 22:03 
Offline
Site Admin
User avatar

Joined: 19 Jan 2009, 12:33
Posts: 324
Location: สะพานสูง, กรุงเทพฯ
เพิ่มในหน้า Download แล้วครับ

:yoyo01:

_________________
"I'm not a doctor", said Dr.Yes
"What we have done for ourselves alone, dies with us;
What we have done for others and the world, remains and is immortal"
, Albert Pike
1 2 3


   The following user would like to thank Dr.Yes for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.2
 Post Posted: 15 Mar 2009, 22:22 
Offline

Joined: 28 Jan 2009, 11:28
Posts: 304
ขอบคุณครับ แต่ตอนนี้มันมี 4 field แล้วนะ :yoyo15:

_________________
In your life, There's no such a thing as you can do it or you can't!! but, it's a matter of 'doing it or not doing it!!
the talent of hard work
the first step to the nex level, i think is courageously stepping into the unknown


   The following user would like to thank num for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.2
 Post Posted: 15 Mar 2009, 22:37 
Offline
User avatar

Joined: 19 Jan 2009, 13:04
Posts: 402
Location: อยู่ที่ไหนก็ได้...โตแล้ว
ไปเพิ่มฟิลด์ display_order เปล่า อิอิอิ...

ผมขอถามหน่อยอะ...

ตรงทำดรอบดาว์นลิสท์

ถ้ามันมีหลายๆ ชั้น ลงไป 5-6 ชั้น มันไม่เปลืองคิวรี่เหรอครับ

เว็บผม กำหนดไวเแค่ 3 ชั้น...

แต่ผมไม่รู้ว่า ของพี่หนุ่มเขียนยังไง ดูโค้ดแล้วปวดหัว สไตล์ใคร สไตล์มันจริงๆ :yoyo09:

_________________
ขอบคุณซักคำ มันยากเกินไปไช่ไหม!!!...


   The following user would like to thank danya for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.2
 Post Posted: 15 Mar 2009, 22:39 
Offline
User avatar

Joined: 19 Jan 2009, 13:04
Posts: 402
Location: อยู่ที่ไหนก็ได้...โตแล้ว
ผมทำแบบนี้อะ... กำหนดไว้ 3 ชั้นพอ 555+

Code:
function getForumDropDownList($forumID) { global $db; global $CONFIG; $SQL = $db->query("SELECT forum_id, title FROM forum WHERE parentid = -1 AND forumStatus = 'show' ORDER BY displayorder"); if ( $db->numrows($SQL) <> 0) { while ( $row = $db->fetch_array($SQL)) { $selected = ""; if ($forumID == $row['forum_id']) $selected = "selected"; $dropDownList .= "<option value='' " . $selected .">&nbsp;&nbsp;&nbsp;" . $row['title'] . "</option>"; $pSQL = $db->query("SELECT forum_id, title FROM forum WHERE parentid = " . $row['forum_id'] . " AND forumStatus = 'show' ORDER BY displayorder"); if ( $db->numrows($pSQL) <> 0) { while ( $pForum = $db->fetch_array($pSQL)) { $selected = ""; if ($forumID == $pForum['forum_id']) $selected = "selected"; $dropDownList .= "<option value='" . $pForum['forum_id'] . "' " . $selected .">&nbsp;&nbsp;&nbsp;|---" . $pForum['title'] . "</option>"; $fSQL = $db->query("SELECT forum_id, title FROM forum WHERE parentid = " . $pForum['forum_id'] . " AND forumStatus = 'show' ORDER BY displayorder"); if ( $db->numrows($fSQL) <> 0) { while ( $fForum = $db->fetch_array($fSQL)) { $selected = ""; if ($forumID == $fForum['forum_id']) $selected = "selected"; $dropDownList .= "<option value='" . $fForum['forum_id'] . "' " . $selected .">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|---" . $fForum['title'] . "</option>"; } } } } } } return $dropDownList; }

_________________
ขอบคุณซักคำ มันยากเกินไปไช่ไหม!!!...


   The following user would like to thank danya for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.2
 Post Posted: 15 Mar 2009, 22:55 
Offline

Joined: 28 Jan 2009, 11:28
Posts: 304
ไม่เปลือง query หรอก ที่เขียนไว้มัน query เดียวอะ
ที่เปลืองอาจจะเป็นเปลือง memory นิดหน่อย เพราะโหลดมาใส่ใน array ทั้งตารางเลย :yoyo15:

_________________
In your life, There's no such a thing as you can do it or you can't!! but, it's a matter of 'doing it or not doing it!!
the talent of hard work
the first step to the nex level, i think is courageously stepping into the unknown


   The following user would like to thank num for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.3 Final นะจ๊ะ
 Post Posted: 19 Jul 2009, 19:15 
Offline

Joined: 28 Jan 2009, 11:28
Posts: 304
1.3 มาแล้ว คุณหนู Dr.Yes ช่วย upload ทีฮับ :yoyo16:

http://jquery.jitwitya.com/DragonHtmlCa ... 3Final.zip
http://www.ziddu.com/download/5677958/D ... l.zip.html

_________________
In your life, There's no such a thing as you can do it or you can't!! but, it's a matter of 'doing it or not doing it!!
the talent of hard work
the first step to the nex level, i think is courageously stepping into the unknown


   The following user would like to thank num for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.3 Final นะจ๊ะ
 Post Posted: 20 Jul 2009, 10:14 
Offline
Site Admin
User avatar

Joined: 19 Jan 2009, 12:33
Posts: 324
Location: สะพานสูง, กรุงเทพฯ
เอาลงไปแล้น

ไฟล์ใหญ่มากมาย

_________________
"I'm not a doctor", said Dr.Yes
"What we have done for ourselves alone, dies with us;
What we have done for others and the world, remains and is immortal"
, Albert Pike
1 2 3


   The following user would like to thank Dr.Yes for this post:
Top 
 Profile  
 
 Post subject: Re: dragon_html category version 1.3 Final นะจ๊ะ
 Post Posted: 20 Jul 2009, 19:37 
Offline

Joined: 28 Jan 2009, 11:28
Posts: 304
Dr.Yes wrote:
เอาลงไปแล้น

ไฟล์ใหญ่มากมาย

ขอบคุณคร้าบ :yoyo01:

ไฟล์โปรแกรมที่เขียนแค่ 100k แต่พอดีใส่ Ext-JS เข้าไปด้วยอะ แหะๆ :yoyo15:

_________________
In your life, There's no such a thing as you can do it or you can't!! but, it's a matter of 'doing it or not doing it!!
the talent of hard work
the first step to the nex level, i think is courageously stepping into the unknown


   The following user would like to thank num for this post:
Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 9 posts ] 

Board index » F.A.Q. » PHP


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
refresh
· 30 กระทู้อัพเดตล่าสุด ·