Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=736&page=60
Johncms bo'yicha umumiy savollar
Mavzu fayllari (121)
Xabarlar
Leo, HarryAlini blog sayti bor, shu yerda aniq tiniq yozilgan ekan, men ham o'sha yerda o'rgandim.
Rahmat aytdi (1): Leo,
Lutfullo, # Lutfullo (28.06.2018 / 11:43)
SnipeR, Maqolaq qoshildi deb chiqadigan pagega joyladim, ishladi:-)Xursandman
SnipeR, Maqolaq qoshildi deb chiqadigan pagega joyladim, ishladi:-)Xursandman
Krite news da user yozgan komentlarni sanovchi kod qanday tuziladi?
.
Krite news uchun lenta.php qilmoqchi edim forumnikini taxlasam tusharmikan
.
Krite news uchun lenta.php qilmoqchi edim forumnikini taxlasam tusharmikan
Ajalbek, # Ajalbek (12.07.2018 / 23:12)
Krite news da user yozgan komentlarni sanovchi kod qanday tuziladi?
.
Krite news uchun lenta.php qilmoqchi edim forumnikini taxlasam tusharmikan
comments ni o'rniga bazadagi narsani yozing. sharhlar yozilgan joyni
Krite news da user yozgan komentlarni sanovchi kod qanday tuziladi?
.
Krite news uchun lenta.php qilmoqchi edim forumnikini taxlasam tusharmikan
$bunyod_aka_rahmat=mysql_fetch_array(mysql_query("SELECT * FROM cms_news WHERE id = '" . $id . "' LIMIT 1")); '.$bunyod_aka_rahmat['comments'].'
comments ni o'rniga bazadagi narsani yozing. sharhlar yozilgan joyni
<?php
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 10");
if(mysql_num_rows($cat_inf)){
$cat_inf = mysql_fetch_assoc($cat_inf);
}else{
$cat_inf = array('way' => '');
}
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%'"), 0);
$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
while ($ok = mysql_fetch_array($zap)) {
echo ($i % 2) ? '<div class="menu">' : '<div class="menu"><div class="ico">';
$i;
$ok['name'] = str_replace('||||','',$ok['name']);
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0);
echo "<i class='fa fa-music fa-headphones fa-lg'></i> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a> (" . size_convert($ok['size']) . ")";
if($new > 0){
}else{
echo '';
}
echo "</div></div>";
}
if ($total > $kmess){
echo '<p>' . functions::display_pagination('?get=fayl&', $start, $total, $kmess) . '</p>';
}
?>
Bow sahifada musiclar 10 ta bogandan keyin 1/2/3.... qanaqib qladi
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 10");
if(mysql_num_rows($cat_inf)){
$cat_inf = mysql_fetch_assoc($cat_inf);
}else{
$cat_inf = array('way' => '');
}
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%'"), 0);
$zap = mysql_query("SELECT * FROM `downfiles` WHERE `type` != 1 AND `status` = 1 && `way` LIKE '" . $cat_inf['way'] ."%' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess);
while ($ok = mysql_fetch_array($zap)) {
echo ($i % 2) ? '<div class="menu">' : '<div class="menu"><div class="ico">';
$i;
$ok['name'] = str_replace('||||','',$ok['name']);
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0);
echo "<i class='fa fa-music fa-headphones fa-lg'></i> <a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'>".$ok['name']."</a> (" . size_convert($ok['size']) . ")";
if($new > 0){
}else{
echo '';
}
echo "</div></div>";
}
if ($total > $kmess){
echo '<p>' . functions::display_pagination('?get=fayl&', $start, $total, $kmess) . '</p>';
}
?>
Bow sahifada musiclar 10 ta bogandan keyin 1/2/3.... qanaqib qladi
uZaFaRaP, # uZaFaRaP (13.07.2018 / 10:58)
<?php
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 10");
if(mysql_num_rows($cat_inf)){
$cat_inf = mysql_fetch_assoc($cat_inf);
}else{
$cat_infif ($total > $kmess){ echo '<p>' . functions::display_pagination('?get=fayl&', $start, $total, $kmess) . '</p>'; }
Mana borekanu usha kod
<?php
$cat ='1';
$cat_inf = mysql_query("SELECT * FROM `downpath` WHERE `id` = '" . $cat . "' LIMIT 10");
if(mysql_num_rows($cat_inf)){
$cat_inf = mysql_fetch_assoc($cat_inf);
}else{
$cat_infif ($total > $kmess){ echo '<p>' . functions::display_pagination('?get=fayl&', $start, $total, $kmess) . '</p>'; }
Mana borekanu usha kod
uZaFaRaP, Bunga ko'p narsa qilish kerak. Shxga o't qib beraman
+ (1): AbdusattarovZ,
Rahmat aytdi (1): AbdusattarovZ,
uZaFaRaP,
Kerakli joyga include qilas
<?php echo '<div class="phdr">Statistika</div><div class="menu">'; $users = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `lastdate` > '" . (time() - 300) . "'"), 0); $guests = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_sessions` WHERE `lastdate` > '" . (time() - 300) ."'"), 0); $online=$users+$guests; echo ''. 'Hozir Saytda: <b> '.$online.'</b><br/>'. '<a href="/users/index.php?act=online&mod=guest">Mehmonlar: <b>'.$guests.'</b></a><br/>'; echo 'Foydalanuvchilar:<b> '. $users.'</b></div>'; echo '</div>'; ?>
Kerakli joyga include qilas
+ (1): AbdusattarovZ,
Nega rasm ciqmavoti. Yonaltirilgan papkada rasmlar bor
Biriktirilgan fayllar [1]:
— tmpdoodle1531992704507.jpg (108.56 KB) (115 ↴)
— tmpdoodle1531992704507.jpg (108.56 KB) (115 ↴)
uZaFaRaP, # uZaFaRaP (19.07.2018 / 14:30)
Nega rasm ciqmavoti. Yonaltirilgan papkada rasmlar borRasm manzili xato yoki bunday rasm yöq.
Nega rasm ciqmavoti. Yonaltirilgan papkada rasmlar borRasm manzili xato yoki bunday rasm yöq.
ATOYAT, Ayrim rasmlar korinvoti ayrimlari esa yo negadir.
Hoz wunaqa kok rangda tortburcak bob qoldi
58 daqiqa 40 soniyadan keyin yozdi:
Masterlar yomi dimana
Hoz wunaqa kok rangda tortburcak bob qoldi
58 daqiqa 40 soniyadan keyin yozdi:
Masterlar yomi dimana
Biriktirilgan fayllar [1]:
— screenshot_2018-07-19-14-57-55.png (123.23 KB) (120 ↴)
— screenshot_2018-07-19-14-57-55.png (123.23 KB) (120 ↴)
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 3101 ta
So'ngi faollik vaqti: 15:21:31, 19 Apr 2022