Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=81800
Postga havola
Kamron [1260] [off]
developer,
Tog'ri copy qildimmi?
echo' <div class="phdr"><i class="fa fa-sticky-note-o" style="color:#ffffff;"></i> So\'ngi maqolalar</div>'; $start = $page == 1 ? 0 : ($page - 1) * $kmess; $nav = ($total > $kmess) ? '<div class="topmenu">' . functions::display_pagination('?do=dir&id=' . $id . '&', $start, $total, $kmess) . '</div>' : ''; if ($total) { $sql2 = mysql_query("SELECT * FROM `library_texts` WHERE `premod`=1 ORDER BY `id` DESC LIMIT " . $start . "," . $kmess); echo $nav; $catalog = mysql_fetch_assoc(mysql_query("SELECT `id`, `name` FROM `library_cats` WHERE `id` = " . $row['cat_id'] . " LIMIT 1")); echo '<div class="list' . (++$i % 2 ? 2 : 1) . '">'; echo'<img src="/images/maqola.png"> <a href="'.$home.'/library/index.php?id=' . $row['id'] . '"> <b>' . functions::checkout($row['name']) . '</b></a> <font color="gray">(' . functions::display_date($row['time']) . ')</font><br> ' . functions::checkout(bbcode::notags($row['announce'])) . ' ...<br> [<a href="'.$home.'/library/index.php?do=dir&id='.$row['cat_id'].'">'.$catalog['name'].'</a>] <span style="float: right;"><font color="gray">O\'qildi: ' . $row['count_views'] . '</font></span> '; echo '</div>'; } } else { echo '<div class="menu">' . $lng['list_empty'] . '</div>'; } echo $nav;
Tog'ri copy qildimmi?