[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-internet/sources/www/se3/se3-internet/ -> config_time.php (source)

   1  <?php
   2  
   3  
   4  /**
   5     * Page pour fixer les plages horaires du squidguard sur le proxy
   6     * @Version $Id: config_time.php 3462 2009-01-08 16:26:38Z misterT $
   7     
   8     * @Projet LCS-SE3
   9     * @auteurs MrT
  10     * @Licence Distribue sous  la licence GPL
  11  */
  12  
  13  /**    
  14      * @Repertoire se3-internet/
  15      * file config_time.php
  16  */    
  17  
  18  
  19  include "Internet.inc.php";
  20  include  "entete.inc.php";
  21  include  "ldap.inc.php";
  22  include  "ihm.inc.php";
  23  
  24  ?>
  25  <script type="text/javascript" src="connexions_plages.js"></script>
  26  <?
  27  
  28  // recuperer les parametres passes par POST
  29  if ($_POST)
  30      extract($_POST);
  31  
  32  if (is_admin("se3_is_admin",$login)=="Y") { 
  33      $role="admin";
  34  } elseif (is_admin("sovajon_is_admin",$login)=="Y") {
  35      $role="prof";
  36  } else {    
  37      $role="eleve";
  38  }
  39  
  40  if ($role =="admin") {
  41  ?>
  42      
  43  <H1>Gestion des acc&#232;s Internet - cr&#233;neaux horaires</H1>
  44  <div id="container"></div>    
  45  <div id="vue" style="position: absolute; left: 60px;"></div>
  46      
  47      
  48  <?
  49  }
  50  include ("pdp2.inc.php");
  51  ?>
  52  


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1