Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=736&page=22
Johncms bo'yicha umumiy savollar
Mavzu fayllari (121)
Xabarlar
Shoxzod_M, mana buni ko'ringchi
Biriktirilgan fayllar [1]:
— 1509105703fm_uchun_xabar_kelishi.zip (8.02 KB) (144 ↴)
— 1509105703fm_uchun_xabar_kelishi.zip (8.02 KB) (144 ↴)
SUHROBBEK, # SUHROBBEK (27.10.2017 / 13:23)
High, muni nomini .php qilas keyin pages fayliga tashaysiz mainmenu.php ga include 'goya.php'; kõdini yozas va shu kõddan nusa olas id larni õzgartiras bõldi. hohlagancha bõlim yarata olasBu umuman bowqa narsaku.
Ilxam siz bergan kod xam uxshamadi.
High, muni nomini .php qilas keyin pages fayliga tashaysiz mainmenu.php ga include 'goya.php'; kõdini yozas va shu kõddan nusa olas id larni õzgartiras bõldi. hohlagancha bõlim yarata olasBu umuman bowqa narsaku.
Ilxam siz bergan kod xam uxshamadi.
High, hechkim sizga tayyor qilib bermaydi o'shakodni o'zingiz mainmenu,php ga qo'yib ishlatib olasiz tayyor o'rnatib berish kerka bo'lsa sh.x ga $$ evaziga
+ (1): SUHROBBEK,
High, # High (27.10.2017 / 17:06)
SUHROBBEK, Bu umuman bowqa narsaku.
Ilxam siz bergan kod xam uxshamadi.bu aynan siz qidirgan narsa sayt.uz/news ni bõlimlarga bõlas shu kõdni pagesga tashaysiz mainmenuga esa include qilib chiqazas. mundan sodda qilib tushuntira olmayman
SUHROBBEK, Bu umuman bowqa narsaku.
Ilxam siz bergan kod xam uxshamadi.bu aynan siz qidirgan narsa sayt.uz/news ni bõlimlarga bõlas shu kõdni pagesga tashaysiz mainmenuga esa include qilib chiqazas. mundan sodda qilib tushuntira olmayman
Bu kodni headga quysam nima sababdan forum xabar ni yonidan emas tepadan kurnaybdi
$ch = mysql_result
(mysql_query('select count(*)
from `chat` where `time` > ' .
(time() - 3600) . ''), 0); $chati = mysql_query
("SELECT COUNT(*) FROM `chatga`
WHERE `id_u` = '" . $user_id . "'"); $chats = mysql_result($chati,
0);
if ($chats > 0) { $chatga = mysql_query
("select * from `chatga` where
id_u='" . $user_id . "' limit 2;");
while ($chat =
mysql_fetch_array($chatga))
{$chatt = '<br/>' . $chat['name'] .
'';}} echo '<a href="' . $home . '/
chat.php"><img src="/images/
panel/chat.png" alt="#"/>'.$ch.''.
$chatt.'</a>';
$ch = mysql_result
(mysql_query('select count(*)
from `chat` where `time` > ' .
(time() - 3600) . ''), 0); $chati = mysql_query
("SELECT COUNT(*) FROM `chatga`
WHERE `id_u` = '" . $user_id . "'"); $chats = mysql_result($chati,
0);
if ($chats > 0) { $chatga = mysql_query
("select * from `chatga` where
id_u='" . $user_id . "' limit 2;");
while ($chat =
mysql_fetch_array($chatga))
{$chatt = '<br/>' . $chat['name'] .
'';}} echo '<a href="' . $home . '/
chat.php"><img src="/images/
panel/chat.png" alt="#"/>'.$ch.''.
$chatt.'</a>';
Shoxzod_M,
echo '<td class="headtop">' ; ////iconli ssilkalar kodlari </td>'; shundan tashqariga yozgansiz
Shoxzod_M, # Shoxzod_M (30.10.2017 / 09:35)
download/file.php uchun komentariya kodni beringlarSimba ZS uchun
download/file.php uchun komentariya kodni beringlarSimba ZS uchun
echo'<div class="phdr">Komment yozish</div>'; if ($user_id) { { { echo'<div class="rmenu">Matn kiritilmadi!</div>'; } else { mysql_query("INSERT INTO `downkomm` (`id`, `fileid`, `time`, `userid`, `text`, `plus`, `minus`, `golos`) VALUES (NULL, '".$viewf."', '".time()."', '".$user_id."', '".mysql_real_escape_string($_POST['txt'])."', '0', '0', '');"); $fpst = $res['komm'] + 1; if($down_setting['priv'] > 0) { $text_mail = 'Yuklamalarda komment qoldirildi. [url='.core::$system_set['homeurl'].'/download/file_'.$viewf.'.html]Ko\'rish[/url]'; `user_id` = '0', `from_id` = '" . $down_setting['priv_user'] . "', } echo'<div class="gmenu">Komment qo\'shildi!</div>'; } } echo '<form method="post" name="komm"> <div class="menu">'; if(!$is_mobile) echo bbcode::emoji('komm', 'txt'); echo '<textarea cols="' . $set_user['field_w'] . '" rows="' . $set_user['field_h'] . '" name="txt"></textarea></div> <div class="menu"> <input type="submit" name="submit" value="Yozish"/></div> </form>'; } echo'<div class="phdr">Kommentlar </div>'; $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `downkomm` WHERE `fileid` = '" . $viewf . "';"), 0); if ($total > 0) { $query = mysql_query("select * from `downkomm` where fileid='" . $viewf . "' ORDER BY `time` DESC LIMIT " . $start . "," . $kmess); echo ($i % 2) ? '<div class="list1">' : '<div class="list2">'; $i++; $text = functions::checkout($arr['text'], 1, 1); $text = functions::smileys($text); $vrp = $arr['time'] + $sdvig * 3600; $upr = ''; if($rights >= 1) $upr .= '<a href="komm.php?act=del&komid='.$arr['id'].'&id='.$viewf.'">[O\'chirish]</a> '; 'body' => $text, 'sub' => $upr, 'iphide' => 1); echo functions::display_user($res, $arg) . '</div>'; } }else echo'<div class="rmenu">Hozircha kommentlar mavjud emas, birinchi bo\'l!</div>'; echo'<div class="phdr">Umumiy kommentlar: '.$total.'</div>'; if ($total > $kmess){ echo '<div class="menu">' . functions::display_pagination('komm.php?id='.$viewf.'&', $start, $total, $kmess) . ''; echo '<form action="komm.php" method="get"><input type="hidden" name="id" value="'.$viewf.'"/><input type="text" name="page" size="2"/><input type="submit" value="К странице >>"/></form></div>'; }
+ (1): Shoxzod_M,
Biriktirilgan fayllar [1]:
— komms.txt (3.35 KB) (188 ↴)
— komms.txt (3.35 KB) (188 ↴)
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