<?php
session_start();
$admin = $_SESSION["admin"];
?>
<html>
<head>
   <title>Servicios Interactivos </title>
   <link rel="shortcut icon" href="logo.ico">
   <link type="text/css" rel="stylesheet" href="styles/materialize.css" media="screen,projection"> 
<!--	<link type="text/css" rel="stylesheet" href="styles/font-awesome.min.css"  media="screen,projection"/> -->
   <link type="text/css" rel="stylesheet" href="styles/animate.css"  media="screen,projection"/>
   <link type="text/css" rel="stylesheet" href="styles/styles.css"  media="screen,projection"/> 
   <script language="Javascript" src="./Charts/FusionCharts.js"></script>
</head>
<body>
<style>
nav ul a:hover,
nav ul a {
  color: black;
}
nav ul a:hover {
  background-color: #cfd8dc;
 /* color: white; */
}
table.highlight > tbody > tr:hover  {
   background-color: #cfd8dc;
}
td {
   border-radius: 0;
}
</style>	
   <ul id="source-dropdown" class="dropdown-content nav-dropdown" >
      <li><a href="diario.php">Llamados por Dia</a></li>
<!--      <li><a href="operadora.php">Llamados por Operadora</a></li> -->
      <li><a href="mensual.php">Liquidacion Mensual</a></li>
      <li><a href="graficos.php">Graficos</a></li>
   </ul>
   <nav id="nav" style="background-color: #f4f4f4; margin-top: 20px; box-shadow: none;">
      <div class="container" >
         <div class="nav-wrapper darken-3-5"><span style="color: gray; font-size: 1.9em;">Servicios Interactivos<span>
            <ul id="nav-mobile" class="right" >
<?php
               if( $admin == true ) {
                  echo "<li><a href='panel.php'>Panel</a></li>";
                  echo "<li><a href='llamados.php'>Llamados</a></li>";
               }
?>
               <li><a class="dropdown-button" href="#!" data-activates="source-dropdown" data-beloworigin="true" data-hover="true">Asteriscos<i class="mdi-navigation-arrow-drop-down right"></i></a></li>
               <li><a href='logout.php'>Salir</a></li> 
               <li><a href="#!" id="toggle-search"><i class="large mdi-action-search"></i></a></li>
            </ul>
            <a class="button-collapse" href="#" data-activates="nav-mobile"><i class="mdi-navigation-menu"></i></a>
         </div>
      </div>
   </nav>
   <div class="row white-text grey darken-3" id="search">
      <div class="container">
         <form action="https://www.google.com/search" method="get">
            <input class="form-control" type="text" name="q" placeholder="Search ...">
            <input type="hidden" name="as_sitesearch" value="makoframework.com">
         </form>
      </div>
   </div>
