Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=88203
Postga havola
Qobilov_Sardor [379] [off]
TimX, # TimX (07.09.2020 / 13:40)
Sardor, Hammasini chiqaradigan kodni tashlang, sozlab beraman
mana shu.
Sardor, Hammasini chiqaradigan kodni tashlang, sozlab beraman
<?php echo '<div class="phdr">Yangiliklar</div>'; $kmess ='4'; if ($total) { $req = mysql_query("SELECT * FROM `cms_news` WHERE `refid`= 1 ORDER BY `time` DESC LIMIT ".$start.", ".$kmess); $comm= mysql_result( mysql_query("select count(*) from `cms_news_comments` where `refid` = '".$trans_res['id']."'"),0); echo '<div class="menu"><span class="list1">'.(date('H:i ',$trans_res['time'])).'</span> – <a href="/news/index.php?act=view&id='.$trans_res['id'].'"><font color="#454545">'. htmlentities($trans_res['name'],ENT_QUOTES,'UTF-8').'</font></a> <a class="cm orang"> ' . $comm . '</a></div></div>'; ++$i; } } if ($total > $kmess) { echo '<div class="menu"><center>' . functions::display_pagination('?', $start, $total, $kmess) . '</center></div>'; } ?>
mana shu.