📄 plugin_rss.inc.php
字号:
<?php// -----------------------------------------------------------------------// This file is part of AROUNDMe// // Copyright (C) 2003-2007 Barnraiser// http://www.barnraiser.org/// info@barnraiser.org// // 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, either version 3 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; see the file COPYING.txt. If not, see// <http://www.gnu.org/licenses/>// -----------------------------------------------------------------------$plugin_rss_queries['forum'] = " SELECT 'forum' as 'plugin_name', s.subject_id as item_id, s.subject_title as title, s.subject_body as description, s.subject_create_datetime as datetime, s.webspace_id, s.webpage_id FROM " . $db->prefix . "_plugin_forum s WHERE s.webspace_id=" . $output_webspace['webspace_id'];$plugin_rss_comment_queries['forum'] = " SELECT co.comment_id, co.plugin_name, co.plugin_item_id as item_id, s.subject_title as title, co.comment_body as description, co.comment_create_datetime as datetime, co.webspace_id, co.webpage_id FROM " . $db->prefix . "_comment co, " . $db->prefix . "_plugin_forum s WHERE co.webspace_id=s.webspace_id AND co.plugin_item_id=s.subject_id AND co.webspace_id=" . $output_webspace['webspace_id'];function am_plugin_forum_getRSSLink ($item_id, $webpage_id, $webspace_id) { return 'index.php?ws=' . $webspace_id . '&wp=' . $webpage_id . '&subject_id=' . $item_id;}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -