Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=63905
Postga havola
Besthakker [929] [off]
TαnHo_MαsTeR, # TαnHo_MαsTeR (13.06.2019 / 12:12)
Yangiliklardi bosh sahifaga chiqaradigan kodni kim biladi?
Yangiliklardi bosh sahifaga chiqaradigan kodni kim biladi?
<?php $kmess = '20'; echo '<div class="phdr">Yangiliklar</div>'; echo '<div class="menu">'; $bolm_sql = mysql_query("SELECT `id`, `name`, `dir`, `description` FROM `library_cats` WHERE `parent`=0 ORDER BY `pos` DESC"); $start = $page == 1 ? 0 : ($page - 1) * $kmess; $req_lib = mysql_query("SELECT * FROM `library_texts` WHERE `premod`='1' ORDER BY `time` DESC LIMIT 10"); if ($sql) { $i = 0; echo '<a href="' . $set['homeurl'] . '/library/index.php?id=' . $lib['id'] . '"><img src="/ico/buyerga rasm quyas"> ' . $lib['name'] . '</a><hr>'; } } echo '<div style="text-align: right;"><span class="currentpage"><b>1</b></span> <a class="pagenav" href="/library/i.php?page=2">2</a> <a class="pagenav" href="/library/i.php?page=3">3</a> <a class="pagenav" href="/library/i.php?page=4">4</a> <a class="pagenav" href="/library/i.php?page=5">5</a> <a class="pagenav" href="/library/i.php?page=2">»</a></div>'; echo '</div></div>'; echo '</div>'; ?>