转跳到内容

26995061

【会员】中级会员
  • 内容数

    643
  • 加入

  • 最后访问

26995061 发表的所有内容

  1. 其實是我想賺分...................{:7_470:}加上無聊沒事做{:7_492:}
  2. 只是學了一點點{:7_467:}離程序員還差十萬八千里{:7_466:} 試的我累死了{:7_484:} 不試了{:7_496:}
  3. 這一個區是限制會員才能來的地方{:7_465:}所以說我回來了{:7_492:}
  4. 試出來一部分指令被ban了{:7_492:} 應該是ban了{:7_480:} 我原本還試哪部分指令可以運行{:7_458:} 我有點頭緒了再讓我試一下{:7_460:} apt-cache show samba | grep Ver smbclient -V # V SMBCLIENT -V # V <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_url_matcher.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup('app'); $http_kernel = $phpbb_container->get('http_kernel'); $symfony_request = $phpbb_container->get('symfony_request'); $response = $http_kernel->handle($symfony_request); $response->send(); $http_kernel->terminate($symfony_request, $response); <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup('mcp'); $forum_id = request_var('f', 0); $post_id = request_var('p', 0); $pm_id = request_var('pm', 0); $reason_id = request_var('reason_id', 0); $report_text = utf8_normalize_nfc(request_var('report_text', '', true)); $user_notify = ($user->data['is_registered']) ? request_var('notify', 0) : false; $submit = (isset($_POST['submit'])) ? true : false; if (!$post_id && (!$pm_id || !$config['allow_pm_report'])) { trigger_error('NO_POST_SELECTED'); } if ($post_id) { $redirect_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id") . "#p$post_id"; $return_forum_url = append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"); $pm_id = 0; } else { $redirect_url = append_sid("{$phpbb_root_path}ucp.$phpEx", "i=pm&mode=view&p=$pm_id"); $return_forum_url = ''; $post_id = 0; $forum_id = 0; } // Has the report been cancelled? if (isset($_POST['cancel'])) { redirect($redirect_url); } if ($post_id) { // Grab all relevant data $sql = 'SELECT t.*, p.* FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . " t WHERE p.post_id = $post_id AND p.topic_id = t.topic_id"; $result = $db->sql_query($sql); $report_data = $db->sql_fetchrow($result); $db->sql_freeresult($result); if (!$report_data) { trigger_error('POST_NOT_EXIST'); } $forum_id = (int) $report_data['forum_id']; $topic_id = (int) $report_data['topic_id']; $reported_post_text = $report_data['post_text']; $reported_post_bitfield = $report_data['bbcode_bitfield']; $reported_post_uid = $report_data['bbcode_uid']; $reported_post_enable_bbcode = $report_data['enable_bbcode']; $reported_post_enable_smilies = $report_data['enable_smilies']; $reported_post_enable_magic_url = $report_data['enable_magic_url']; $sql = 'SELECT * FROM ' . FORUMS_TABLE . ' WHERE forum_id = ' . $forum_id; $result = $db->sql_query($sql); $forum_data = $db->sql_fetchrow($result); $db->sql_freeresult($result); if (!$forum_data) { trigger_error('FORUM_NOT_EXIST'); } // Check required permissions $acl_check_ary = array('f_list' => 'POST_NOT_EXIST', 'f_read' => 'USER_CANNOT_READ', 'f_report' => 'USER_CANNOT_REPORT'); /** * This event allows you to do extra auth checks and verify if the user * has the required permissions * * @event core.report_post_auth * @var array forum_data All data available from the forums table on this post's forum * @var array report_data All data available from the topics and the posts tables on this post (and its topic) * @var array acl_check_ary An array with the ACL to be tested. The evaluation is made in the same order as the array is sorted * The key is the ACL name and the value is the language key for the error message. * @since 3.1.3-RC1 */ $vars = array( 'forum_data', 'report_data', 'acl_check_ary', ); extract($phpbb_dispatcher->trigger_event('core.report_post_auth', compact($vars))); foreach ($acl_check_ary as $acl => $error) { if (!$auth->acl_get($acl, $forum_id)) { trigger_error($error); } } unset($acl_check_ary); if ($report_data['post_reported']) { $message = $user->lang['ALREADY_REPORTED']; $message .= ' ' . sprintf($user->lang['RETURN_TOPIC'], '', ''); $message .= ' ' . sprintf($user->lang['RETURN_FORUM'], '', ''); trigger_error($message); } } else { // Grab all relevant data $sql = 'SELECT p.*, pt.* FROM ' . PRIVMSGS_TABLE . ' p, ' . PRIVMSGS_TO_TABLE . " pt WHERE p.msg_id = $pm_id AND p.msg_id = pt.msg_id AND (p.author_id = " . $user->data['user_id'] . " OR pt.user_id = " . $user->data['user_id'] . ")"; $result = $db->sql_query($sql); $report_data = $db->sql_fetchrow($result); $db->sql_freeresult($result); if (!$report_data) { $user->add_lang('ucp'); trigger_error('NO_MESSAGE'); } if ($report_data['message_reported']) { $message = $user->lang['ALREADY_REPORTED_PM']; $message .= ' ' . sprintf($user->lang['RETURN_PM'], '', ''); trigger_error($message); } $reported_post_text = $report_data['message_text']; $reported_post_bitfield = $report_data['bbcode_bitfield']; $reported_post_uid = $report_data['bbcode_uid']; $reported_post_enable_bbcode = $report_data['enable_bbcode']; $reported_post_enable_smilies = $report_data['enable_smilies']; $reported_post_enable_magic_url = $report_data['enable_magic_url']; } if ($config['enable_post_confirm'] && !$user->data['is_registered']) { $captcha = $phpbb_container->get('captcha.factory')->get_instance($config['captcha_plugin']); $captcha->init(CONFIRM_REPORT); } $error = array(); $s_hidden_fields = ''; // Submit report? if ($submit && $reason_id) { if (isset($captcha)) { $visual_confirmation_response = $captcha->validate(); if ($visual_confirmation_response) { $error[] = $visual_confirmation_response; } } $sql = 'SELECT * FROM ' . REPORTS_REASONS_TABLE . " WHERE reason_id = $reason_id"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); if (!$row || (!$report_text && strtolower($row['reason_title']) == 'other')) { $error[] = $user->lang('EMPTY_REPORT'); } if (!sizeof($error)) { if (isset($captcha)) { $captcha->reset(); } $sql_ary = array( 'reason_id' => (int) $reason_id, 'post_id' => $post_id, 'pm_id' => $pm_id, 'user_id' => (int) $user->data['user_id'], 'user_notify' => (int) $user_notify, 'report_closed' => 0, 'report_time' => (int) time(), 'report_text' => (string) $report_text, 'reported_post_text' => $reported_post_text, 'reported_post_uid' => $reported_post_uid, 'reported_post_bitfield' => $reported_post_bitfield, 'reported_post_enable_bbcode' => $reported_post_enable_bbcode, 'reported_post_enable_smilies' => $reported_post_enable_smilies, 'reported_post_enable_magic_url' => $reported_post_enable_magic_url, ); $sql = 'INSERT INTO ' . REPORTS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary); $db->sql_query($sql); $report_id = $db->sql_nextid(); $phpbb_notifications = $phpbb_container->get('notification_manager'); if ($post_id) { $sql = 'UPDATE ' . POSTS_TABLE . ' SET post_reported = 1 WHERE post_id = ' . $post_id; $db->sql_query($sql); if (!$report_data['topic_reported']) { $sql = 'UPDATE ' . TOPICS_TABLE . ' SET topic_reported = 1 WHERE topic_id = ' . $report_data['topic_id'] . ' OR topic_moved_id = ' . $report_data['topic_id']; $db->sql_query($sql); } $lang_return = $user->lang['RETURN_TOPIC']; $lang_success = $user->lang['POST_REPORTED_SUCCESS']; $phpbb_notifications->add_notifications('notification.type.report_post', array_merge($report_data, $row, $forum_data, array( 'report_text' => $report_text, ))); } else { $sql = 'UPDATE ' . PRIVMSGS_TABLE . ' SET message_reported = 1 WHERE msg_id = ' . $pm_id; $db->sql_query($sql); $sql_ary = array( 'msg_id' => $pm_id, 'user_id' => ANONYMOUS, 'author_id' => (int) $report_data['author_id'], 'pm_deleted' => 0, 'pm_new' => 0, 'pm_unread' => 0, 'pm_replied' => 0, 'pm_marked' => 0, 'pm_forwarded' => 0, 'folder_id' => PRIVMSGS_INBOX, ); $sql = 'INSERT INTO ' . PRIVMSGS_TO_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary); $db->sql_query($sql); $lang_return = $user->lang['RETURN_PM']; $lang_success = $user->lang['PM_REPORTED_SUCCESS']; $phpbb_notifications->add_notifications('notification.type.report_pm', array_merge($report_data, $row, array( 'report_text' => $report_text, 'from_user_id' => $report_data['author_id'], 'report_id' => $report_id, ))); } meta_refresh(3, $redirect_url); $message = $lang_success . ' ' . sprintf($lang_return, '', ''); if ($return_forum_url) { $message .= ' ' . sprintf($user->lang['RETURN_FORUM'], '', ''); } trigger_error($message); } else if (isset($captcha) && $captcha->is_solved() !== false) { $s_hidden_fields .= build_hidden_fields($captcha->get_hidden_fields()); } } // Generate the reasons display_reasons($reason_id); $page_title = ($pm_id) ? $user->lang['REPORT_MESSAGE'] : $user->lang['REPORT_POST']; if (isset($captcha) && $captcha->is_solved() === false) { $template->assign_vars(array( 'S_CONFIRM_CODE' => true, 'CAPTCHA_TEMPLATE' => $captcha->get_template(), )); } $template->assign_vars(array( 'ERROR' => (sizeof($error)) ? implode(' ', $error) : '', 'S_REPORT_POST' => ($pm_id) ? false : true, 'REPORT_TEXT' => $report_text, 'S_REPORT_ACTION' => append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $post_id . '&pm=' . $pm_id), 'S_HIDDEN_FIELDS' => (sizeof($s_hidden_fields)) ? $s_hidden_fields : null, 'S_NOTIFY' => $user_notify, 'S_CAN_NOTIFY' => ($user->data['is_registered']) ? true : false, 'S_IN_REPORT' => true, )); generate_forum_nav($forum_data); // Start output of page page_header($page_title); $template->set_filenames(array( 'body' => 'report_body.html') ); page_footer();
  5. 我覺得這表示我試出來一個很沒用很膚淺的bug吧{:7_468:} op [a26995061]
  6. 你看不到吧{:7_468:}我確實有打字啊{:7_467:} 我了個草泥馬啊!{:7_459:} 我試出來一個很有趣的東西啊!{:7_464:} 算了還是不要再試下去了{:7_493:}
  7. 我覺得有人看{:7_468:}有人聊天{:7_489:} 有人說話就好{:7_460:}
  8. 恭喜了{:10_645:}但是我為甚麼覺得你會因此減少上網{:10_620:}
  9. 我了個草泥馬啊! <>或()或$打出來了啊 我試試一個東西 [td]100[/td] 200 300 400 500 600 [] [audio]as[/audio] document.write(" Hello World!") document.write("Hello World!") Sorry, your browser does not support JavaScript![p]&X;[/p ]
  10. 版主放心{:7_469:}我沒公布不正常指令{:7_460:} 我覺得像<>或()或$甚麼的打不出去吧?{:7_495:}
  11. 你不用羨慕我現在跟你一個樣{:7_466:}
  12. 首先算一下各種平均值{:7_509:} 5頁話題中一共有3341頁的內容{:7_517:} 平均每個話題有22頁{:7_505:} 一頁大約有十個留言平均60字{:7_502:} 一個漢字兩B{:7_506:} 一頁大約1,171875KB{:7_532:} 一個話題大約26,1015625KB{:7_471:} 一個話題大頁大約261,015625KB{:7_468:} 新手保護區大約184277.0312KB{:7_459:} 那麼就大約179.9580383MB{:7_493:} 如果ss同盟用的是500gb SSD硬盤(個人覺得可能比這大){:7_494:} 我們可以用43479.58272年{:7_465:} 所以說只要我們安守本份地水就沒事{:7_458:} 如果我們用不常用指令去叫服務器自動生成文件的話……{:7_480:} 希望大家不要去嘗試{:7_495:} 反正我不會去試、也不希望別人去試{:7_473:} 希望沒有別人搞破壞{:7_467:} 保持良好論壇環境{:7_486:} 如果對的話可以幫我加加分嗎{:7_468:}
  13. 瑪利亞2日本原版的{:7_506:}朋友說很難然後送我的{:7_528:}
  14. 玩得太多了{:7_510:}你如果要我說我完了什麼{:7_497:} 我都忘了差不多了{:7_505:}
  15. 問題是關卡太多了沒有心情打下去{:7_499:} 加上我比較喜歡打雙人遊戲{:7_533:} 和朋友一起玩無論輸贏都會比較開心快樂{:7_514:} 不怎麼玩過關遊戲{:7_520:}
  16. 其中有三個徽章我是買的{:7_508:}有兩個月限制時間{:7_536:}
  17. 不說一個遊戲的名字原因是{:7_509:} 帶給我歡樂的遊戲太多了{:7_509:} 想當初我紅白機都沒有{:7_508:} 等我有紅白機的時候都出現了100和1的卡帶{:7_506:} 我玩的時候都沒有固定某個遊戲{:7_500:} 所以從來沒有通關{:7_507:} 一直到現在都沒有任何遊戲我是通關過的{:7_508:} 電腦遊戲PSP遊戲NDS遊戲{:7_500:} 可能被瑪利亞2水管工傷害了一座小心靈(本人的){:7_526:} 之前打遊戲卡關了會有一種想砸紅白機的感覺{:7_529:} 然後輸多了就慢慢習慣了{:7_503:} 然後現在變成輸習慣了{:7_527:} 真不知道是歡樂的遊戲經驗還是壞的{:7_518:} 不過那時候輸的挺開心的{:7_523:} @Magn吉瑞
  18. 1.精元突然归0了,可能是什么原因引起的(10分/题;1汁液/题) 孵化蛋 用了搾汁勛章 2.小萌同学被版主扣掉15人品,变成了-15人品 请问应该怎么恢复过来呢?请答出两条(20分/题;2汁液/题) 每週日常任務 發貼际遇 签到 二.选择题(4分/题;2节操/题) 第一题. 123是论坛里的? 你是問gamegame123嗎? 2 第二题. 在绅士游戏区,出现人身攻击或者恶意挑衅,初犯会受到什么惩罚 1.-20节操 2.口头警告一次 3.禁访3个月 4.永久禁言 5.永久禁访 馬上改掉就沒事、如果沒改就1 第三题. 战斗力大于多少时,际遇惩罚加倍 1.50 2.200 3.500 4.1000 5.2000 大于二千 5 第四题. 被警告多少次,会被系统自动禁言 1.1 2.2 3.3 4.4 5.5 3……七天內 第五题. 节操广场发布主题加多少节操 1.1 2.2 3.3 4.5 5.10 3 三.实验题 1.请在回复中设置一首音乐链接,请注意不要自动播放(20分/题,2汁液/题) [audio]http://music.huoxing.com/upload/20121005/1349422409136_1341.mp3[/audio] 2.请在回复中显示一张外链图片(10分/题,2汁液/题) http://ww1.sinaimg.cn/large/517cba0ejw1ez51it3w6og218g0q37o7.gif[/img] 3.请设置一张长头像(见楼主)(20分/题,2汁液/题)
  19. @贝尔芬 @smart8015 我現在不能發消息{:7_509:} 等級不夠{:7_527:} 但是我就想把飲料的名單添加上去{:7_514:} 加上每一個人的酒館故事{:7_507:} 感覺是一個大工程啊{:7_527:}
  20. 本想換幾個勛章玩玩{:7_508:}之後看到有貢獻可點就手賤點了{:7_511:} 之後換汁時又手賤點多了{:7_497:}
×
×
  • 新建...

重要消息

为使您更好地使用该站点,请仔细阅读以下内容: 使用条款