Post by: admin
06.05.2020 / 03:34
Mở mainmenu.php
dán nơi nào bạn thích
|
echo'<div class="phdr"><b><img src="/images/alb.png" alt=""/> Album Ảnh</b></div>';
$hammad4=mysql_query("SELECT `id`, `user_id`, `album_id`, `comm_count`, `tmb_name`, `vote_minus`,`vote_plus`, `time` FROM `cms_album_files` order by `time` DESC limit 1 ");
$ar34=mysql_fetch_array($hammad4);
$ra4=mysql_query("SELECT `id`, `user_id`, `album_id`, `comm_count`, `tmb_name`, `vote_minus`,`vote_plus`, `time` FROM `cms_album_files` order by rand() DESC limit 1 ");
$ar22=mysql_fetch_array($ra4); echo '<table border="1" width="100%"> <tr> <td width="50%" align=center><div class="list2"><img src="../files/users/album/'.$ar34['user_id'] .'/'.$ar34['tmb_name'] .'" alt="'.$ar34['id'] .'"/>
<a href="/users/album.php?act=comments&img='.$ar34['id'] .'">
Bình luận</a>('.$ar34['comm_count'] .')
<a href="/users/album.php?act=vote&mod=plus&img='.$ar34['id'] .'"><img src="/images/thich.png"/></a>'.$ar34['vote_plus'] .'| <a href="/users/album.php?act=vote&mod=minus&img='.$ar34['id'] .'"><img src="/images/khong.png"/></a>'.$ar34['vote_minus'] .'
</div></td> <td width="50%" align=center><div class="list2"><img src="../files/users/album/'.$ar22['user_id'] .'/'.$ar22['tmb_name'] .'" alt="'.$ar22['id'] .'"/>
<a href="../users/album.php?act=comments&img='.$ar22['id'] .'">
Bình luận</a>('.$ar22['comm_count'] .')
<a href="../users/album.php?act=vote&mod=plus&img='.$ar22['id'] .'"><img src="/images/thich.png"/></a>'.$ar22['vote_plus'] .'| <a href="../users/album.php?act=vote&mod=minus&img='.$ar22['id'] .'"><img src="/images/khong.png"/></a>'.$ar22['vote_minus'] .'
</div></td> </tr> </table>';
|
Source Code |
Download CodeTách code đã share...
anh em edit link ảnh cho đúng với domain wap mình!
loading...