blog 1 blog.rss_group_name_1 1 blog 1 blog.rss_title_1 blog.rss_description_1 blog 1 1 get(array('AND blog.is_approved = 1 AND blog.privacy = 1 AND blog.post_status = 1'), 'blog.time_stamp DESC', 0, Phpfox::getParam('rss.total_rss_display')); foreach ($aRows as $iKey => $aRow) { $aRows[$iKey]['description'] = $aRow['text']; $aRows[$iKey]['link'] = Phpfox::itemUrl('blog', $aRow['title_url'], $aRow['user_name']); $aRows[$iKey]['creator'] = $aRow['full_name']; }]]> blog 1 blog.rss_title_2 blog.rss_description_2 blog.category.{TITLE_URL} 1 0 database()->select('category_id, name, name_url') ->from(Phpfox::getT('blog_category')) ->where('user_id = 0') ->execute('getSlaveRows'); if (count($aCategories)) { foreach ($aCategories as $aCategory) { $aRow['child'][Phpfox::getLib('phpfox.url')->makeUrl('rss', array('id' => $aRow['feed_id'], 'category' => $aCategory['name_url']))] = $aCategory['name']; } }]]> getBlogsByCategory(Phpfox::getLib('phpfox.request')->get('category'), 0, array('AND blog.is_approved = 1 AND blog.privacy = 1 AND blog.post_status = 1'), 'blog.time_stamp DESC', 0, Phpfox::getParam('rss.total_rss_display')); foreach ($aRows as $iKey => $aRow) { $aRows[$iKey]['description'] = $aRow['text']; $aRows[$iKey]['link'] = Phpfox::itemUrl('blog', $aRow['title_url'], $aRow['user_name']); $aRows[$iKey]['creator'] = $aRow['full_name']; } if (isset($aRows[0])) { $aFeed['feed_link'] = str_replace('{TITLE_URL}', $aRows[0]['category_name_url'], $aFeed['feed_link']); $sDescription = str_replace('{CATEGORY}', $aRows[0]['category_name'], $sDescription); }]]> new.html.php