foreach($_DCACHE['forums'] as $fid => $forum) { $forumfup = $_DCACHE['forums'][$forum['fup']]; if($forum['type'] == 'forum') { $forums[$fid] = $_DCACHE['forums'][$forum['fup']]['name'].' » '.$forum['name']; } elseif($forum['type'] == 'sub') { $forums[$fid] = $_DCACHE['forums'][$forumfup['fup']]['name'].' » '.$_DCACHE['forums'][$forum['fup']]['name'].' » '.$forum['name']; } } if($discuz_uid) { $query = $db->query("SELECT fid FROM {$tablepre}favorites WHERE uid='$discuz_uid' AND fid>0"); while($fav = $db->fetch_array($query)) { $myfavfids[] = $fav['fid']; } } foreach($myfavfids as $fid) { $forum = $_DCACHE['forums'][$fid]; $forumfup = $_DCACHE['forums'][$forum['fup']]; if($forum['type'] == 'forum') { $myfavorites[$fid] = $_DCACHE['forums'][$forum['fup']]['name'].' » '.$forum['name']; } elseif ($forum['type'] == 'sub') { $myfavorites[$fid] = $_DCACHE['forums'][$forumfup['fup']]['name'].' » '.$_DCACHE['forums'][$forum['fup']]['name'].' » '.$forum['name']; } } include plugintemplate('ie8_submit'); ?>
"<os:openServiceDescription xmlns:os=\"http://www.microsoft.com/schemas/openservicedescription/1.0\">\n". "<os:homepageUrl>$boardurl</os:homepageUrl>\n". "<os:display>\n". "<os:name>$ie8_acc_name</os:name>\n". ($ie8_acc_icon ? "<os:icon>$boardurl$ie8_acc_icon</os:icon>\n" : ''). ($ie8_acc_description ? "<os:description>$ie8_acc_description</os:description>\n" : ''). "</os:display>\n". "<os:activity category=\"$ie8_acc_category\">\n". "<os:activityAction context=\"selection\">\n". "<os:execute method=\"post\" action=\"{$boardurl}plugin.php?id=$identifier:submit\">\n". "<os:parameter name=\"selection\" value=\"{selection}\" type=\"text\" />\n". "</os:execute>\n". "</os:activityAction>\n". "</os:activity>\n". "</os:openServiceDescription>"; ob_end_clean(); ob_start(); header("Expires: -1"); header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", false); header("Pragma: no-cache"); header('Content-Encoding: none'); header("Content-type: application/xml; charset=".$charset); echo $xml; exit; } else { $navtitle = $name.' - '; include plugintemplate('ie8_install'); } ?>