Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=81835
Postga havola
developer [323] [off]
Kamron, # Kamron (25.03.2020 / 06:58)
developer, Ishlamadi
9 daqiqa 55 soniyadan keyin yozdi:
shunisi ishlaydi faqat hamma maqolalarga rasm qoyish kerak rasmi yoq maqolalar da rasmni orni qichiq qoladi
developer, Ishlamadi
<?php 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) . '">'.'<div class="avatar"><img src="../files/library/images/small/' . $row['id'] . '.png" alt="screen" /></div>'.<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;?>
9 daqiqa 55 soniyadan keyin yozdi:
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) . '"><div class="avatar"><img src="../files/library/images/small/' . $row['id'] . '.png" alt="screen" /></div><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;