<?php

ini_set('display_errors', true);
error_reporting(E_ALL);
include_once './TaffaAPI.class.php';
$TaffaAPI = new TaffaAPI(@$_GET['lang']);
?>
<!DOCTYPE html>
<html>
  <head>
  <title>Hej TF</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href='https://fonts.googleapis.com/css?family=Old+Standard+TT:400,400italic,700' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="style.css">
  </head>
  <body>
      <h1>Hej TF</h1>
      <div>
          <ul>
              <li>
                  ATM
                  <?php 
echo $TaffaAPI->getAtTheMoment();
?>
              </li>
              <li>
                  Yesterday
                  <?php 
#echo $TaffaAPI->getYesterday();
echo 'Unimplemented.';
<?php

ini_set('display_errors', true);
error_reporting(E_ALL);
date_default_timezone_set('Europe/Helsinki');
include_once './TaffaAPI.class.php';
$TaffaAPI = new TaffaAPI(@$_GET['lang']);
?>
<!DOCTYPE html>
<html>
<head>
  <title>Hej TF</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="css/foundation.css">
  <link rel="stylesheet" href="css/normalize.css">

  <link rel="stylesheet" type="text/css" href="style.css">

</head>
<body>
  <nav class="top-bar" data-topbar role="navigation">
    <ul class="title-area">
      <li class="name">
        <!-- The top bar will be misaligned if the title is removed: https://github.com/zurb/foundation/issues/918"-->
        <h1><a href="#">Teknologföreningen</a></h1>
      </li>
      <!-- Adds the menu icon without any text-->
      <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
    </ul>
<?php

ini_set('display_errors', true);
error_reporting(E_ALL);
date_default_timezone_set('Europe/Helsinki');
include_once './TaffaAPI.class.php';
$TaffaAPI = new TaffaAPI(@$_GET['lang']);
$translations = array("sv" => array("about" => "Om Teknologföreningen", "member" => "Medlemsportal", "abi" => "Abiturienter", "alumni" => "StÄlMar", "coop" => "Samarbete", "taffaAB" => "Täffä AB", "taffaAB_desc" => "Beställningsrestaurang", "taffa" => "Täffä", "taffa_desc" => "Lunchrestaurang", "taffa_url" => "https://about.teknologforeningen.fi/index.php/sv/dagsrestaurangen", "traffpunkt" => "Träffpunkt Aalto", "traffpunkt_desc" => "Visionsprojektet", "mon-thu" => "Mån - Tors", "fri" => "Fre"), "en" => array("about" => "About Teknologföreningen", "member" => "", "abi" => "", "alumni" => "", "coop" => "Cooperation", "taffaAB" => "Täffä AB", "taffaAB_desc" => "Catering restaurant", "taffa" => "Täffä", "taffa_desc" => "Lunch restaurant", "taffa_url" => "https://about.teknologforeningen.fi/index.php/en/lunch-restaurant", "traffpunkt" => "Träffpunkt Aalto", "traffpunkt_desc" => "Vision project", "mon-thu" => "Mon - Thu", "fri" => "Fri"), "fi" => array("about" => "Teknologföreningenistä", "member" => "", "abi" => "", "alumni" => "", "coop" => "Yhteistyö & rekry", "taffaAB" => "Täffä AB", "taffaAB_desc" => "Tilausravintola", "taffa" => "Täffä", "taffa_desc" => "Lounasravintola", "taffa_url" => "https://about.teknologforeningen.fi/index.php/fi/teekkariravintola", "traffpunkt" => "Träffpunkt Aalto", "traffpunkt_desc" => "Visio-projekti", "mon-thu" => "Ma - To", "fri" => "Pe"));
if (isset($_GET['lang'])) {
    $lang = $_GET['lang'];
} else {
    $lang = "sv";
}
if ($lang != "sv" && $lang != "en" && $lang != "fi") {
    $lang = "sv";
}
?>
<!DOCTYPE html>
<html>
<head>
  <title>Teknologföreningen</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Favicons generated using http://realfavicongenerator.net highly recommended to use if these change -->
  <link rel="apple-touch-icon" sizes="57x57" href="ico/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="60x60" href="ico/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="72x72" href="ico/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="76x76" href="ico/apple-touch-icon-76x76.png">
  <link rel="icon" type="image/png" href="ico/favicon-32x32.png" sizes="32x32">
  <link rel="icon" type="image/png" href="ico/favicon-16x16.png" sizes="16x16">