<?php
session_start();
if ($_SESSION['type']=="") { header("location:index.php"); exit; }

$_SESSION['vortraege'] = array();
$x = explode("||",str_replace(array("\n","\r"),"",file_get_contents("seminare_vortraege.txt")));
for ($i=0;$i<sizeof($x);$i++)
if (trim($x[$i])!="")
{
 $d = explode("|",utf8_encode(base64_decode($x[$i])));
 if ($d[1]=="v") $_SESSION['vortraege'][] = $d;
}

include("layout.php");
?>