Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=90&page=25
JohnCMS da bosh sahifaga chiqarish
Mavzu fayllari (15)
Xabarlar
SiRiuS_11, # SiRiuS_11 (07.04.2020 / 12:21)
developer, Head.php gami yoki mainmenu.php ga yozaymi?Farqi yoq
developer, Head.php gami yoki mainmenu.php ga yozaymi?Farqi yoq
SiRiuS_11, # SiRiuS_11 (07.04.2020 / 12:21)
developer, Head.php gami yoki mainmenu.php ga yozaymi?Head.php ga qo'ysez hamma sahifada chqib turadi. Mainmenu.php ga qo'ysez faqat bosh sahifada chqadi.
developer, Head.php gami yoki mainmenu.php ga yozaymi?Head.php ga qo'ysez hamma sahifada chqib turadi. Mainmenu.php ga qo'ysez faqat bosh sahifada chqadi.
Bosh sahifaga maqola qoshayotganda hama kategoriyadagi maqolalar chiqadiku ushani 8 ta kategoriyadagi maqolalarni chiqadigan qilsa boladimi
Besthakker, # Besthakker (15.04.2020 / 06:51)
Bosh sahifaga maqola qoshayotganda hama kategoriyadagi maqolalar chiqadiku ushani 8 ta kategoriyadagi maqolalarni chiqadigan qilsa boladimiSizga maslaxat. Kod yozayotganda copy paste emas kod yozilish, kod ishlash sintaksisiga juda katta e'tibor bering. Yo'qsa ancha payt kodingizdagi ortiqcha qo'shilgan qo'shtiroqni xam tuzata olmay boshqalardan yordam so'rab yurasiz.
Bosh sahifaga maqola qoshayotganda hama kategoriyadagi maqolalar chiqadiku ushani 8 ta kategoriyadagi maqolalarni chiqadigan qilsa boladimiSizga maslaxat. Kod yozayotganda copy paste emas kod yozilish, kod ishlash sintaksisiga juda katta e'tibor bering. Yo'qsa ancha payt kodingizdagi ortiqcha qo'shilgan qo'shtiroqni xam tuzata olmay boshqalardan yordam so'rab yurasiz.
johncms 6.2.0 ofisial versiadagi download papkalarini bosh sahifaga chiqarish kodini aytvoring. Videolar (123 ta)
Oyinlar (faloncha)
Allanimalar (23 ta) korinishda chikishi kerak. oldindan rahmat
Oyinlar (faloncha)
Allanimalar (23 ta) korinishda chikishi kerak. oldindan rahmat
if (file_exists((ROOTPATH . 'files/library/images/big/' . $lib['id'] . '.png'))){ $img_style = 'width: 60px; height: 35px; float: left; clear: both; margin: 10px'; echo ''; }else{ $img_style = 'width: 60px; height: 35px; float: left; clear: both;
Bu maqolalarni rasmini chiqaradigan kod. Buni qanday xatoligi bor? To'g'ri qirqilganmi?
Kamron, # Kamron (16.05.2020 / 15:01)
if (file_exists((ROOTPATH . 'files/library/images/big/' . $lib['id'] . '.png'))){ $img_style = 'width: 60px; height: 35px; float: left; clear: both; margin: 10px'; echo ''; }else{ $img_style = 'width:bosh sahifaga download yoki gallareyadan rasm chiqarish kodi bo'lsa shunga qarab sozlab ko'ring
if (file_exists((ROOTPATH . 'files/library/images/big/' . $lib['id'] . '.png'))){ $img_style = 'width: 60px; height: 35px; float: left; clear: both; margin: 10px'; echo ''; }else{ $img_style = 'width:bosh sahifaga download yoki gallareyadan rasm chiqarish kodi bo'lsa shunga qarab sozlab ko'ring
Johncms 6.2.2 da /users/profile.php dagi profil suratini o'lchamlarini o'zgartirmoqchi edim lekin uyerdan topa olmadim. Yordam kerak
Johmcms 6.2.2 da downloaddagi papkadagi yuklamalarni id raqami orqali bosh sahifaqa qanday qilib chiqariladi?
Kamron, # Kamron (16.06.2020 / 22:18)
Johmcms 6.2.2 da downloaddagi papkadagi yuklamalarni id raqami orqali bosh sahifaqa qanday qilib chiqariladi?tarqatilganku rosa birorta scriptdan kodi oling tamom
Johmcms 6.2.2 da downloaddagi papkadagi yuklamalarni id raqami orqali bosh sahifaqa qanday qilib chiqariladi?tarqatilganku rosa birorta scriptdan kodi oling tamom
Libraryni faqatgina 1ta tanlangan bo'limidagi maqolalarni qanday bosh sahifaga chiqarsa bo'ladi?
20 daqiqa 28 soniyadan keyin yozdi:
Shuni qatiga kategoriya id sini kiritish kerak?
20 daqiqa 28 soniyadan keyin yozdi:
<?php echo '<div class="phdr"><b>Yangi maqolalar</b></div>'; $kmess = '5'; $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `library_texts` WHERE `time` AND `premod`=1"), 0); $start = $page == 1 ? 0 : ($page - 1) * $kmess; $sql = mysql_query("SELECT `id`, `name`, `time`, `uploader`, `uploader_id`, `count_views`, `comments`, `count_comments`, `cat_id`, `announce` FROM `library_texts` WHERE `premod`=1 ORDER BY `time` DESC LIMIT " . $start . "," . $kmess); $nav = ($total > $kmess) ? '<div class="menu"><center>' . functions::display_pagination('?act=new&', $start, $total, $kmess) . '</center></div>' : ''; if ($total) { $i = 0; $comm = mysql_result( mysql_query("select count(*) from `cms_library_comments` where `refid` = '".$lib['id']."'"),0); echo '<div class="menu"><a href="' . $set['homeurl'] . '/library/index.php?id=' . $lib['id'] . '"><b>' . $lib['name'] . '</b></a> ['. functions::display_date($lib['time']) . ']<br>'.mb_substr($lib['announce'],0,100).'...<br>'; $catalog = mysql_fetch_assoc(mysql_query("SELECT `id`, `name` FROM `library_cats` WHERE `id` = " . $lib['cat_id'] . " LIMIT 1")); echo '[<a href="/library/index.php?do=dir&id=' . $catalog['id'] . '">' . functions::checkout($catalog['name']) . '</a>' . ($page > 1 ? ' | ' . functions::checkout($res['name']) : '') . ']'; echo '[<a href="/library/index.php?act=comments&id=' . $lib['id'] . '">Muhokamalar (' . $lib['count_comments'] . ')</a>]'; echo '<span style="float:right;"><b>[' . $lib['count_views'] . ']</b></span></div>'; $i; } } echo $nav; ?>
Shuni qatiga kategoriya id sini kiritish kerak?
TimX, # TimX (20.06.2020 / 12:41)
Libraryni faqatgina 1ta tanlangan bo'limidagi maqolalarni qanday bosh sahifaga chiqarsa bo'ladi?
20 daqiqa 28 soniyadan keyin yozdi:
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
$kmess = 'tanlamoqchi bulgan bulimiz idi';
Libraryni faqatgina 1ta tanlangan bo'limidagi maqolalarni qanday bosh sahifaga chiqarsa bo'ladi?
20 daqiqa 28 soniyadan keyin yozdi:
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
$kmess = 'tanlamoqchi bulgan bulimiz idi';
Besthakker, # Besthakker (20.06.2020 / 16:25)
TimX, $kmess = 'tanlamoqchi bulgan bulimiz idi';$kmess = bu nechta maqola chiqishi!
TimX, $kmess = 'tanlamoqchi bulgan bulimiz idi';$kmess = bu nechta maqola chiqishi!
Mαhmud Medια, # Mαhmud Medια (20.06.2020 / 16:37)
Besthakker, $kmess = bu nechta maqola chiqishi!Eee uzur saal adashibman hoz
Besthakker, $kmess = bu nechta maqola chiqishi!Eee uzur saal adashibman hoz
TimX, # TimX (20.06.2020 / 12:41)
Libraryni faqatgina 1ta tanlangan bo'limidagi maqolalarni qanday bosh sahifaga chiqarsa bo'ladi?
20 daqiqa 28 soniyadan keyin yozdi:
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
$kmess = '7';
$cat_id = 48; //bu yerga kategorya idsini yozasiz
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `library_texts` WHERE `time` AND `premod`=1 AND `cat_id` = '".$cat_id."'"), 0);
$page = $page >= ceil($total / $kmess) ? ceil($total / $kmess) : $page;
$start = $page == 1 ? 0 : ($page - 1) * $kmess;
$sql = mysql_query("SELECT `id`, `name`, `time`, `uploader`, `uploader_id`, `count_views`, `comments`, `count_comments`, `cat_id`, `announce` FROM `library_texts` WHERE `premod`=1 AND `cat_id` = '".$cat_id."' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
$nav = ($total > $kmess) ? '<div class="menu"><center>' . functions::display_pagination('?act=new&', $start, $total, $kmess) . '</center></div>' : '';
if ($total) {
$i = 0;
while ($lib = mysql_fetch_assoc($sql)) {
$comm = mysql_result( mysql_query("select count(*) from `cms_library_comments` where `refid` = '".$lib['id']."'"),0);
echo '<div class="menu"><a href="' . $set['homeurl'] . '/library/index.php?id=' . $lib['id'] . '"><b>' . $lib['name'] . '</b></a> ['. functions::display_date($lib['time']) . ']<br>'.mb_substr($lib['announce'],0,100).'...<br>';
$catalog = mysql_fetch_assoc(mysql_query("SELECT `id`, `name` FROM `library_cats` WHERE `id` = " . $lib['cat_id'] . " LIMIT 1"));
echo '[<a href="/library/index.php?do=dir&id=' . $catalog['id'] . '">' . functions::checkout($catalog['name']) . '</a>' . ($page > 1 ? ' | ' . functions::checkout($res['name']) : '') . ']';
echo '<span style="float:right;"><b>[' . $lib['count_views'] . ']</b></span></div>';
++$i;
}
}
echo $nav;
?>
Libraryni faqatgina 1ta tanlangan bo'limidagi maqolalarni qanday bosh sahifaga chiqarsa bo'ladi?
20 daqiqa 28 soniyadan keyin yozdi:
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
<?php
echo '<div class="phdr"><b>Yangi maqolalar</b></div>';
$kmess = '7';
$cat_id = 48; //bu yerga kategorya idsini yozasiz
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `library_texts` WHERE `time` AND `premod`=1 AND `cat_id` = '".$cat_id."'"), 0);
$page = $page >= ceil($total / $kmess) ? ceil($total / $kmess) : $page;
$start = $page == 1 ? 0 : ($page - 1) * $kmess;
$sql = mysql_query("SELECT `id`, `name`, `time`, `uploader`, `uploader_id`, `count_views`, `comments`, `count_comments`, `cat_id`, `announce` FROM `library_texts` WHERE `premod`=1 AND `cat_id` = '".$cat_id."' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
$nav = ($total > $kmess) ? '<div class="menu"><center>' . functions::display_pagination('?act=new&', $start, $total, $kmess) . '</center></div>' : '';
if ($total) {
$i = 0;
while ($lib = mysql_fetch_assoc($sql)) {
$comm = mysql_result( mysql_query("select count(*) from `cms_library_comments` where `refid` = '".$lib['id']."'"),0);
echo '<div class="menu"><a href="' . $set['homeurl'] . '/library/index.php?id=' . $lib['id'] . '"><b>' . $lib['name'] . '</b></a> ['. functions::display_date($lib['time']) . ']<br>'.mb_substr($lib['announce'],0,100).'...<br>';
$catalog = mysql_fetch_assoc(mysql_query("SELECT `id`, `name` FROM `library_cats` WHERE `id` = " . $lib['cat_id'] . " LIMIT 1"));
echo '[<a href="/library/index.php?do=dir&id=' . $catalog['id'] . '">' . functions::checkout($catalog['name']) . '</a>' . ($page > 1 ? ' | ' . functions::checkout($res['name']) : '') . ']';
echo '<span style="float:right;"><b>[' . $lib['count_views'] . ']</b></span></div>';
++$i;
}
}
echo $nav;
?>
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 536 ta
So'ngi faollik vaqti: 02:12:02, 25 Feb 2021