選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

footer.inc.php 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /* Poweradmin, a friendly web-based admin tool for PowerDNS.
  3. * See <http://www.poweradmin.org> for more details.
  4. *
  5. * Copyright 2007-2009 Rejo Zenger <rejo@zenger.nl>
  6. * Copyright 2010-2014 Poweradmin Development Team
  7. * <http://www.poweradmin.org/credits.html>
  8. *
  9. * This program is free software: you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation, either version 3 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. */
  22. /**
  23. * Web interface footer
  24. *
  25. * @package Poweradmin
  26. * @copyright 2007-2010 Rejo Zenger <rejo@zenger.nl>
  27. * @copyright 2010-2014 Poweradmin Development Team
  28. * @license http://opensource.org/licenses/GPL-3.0 GPL
  29. */
  30. include_once('version.inc.php');
  31. global $db;
  32. if (is_object($db)) {
  33. $db->disconnect();
  34. }
  35. ?>
  36. </div> <!-- /content -->
  37. <div class="footer">
  38. <a href="http://www.poweradmin.org/">a complete(r) <strong>poweradmin</strong><?php
  39. if (isset($_SESSION["userid"])) {
  40. echo " v $VERSION";
  41. }
  42. ?></a> - <a href="http://www.poweradmin.org/credits.html">credits</a>
  43. </div>
  44. <?php
  45. if (file_exists('inc/custom_footer.inc.php')) {
  46. include('inc/custom_footer.inc.php');
  47. }
  48. ?>
  49. </body>
  50. </html>
  51. <?php
  52. if (isset($db_debug) && $db_debug == true) {
  53. $debug = $db->getDebugOutput();
  54. $debug = str_replace("query(1)", "", $debug);
  55. $lines = explode(":", $debug);
  56. foreach ($lines as $line) {
  57. echo "$line<br>";
  58. }
  59. }
  60. ?>
  61. <?php
  62. global $display_stats;
  63. if ($display_stats)
  64. display_current_stats();