<?php
  //hlavička
  include '../includes/Global.php';
  //TODO: vysvětlivky
  
  

  if ($AdminLevel > 2) { //level 3 
    if (array_key_exists('Type', $_GET)) {
    	$Type = $_GET['Type'];
    } else {
    	$Type = '0';
    }
  
    Echo '<H4>Log:</H4> Filtr: <a href="index.php">Všechno</a>
     <a href="index.php?Type=1" style="color: '.$Color[1].'">Zprávy</a>
     <a href="index.php?Type=2" style="color: '.$Color[2].'">Přidání</a>
     <a href="index.php?Type=3" style="color: '.$Color[3].'">Editování</a>
     <a href="index.php?Type=4" style="color: '.$Color[4].'">Mazání</a>
     <a href="index.php?Type=5" style="color: '.$Color[5].'">Chyby</a>
     <br />
     Struktura: Datum čas: text (ID uživatele)
    <div style="border: 2px dotted rgb(95,45,12);">
<p style="width: 100%; height: 400; overflow: auto;">
    ';
    ReadLog('100',$Type);
    echo '</div>';
  } else {
    include '../includes/FormLogin.php';
  }
  
  //botička (konec)
  ShowFooter();
?>
