Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=35837
Postga havola
Leo [31] [off]
Salom hammaga offtopic uchun uzr strongcms bosh sahifaga maqolani chiqaradigan kod bor shukod mana
<?
echo "<div class='menu'><div class='g_menu_block_03'><b>So`ngi maqolalar</b></div></div>";
$lib = $db->query("SELECT * FROM `lib_stat` ORDER BY `id` DESC LIMIT 10");
while ($a = $db->fetch_assoc($lib))
{
$text_v = cut_text($a['text'],120);
echo '<div class="main_menu7"><a href="/lib/kniga'.$a['id'].'"><img src="/images/stat.png" alt="*""><b> '.$a['name'].' </b><br/>'.smile(bb($text_v)).'</font></div></a>';
}
?>
Shu kodga manashu kodni moslab beringlar
echo '<div class="podmenu"><img src="'.$HOME.'/images/stat.png" alt="*" /> <a href="'.$HOME.'/blog/stat_'.$bs['id'].'">'.$bs['titlename'].'</a><br />
O`qildi: '.$bs['readlen'].' <a href="'.$HOME.'/blog/comment_'.$bs['id'].'">Fikrlar</a> '.mysql_result(mysql_query("SELECT COUNT(id) FROM `blog_com` WHERE `blog` = '".$bs['id']."'"),0).'</div>';
Birlashtirib taqida oqilgani va fikr bildirish chiqsin
<?
echo "<div class='menu'><div class='g_menu_block_03'><b>So`ngi maqolalar</b></div></div>";
$lib = $db->query("SELECT * FROM `lib_stat` ORDER BY `id` DESC LIMIT 10");
while ($a = $db->fetch_assoc($lib))
{
$text_v = cut_text($a['text'],120);
echo '<div class="main_menu7"><a href="/lib/kniga'.$a['id'].'"><img src="/images/stat.png" alt="*""><b> '.$a['name'].' </b><br/>'.smile(bb($text_v)).'</font></div></a>';
}
?>
Shu kodga manashu kodni moslab beringlar
echo '<div class="podmenu"><img src="'.$HOME.'/images/stat.png" alt="*" /> <a href="'.$HOME.'/blog/stat_'.$bs['id'].'">'.$bs['titlename'].'</a><br />
O`qildi: '.$bs['readlen'].' <a href="'.$HOME.'/blog/comment_'.$bs['id'].'">Fikrlar</a> '.mysql_result(mysql_query("SELECT COUNT(id) FROM `blog_com` WHERE `blog` = '".$bs['id']."'"),0).'</div>';
Birlashtirib taqida oqilgani va fikr bildirish chiqsin