• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Share code show bài theo chuyên mục code v5

Admin

Well-Known Member
Staff member
Administrator
Bước 1: Dán đoạn này dưới dòng
require_once('inc/tren.php');
PHP:
$url = $_GET['url'];
$id = $_GET['id'];
Bước 2: Sửa id hàm $a2 và $ma
PHP:
$a2 = mysql_fetch_array(mysql_query("SELECT * FROM theloai WHERE id='sửa id'"));
$ma=mysql_query("select thoigian, id, url, name, icon from top where idt='sửa id ' order by id desc limit 0, 3;");
echo '<div class="phdr"><b>Tên chuyên mục</b></div>';
while($va=mysql_fetch_array($ma)){
echo tshow($va['id'], $va['url'], $va['name'], $va['icon'], $va['thoigian']);
}
echo '<div class="topmenu"><a href="'.$home.'/chuyen-muc-'.$a2['id'].'-'.$a2['url'].'.html">Xem thêm...</a></div>';
Nếu muốn thêm nhiều thì thêm như bước 2, sửa tên hàm
VD: $a2 sang $a3
 

Facebook Comments

New posts New threads New resources

Back
Top