• 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 like hiển thị tim ra trang chủ.

Boy97

New Member
Giới thiệu: Hiển thị thanks hay like ra trang chủ bài viết
Demo
Hướng dẫn: Hết sức đơn giản
+ Mở pages/mainmenu.php tìm:
PHP:
<?php
$nam = mysql_fetch_array ( $nikuser );
?>
Thêm vào dưới nó:
PHP:
<?php
$getthank = mysql_query ( "SELECT * FROM `forum_thank` WHERE `topic` = '" . ( $arr [ 'id' ] + 1 ) . "'" );
$getnumrows = mysql_num_rows ( $getthank );
?>
+ Tìm:
PHP:
<?php
' . $nam[' from ']. '
?>
Thay bằng:
PHP:
<?php
' . $nam[' from ']. ' < font color = "red" >[ ♥ ' .$getnumrows. ' ]</ font >
?>
Để hiển thị.
Nếu ai muốn ẩn tim đi khi like bằng 0 thì
Mở mainmenu tìm đoạn
PHP:
<?php
'.$nam[' from '] . ' ;
}
?>
Thêm bên dưới
PHP:
<?php
if ( $getnumrows !== 0 ) echo '<font color="red">[♥' . $getnumrows . ']</font>' ;
?>
Lưu và test & Like
nguồn m4v
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Yeukodamnoi [JohnCMS] Share code auto tag lấy từ kết quả hiển thị của Google Johncms 0
Admin [Share] code xt file list cho xtgem hiển thị hình ảnh Wap builder, wapego, xtgem, wen.ru, wapka, wap4 11
Admin Share 15GB source code Android bao gồm Unity Android, iOS 5
Admin Share code Nukeviet 4.4.02 mới nhất - Code tin tức tốt nhất Việt Nam Mã nguồn web 3
Admin Share code và data game bài Gowin 2019 mới nhất Mã nguồn web 9
Npnken Share Share code shop nick tự động - shopbumma.com PHP 3
SuperTroll Share code chat cho wap4.co Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
SuperTroll Share Code đua Pet cho MXH Team Johncms 0
SuperTroll Share Code JohnCMS Mefun.VN Johncms 0
L Share Full Code Gocvn.Org Johncms 1
cuongpro9x Share Share Code Chia Sẻ Video Cực Đẹp Nhiều Chức Năng All Shared Scripts 1
MrTrieu Share Share code blog JohnCMS làm wap game, truyện, blog thủ thuật đẹp Johncms 2
cuongpro9x Share Share Code Get Link Max BW onbox All Shared Scripts 1
H Share Share Full code VBB openitvn.net Vbulletin 1
H Share Share code game oẳn tù tì lột đồ girl cho JohnCMS by Nguyên Ary Johncms 1
H Share Share code và data WapIT JohnCMS 4.5.1 Johncms 0
T Share Tổng Hợp Code Tool Mod Java Online [full] All Shared Scripts 0
cuongpro9x Share Share code MXH Avatar trên wap VINA4U.MOBI PREMIUM Johncms 14
H Share [XtGem] Share code lấy id tag tên và ảnh b.bè trên FaceBook Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
H Share Share Code GhCMS - code giúp cho việc tạo wap trên WapMienPhi thật đơn giản Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
H Share Share Code sao lưu, Phục Hồi CSDL Cực Cool chỉ 1 file duy nhất All Shared Scripts 0
H Share Share code Wilib mod giống trasua.mobi All Shared Scripts 0
T Hỏi Anh em pro nào có code này share em với ạ ! Wordpress 1
NhokLove Share Share lại code nhật ký love All Shared Scripts 3
T Share tổng hợp code tiện ích của gocvn PHP 0
T Share code wap chat PHP v1.3 PHP 0
T SHARE Code cùng chuyên mục blog xtgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
T Share Code xóa quảng cáo Xtgem bằng css Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
V Share - Code blog JohnCMS làm wap game, truyện Johncms 5
V Share Share code filelist 99% không time out + toolpost cho xtgem by Sắt Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
T Share Share Code Mod Thay đổi Màu Nick Tùy Ý Cho Johncms Johncms 1
H Code m4um giống m4v 99% share by F4v Johncms 1
H ai share giup e code upload voi Mã nguồn wap 1
K Share Share code fake sms củamobiviet.vn đang dùng All Shared Scripts 1
Kayashiteru Share code đánh dấu trang Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
Kayashiteru Share Share code chống reg nick quá 3 lần trên 1 IP All Shared Scripts 0
Kayashiteru Share share code igunny.ml pb v3 fix sach loi va có nhieu game mini All Shared Scripts 2
djdungcuty Share Share Code trang trí cho website đón Tết cực đẹp Javascript/ajax 1
KhangSkull Share code Bazar Shop - Template bán hàng cực đẹp Wordpress v2.0.0 Wordpress 5
Yeukodamnoi Share Share code auto like Facebook - Bấm vào đâu cũng like All Shared Scripts 3
W Share Share code wap 18+ Johncms 2
H Share code WapFTP by DienDanVn.Me Johncms 2
Myshare Share Code Blog JohnCMS 5.1.0 Giống Wap4VN Johncms 1
H Share code johncms giống teamobi hàng độc by vina4u.mobi Johncms 0
C Share Share code filelist SMS KUTE cho ai làm wap xtgem đây!! Javascript/ajax 1
A Share Code PHP Tạo Logo "Angry Birds" By Nguyên Ary Mã nguồn wap 1
N Share share code Xenforo Vntech24.Net Full Mod 2013 Xenforo 5
V Share code Xenforo giống daivietpda All Shared Scripts 2
V Share code xenforo dùng làm wap truyện, game, tin tức All Shared Scripts 0
O Share Share code mạng xã hội mà Zing me đang sử dụng (việt hóa). All Shared Scripts 0

Similar threads

New posts New threads New resources

Back
Top