} else { ?> <p class="buttons"><a href="?removeoutdateddownloads&XSRFToken=<?php echo getXSRFToken('removeoutdateddownloads'); ?> "><?php echo gettext('Clear outdated downloads from database'); ?> </a></p> <p class="buttons"><a href="?removealldownloads&XSRFToken=<?php echo getXSRFToken('removealldownloads'); ?> "><?php echo gettext('Clear all downloads from database'); ?> </a></p><br class="clearall" /> <br class="clearall" /><br /> <?php printBarGraph(); } ?> </div> </div><!-- content --> <?php printAdminFooter(); ?> </div><!-- main --> </body> <?php echo "</html>";
printBarGraph("mostrated", "news", $from_number, $to_number); break; case "toprated": printBarGraph("toprated", "news", $from_number, $to_number); break; } } break; case "newscategories": if (getOption('zp_plugin_zenpage')) { switch ($_GET['stats']) { case "popular": printBarGraph("popular", "newscategories", $from_number, $to_number); break; case "mostused": printBarGraph("mostused", "newscategories", $from_number, $to_number); break; } } break; } // main switch end echo "<a href='#top'>" . gettext("Back to top") . "</a>"; } // main if end ?> </div><!-- content --> <?php printAdminFooter(); ?> </div><!-- main -->
case "images": switch ($_GET['stats']) { case "latest": printBarGraph("latest", "images", $from_number, $to_number); break; case "popular": printBarGraph("popular", "images", $from_number, $to_number); break; case "mostrated": printBarGraph("mostrated", "images", $from_number, $to_number); break; case "toprated": printBarGraph("toprated", "images", $from_number, $to_number); break; case "mostcommented": printBarGraph("mostcommented", "images", $from_number, $to_number); break; } break; } // main switch end echo "<a href='#top'>" . gettext("Back to top") . "</a>"; } // main if end ?> </div><!-- content --> <?php printAdminFooter(); ?> </div><!-- main --> </body>