Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
search.php
Содержимое
<?php include "top.inc.php"; $pap=20; if ($ofs == "") $ofs=0; if ($_GET['id_user'] <> "") { if ( $_GET['theme'] == '1' ) { $r=sql("select articl.* from articl where id_author='".intval($_GET['id_user'])."' and id=id_parent order by data desc limit $ofs, $pap"); if (!$r) { error(); } $kol=sqlval("select count(*) from articl where id_author='".intval($_GET['id_user'])."' and id=id_parent"); } else { $r=sql("select * from articl where id_author='".intval($_GET['id_user'])."' order by data desc limit $ofs, $pap"); if (!$r) { error(); } $kol=sqlval("select count(*) from articl where id_author='".intval($_GET['id_user'])."'"); } } $page = App::$request->get('page', 1); ?> <br> <script type="text/javascript"> $(document).ready(function(){ $("#bSelectToggle").toggle( function(){ $(this).attr('checked','checked'); $('.incheck').each(function(i,el){ $(el).attr('checked','checked'); }); }, function(){ $(this).removeAttr('checked'); $('.incheck').each(function(i,el){ $(el).removeAttr('checked'); }); }); $('#DeleteAll').click(function(ev){ ev.preventDefault(); var kolvo = $('.incheck:checked').length; if(kolvo > 0){ var setIds = []; $('.incheck:checked').each(function(i,el){ var id = $(el).val(); setIds.push(id); }); if(setIds.length > 0){ var strData = setIds.join(','); $.ajax({ type: 'POST', url: '../admin/forum/delete_from_forum.php', data: 'set=' + strData, success: function(data){ if(data=='1'){ for(var i=0; i<setIds.length;i++){ var s = '#tr_' + setIds[i]; $(s).remove(); } } } }); } } }); }); </script> <?php if ($admlist[$login] > 500) { ?> <script> function confirmLink(theLink, theSqlQuery) { var confirmMsg="Вы действительно желаете"; // Confirmation is not required in the configuration file // or browser is Opera (crappy js implementation) if (confirmMsg == '' || typeof(window.opera) != 'undefined') { return true; } var is_confirmed = confirm(confirmMsg + ' :\n' + theSqlQuery); if (is_confirmed) { theLink.href += '&is_js_confirmed=1'; } return is_confirmed; } </script> <div class="uk-container uk-container-center"> <div class="uk-grid"> <div class="uk-width-1-1"> <div class="uk-button forum-link-del"> <i class="fa fa-trash uk-margin-mini-right gray" aria-hidden="true"></i> <a href="/forum/del_ins_all.php?id_user_del=<?=$_GET['id_user']?>" onclick="return confirmLink(this, 'удалить?');"> Удалить все сообщения пользователя</a> </div> </div> </div> </div> <?php } ?> <div class="uk-container uk-container-center"> <div class="uk-grid"> <div class="uk-width-xlarge-4-5 uk-width-large-4-5 uk-width-large-2-3 uk-width-small-1-1 uk-margin-top"> <!-- header для найденных сообщений --> <div clas="forum-found-messages "> <?php if (trim($_REQUEST['text_search']) <> "") { $text_search = strip_tags($text_search); $text_search=mysql_real_escape_string($_REQUEST['text_search']); for ($i=0;$i<count($_REQUEST['id_forum']); $i++) { if ($and == "") $and=" and ("; else $and = " or "; $sql_id_f.=$and. " id_forum = '".$_REQUEST['id_forum'][$i]."' "; } if ($sql_id_f <> "") $sql_id_f.=")"; //echo $sql_id_f; $r=sql("select articl.* from articl where (tema like '%".$text_search."%' or body like '%".$text_search."%') ".$sql_id_f." and id=id_parent order by data desc limit $ofs, $pap"); //echo "select articl.* from articl where (tema like '%".$text_search."%' or body like '%".$text_search."%') ".$sql_id_f." order by data desc limit $ofs, $pap"; if (!$r) { error(); } $kol=sqlval("select count(*) from articl where (tema like '%".$text_search."%' or body like '%".$text_search."%') ".$sql_id_f." and id=id_parent"); ?> Вы искали: <strong><?=$text_search?></strong> <?php } else { ?> Все сообщения <strong><a href="/user_info.php?login_user=<?= urldecode($login_user); ?>" class="orange"><?=urldecode($login_user)?></a></strong> <?php } ?> <br /> Найдено <strong><?=$kol[0]?></strong> сообщений.<br /> </div> <!-- // --> <?php if($id_user_sess > 0 and ($admlist[$login] > 500)):?> <table cellpadding="0" cellspacing="0" class="toptable" align="center" width="90%"> <tr> <td align="right"> <input type="image" id="DeleteAll" src="<?php echo $base_url; ?>images/b_drop.gif" title="Удалить" class="icon-mar2" /></td> </tr> </table> <?php endif;?> <!-- список тем --> <div class="forum uk-margin-top"> <div class="forum-cat"> <div class="uk-grid forum-cat-item uk-margin-left-remove uk-hidden-small"> <?php if($id_user_sess > 0 and ($admlist[$login] > 500)):?> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"><input type="checkbox" id="bSelectToggle" /></div> <?php endif;?> <div class="uk-width-xlarge-3-10 uk-width-large-3-10 uk-width-medium-3-10 uk-width-small-1-1">Тема</div> <div class="uk-width-xlarge-2-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1">Форум</div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?php if ($text_search == "") echo "Автор темы"; else echo "Автор";?></div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1">Ответ.</div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1">Просм.</div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1">Дата</div> </div> <?php while ($rs=sqlget($r)) { $rf=sqlval("select name, status_right from forum where id='".$rs['id_forum']."'"); if ($rf['status_right'] <> 0) continue; if ($i % 2 == 0) $color="#ffffff"; else $color=$color_table_sel; $i++; if ($rs['id'] == $rs['id_parent']) $tema=$rs['tema']; else { $r_parent=sqlval("select tema, views, id_author from articl where id='".$rs['id_parent']."'"); if ( $admlist[$login] == 1000 ) { $rs_count = sqlval("select count(*) from articl where id_parent='{$rs['id_parent']}' and data<'{$rs['data']}'"); $cofs = 20; $cpage = ceil( $rs_count[0] / $cofs ); $cofs *= ($cpage - 1); //echo $rs_count[0] . '=' . $cpage . ', '; } $tema=$r_parent['tema']; if (trim($text_search) <> "") { $tema=preg_replace("/$podsv/i", "<font color=#0055CC><b>\\0</b></font>", $rs['tema']); if ($tema == "") { $tema=preg_replace("/$podsv/i", "<font color=#0055CC><b>\\0</b></font>", $r_parent['tema']); } } } $ru=sqlval("select name from user where id='".$r_parent['id_author']."'"); if (!$ru) error(); $ru2=sqlval("select note, name from user where id='".$rs['id_author']."'"); if (!$ru2) error(); ?> <div class="uk-grid forum-cat-item uk-margin-left-remove"> <?php if($id_user_sess > 0 and ($admlist[$login] > 500)):?> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <input type="checkbox" id="<?php echo $rs['id'];?>" value="<?php echo $rs['id']?>" class="incheck"> </div> <?php endif;?> <div class="uk-width-xlarge-3-10 uk-width-large-3-10 uk-width-medium-3-10 uk-width-small-1-1"> <h4> <span>Тема:</span> <a href="forum_read.php?id_articl=<?=$rs['id']?>&f=<?=$rs['id_forum']?>&id=<?=$rs['id_parent']?>" class="orange"> <?=mb_substr($tema,0,150, 'UTF-8')?> </a> </h4> <div> <span class="bold">Сообщение:</span> <?php $rs['body'] = strip_tags($rs['body']); echo substr($rs['body'],0, 200); if (strlen($rs['body']) > 200) echo " <a href=\"forum_read.php?id=".$rs['id_parent']."&f=".$rs['id_forum']."\" class=\"orange\"> далее ...</a>"; ?> </div> </div> <div class="uk-width-xlarge-2-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?php echo "<a href='forum_list.php?f=".$rs['id_forum']."'>".substr($rf[0],0, 70)."</a>";?> </div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?php if ($text_search <> "") echo "<a href='../user_info.php?login_user=".urlencode($ru2['name'])."'>".$ru2['name']."</a>"; else echo "<a href='../user_info.php?login_user=".urlencode($ru['name'])."' class=\"grey\">".$ru['name']."</a>"; ?> </div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?php $r_otv=sqlval("select count(*) from articl where id_parent='".$rs['id_parent']."'"); if (!$r_otv) error(); echo $r_otv[0]; ?> </div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?=$r_parent['views']?> </div> <div class="uk-width-xlarge-1-10 uk-width-large-1-10 uk-width-medium-1-10 uk-width-small-1-1"> <?=$rs['data']?> </div> </div> <?php } ?> </div> <!-- // --> <? if ($kol[0] > $pap) { echo "<ul class=\"uk-pagination uk-margin-small-top\">"; if (empty($page)) $page=1; $zapros="search.php?id_user=$id_user&login_user=".$_REQUEST['login_user']."&theme=".$_REQUEST['theme']."&text_search=".urlencode($text_search)."&"; for ($j=0; $j < 15; $j++) { $zapros.=$amp."id_forum[$j]=".$id_forum[$j]; $amp="&"; } list_all($kol[0],$zapros,8,$page,$pap,"ofs"); echo "</ul>"; } ?> </div> </div> <div class="uk-width-xlarge-1-5 uk-width-large-1-5 uk-width-large-1-3 uk-width-small-1-1 "> <?php App::$view->render('sidebar/vk'); ?> <h2 class="header-h2 uk-border-none uk-margin-top"> <a href="/forum/" class="no-top-border"><span class="orange">Форум</span> Орла</a> </h2> <?php App::$view->render('forum/popular_sidebar', [ 'items' => \app\forum\Forum::getSidebarLastMessages(8) ]); ?> </div> </div> </div> <? 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