Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?PHP
  2. require_once('lib/dashboard.php');
  3. require_once('lib/account.php');
  4. require_once('lib/profiler.php');
  5. define('TITLE', 'Account overview');
  6. if (HAS_HOSTING) {
  7. addDashboardItem('Useful links', 'Add a new site', 'addsite');
  8. addDashboardItem('Useful links', 'phpMyAdmin', 'phpMyAdmin');
  9. addDashboardItem('Useful links', 'Historic bandwidth/hdd usage', 'history');
  10. }
  11. if (HAS_DNS) {
  12. addDashboardItem('Useful links', 'DNS control panel', 'dns');
  13. }
  14. addDashboardItem('Useful links', 'View or raise tickets', 'tickets');
  15. addDashboardItem('Useful links', 'Support section', 'support');
  16. if (HAS_HOSTING) {
  17. addDashboardItem('Frequently asked questions', 'What do I do if my site isn\'t working?', 'support/002');
  18. addDashboardItem('Frequently asked questions', 'What does KiB/MiB/GiB mean?', 'support/003');
  19. addDashboardItem('Frequently asked questions', 'How do I configure PHP for my site?', 'support/001');
  20. }
  21. addDashboardItem('Frequently asked questions', 'How do I pay outstanding invoices?', 'support/008');
  22. require_once('lib/header.php');
  23. require_once('pages/announcements.php');
  24. require_once('pages/ticketoverview.php');
  25. require_once('pages/supsearch.php');
  26. require_once('lib/footer.php');
  27. ?>