• 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 topic xem nhiều

G4M

New Member
Add chỗ muốn hiển thị.
Code:
$req = mysql_query ( "SELECT * FROM `forum` WHERE `type` = 't' && `close` = '1' order by view desc limit 6 " );
$total = mysql_num_rows ( $req );
if( $total != 0 )
{
echo '<div class="phdrblack"><b>xem nhiều nhất:</b></div>' ;
while ( $res = mysql_fetch_assoc ( $req )){
echo '<div class="menub"><img src="/img/bv.gif"/><a href="' . $home . '/forum/'.functions :: thai ( $res [ 'text' ]) . '_' . $res [ 'id' ] . '.html">' . $res [ 'text' ] . '</a></div>' ;
++ $i ;
}
echo '</div>' ;
}

ai chưa mod Rewrite Url thì sửa lại nha.
 

Facebook Comments

New posts New threads New resources

Back
Top