uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
forum-e-syn
/
FUDforum
/
scripts
/
..
/
sql
/
..
/
src
/
reported.php.t
/
/
<?php /** * copyright : (C) 2001-2016 Advanced Internet Designs Inc. * email : forum@prohost.org * $Id: reported.php.t 5963 2016-06-30 07:00:44Z naudefj $ * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. **/ /*{PRE_HTML_PHP}*/ require $FORUM_SETTINGS_PATH.'cat_cache.inc'; function draw_path($cid) { global $cat_par, $cat_cache; if (!$cid) { return; } $data = ''; do { $data = '{TEMPLATE: reported_cat_path}'. $data; } while (($cid = $cat_par[$cid]) > 0); return $data; } if (isset($_GET['del']) && ($del = (int)$_GET['del']) && sq_check(0, $usr->sq)) { if ($is_a || q_singleval('SELECT mr.id FROM {SQL_TABLE_PREFIX}msg_report mr INNER JOIN {SQL_TABLE_PREFIX}msg m ON m.id=mr.msg_id INNER JOIN {SQL_TABLE_PREFIX}thread t ON t.id=m.thread_id INNER JOIN {SQL_TABLE_PREFIX}mod mm ON mm.forum_id=t.forum_id AND mm.user_id='. _uid .' WHERE mr.id='. $del)) { q('DELETE FROM {SQL_TABLE_PREFIX}msg_report WHERE id='. $del); if (db_affected()) { logaction(_uid, 'DELREPORT'); } } else { std_error('access'); } } /*{POST_HTML_PHP}*/ $r = q('SELECT m.*, COALESCE(m.flag_cc, u.flag_cc) AS disp_flag_cc, COALESCE(m.flag_country, u.flag_country) AS disp_flag_country, t.thread_opt, t.root_msg_id, t.last_post_id, t.forum_id, f.message_threshold, f.name AS frm_name, f.cat_id, u.id AS user_id, u.alias AS login, u.avatar_loc, u.email, u.posted_msg_count, u.join_date, u.location, u.sig, u.custom_status, u.icq, u.jabber, u.aim, u.msnm, u.yahoo, u.skype, u.google, u.users_opt, u.last_visit AS time_sec, l.name AS level_name, l.level_opt, l.img AS level_img, p.max_votes, p.expiry_date, p.creation_date, p.name AS poll_name, p.total_votes, mr.id AS report_id, mr.stamp AS report_stamp, mr.reason AS report_reason, u2.id AS report_user_id, u2.alias AS report_user_login, u2.last_visit AS time_sec_r, m2.subject AS thread_subject, pot.id AS cant_vote FROM {SQL_TABLE_PREFIX}msg_report mr INNER JOIN {SQL_TABLE_PREFIX}msg m ON mr.msg_id=m.id INNER JOIN {SQL_TABLE_PREFIX}thread t ON m.thread_id=t.id INNER JOIN {SQL_TABLE_PREFIX}msg m2 ON m2.id=t.root_msg_id INNER JOIN {SQL_TABLE_PREFIX}forum f ON t.forum_id=f.id '. ($is_a ? '' : ' INNER JOIN {SQL_TABLE_PREFIX}mod mm ON mm.forum_id=t.forum_id AND mm.user_id='. _uid) .' LEFT JOIN {SQL_TABLE_PREFIX}users u ON m.poster_id=u.id LEFT JOIN {SQL_TABLE_PREFIX}users u2 ON mr.user_id=u2.id LEFT JOIN {SQL_TABLE_PREFIX}level l ON u.level_id=l.id LEFT JOIN {SQL_TABLE_PREFIX}poll p ON m.poll_id=p.id LEFT JOIN {SQL_TABLE_PREFIX}poll_opt_track pot ON pot.poll_id=p.id AND pot.user_id='. _uid.' ORDER BY mr.id'); $perms = 2147483647; $reported_message = ''; $_GET['start'] = $prev_thread_id = $n = 0; $usr->md = 1; while ($obj = db_rowobj($r)) { $reported_message .= '{TEMPLATE: reported_message}'; } unset($r); if (!$reported_message) { $reported_message = '{TEMPLATE: reported_no_messages}'; } /*{POST_PAGE_PHP_CODE}*/ ?> {TEMPLATE: REPORTED_PAGE}
/var/www/forum-e-syn/FUDforum/scripts/../sql/../src/reported.php.t