Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
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 514B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * Project Teknik - By Chris Woodward
  4. * Integration of all my services under one roof.
  5. * Maybe awesome?
  6. */
  7. require_once('../includes/config.php');
  8. $error_page = "404";
  9. if (isset($_GET['error']))
  10. {
  11. if (file_exists(safe($_GET['error']).'.php'))
  12. {
  13. $error_page = safe($_GET['error']);
  14. }
  15. }
  16. include('../templates/'.$CONF['template'].'/header.php');
  17. set_page_title("Teknik - ".$error_page);
  18. include($error_page.'.php');
  19. include('../templates/'.$CONF['template'].'/footer.php');
  20. ?>