<?php
  include("./inc/func.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta http-equiv="refresh" content="1;URL=?cas=<?php echo time(); ?>">
    <style>
      <!--
      
      body  {margin: 0px; font-family: Arial; background-color: #f0f0f6;}
            
      .levy_panel {width: 100px;}
        .levy_panel div {font-size: 12px; margin-bottom: 13px; }
        .levy_panel div span {background-color: #ccd9f4; font-weight: bold; font-style: italic; display: block; font-size: 10px;}

      -->
    </style>
</head>
<body>
<div class="levy_panel">
  <div>
    <span> vzdálený čas:
    </span>
    <?php echo ((uloziste("cas"))?Date("H:i:s", uloziste("cas")):""); ?>
  </div>
  <div>
    <span> IP PC:
    </span>
    <?php echo uloziste("LOCAL_IP"); ?>
    <br>
    (<?php echo uloziste("LOCAL_JMENO"); ?>)
    <br>
    <span> IP NAT:
    </span>
    <?php echo uloziste("IP"); ?>
    <br>
    (<?php echo uloziste("JMENO"); ?>)
  </div>
  <div style="height: 41px;">
    <span> OS:
    </span>
    <?php echo uloziste("OS"); ?>
  </div>
  <div style="height: 26px;">
    <span> rozlišení/hloubka:
    </span>
    <?php echo uloziste("ROZLISENI"); ?>
  </div>
  <div>
    <span> volná/celková RAM:
    </span>
    <?php echo uloziste("PAMET"); ?> MB
  </div>
  <div style="position: relative; top: 0px; margin-bottom: 5px;">
    <span> CPU:
    </span>
    <?php $procesor=uloziste("CPU"); echo $procesor; ?> %
    <div style="font-size: 0px; height: 5px; width: <?php echo $procesor; ?>px; background-color: #5a82f7; position: absolute; top: 26px; left: 0px;"></div>
    <div style="font-size: 0px; height: 5px; width: <?php echo 100-$procesor; ?>px; background-color: #45ce5f; position: absolute; top: 26px; right: 0px;"></div>
  </div>
</div>
</body>
</html>
