PruneNews(); break; case "export": NewsExport(); break; case "launchexport": LaunchExport(); break; case "configurenewsletter": Newsletter(); break; case "launchnewsletter": LaunchNewsletter(); break; case "stats": Stats(); break; case "default": default: xoops_cp_header(); adminmenu(-1); if (!TableExists($xoopsDB->prefix('stories_votedata')) || !TableExists($xoopsDB->prefix('stories_files'))) { echo "<div align='center'>" . _AM_NEWS_PLEASE_UPGRADE . "</div><br/><br />"; } echo "<h4>" . _AM_CONFIG . "</h4>"; echo "<table width='100%' border='0' cellspacing='1' class='outer'><tr><td class=\"odd\">"; echo " - <b><a href='index.php?op=topicsmanager'>" . _AM_TOPICSMNGR . "</a></b>"; echo "<br /><br />\n"; echo " - <b><a href='index.php?op=newarticle'>" . _AM_PEARTICLES . "</a></b>\n"; echo "<br /><br />\n"; echo " - <b><a href='groupperms.php'>" . _AM_GROUPPERM . "</a></b>\n";
} if ($month == 9) { echo "" . _SEPTEMBER . ""; } if ($month == 10) { echo "" . _OCTOBER . ""; } if ($month == 11) { echo "" . _NOVEMBER . ""; } if ($month == 12) { echo "" . _DECEMBER . ""; } } switch ($op) { default: Stats_Main(); break; case "Stats": Stats($total); break; case "YearlyStats": YearlyStats($year); break; case "MonthlyStats": MonthlyStats($year, $month); break; case "DailyStats": DailyStats($year, $month, $date); break; }