Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=736&page=78
Johncms bo'yicha umumiy savollar
Mavzu fayllari (121)
Xabarlar
Сирожиддин, Index.php ni tekshirdim new, top bor men birnima ni yozdim foyda bermadi. Keyin index.php ga qo'shilsa ham files.php da id raqamni aniqlay oladimi? Misol index.php?mod=birnima&id=1
Shunga yordam qiling
Shunga yordam qiling
- (1): NetLizard,
alilay, explode() dan foydalaning. Bundan avvalgi sahifada namuna körsatganman. Moslab olasiz:-)
Mendan bitta savol, sizdan bitta yordam.
Saytdaki linklarga qoyilgan div class-lar ikita bop chikyapdi oshani bitta kilishga yordam berilar. Istasaiz kirip koring Http://Mukamlar.com Kliplar va Yosh aydymchylar degan joylardaki linklar
Saytdaki linklarga qoyilgan div class-lar ikita bop chikyapdi oshani bitta kilishga yordam berilar. Istasaiz kirip koring Http://Mukamlar.com Kliplar va Yosh aydymchylar degan joylardaki linklar
ATOYAT, # ATOYAT (12.12.2018 / 16:57)
alilay, explode() dan foydalaning. Bundan avvalgi sahifada namuna körsatganman. Moslab olasiz:-)Huddi shuni {} larsiz qilsa bo'ladimi? Saytdan teg orqali o'xshash yangiliklarni chiqarmoqchi edim
alilay, explode() dan foydalaning. Bundan avvalgi sahifada namuna körsatganman. Moslab olasiz:-)Huddi shuni {} larsiz qilsa bo'ladimi? Saytdan teg orqali o'xshash yangiliklarni chiqarmoqchi edim
- (1): NetLizard,
dayko, # dayko (12.12.2018 / 21:08)
Mendan bitta savol, sizdan bitta yordam.
Saytdaki linklarga qoyilgan div class-lar ikita bop chikyapdi oshani bitta kilishga yordam berilar. Istasaiz kirip koring Http://Mukamlar.com Kliplar va Yosh <div> kodi whiledan oldin ochilgan, yopilganda esa } ichida qolib ketga.
Mendan bitta savol, sizdan bitta yordam.
Saytdaki linklarga qoyilgan div class-lar ikita bop chikyapdi oshani bitta kilishga yordam berilar. Istasaiz kirip koring Http://Mukamlar.com Kliplar va Yosh <div> kodi whiledan oldin ochilgan, yopilganda esa } ichida qolib ketga.
+ (1): Hanov_Dayko,
Mani saytimdaki bosh sahifaidaki malumotlar yokolip ketti mainmenu.php dagi kodlarni ozgartiray dedim qarap korsam bosh sahifada hech narsa yok endi nima qilsamkan yordam berilar. Mani saytim Http://Mukamlar.com
dayko, Ködlarni buzib qöyibsiz. Agar, saqlab qöygan mainmenu.php iz bölsa shuni qayta örnating. Agar, yöq bölsa mainmenu.php izdagi ködlarni tashlang. Xatolikni topishga xarakat qilamiz:-)
Ajalbek, Adashmasam {} larni men siklda ishlatib yozgan edim. Ularni olib tashlab yozsez ham böladi. Ammo, xatoliklar kelib chiqishi ham mumkin (bu köd yozishizga bog'liq) {} chegarani belgilab berish uchun.
+ (1): KooL,
ATOYAT,
<?php $mp = new mainpage(); echo '<div class="phdr"><b><i class="fa fa-music fa-cloud-download fa-xs"></i> MUKAMLAR</b></b></div>'; ?> <style> img.sag { width: 32px; height: 32px; float: right; } </style> <?php $cat ='10'; }else{ } $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); echo '<div class="linka">'; $i++; $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 0); echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'> ".$ok['name'].""; echo '</a>'; if($ok['hit'] == 1){ echo '<span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;"> HİT</span>'; } if (($ok['exclusive'])=='1') { echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">New</span>'; } if($new > 0){ echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 1px 2px 0px 2px; font-weight: bold; border-radius: 3px;">new</span>'; } echo'<center><a href="http://mukamlar.com/download/aydym" class="linka">Ählisini görmek...</center></font></a></p></div>'; echo '<div class="phdr"><b><i class="fa fa-music fa-youtube-play fa-xs"></i> KLIPLER</b></b></div>'; include_once $SERVER['DOCUMENT_ROOT'].'download/functions.php'; $cat ='11'; }else{ } $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 . "," . 14); echo ($i % 2) ? '<font> color="#blue"></font>' : '<div class="linka">'; $i; $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 0) . "' AND `id` = '" . $ok['id'] . "'"), 0); $xits = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 2); echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html' class='linka'><img src='/download/files/".$ok['way'].".GIF' width='32' height='32' align='absmiddle'/> ".$ok['name'].""; if (($ok['time'])>=time()-259200) echo '<span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">new</span> '; if (($ok['count'])>='250') echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">HİT</span> </a>'; if($new > 0) else{ echo ''; } if($xits['xit']==2){ }else{ echo ''; $xits='<img scr="/download/okxit2.gif" alt="" />'; } echo "</a></div>"; } echo'<center><a href="http://mukamlar.com/download/klip" class="linka">Ählisini görmek... </center></font></a></p></div>'; echo '<div class="phdr"><i class="fa fa-music fa-microphone fa-xs"></i> REP MP3</b></div>'; $cat ='16'; }else{ } $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 . "," . 15); echo ($i % 2) ? '<font color="blue"><div class="linka"></font>'; $i; $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 0) . "' AND `id` = '" . $ok['id'] . "'"), 0); $xits = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 2); echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html' class'linka'><i class='fa fa-music fa-microphone fa-lg'></i> ".$ok['name'].""; if (($ok['count'])>='250') echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">HİT</span> </a>'; if($new > 0){ echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 1px 2px 0px 2px; font-weight: bold; border-radius: 3px;">new</span> '; }else{ echo ''; } if($xits['xit']==2){ }else{ echo ''; $xits='<img scr="/download/okxit2.gif" alt="" />'; } echo "</a></div>"; } echo'<center><a href="http://mukamlar.com/download/rap" class="linka">Älisini görmek... </center></font></a></p></div>'; echo '<div class="phdr"><i class="fa fa-music fa-star-o fa-xs"></i> ÝAŞ AÝDYMÇYLAR</div>'; $cat ='13'; }else{ } $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 . "," . 15); echo ($i % 2) ? '<font color="blue"><div class="linka"></font>''; $i; $ok['name'] = str_replace('||||','',$ok['name']); $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 0) . "' AND `id` = '" . $ok['id'] . "'"), 0); $xits = mysql_result(mysql_query("SELECT COUNT(*) FROM `downfiles` WHERE `time` > '" . (time() - 86400) . "' AND `id` = '" . $ok['id'] . "'"), 2); echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html' class='linka'><i class='fa fa-music fa-music fa-lg'></i> ".$ok['name'].""; if (($ok['time'])>=time()-259200) echo ' <span class="badge-status" style="background: #ff4576; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">new</span> '; if (($ok['count'])>='250') echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;">HİT</span> </a>'; if($new > 0){ echo ' <span class="badge-status" style="background: #ff0000; color: #fff; padding: 1px 2px 0px 2px; font-weight: bold; border-radius: 3px;">new</span> '; }else{ echo ''; } if($xits['xit']==2){ }else{ echo ''; $xits='<img scr="/download/okxit2.gif" alt="" />'; } echo "</a></div>"; } echo'<center><a href="http://mukamlar.com/download/yas-aydymcylar" class="linka">Ählisini görmek ... </center></font></a></p></div>'; echo '<!DOCTYPE html> <html lang="ru"> <html ng-app="lumx-demo"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes"> <meta name="HandheldFriendly" content="true"> <meta name="MobileOptimized" content="width"> <meta content="yes" name="apple-mobile-web-app-capable"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> <div class="phdr"><b><i class="fa fa-music fa-home fa-xs"></i> MENU</b></div><div class="menu"><a href="http://mukamlar.com/download/add_file.php?cat=10" class="menyu"><i class="fa fa-music fa-file fa-lg"></i> Aýdymyňy ýükle</a></div><div class="menu"><a href="/biz-barada" class="menyu"><i class="fa fa-music fa-star-o fa-lg"></i> Biz barada</a></div><div class="menu"><a href="/users/index.php?act=userlist" class="menyu"><i class="fa fa-music fa-star-o fa-lg"></i> Agzalar </a></div>'; if (!empty($_GET['cat'])) { echo '<div class="menu"><a href="index.html">В Загруз-Центр</a><br/>'; foreach ($tree as $value) { echo $value; echo '<br/>'; } echo'</div>'; } if ($rights == 4 || $rights >= 6) { if($totalcat > 0) { echo '- <a href="admin.php?act=import&cat='.$cat.'">Импортировать файл</a><br/>'; echo'- <a href="admin.php?act=upload&cat='.$cat.'">Выгрузить файл</a><br/>'; } echo '<div class="menu"><a href="http://mukamlar.com/download/admin.php"> FAÝL admin menedjeri </a><a href="http://yyldyzlar.net/download/loadfile.php?down=' . $file['way'] . '"></a></div>'; } ?>
uZaFaRaP,
echo "<a href='/download/" . str_replace(' ', '_', $ok['name']) . "_".$ok['id'].".html'> ".$ok['name'].""; //mana shu yerde allam balolar bor edi echo '</a>'; if($ok['hit'] == 1){ echo '<span class="badge-status" style="background: #ff0000; color: #fff; padding: 0px 2px 0px 2px; font-weight: bold; border-radius: 3px;"> HİT</span>'; }
Savol: johncms 6.2 off versiyada libraryda birnima degan bo'lim bor. Bo'lim id raqami 1 deb olsak, ichida 155ta maqola bor. Ularning bo'lim id raqami demak 1. Endi men shu birnima bo'limi id raqamini 2 qildim. Lekin ichidagi maqolalar bo'lim id raqami 1. Shu 155ta maqolalarni birdaniga id 2 ga alishtirish kerak. Shuni qanday qiladi? Yordam beringlar!
.
Shuntira oldim deb umid qilaman.
.
Shuntira oldim deb umid qilaman.
- (1): NetLizard,
Ajalbek, 155 ta maqolani MYSQL dan qaren id 2 degan joyini toping keyin sql tuzip zalit qilas 1 dan 155 gacha ayni o'sha 1 larni 2 ga o'zgartiradi
Rahmat kutubxonani hal qildim.
.
Yana eski savolga qaytaman. Krite news ga rasm manzili kiritilsa korrenga import bo'lishi kerak. Shuni batafsil o'rgatvorilar.
.
Yana eski savolga qaytaman. Krite news ga rasm manzili kiritilsa korrenga import bo'lishi kerak. Shuni batafsil o'rgatvorilar.
- (1): NetLizard,
Salom libraryda matn 5000 mingta sigar ekan shu matn sonini kopro sigadigan qiliwni ilojichi bormi ? Library papkadan topa olmadm
Krite news da yangilik vaqtini 1 xafta yoki 10 kun turish kere
mysql_query("DELETE FROM `news` WHERE `time`<='" . (time() - 2592000) . "'");
mysql_query("DELETE FROM `news` WHERE `time`<='" . (time() - 2592000) . "'");
Viruzbek, # Viruzbek (17.12.2018 / 13:54)
Krite news da yangilik vaqtini 1 xafta yoki 10 kun turish kere
mysql_query("DELETE FROM `news` WHERE `time`<='" . (time() - 2592000) . "'");agar 10 kundan oshgan yangilik o`chishi kerak bo`lad 864000 bo`ladi agar 1 hafta bo`lishi kerak bo`lsa 604800 bo`ladi!
Krite news da yangilik vaqtini 1 xafta yoki 10 kun turish kere
mysql_query("DELETE FROM `news` WHERE `time`<='" . (time() - 2592000) . "'");agar 10 kundan oshgan yangilik o`chishi kerak bo`lad 864000 bo`ladi agar 1 hafta bo`lishi kerak bo`lsa 604800 bo`ladi!
Viruzbek, # Viruzbek (17.12.2018 / 12:23)
Salom libraryda matn 5000 mingta sigar ekan shu matn sonini kopro sigadigan qiliwni ilojichi bormi ? Library papkadan topa olmadmUnda bazadagi ösha matn qatorini TEXT qiling. Sizda varcher(5000) ekanda text bez limit:-D
Salom libraryda matn 5000 mingta sigar ekan shu matn sonini kopro sigadigan qiliwni ilojichi bormi ? Library papkadan topa olmadmUnda bazadagi ösha matn qatorini TEXT qiling. Sizda varcher(5000) ekanda text bez limit:-D
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