Îðëà
Îáëàñòè
Êîìïàíèé
Ïîëüçîâàòåëè
Ãàëåðåÿ
Ôèêñèðîâàííûå íîâîñòè
Îðëà
Îòçûâû î ôèðìàõ
Òàðèôû
Ïîëüçîâàòåëè
Îáëàñòè
Áàíêîìàòû
Òîðãîâûå òî÷êè
Äîñêà îáúÿâëåíèé
Êóðñû âàëþò
Ñêèäêè
îðãàíèçàöèè Îðëà
îðãàíèçàöèè îáëàñòè
òîâàðû
ñàéòû
ñàéòû Îðåë
Äàííûå
Ðàçäåëû
Ïîèñê
Ïîèñê çàïðîñû
Ñòàòèñòèêà
Ïîêàçû êàòàëîãà îðãàíèçàöèé
Ñòàòèñòèêà êëèåíòû
Ïîëüçîâàòåëè
Ñàéòû
Óïðàâëåíèå ñàéòîì
Àíêåòà
Àïòåêè
Àôèøà
Àôèøà íîâàÿ
Áàííåðû
Áèçíåñ >
Âèêòîðèíà
Ãîëîñîâàíèå
Ãîñòü íà ñàéòå
Èñòîðèè
Êàëåíäàðü ñîáûòèé
Êàòàëîãè >
Êîíêóðñ êðàñîòû
Êîíêóðñ àóäèî
Êîíñóëüòàöèè
Ìåíþ
Íîâîå íà ñàéòå
Íîâîñòè >
Îðãàíèçàöèè >
Ïðîãðàììà ÒÂ
Ïóáëèêàöèè
Ðàçäåëû ñàéòà
Ðàññûëêà
Ðåñòîðàíû
Ñåêðåò ôèðìû >
Ñåðâèñû >
Ññûëêè
Òåñòû
Ôàéëîâûé ìåíåäæåð
Ôîðóì
Ôîòîãàëåðåÿ
Îáðàòíàÿ ñâÿçü
Íåäâèæèìîñòü
Íîâûé ãîä
Òåêñòû
Ïîëüçîâàòåëè
Þðèäè÷åñêèé ðåéòèíã
Îòçûâû íà òîâàðû
Áàí ïîëüçîâàòåëåé
Æàëîáû
Íîâûå òåñòû
Êîðîíàâèðóñ
Ôàéëîâûé ìåíåäæåð
Èìÿ ôàéëà
forum_read_old555551.php
Ñîäåðæèìîå
<?php error_reporting(0); ini_set('display_errors', 0); function canPlusMinus($id){ try{ if(!(int)$id)throw new Exception(); $user = sqlval("SELECT id_ranks FROM user WHERE id=$id LIMIT 1"); if(!is_array($user))throw new Exception(); if(!in_array($user['id_ranks'],array(0,7)))return true; $id_users = fetchAll("SELECT fr.id_user FROM forum_respect fr INNER JOIN user u ON u.id = fr.id_user WHERE fr.type_otzyv > 0 AND UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(u.date_registr) > 365*24*3600 AND fr.id_author = $id GROUP BY fr.id_user"); if(!$id_users or !is_array($id_users))throw new Exception(); if(count($id_users)<3)throw new Exception(); $sum = 0; foreach($id_users as $key=>$id_user){ $pluses = sqlval("SELECT IF(SUM(type_otzyv) is null,0,SUM(type_otzyv)) as cnt FROM forum_respect WHERE type_otzyv > 0 AND id_author = {$id_user['id_user']}"); if($pluses['cnt']>19){ $sum++; } if($sum>=3)break; } if($sum<3)throw new Exception(); return true; }catch(Exception $e){ return false; } } function canPostYoutube($id){ try{ if(!(int)$id)throw new Exception(); $user = sqlval("SELECT id_ranks FROM user WHERE id=$id LIMIT 1"); if(!is_array($user))throw new Exception(); if(!in_array($user['id_ranks'],array(0,7)))return true; $id_users = fetchAll("SELECT fr.id_user FROM forum_respect fr INNER JOIN user u ON u.id = fr.id_user WHERE fr.type_otzyv > 0 AND UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(u.date_registr) > 365*24*3600 AND fr.id_author = $id GROUP BY fr.id_user"); if(!$id_users or !is_array($id_users))throw new Exception(); if(count($id_users)<3)throw new Exception(); $sum = 0; foreach($id_users as $key=>$id_user){ $pluses = sqlval("SELECT IF(SUM(type_otzyv) is null,0,SUM(type_otzyv)) as cnt FROM forum_respect WHERE type_otzyv > 0 AND id_author = {$id_user['id_user']}"); if($pluses['cnt']>20){ $sum++; } if($sum>=3)break; } if($sum<3)throw new Exception(); return true; }catch(Exception $e){ return false; } } $base_url="../"; $_REQUEST['f'] = (int) $_REQUEST['f']; $f=$_REQUEST['f']; $_REQUEST['id'] = (int) $_REQUEST['id']; $id=$_REQUEST['id']; $ofs = (int)$_REQUEST['ofs']; $pap = 20; include "top.inc.php"; echo '<script type="text/javascript" src="/library/js/jquery/jquery-1.4.2.min.js"></script>'; require_once('stopwords.php'); if($_REQUEST['f']==43 and $_REQUEST['id']==597465){ } if ($_REQUEST['id_articl'] > 0) { $count_mes=sqlval("select count(*) from articl where id_parent = '".$id."' and data < (select data from articl where id = '".intval($_REQUEST['id_articl'])."')"); $count_mes[0]++; $page=ceil($count_mes[0]/$pap); $ofs=($page-1)*$pap; if ($page > 1) { header("Location: forum_read.php?f=".$f."&id=".$id."&page=".$page."&ofs=".$ofs."#".$_REQUEST['id_articl']); } else header("Location: forum_read.php?f=".$f."&id=".$id."#".$_REQUEST['id_articl']); } //moder of this branch $r_moder=sqlval("select max(rightf) as rightf from forum_moder where id_forum='{$_REQUEST['f']}' and id_user='{$id_user_sess}'"); //moder of forum $r_moder_rights = sqlval("select max(rightf) as rightf from forum_moder where id_user='{$id_user_sess}'"); $right_f_all=$r_moder['rightf']; // Ñ�паÑ�ибо if ($id_user_sess > 0) { if ($_REQUEST['thanks'] == 1) { $_REQUEST['id_post']=intval($_REQUEST['id_post']); $_REQUEST['id_author']=intval($_REQUEST['id_author']); $r_sel_thanks=sqlval("select count(*) from forum_respect where id_user='".$id_user_sess."' and id_articl='".$_REQUEST['id_post']."'"); if (($r_sel_thanks[0] == 0) && ($_REQUEST['id_author'] <> $id_user_sess)) { $r_ins_thanks=sql("insert into forum_respect (id_user, id_articl, id_author) values ('".$id_user_sess."', '".$_REQUEST['id_post']."', '".$_REQUEST['id_author']."')"); } } } if ($id_user_sess > 0) { if ($_REQUEST['del_thanks'] == 1) { $_REQUEST['id_post']=intval($_REQUEST['id_post']); $r_ins_thanks=sql("delete from forum_respect where id_user='".$id_user_sess."' and id_articl='".$_REQUEST['id_post']."'"); } $cnt_msg_my=sqlval("select count(*) from articl where id_author = '".$id_user_sess."'"); if ($cnt_msg_my[0] > 10) { $karma=sqlval("select sum(type_otzyv) from forum_respect where id_user = '".$id_user_sess."'"); $reput=sqlval("select sum(type_otzyv) from forum_respect where id_author = '".$id_user_sess."'"); } } $status_right=sqlval("select status_right from forum where id='".$_REQUEST['f']."'"); if ($status_right['status_right'] <> 0) { if (($admlist[$login] < $status_right['status_right']) and ($r_moder_rights['rightf'] < $status_right['status_right'])) { echo "У ваÑ� не хватает прав длÑ� проÑ�мотра Ñ�того форума!"; exit; } } if ($izgoy) { //////////////// ИЗГОИ if ($_REQUEST['f'] <> 19) { echo "<script> location.href='forum_list.php?f=19';</script>"; exit; } } $url="forum_read.php?id=".$id."&f=$f"; $obz="(не обÑ�зательно)"; $r=sql("select SQL_CALC_FOUND_ROWS articl.id as id,articl.tema as tema,articl.body as body,date_format(articl.data,'%d.%m.%Y, %H:%i') as data,user.name as author, date_format(user.date_registr,'%e %b %Y') as data_reg, id_author,id_parent, ip, vote,close, id_ranks, avatar, sex, articl.data as data_orig, images, user.note as note, podpis,articl.cookie,articl.fcookie from articl,user where articl.id_author=user.id and (articl.id_parent='".$id."' or articl.id='".$id."') order by articl.data asc limit $ofs,$pap"); if (!$r) error(); $kol=sqlval("SELECT FOUND_ROWS()"); $_REQUEST['last_page'] = ceil($kol[0]/$pap); $_REQUEST['last_ofs']=($_REQUEST['last_page']-1)*$pap; if (($admlist[$login] >= 500) or ($r_moder['rightf'] >= 500)) { $r_comment = sql("SELECT `name`, `id_moder`, `id_articl`, `message` FROM `forum_comment`, `user` WHERE `id_forum`='".$f."' AND `id_parent`='".$id."' AND `id_moder`=`user`.`id`"); } else { $r_comment = sql("SELECT `name`, `id_moder`, `id_articl`, `message` FROM `forum_comment`, `user` WHERE `id_user`='".$id_user_sess."' AND `id_forum`='".$f."' AND `id_parent`='".$id."' AND `id_moder`=`user`.`id`"); } if (!$r_comment) error(); while ($rs_comment = sqlget($r_comment)) { $comment_arr[$rs_comment['id_articl']] = array("message"=>$rs_comment['message'], "author"=>$rs_comment['name']); } //echo "select articl.id as id,articl.tema as tema,articl.body as body,articl.data as data,user.name as author from articl,user where articl.id_author=user.id and (articl.id_parent=$id or articl.id=$id) order by data asc limit $ofs,$pap"; //$kol=sqlval("select count(*) from articl where (articl.id_parent=$id or articl.id=$id)"); if ($kol[0] > $pap && $_GET['newpost']==true && $page == "") { $max=ceil($kol[0]/$pap); $ofs=($max-1)*$pap; if ($max > 1) header("Location: forum_read.php?f=".$_GET['f']."&id=".$_GET['id']."&page=".$max."&ofs=".$ofs."&PHPSESSID=".$PHPSESSID); } if ($_GET['hglt'] <> "") { $_GET['hglt']=urldecode($_GET['hglt']); // подÑ�ветка $hglt_str="&hglt=".urlencode($_GET['hglt']); } else $hglt_str=""; if (!$kol) error(); if (!$r) error(); else { /* if ($kol[0] > $pap) { echo "<br><div align=center><b>Страницы: </b>"; if (empty($page)) $page=1; list_all($kol[0],"forum_read.php?f=$f&id=$id".$hglt_str,3,$page,$pap,"ofs",1); echo "</div>"; }*/ ?> <div class="uk-container uk-container-center"> <div class="uk-grid"> <div class="uk-width-large-4-5"> <?php $menu = "read"; include "menu.inc.php"; ?> <?php $r_read_f = sqlval("select count(*) from user_onl where script_name like '%forum_read.php' and query_string like 'f=" . $_REQUEST['f'] . "&id=" . $_REQUEST['id'] . "%'"); $r_read_fr = sqlval("select count(*) from user_onl where name <> 'ГоÑ�ть' and name <> '' and script_name like '%forum_read.php' and query_string like 'f=" . $_REQUEST['f'] . "&id=" . $_REQUEST['id'] . "%'"); ?> <?php if (!canPostYoutube($id_user_sess)): ?> <script> $(document).ready(function () { $('#message').blur(function () { var text = $('#message').val(); if (text.match(/<iframe.*?>.*?<\/iframe>/ig)) { alert("Ð’Ñ‹ не можете размещать видео в формате Youtube, Ñ‚.к. Ð’Ñ‹ новичёк у ваÑ� меньше 3 плюÑ�ов, от пользователей зарегеÑ�трированных год или более назад, имеющих более 20 плюÑ�ов"); } $('#message').val(text.replace(/<iframe.*?>.*?<\/iframe>/ig, '')); }); }); </script> <?php endif; ?> <script src="<?php echo $base_url; ?>scripts/lib/JsHttpRequest/JsHttpRequest.js"></script> <script language="javascript" type="text/javascript"> <!-- function Respect(id_post, id_author, thanks, type_otzyv, hk, f, del) { var req = new JsHttpRequest(); req.onreadystatechange = function () { if (req.readyState == 4) { table_row = document.getElementById('tr_' + id_post); tdl = document.getElementById('tdl_' + id_post); tdr = document.getElementById('tdr_' + id_post); if (req.responseJS.minute == false) { alert("Ð�е прошло и 30 Ñ�екунд"); } else if (req.responseJS.text_respect != null && req.responseJS.spisok_respect) { tdl.innerHTML = req.responseJS.text_respect; tdr.innerHTML = req.responseJS.spisok_respect; table_row.style.display = ''; } else { table_row.style.display = 'none'; } } } req.caching = false; req.open(null, 'respect.php', true); req.send( { id_post: id_post, id_author: id_author, thanks: thanks, type_otzyv: type_otzyv, hk: hk, f: f, del: del } ); } $(document).ready(function () { var params = 'scrollbars=0,resizable=1,menubar=0,location=0,width=710,height=469,toolbar=0,status=0'; $('.WOpen').click(function () { window.open($(this).attr('href'), 'im', params); return false; }); }); --> </script> <link rel="stylesheet" type="text/css" href="../css/jquery.fancybox.css"> <script type="text/javascript" src="../js/jquery.fancybox.js"></script> <script type="text/javascript"> $(window).load(function () { var fx = { "initModal": function (w) { if ($(".modal-window").length == 0) { return $("<div>").css({ 'width': w, 'marginLeft': Math.round((-1) * w / 2 - 20), 'top': $(window).scrollTop() }).hide() .addClass('modal-window') .appendTo('body'); } else { return $(this); } }, "boxOut": function (event) { if (event != undefined) { event.preventDefault(); } $(".modal-window,.modal-overlay") .fadeOut("slow", function () { $(this).remove(); }); }, "boxin": function (modal, path, w, h) { $("<div>") .hide() .addClass("modal-overlay") .click(function (event) { // Removes event fx.boxOut(event); }) .appendTo("body"); modal .hide() .html("<img src=" + path + " width=" + w + " height=" + h + " />") .appendTo("body"); $(".modal-window,.modal-overlay") .fadeIn("slow"); } }; $('a[rel^=group]').fancybox({}); var nabor = $('img.img_upl').not('img[src*=forum/user_foto]'); var size = 700; nabor.each(function (i, el) { var width = Number($(el).width()); var height = Number($(el).height()); if (width > size || height > size) { if (width >= height) { var new_w = size; var coef = height / width; var new_h = Math.round(new_w * coef); } else { var new_h = size; var coef = width / height; var new_w = Math.round(new_h * coef); } $(el).height(new_h); $(el).width(new_w); } }); $('img.img_upl').not('img[src*=forum/user_foto]').click(function () { var url = $(this).attr('src'); window.open(url); /*$("<img src='" + url + "' id='proba'>").appendTo('body').css('display','none'); var size = 1000; var width = Number($('#proba').width()); var height = Number($('#proba').height()); console.log(width+'*'+height); if(width > size || height > size){ if(width >= height){ var new_w = size; var coef = height/width; var new_h = Math.round(new_w * coef); }else{ var new_h = size; var coef = width/height; var new_w = Math.round(new_h * coef); } } if(!new_w)new_w = width; if(!new_h)new_h = height; var modal = fx.initModal(new_w); fx.boxin(modal,url,new_w,new_h); $("<a>").attr("href","#") .addClass("modal-close-btn") .html("×") .appendTo(modal) .click(function(event){ fx.boxOut(event); }) if($('#proba').size()>0){ $('#proba').remove(); }*/ }); $('img.img_upl').not('img[src*=forum/user_foto]').hover(function () { $(this).css('cursor', 'pointer'); }, function () { $(this).css('cursor', 'auto'); }); }); </script> <?php if (($admlist[$login] >= 500) or ($r_moder[0] >= 500)): ?> <link rel="stylesheet" type="text/css" href="/forum/jquery.arcticmodal-0.3/jquery.arcticmodal-0.3.css"/> <link rel="stylesheet" type="text/css" href="/forum/jquery.arcticmodal-0.3/themes/simple.css"/> <script type="text/javascript" src="/forum/jquery.arcticmodal-0.3/jquery.arcticmodal-0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $("a#ip_ban").click(function (ev) { ev.preventDefault(); $("input[name=ip_ban]").val($(this).text()); $("input[name=sid]").val($(this).attr('data-cookie')); $("input[name=fsid]").val($(this).attr('data-fcookie')); $("input[name=id_user]").val($(this).attr('data-user')); $("#exampleModal").arcticmodal(); }); $("#send_ban").live('click', function () { var data = $("#ban_form").serialize(); $.ajax({ url: 'action.php', type: 'POST', data: data, success: function (data) { if (data && data == 1) { $.arcticmodal('close'); //alert('Пользователь забанен!'); } } }) }); }); </script> <div id="maindiv" style="display: none;"> <div class="box-modal" id="exampleModal"> <form action="" method='post' enctype="multipart/form-data" id="ban_form"> <input type="hidden" name="id_user" value=""/> <input type="hidden" name="ip_ban" value=""/> <input type="hidden" name="sid" value=""/> <input type="hidden" name="fsid" value=""/> <input type="hidden" name="action" value="ban_unreg"/> <table cellpadding="4" cellspacing="4"> <tr> <td colspan='2' style="text-align: center; font-size: 16px;"><b>Бан пользователÑ� по ip, f-cookie, http-cookie</b></td> </tr> <tr> <td><p style="margin:0"><b>Забанить пользователÑ�:</b></p></td> <td> <select name="data_ban"> <option value="1">на 1 день</option> <option value="3">на 3 днÑ�</option> <option value="7">на неделю</option> <option value="30">на меÑ�Ñ�ц</option> <option value="36500">на век</option> </select> </td> </tr> <tr> <td><b>Причина</b></td> <td> <textarea name="problem" cols='30' rows="5"></textarea> </td> </tr> <tr> <td class="bn"><input type="button" id="send_ban" value="Забанить"/></td> <td class="bn" style="text-align:right; color: red;"><input type="button" id='close_modal' value="X" class="box-modal_close arcticmodal-close"> </td> </tr> </table> </form> </div> </div> <?php endif; ?> <?php /* <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center"> <tr> <td style="padding:0 0 10px 0;">Ðту тему Ñ�ейчаÑ� читают <b> <?=$r_read_f[0]?> </b> человек. Из них зарегиÑ�трированных <b> <?=$r_read_fr[0]?> </b> человек. <br /> Ð� именно: <?php $r_user_f=sql("select name from user_onl where name <> 'ГоÑ�ть' and name <> '' and script_name like '%forum_read.php' and query_string like 'f=".$_REQUEST['f']."&id=".$_REQUEST['id']."%'"); while ($rs=sqlget($r_user_f)) { echo "<a href=\"".$base_url."user_info.php?login_user=".urlencode($rs['name'])."\" class=\"grey\">".$rs['name']."</a>, "; } ?> <a href="<?=$base_url?>sms/radio.php"></a></td> </tr> </table> */ ?> <?php // $r_moder=sqlval("select rightf from forum_moder where id_forum='".$_REQUEST['f']."' and id_user='".$id_user_sess."'"); if (($admlist[$login] >= 500) or ($r_moder[0] >= 500)) { echo "<form name=\"formmoder\" action=\"del_ins.php\" method=\"post\"> <input type=\"hidden\" name=\"f\" value=\"" . $f . "\">"; } ?> <div class="forum"> <div class=" forum-cat"> <div class="uk-grid forum-cat-item uk-margin-left-remove"> <div class="uk-width-large-2-10 uk-padding-left-remove uk-text-center">Ð�втор</div> <div class="uk-width-large-8-10">Тема</div> </div> <?php $kol_na_str = mysql_num_rows($r); $anchor_i = 0; while ($res = sqlget($r)) { $anchor_i++; // длÑ� подÑ�чета поÑ�леднего поÑ�та if ($_GET['hglt'] <> "") $res['body'] = preg_replace("/" . $_GET['hglt'] . "/is", "<font color=red>\\0</font>", stripslashes($res['body'])); else $res['body'] = stripslashes($res['body']); ////////////////////////////// $r_id = 0; $cnt_read = count($forum_read2["$id"]); for ($l = 0; $l < $cnt_read; $l++) { if ($forum_read2["$id"][$l] == $res['id']) { $r_id = 1; break; } // echo $forum_read2["$id"][$l]."==".$res['id']."; l=".$l; } if ($r_id == 0) { $forum_read2["$id"][] = $res[id]; } ////////////////////////////// $i++; if ($i % 2 == 0) $color = $color_table_sel; else $color = "#ffffff"; $rviews = sql("update articl set views=views+1 where id='" . $res['id'] . "'"); if ($res[tema] <> "") $br = "<br><br>"; else $br = ""; if ($res['vote'] < 0) $color = "#f5f6f6"; ?> <!-- Ð’Ñ‹Ñ�казывание --> <a name="mess<?= $res['id'] ?>"></a> <?php $cnt_msg = sqlval("select count(*) from articl where id_author='" . $res['id_author'] . "'"); $cnt_respect_plus = sqlval("select sum(type_otzyv) from forum_respect where id_user='" . $res['id_author'] . "' and type_otzyv > 0"); $cnt_respect_minus = sqlval("select sum(type_otzyv) from forum_respect where id_user='" . $res['id_author'] . "' and type_otzyv < 0"); ?> <div class="uk-grid forum-cat-item uk-margin-left-remove"> <div class="uk-width-large-2-10 uk-padding-left-remove"> <div class="uk-flex uk-flex-column uk-flex-middle uk-flex-center"> <figure class="uk-border-circle forum-user-avatar" <?php if (trim($res['avatar']) <> "") { echo "style=\"background:#ececec url('../" . $res['avatar'] . "')\""; } ?> > <?php $r_onl_author = sqlval("select count(*) from user_onl where name='" . $res['author'] . "'"); if ($r_onl_author[0] > 0) echo '<div class="uk-badge uk-badge-notification uk-badge-success uk-float-right uk-margin-small-right"> </div>'; //else echo "<img src=\"".$base_url."images/user_offline.gif\" border=\"0\" alt=\"Ð�ет на Ñ�айте\">"; ?> </figure> <div class="uk-text-center"> <h4 class="uk-margin-small-top uk-margin-mini-bottom"> <?php if ($res['id_author'] != ANONYMOS): ?> <a class="user_login"><?php echo $res['author']; ?></a> <?php else: ?> <?php $res_an = sqlval("SELECT fio FROM anonim_news_fios WHERE id_articl={$res['id']}"); if (is_array($res_an) and $res_an['fio'] != ''):?> <a class="user_login"><?php echo $res_an['fio']; ?></a> <?php endif; ?> <?php endif; ?> </h4> <span class="small"> <?php if ($res['id_ranks'] != 0) { $ranks = sqlval("select name from forum_ranks where id='" . $res['id_ranks'] . "'"); if ($res['author'] == 'filya' or $res['author'] == 'admin') { $ranks[0] = "Ð�дминиÑ�тратор / $ranks[0]"; } else { if ($r_moder2[0] > 100 || $admlist[$res['author']] > 500) $ranks[0] = "Модератор / $ranks[0]"; } if ($res['id_author'] == ANONYMOS) { $ranks[0] = ""; } if ($ranks[0] <> "") echo $ranks[0] . ""; } ?> </span> <ul class="uk-subnav uk-margin-left-remove"> <li class="uk-margin-mini-right">4.7</li> <li class="uk-padding-left-remove uk-margin-mini-left "><i class="fa fa-star orange" aria-hidden="true"></i></li> <li class="uk-padding-left-remove uk-margin-mini-left "><i class="fa fa-star orange" aria-hidden="true"></i></li> <li class="uk-padding-left-remove uk-margin-mini-left"><i class="fa fa-star orange" aria-hidden="true"></i></li> <li class="uk-padding-left-remove uk-margin-mini-left"><i class="fa fa-star orange" aria-hidden="true"></i></li> <li class="uk-padding-left-remove uk-margin-mini-left"><i class="fa fa-star gray" aria-hidden="true"></i></li> </ul> <!-- <span class="small"> РегиÑ�трациÑ�: <?= date('d.m.Y', strtotime($res['data_reg'])); ?> </span> <br> <span class="small"> Сообщений: <?= $cnt_msg[0] ?> </span> <?php echo "<br><span class='small'>вы оценили <span class=\"plus\">+" . intval($cnt_respect_plus[0]) . "</span> / <span class=\"minus\">" . intval($cnt_respect_minus[0]) . "</span></span>"; $r_respect_in = sqlval("select sum(type_otzyv) as allmes, count(distinct id_articl) as mes from forum_respect where id_author='" . $res['id_author'] . "' and type_otzyv > 0"); if (!$r_respect_in) error(); $r_respect_in2 = sqlval("select sum(type_otzyv) as allmes, count(distinct id_articl) as mes from forum_respect where id_author='" . $res['id_author'] . "' and type_otzyv < 0"); if (!$r_respect_in2) error(); $r_reput_all = sqlval("select sum(type_otzyv) from forum_respect where id_author='" . $res['id_author'] . "'"); if ($r_reput_all[0] >= 0) $reput_all = "<span class=\"plus\">(" . intval($r_reput_all[0]) . ")</span>"; else $reput_all = "<span class=\"small minus\">(" . intval($r_reput_all[0]) . ")</span>"; echo "<br><span class='small'>ваÑ� оценили " . $reput_all . "<br><span class=\"plus\">+" . $r_respect_in['allmes'] . "</span> (" . $r_respect_in['mes'] . " Ñ�ообщений) <br><span class=\"small minus\">" . $r_respect_in2['allmes'] . "</span> (" . $r_respect_in2['mes'] . " Ñ�ообщений)</span>"; ?> --> </div> <?php /* <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <span>4.7 рейтинг</span> */ ?> </div> </div> <div class="uk-width-large-8-10 uk-position-relative"> <div class="forum-massage"> <?php $r_respect = sqlval("select count(*), sum(type_otzyv) as w_otzyv from forum_respect where id_articl='" . $res['id'] . "'"); $r_respect['w_otzyv'] = intval($r_respect['w_otzyv']); if ($r_respect['w_otzyv'] < 0) { echo "<div "; echo "style=\"opacity: 0.85;\""; } /*switch ($r_respect['w_otzyv']) { case -1: echo "class=\"bad1\""; break; case -2: echo "class=\"bad2\""; break; case -3: echo "class=\"bad3\""; break; case -4: echo "class=\"bad4\""; break; }*/ /*if ($r_respect['w_otzyv'] <= -5 && $r_respect['w_otzyv'] > -15 ) echo "class=\"bad5\""; if ($r_respect['w_otzyv'] <= -15 ) echo "class=\"bad_all\"";*/ if ($r_respect['w_otzyv'] < 0) echo ">"; $res['body'] = stripslashes($res['body']); if ($res['vote'] <= 0) { //if ($id_user_sess == 1) // Ñ�Ñ�ылка на Ñ�ообщение в отдельном окне // else echo "<b>".$res[tema]."</b><br>"; ///////============== итак показ обÑ�уждаемой темы ======================== if ($res['id'] == $res['id_parent']) { $r_discuss = sqlval("select * from forum_discuss where id_articl='" . $res['id'] . "'"); if (!$r_discuss) error(); if ($r_discuss['id_obj'] <> "" && $r_discuss['tip_obj'] <> "") { if ($r_discuss['tip_obj'] == "news") { // обÑ�уждение новоÑ�тей $r_news = sqlval("select * from news where id='" . $r_discuss['id_obj'] . "'"); if (!$r_news) error(); if ($r_news['news_full'] <> "") $zagolovok_aktiv = "<a href=\"" . $base_url . "news/news.php?news_id=" . $r_news['id'] . "\">" . $r_news['news_header'] . "</a>"; else $zagolovok_aktiv = $r_news['news_header']; $src = $r_news['src']; $data_news = $r_news['data']; $body_discuss = "<br>" . $zagolovok_aktiv . "<br>" . $r_news['news_short']; echo "<table width=\"100%\" cellpading=0 cellspacing=0><tr bgcolor=\"#EEEFEB\"><td>" . "<b>" . $data_news . "</b> [" . $src . "]</td></tr><tr bgcolor=\"" . $color_table_sel . "\"><td>" . $zagolovok_aktiv . "<br>" . $r_news['news_short'] . "</td></table><br>"; } // новоÑ�ть if ($r_discuss['tip_obj'] == "news") { // обÑ�уждение новоÑ�тей компаний $r_news = sqlval("select * from news_company where id='" . $r_discuss['id_obj'] . "'"); if (!$r_news) error(); if ($r_news['news_full'] <> "") $zagolovok_aktiv = "<a href=\"" . $base_url . "news/news_company.php?news_id=" . $r_news['id'] . "\">" . $r_news['news_header'] . "</a>"; else $zagolovok_aktiv = $r_news['news_header']; $src = $r_news['src']; $data_news = $r_news['data']; $body_discuss = "<br>" . $zagolovok_aktiv . "<br>" . $r_news['news_short']; echo "<table width=\"100%\" cellpading=0 cellspacing=0><tr bgcolor=\"#EEEFEB\"><td>" . "<b>" . $data_news . "</b></td></tr><tr bgcolor=\"" . $color_table_sel . "\"><td>" . $zagolovok_aktiv . "<br>" . $r_news['news_short'] . "</td></table><br>"; } // новоÑ�ть компаний if ($r_discuss['tip_obj'] == "public") { // обÑ�уждение публикаций $r_news = sqlval("select * from public where id='" . $r_discuss['id_obj'] . "'"); if (!$r_news) error(); if ($r_news['news_full'] <> "") $zagolovok_aktiv = "<a href=\"" . $base_url . "public/public_echo.php?id=" . $r_news['id'] . "&id_razdel=" . $r_news['id_razdel'] . "&id_pr=" . $r_news['id_podrazdel'] . "\">" . $r_news['news_header'] . "</a>"; else $zagolovok_aktiv = $r_news['news_header']; $src = $r_news['src']; $data_news = $r_news['data']; $body_discuss = "<br>" . $zagolovok_aktiv . "<br>" . $r_news['news_short']; echo "<table width=\"100%\" cellpading=0 cellspacing=0><tr ><td>" . "<b>" . $data_news . "</b> </td></tr><tr bgcolor=\"" . $color_table_sel . "\"><td>" . $zagolovok_aktiv . "<br>" . $r_news['news_short'] . "</td></table><br>"; } // публикациÑ� if ($r_discuss['tip_obj'] == "afisha") { // обÑ�уждение афиша $r_news = sqlval("select * from infostrana.afisha_event where id='" . $r_discuss['id_obj'] . "'"); $zagolovok_aktiv = "<a href=\"/afisha/?.php?id={$r_news['id']}\">{$r_news['name']}</a>"; $body_discuss = "<br>" . $zagolovok_aktiv . "<br>" . $r_news['note']; echo "<div id=\"afisha_bottom\"><a href=\"/afisha/?id={$r_news['id']}\">" . $r_news['note_small'] . "</a></div><br>"; } // афиша } // не пуÑ�то } // тема родитель //=============================================== ============================= $result_images = fetchAll("select * from articl_photo where articl_id='{$res['id']}' order by id"); foreach ($result_images as $image) { if (file_exists($base_url . $image['image'])) { $big_img = str_replace("_sm.", ".", $image['image']); if (file_exists($base_url . $big_img)) $big_yes = 1; else $big_yes = 0; echo "<div align=\"left\">"; if ($big_yes == 1) echo "<a rel='group{$res['id']}' href=\"/" . urlencode($big_img) . "\" target=\"_blank\">"; echo "<img class=\"img_upl\" border=\"0\" src=\"" . $base_url . $image['image'] . "\">"; if ($big_yes == 1) echo "</a>"; echo "</div><br />"; } } $smiles = array('1' => 'O:-', ':-)', ':-(', ';-)', ':-P', '8-)', ':-D', ':-[', '=-O', '*KISSED*', ':\'(', '*DONT_KNOW*', '', ':-|', ':-\\', '', ']:->', '', '', ':-!', '', '*STOP*', ':-*', '@}->--', '*THUMBS UP*', '*DRINK*', '*IN LOVE*', '@=', '*HELP*', '\\m/', '%)', '*OK*', '*WASSUP*', '*SORRY*', '*BRAVO*'); $images = array(); for ($i = 1; $i < 36; $i++) { $images[$i] = '<img src="../chat/smile/anim/' . $i . '.gif" border="0">'; } $res['body'] = str_replace($smiles, $images, $res['body']); $my_c = 0; echo prepare_post($res['body'] . " ");//wordwrap($res['body'], 80, "<br />", 1); if ($res['id'] == $res['id_parent']) { if ($r_map_obj[0] > 0) { $id_parent = $res['id_parent']; require_once $base_url . 'maps/forum.php'; // вÑ�тавлÑ�ем карту } } $r_edit_articl = sqlval("select count(*) from forum_edit where id_articl='" . $res['id'] . "'"); if ($r_edit_articl[0] > 0) { $r_edit_name = sqlval("select name, forum_edit.data as eddata from forum_edit, user where user.id=id_user and id_articl='" . $res['id'] . "' order by eddata desc limit 0, 1"); echo "<div class=\" gray small\">ПоÑ�ледний раз редактировал " . $r_edit_name['name'] . " " . $r_edit_name['eddata'] . "</div>"; if (!empty($comment_arr)) { if (array_key_exists($res['id'], $comment_arr)) { echo '<table width=551 border=0 cellspacing=1 cellpading=1><tr><td width=30> </td><td><b>Комментарий модератора ' . $comment_arr[$res['id']]['author'] . ':</b><br><table border=0 width=100% cellpading=1><tr><td bgcolor=#efefef ><table width=100% border=0 cellspacing=0 cellpadding=2 bgcolor=#ffffff ><tr><td> ' . $comment_arr[$res['id']]['message'] . ' </td></tr></table></td></tr></table></td></tr></table>'; } } } } elseif ($res['vote'] > 0) { $forum_global = true; echo_vote(1, false, $res['vote']); echo prepare_post($res['body']); } if ($res['vote'] < 0) { // echo "<br><br><iframe name=\"golos_frame\" src=\"/template/forum_ocen.php?id_articl=".$res['id']."&PHPSESSID=".$PHPSESSID."\" width=\"100%\" height=\"40\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\"></iframe>"; } if ($r_respect['w_otzyv'] < 0) echo "</div>"; // конец Ñ�крываниÑ� Ñ�ообщений ?> </div> <?php if ($res['podpis'] == 1 && $res['note'] <> "") echo "<span class=\"forum-signature\">" . htmlspecialchars(stripslashes(preg_replace("%((https?://)|(www\.))([а-Ñ�a-z0-9-].?)+(:[0-9]+)?(/.*)?%i", "", $res['note'])), NULL, "") . '</span>'; ?> <span class="forum-message-number"> <?php echo "<a name=\"" . $res['id'] . "\" class=\"Greysmall\" href=\"forum_read.php?id_articl=" . $res['id'] . "&f=" . $f . "&id=" . $res['id_parent'] . "\">#" . $res['id'] . "</a>"; ?> </span> </div> </div> <!-- Конец Ñ�троки --> <div class="uk-grid forum-cat-item forum-cat-item-bottom uk-margin-left-remove"> <div class="uk-width-large-2-10 uk-padding-left-remove uk-text-center"> <div class="uk-flex uk-flex-middle uk-height-1-1 uk-flex-center"> <span class="uk-vertical-align-middle"> <?php echo \app\core\helpers\RuDate::getDate($res['data']) . ' в ' . date('H:i', strtotime($res['data'])); ?> </span> </div> </div> <div class="uk-width-large-8-10"> <div class="uk-flex uk-flex-space-between uk-flex-middle uk-margin-small-right"> <!-- <div> <?php if ($res['id_author'] != ANONYMOS): ?> <a href="../user_info.php?login_user=<?= urlencode($res['author']) ?>"> <button class="uk-button border-btn-gray forum-button"> Инфо об авторе </button> </a> <?php endif; ?> </div>--> <div> <div class="uk-button-dropdown" data-uk-dropdown="{mode:'click'}"> <a href="#" class="uk-margin-small-right" > <span class="uk-margin-mini-right">СоглаÑ�ен </span> <span><i class="fa fa-heart orange" aria-hidden="true"></i> 5</span> </a> <div class="uk-dropdown uk-dropdown-bottom uk-text-left"> <div class="gray uk-margin-mini-right">Пользователи: </div> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> </div> </div> <div class="uk-button-dropdown" data-uk-dropdown="{mode:'click'}"> <a href="#" class="uk-margin-small-right" > <span class="uk-margin-mini-right">Возражаю </span> <span><i class="fa fa-thumbs-down gray" aria-hidden="true"></i> 3</span> </a> <div class="uk-dropdown uk-dropdown-bottom uk-text-left"> <div class="gray uk-margin-mini-right">Пользователи: </div> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> <a href="#">admin</a> </div> </div> <!-- Вниз <a href="edit_articl.php?id_articl=<?= $res[id] ?>&id_author=<?= $res[id_author] ?>&f=<?= $f ?>&id_parent=<?= $res[id_parent] ?>&ofs=<?= $ofs ?>&page=<?= $page ?>"> <button class="uk-button border-btn-gray forum-button"> Редактировать </button> </a> --> </div> <!-- <div> <span> СоглаÑ�ен <i class="fa fa-thumbs-o-up" aria-hidden="true"></i> 5 </span> <span> Возражаю <i class="fa fa-thumbs-o-down" aria-hidden="true"></i> 10 </span> </div> --> <div class=""> <?php //правка 2 if ($admlist[$login] >= 550) { if ($res[id_author] == ANONYMOS) { echo "Ð�е зарегиÑ�трирован"; } //if($res[id_author]==ANONYMOS){ echo "<a href='#' id='ip_ban' data-cookie='" . $res['cookie'] . "' data-fcookie='" . $res['fcookie'] . "' data-user='" . $res['id_author'] . "'><button class='uk-button border-btn-gray forum-button'>" . $res['ip'] . "</button></a>"; //}else{ //echo "ip=".$res['ip'].";";} } //конец правки 2 //if (($admlist[$login] >= 500) or ($r_moder[0] >= 500) or ($id_user_sess == $res['id_author'])) { //if ($res['vote'] == 0) echo "<a href='forum_reyting.php?id_articl=$res[id]&f=$f&ocen=1' >Оценивать тему?</a> | "; //elseif ($res['vote'] < 0) echo "<a href='forum_reyting.php?id_articl=$res[id]&f=$f&ocen=0' >СнÑ�ть оценку темы?</a> | "; //} if (($admlist[$login] >= 500) or ($r_moder[0] >= 500)) { if ($res['id'] == $res['id_parent']) { echo "<a href='peremest.php?id_articl=$res[id]&f=$f' >ПеремеÑ�тить</a> | "; echo "<a href='peremest_in_tema.php?id_articl=$res[id]&forum_id=$f&articl_parent=1' >Склеить</a> | "; } else echo "<a href='peremest_in_tema.php?id_articl=$res[id]&forum_id=$f' >ПеремеÑ�тить в...</a> | "; echo "<a href='del_tema.php?id_articl=$res[id]&f=$f&ofs=" . $_REQUEST['ofs'] . "&page=" . $_REQUEST['page'] . "' >Удалить</a><input type = \"checkbox\" name=\"del_articl[]\" value=\"" . $res['id'] . "\"> | "; if ($res['id'] == $res['id_parent']) { if ($res['close'] == 0) echo "<a href='close_tema.php?id_articl=$res[id]&f=$f&activ=close' >Закрыть тему</a> | "; else echo "<a href='close_tema.php?id_articl=$res[id]&f=$f&activ=open' >Открыть тему</a> | "; } } if ($id_user_sess > 0) $reput[0] = $reput[0] + 10; if ($id_user_sess > 0 && $cnt_msg_my[0] > 10 && $reput[0] > 0 && canPlusMinus($id_user_sess)) { $koef_reput = ceil($reput[0] / 5000); if ($admlist[$login] > 800) $koef_reput = 8; ?> <a href="javascript:void(0);" onclick="Respect(<?php echo $res['id'] . ', ' . $res['id_author'] ?>, 1, <?= $koef_reput ?>, '<?= md5($res['id'] . $res['id_author'] . "adsfasdf") ?>', '<?= $f ?>','0')" class="plus"> <button class="uk-button border-btn-gray forum-button"> <i class="fa fa-thumbs-o-up"></i> </button> </a> <?php } else { if ($reput[0] < 0) { $alert_reput = "У ваÑ� отрицательнаÑ� репутациÑ� "; } elseif ($cnt_msg_my[0] < 10) { $alert_reput = "У ваÑ� меньше 10 Ñ�ообщений "; } else { $alert_reput = "Ð’Ñ‹ новичёк у ваÑ� меньше 3 плюÑ�ов, от пользователей зарегеÑ�трированных год или более назад, имеющих более 20 плюÑ�ов "; } echo " <a href=\"javascript:void(0);\" onclick=\"alert('" . $alert_reput . " на форуме, вы не можете повышать рейтинг');\" class=\"plus\"> <button type='button' class='uk-button border-btn-gray forum-button'> <i class=\"fa fa-thumbs-o-up\"></i> </button> </a> "; } if ($id_user_sess > 0) $karma[0] = $karma[0] + 10; if ($id_user_sess > 0 && $cnt_msg_my[0] > 10 && $karma[0] > 0 && canPlusMinus($id_user_sess)) { ?> <a href="javascript:void(0);" onclick="Respect(<?php echo $res['id'] . ', ' . $res['id_author'] ?>, 1, -<?= $koef_reput ?>, '<?= md5($res['id'] . $res['id_author'] . "adsfasdf") ?>', '<?= $f ?>','0')" class="minus"> <button type="button" class="uk-button border-btn-gray forum-button"> <i class="fa fa-thumbs-o-down"></i> </button> </a> <?php } else { if ($karma[0] < 0) { $alert_karma = "У ваÑ� отрицательнаÑ� карма, Ñ‚.е. вы поÑ�тавили очень много минуÑ�ов "; } elseif ($cnt_msg_my[0] < 10) { $alert_karma = "У ваÑ� меньше 10 Ñ�ообщений "; } else { $alert_karma = "Ð’Ñ‹ новичёк у ваÑ� меньше 3 плюÑ�ов, от пользователей зарегеÑ�трированных год или более назад, имеющих более 20 плюÑ�ов "; } echo " <a href=\"javascript:void(0);\" onclick=\"alert('" . $alert_karma . " на форуме, вы не можете понижать рейтинг');\" class=\"minus\"> <button type='button' class='uk-button border-btn-gray forum-button'> <i class=\"fa fa-thumbs-o-down\"></i> </button> </a> "; } ?> <?php if ($res['id_author'] != ANONYMOS): ?> <a class="WOpen" href="/private/?contact=<?php echo $res['id_author']; ?>"> <button type="button" class="uk-button border-btn-gray forum-button"> Ð�апиÑ�ать в приват </button> </a> <?php endif; ?> <a href="new_tema.php?id_parent=<?= $id ?>&id_articl=<?= $res[id] ?>&url=<?= $url ?>&obz=<?= urlencode($obz) ?>&f=<?= $f ?>&last_page=<?= $_REQUEST['last_page'] ?>&last_ofs=<?= $_REQUEST['last_ofs'] ?>"> <button type="button" class="uk-button forum-button orange-bg"> Ответить </button> </a> <a href="moder_send.php?f=<?= $_GET['f'] ?>&id=<?= $_GET['id'] ?>&ofs=<?= $_GET['ofs'] ?>&page=<?= $_GET['page'] ?>&id_mess=<?= $res['id'] ?>"> <button type="button" class="uk-button border-btn-gray forum-button"> Сообщить модератору </button> </a> </div> </div> </div> </div> <!-- Конец Ñ�троки --> <!-- Конец Ñ�троки выÑ�казываниÑ� --> <!-- блок Ñ� благодарноÑ�Ñ‚Ñ�ми --> <?php if ($r_respect[0] > 0) { $r_spisok_respect = sql("select id_user, name, type_otzyv from user, forum_respect where id_articl = '" . $res['id'] . "' and id_user=user.id"); $sam_respect = 0; $spisok_respect = ""; $array_respect = array(); while ($rs_spisok = sqlget($r_spisok_respect)) { if ($rs_spisok['id_user'] == $id_user_sess) $sam_respect = 1; if ($rs_spisok['type_otzyv'] > 0) $class_otzyv = "plus"; else $class_otzyv = "minus"; $array_respect[] = "<a href=\"" . $base_url . "user_info.php?login_user=" . urlencode($rs_spisok['name']) . "\" class=\"" . $class_otzyv . "\" target=\"_blank\">" . $rs_spisok['name'] . "</a>"; } $spisok_respect .= implode(', ', $array_respect); ?> <div class="uk-grid forum-cat-item-footer uk-margin-left-remove"> <div> <strong> <?php if ($r_respect[0] == 1) echo "Ðтот пользователь добавил отзыв"; if ($r_respect[0] > 1) echo "Ðти пользователи добавили отзывы"; ?> на Ñ�то Ñ�ообщение: </strong> <?php if ($sam_respect == 1) { ?> <a href='javascript:void(0);' onclick="Respect(<?php echo $res['id'] . ', ' . $res['id_author'] ?>, 0,0, '<?= md5($res['id'] . $res['id_author'] . "adsfasdf") ?>', '<?= $f ?>','1')">Удалить Ваш отзыв</a> <?php } ?> <div> <?php echo $spisok_respect; ?> </div> </div> </div> <?php } else { /*<tr bgcolor="<?=$color?" style="display:none;" id="tr_<?php echo $res['id']; ?>"><td width="18%" class="login" id="tdl_<?php echo $res['id']; ?>"></td><td width="82%" align="left" valign="middle" id="tdr_<?php echo $res['id']; ?>"></td></tr> */ } ///================ if ($anchor_i == 5 && $cnt_msg_my[0] < 1000) { // echo_banner("rand", 1,"forum_body"); ?> <div class="forum-cat-item uk-margin-left-remove"> <?php require_once $base_url . "template/razdel/b2bcontext_forum.php"; ?> </div> <?php $pokaz_ban = true; } if ($anchor_i == 15) { //echo_banner("rand", 1,"forum_body"); ?> <div class="forum-cat-item" style="overflow: hidden; padding-left: 10px"> <?php require_once $base_url . "template/razdel/firma_comment2.php"; ?> <div style="clear:both"></div> <?php } $data_last = $res['data_orig']; } $id_parent = $id; /////////////// for read if ($id_user_sess <> "") { $r_del_read = sql("delete from forum_read where (id_user = '" . $id_user_sess . "') and id_parent = '" . $id . "'"); if (!$r_del_read) error(); } elseif ($sid <> "") { $r_del_read = sql("delete from forum_read where sid = '" . $sid . "' and id_parent = '" . $id . "'"); if (!$r_del_read) error(); } if (($id_user_sess > 0) || ($sid <> "")) { $r_ins_forum_read = sql("insert into forum_read (id_user, id_parent, sid, data) values ('" . $id_user_sess . "', '" . $id . "', '" . $sid . "', '" . $data_last . "')"); //if ($admlist[$login] == 1000) echo "<script>alert(\"insert into forum_read (id_user, id_parent, sid, data) values ('".$id_user_sess."', '".$id."', '".$sid."', '".$data_last."')\"); </script>"; if (!$r_ins_forum_read) error(); } ///////////////////////// ?> <div class="uk-grid forum-cat-item uk-margin-left-remove"> <div> <ul class="uk-breadcrumb"> <li> <a href="index.php">Форумы</a> </li> <li> <a href="forum_list.php?f=<?=$f?>"> <?php echo "<b>".$rfor_name[0]."</b>"; ?> </a> </li> <li> <?=$tema_t[0];?> </li> </ul> </div> </div> <div class="uk-grid forum-cat-item forum-cat-item-bottom uk-margin-left-remove"> <?php if ($kol[0] > $pap) { echo "<ul class='uk-pagination' style='margin: 0 auto'>"; if (empty($page)) $page=1; list_all($kol[0],"forum_read.php?f=$f&id=$id".$hglt_str,3,$page,$pap,"ofs",1); echo "</ul>"; } ?> </div> <?php if (($admlist[$login] >= 500) or ($r_moder[0] >= 500)) { echo "<br> <INPUT TYPE=\"HIDDEN\" name=\"id_parent_f\" value=\"".$_REQUEST['id']."\"> <INPUT TYPE=\"HIDDEN\" name=\"ofs\" value=\"".$_REQUEST['ofs']."\"> <INPUT TYPE=\"HIDDEN\" name=\"page\" value=\"".$_REQUEST['page']."\"> <INPUT TYPE=\"SUBMIT\" class='uk-button uk-margin-small-bottom' name=\"del_ins_all\" value=\"Удалить отмеченные\" class=\"long\"></form> "; } ?> <?php $operation="Добавить"; require_once "new_tema.inc.php"; /* <table width="90%" border="0" cellspacing="0" cellpadding="2" align=center> <tr> <td width="60%" valign=top><a href="index.php">Форумы</a> > <a href="forum_list.php?f=<?=$f?>"><?php echo "<b>".$rfor_name[0]."</b>"; ?></a> <?php if ($tema_t[0] <> "") { echo " > ".$tema_t[0]; } ?>" <a href="forum_rss_theme.php?f=<?php echo $_REQUEST['f'];?>&id=<?php echo $_REQUEST['id']; ?>"><img src="<?=$base_url?>images/rss.gif" border="0" width="26" alt="rss" height="10" vspace="0" hspace="10" /></a> <div align="right"> <script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script> <div class="yashare-auto-init" data-yashareType="link" data-yashareQuickServices="vkontakte,odnoklassniki,facebook,twitter,yaru,moimir,lj,moikrug"></div> </div> </td> </tr> <tr> <td valign=top></td> </tr> </table> <?php ?> <?php if ($kol[0] > $pap) { echo "<div align=center><b>Страницы: </b>"; if (empty($page)) $page=1; list_all($kol[0],"forum_read.php?f=$f&id=$id".$hglt_str,3,$page,$pap,"ofs",1); echo "</div><br>"; } if (isset($_POST['preview'])) { } ?> <?php $operation="Добавить"; require_once "new_tema.inc.php"; } ?> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="right"><? echo "<b>Перейти в: </b><select name='forum_id' onChange=\"location.href='forum_list.php?f=' + this.options[this.selectedIndex].value\" class=box>"; echo "<option value=''>вÑ�е ..."; $r_sr_name=sql("select id, name from forum where id <> '".$f."' order by data desc"); while ($rs_name_pr=sqlget($r_sr_name)) { $status_right=sqlval("select status_right from forum where id='".$rs_name_pr['id']."'"); if (!$status_right) error(); if ($status_right['status_right'] <> 0) { if (($admlist[$login] < $status_right['status_right']) and ($r_moder['rightf'] < $status_right['status_right'])) { continue; } } echo "<option value='".$rs_name_pr['id']."' $sl>".$rs_name_pr['name']; } echo "</select>"; ?></td> </tr> </table> <br> */ ?> <? } if ($_REQUEST['thanks'] == 1 && $_REQUEST['id_post'] > 0) echo "<script> if ( document.all ) location.href='".$_SERVER["REQUEST_URI"]."#".$_REQUEST['id_post']."'; </script>"; require("../inc/bottom_new.inc"); ?>
/forum/
Èìÿ
Äàòà
Ðàçìåð
..
2026-10-02
img
2013-04-27
jquery.arcticmodal-0.3
2014-09-26
_forum_read.php
2016-12-06
37 êá.
action.php
2017-02-01
2 êá.
ban.php
2016-12-06
2 êá.
basket_list.php
2016-12-06
3 êá.
basket_list_thems.php
2016-12-06
4 êá.
basket_read.php
2016-12-06
14 êá.
bbf.js
2016-12-06
4 êá.
close_ins.php
2016-12-06
730 áàéò
close_tema.php
2016-12-06
1 êá.
del_ins.php
2016-12-06
6 êá.
del_ins_all.php
2016-12-06
3 êá.
del_tema.php
2016-12-06
2 êá.
dobavlenie.gif
2016-12-06
1 êá.
doska.php
2017-02-13
22 êá.
edit_articl.php
2021-09-02
3 êá.
edit_articl.php~
2019-03-20
3 êá.
edit_articl_back.php
2019-01-22
3 êá.
forum_image.php
2016-12-06
377 áàéò
forum_list.php
2026-10-01
21 êá.
forum_list.php.bak.intl
2026-10-01
21 êá.
forum_list.php~
2022-08-25
21 êá.
forum_new_tema.php
2019-02-25
15 êá.
forum_news.php
2017-02-14
7 êá.
forum_read.php
2024-01-25
59 êá.
forum_read.php~
2022-08-25
59 êá.
forum_read.tpl
2016-12-06
30 êá.
forum_read_old.php
2016-12-06
37 êá.
forum_read_old2.php
2026-10-01
59 êá.
forum_read_old555551.php
2026-10-01
60 êá.
forum_read_test.php
2019-01-17
65 êá.
forum_respect.php
2017-08-18
4 êá.
forum_reyting.php
2016-12-06
949 áàéò
forum_rss.php
2017-02-20
2 êá.
forum_rss_all.php
2019-03-12
2 êá.
forum_rss_theme.php
2017-02-20
2 êá.
forum_rss_utf.php
2019-03-12
2 êá.
forum_rss_utf_yandex.php
2019-03-12
2 êá.
forum_search.gif
2016-12-06
1 êá.
forum_search.php
2016-12-06
3 êá.
forum_sql.php
2017-02-10
42 êá.
forum_sql_new.php
2026-05-25
50 êá.
forum_sql_new.php~
2021-03-29
51 êá.
forum_sql_new_back.php
2019-03-12
47 êá.
forum_sql_old.php
2016-12-06
13 êá.
forum_widget_new.php
2017-02-21
2 êá.
img_forum.gif
2016-12-06
1 êá.
img_view.php
2016-12-06
398 áàéò
index.php
2023-09-05
12 êá.
index.php~
2022-08-25
12 êá.
ins_oplata_for_user.php
2016-12-06
2 êá.
insert_pass.php
2016-12-06
1 êá.
kn_activ_temy.gif
2016-12-06
2 êá.
kn_doska.gif
2016-12-06
2 êá.
logout.php
2016-12-06
342 áàéò
menu.inc.php
2020-02-19
4 êá.
moder_send.php
2017-09-05
2 êá.
neprochteni.gif
2016-12-06
1 êá.
net-tem.gif
2016-12-06
327 áàéò
new.gif
2016-12-06
516 áàéò
new_tema.inc.php
2024-03-14
29 êá.
new_tema.inc.php~
2021-01-14
29 êá.
new_tema.inc_back.php
2021-01-14
36 êá.
new_tema.php
2017-02-20
2 êá.
new_tema2.inc.php
2024-03-22
36 êá.
new_tema2.inc.php~
2024-03-20
35 êá.
new_vote.inc.php
2019-04-03
7 êá.
new_vote.inc_back.php
2019-01-23
6 êá.
new_vote.inc_test.php
2019-03-20
6 êá.
new_vote.php
2019-03-20
2 êá.
new_vote_test.php
2023-09-05
2 êá.
new_vote_test.php~
2019-03-20
2 êá.
newopros.gif
2016-12-06
2 êá.
newtopic.gif
2016-12-06
2 êá.
otpis.php
2017-02-20
549 áàéò
package.xml
2016-12-06
1 êá.
package2.xml
2016-12-06
2 êá.
panelbar.inc.php
2016-12-06
2 êá.
peremest.php
2016-12-06
788 áàéò
peremest_in_tema.php
2018-10-29
6 êá.
peremest_in_tema_ins.php
2019-01-23
2 êá.
peremest_ins.php
2016-12-06
763 áàéò
pravila.gif
2016-12-06
1 êá.
pravila.php
2019-12-09
16 êá.
preview.php
2016-12-06
7 êá.
prochitano.gif
2016-12-06
1 êá.
repair_articl.php
2016-12-06
550 áàéò
respect.php
2019-01-24
8 êá.
search.php
2019-06-07
13 êá.
statistic.php
2016-12-06
3 êá.
statistika_img.gif
2016-12-06
2 êá.
stopwords.php
2016-12-06
907 áàéò
template.php
2017-01-31
23 êá.
top.inc.php
2024-01-24
2 êá.
top.inc.php~
2023-12-22
2 êá.
topic.php
2016-12-06
63 êá.
topic_of_month.php
2016-12-06
6 êá.
user_foto
1970-01-01
áàéò
user_online.php
2017-09-04
668 áàéò
view_post.php
2019-03-05
37 êá.
vote.php
2016-12-06
1 êá.
/forum
Çàãðóçèòü ôàéëû
Ôàéë 1
Ôàéë 2
Ôàéë 3