getFolder('files'); $sql = e107::getDb(); $path = e_PLUGIN_ABS."rss_menu/"; include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php"); $des = ""; $topic = ""; if(strstr(e_SELF, "comment.php") && $sql -> db_Select("rss", "rss_path", " rss_path = 'comments' LIMIT 1")) { $type = 5; $des = RSS_MENU_L4; } if(strstr(e_SELF, "/forum")&& $sql -> db_Select("rss", "rss_path", " rss_path = 'forum|name' LIMIT 1") ) { $type = 6; $des = RSS_MENU_L5; } if(strstr(e_SELF, "forum_viewtopic") && $sql -> db_Select("rss", "rss_path", " rss_path = 'forum|topic' LIMIT 1")) { $type = 7; $des = RSS_MENU_L6; } if(strstr(e_SELF, "chat.php")&& $sql -> db_Select("rss", "rss_path", " rss_path = 'chatbox_menu' LIMIT 1")) { $type = 9; $des = RSS_MENU_L7; } if(strstr(e_SELF, "/bugtracker")) { $type = 10; $des = RSS_MENU_L8; } if(strstr(e_SELF, "download.php") && $sql -> db_Select("rss", "rss_path", " rss_path = 'download' LIMIT 1")) { $type = 12; $des = RSS_MENU_L9; } if(!$des) { $type = 1; $des = RSS_MENU_L3; } if(e_PAGE == "news.php" && e107::getPref('rss_newscats')) { $qry = explode(".",e_QUERY); if($qry[0] == "cat" || $qry[0] == "list") { $topic = intval($qry[1]); } } $text = "
"; // Deprecated - can be controlled within tablestyle (theme) - case mod == 'rss_menu' //$caption = (file_exists(THEME."images/RSS_menu.png") ? "