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.
 
 
 
 
 
 

28 lines
976 B

  1. <?php
  2. ini_set('display_errors', 1);
  3. ini_set('display_startup_errors', 1);
  4. error_reporting(E_ALL);
  5. date_default_timezone_set('America/Argentina/Buenos_Aires');
  6. $page = basename($_SERVER['PHP_SELF']);
  7. $configs = include('Config.php');
  8. $lang = $configs->lang;
  9. include_once('language/' . $lang . '.php');
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  16. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  17. <link rel="stylesheet" type="text/css" href="style.css">
  18. <title><?= isset($PageTitle) ? $PageTitle : "Raspberry NOAA"?></title>
  19. </head>
  20. <body>
  21. <div class="topnav">
  22. <a class="<?php if($page == 'passes.php'){ echo ' active"';}?>" href="passes.php"><?php echo $lang['passes']; ?></a>
  23. <a class="<?php if($page == 'index.php' || $page == 'detail.php'){ echo ' active"';}?>" href="index.php"><?php echo $lang['images']; ?></a>
  24. </div>
  25. <div class="container">