Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=8237
Postga havola
gi8ri7 [1900] [off]
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>'; }