$OrderReq = "NomE desc";
            break;
        case 'NAsc':
        default:
            $slx = 'NAsc';
            $OrderReq = "NomE asc";
    }
    $ReqSoc = $ConnectStages->query("SELECT * FROM {$NomTabEntreprises} ORDER BY " . $OrderReq);
    $URL_ListSoc = '?Trait=List&SlxTable=' . $NomTabEntreprises . '&slx=' . ($slx == 'NAsc' ? 'NDesc' : 'NAsc');
    $QuelOrdreSoc = 'Ordre ' . ($slx == 'NAsc' ? 'de' : '') . 'croissant';
    $GifOrderSoc = $slx == 'NAsc' ? 'arrow_drop_down' : 'arrow_drop_up';
    $URL_AffichSoc = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Affich&SlxTable=' . $NomTabEntreprises . '&IdentPK=';
    $URL_FormSoc = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Form&SlxTable=' . $NomTabEntreprises . '&IdentPK=';
    $URL_DelSoc = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Del&SlxTable=' . $NomTabEntreprises . '&IdentPK=';
    $DroitDel = GetDroits($Status, 'DelEntreprise');
    $DroitModif = GetDroits($Status, 'ModifEntreprise');
    $NbCol = 3 + ($DroitModif ? 1 : 0) + ($DroitDel ? 1 : 0);
    $Title = 'Liste des entreprises';
    ?>
<span class="card-title"><h4 class="center"><?php 
    echo $Title;
    ?>
</h4></span>

                                                                          <?php 
    if (!$ReqSoc->rowCount()) {
        ?>
<h5 class="center">
    Aucun stage n'a été trouvé.
</h5>
                                                                          <?php 
Ejemplo n.º 2
0
                                                                           <?php 
        if (GetDroits($Status, 'ListeNewInscripts')) {
            ?>

            <ul><li><span><a class="hover-bleu" href="<?php 
            echo $URL_List . $NomTabMailsToSend;
            ?>
">
                Liste des mails à envoyer aux nouveaux inscrits
			</a></span></li></ul>
        
                                                                           <?php 
        }
        ?>
                                                                           <?php 
        if (GetDroits($Status, 'Mailing')) {
            ?>
    <hr width="100%">
    	<ul><li><span><a class="hover-bleu" href="?Trait=Mailing&SsStep=LstTuteursWithMails">
            Liste des tuteurs d'entreprise ayant un mail</a></span></li>
        <li><span><a class="hover-bleu" href="?Trait=Mailing&SsStep=LstSocsWithMails">
            Liste des entreprises sans tuteur ou avec tuteur sans mail, mais responsable ayant un mail</a></span></li>
        <li><span><a class="hover-bleu" href="?Trait=Mailing&SsStep=LstAllWithoutMails">
            Liste des entreprises sans aucun contact par mail</a></span></li></ul>

        <hr width="100%">
    	<ul><li><span><a class="hover-bleu" href="?Trait=Mailing&SsStep=LstEnseignants">
            Liste des enseignants</a></span></li>
        
        <li><span><a class="hover-bleu" href="?Trait=Mailing&SsStep=LstEtudiants1A">
            Liste des étudiants de 1<sup>ère</sup> année</a></span></li></ul>
        echo $ValPK_Entreprise;
        ?>
</p>
                                </div>
                            </div>
                            <?php 
    }
    ?>
                        <div class="row">
                            <div class="input-field col s12">
                            <label for="NomE"><b><?php 
    echo $ValidNomE;
    ?>
Raison sociale</b></label>
                                <?php 
    if ($StepConsult == 'InitNew' || GetDroits($Status, 'ModifEntreprise')) {
        ?>
                                    <input name="NomE" size="50" id="NomE" type="text" class="validate" value="<?php 
        echo $ValNomE;
        ?>
">
                                    <?php 
    } else {
        ?>
                                    <?php 
        echo $ValNomE;
        ?>
                                    <input name="NomE" size="50" id="NomE" type="text" class="validate" value="<?php 
        echo $ValNomE;
        ?>
">
Ejemplo n.º 4
0
         break;
     case 'NomEDesc':
     default:
         $Slx = 'NomEDesc';
         $URL_ListNomE .= 'NomEAsc';
 }
 $QuelOrdreNomE = 'Ordre ' . ($Slx == 'NomEAsc' ? 'dé' : '') . 'croissant';
 $GifOrderNomE = $Slx == 'NomEDesc' ? 'arrow_drop_down' : 'arrow_drop_up';
 $URL_AffichStage = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Affich&SlxTable=' . $NomTabStages . '&IdentPK=';
 $URL_FormStage = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Form&SlxTable=' . $NomTabStages . '&IdentPK=';
 $URL_AffichSoc = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Affich&SlxTable=' . $NomTabEntreprises . '&IdentPK=';
 $URL_DelStage = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Del&SlxTable=' . $NomTabStages . '&IdentPK=';
 $DroitDel = GetDroits($Status, 'DelStage');
 $DroitModif = GetDroits($Status, 'ModifStage');
 $DroitAffectStageEtud = GetDroits($Status, 'AffectStageEtud');
 $DroitStagesNonPourvus = GetDroits($Status, 'ListeFichesStagesNonPourvus');
 $NbCol = 4 + ($DroitAffectStageEtud ? 1 : 0) + ($DroitModif ? 1 : 0) + ($DroitDel ? 1 : 0);
 if ($Status == TUTEUR) {
     //        $ReqStages = $ConnectStages->prepare("SELECT *
     //                                 FROM $NomTabStages S, $NomTabEntreprises E
     //                                 WHERE S.FK_Entreprise = E.PK_Entreprise
     //                                   AND E.PK_Entreprise = :EntrepriseUser
     //                                 ORDER BY ".$OrderReq);
     $ReqStages = $ConnectStages->prepare("SELECT *\n                                 FROM {$NomTabStages} S, {$NomTabEntreprises} E\n                                 WHERE S.FK_Entreprise = E.PK_Entreprise\n                                   AND E.PK_Entreprise = :EntrepriseUser\n                                 ORDER BY " . $OrderReq);
     $ReqStages->bindValue(':EntrepriseUser', $FK_EntrepriseUser, PDO::PARAM_INT);
     $ReqStages->execute();
 } else {
     if ($Status == ETUD2) {
         //        $ReqStages = $ConnectStages->query("SELECT *
         //                                 FROM $NomTabStages S, $NomTabEntreprises E
         //                                 WHERE S.FK_Entreprise = E.PK_Entreprise
<?php

if ($CleOK == '069b9247591948b71d303ac66371bf0b') {
    $ReqNewInscripts = $ConnectStages->query("SELECT * FROM {$NomTabNewInscripts} \n\t                               ORDER BY PK_NewInscript");
    $URL_Form = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Form&SlxTable=' . $NomTabNewInscripts;
    $URL_Del = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Del&SlxTable=' . $NomTabNewInscripts;
    $DroitEnreg = GetDroits($Status, 'EnregNewInscript');
    $DroitDel = GetDroits($Status, 'DelNewInscript');
    $NbCol = 2 + ($DroitEnreg ? 1 : 0) + ($DroitDel ? 1 : 0);
    $Title = 'Liste des nouvelles inscriptions';
    ?>
<span class="card-title"><h4 class="center"><?php 
    echo $Title;
    ?>
</h4></span>
                                                                          <?php 
    if (!$ReqNewInscripts->rowCount()) {
        ?>
<h5 class="center">
    Aucun stage n'a été trouvé.
</h5>
                                                                          <?php 
    } else {
        ?>
<table  class="highlight bordered centered grey lighten-5">
  <thead class="grey white-text">
                                                                          <?php 
        if ($DroitEnreg) {
            ?>
                    <th>&nbsp;</th>
                                                                          <?php 
Ejemplo n.º 6
0
        echo $ValSiteEntreprise;
        ?>
				</a>
			</td>
		</tr>
<?php 
    }
    ?>
		</tbody>
	</table>

	<br/>
		<p class="center">
		<button type="reset" class="waves-effect waves-light btn black white-text" onClick="history.back()">Retour</button>
<?php 
    if (GetDroits($Status, 'ModifEntreprise')) {
        ?>
		<button type="submit" class="waves-effect waves-light btn bleu1 white-text" onClick="window.location='BackOffice.php?Trait=Form&SlxTable=<?php 
        echo $NomTabEntreprises;
        ?>
&IdentPK=<?php 
        echo $ValPK_Entreprise;
        ?>
'">Modifier</button>
		</p>
<?php 
    }
    ?>

<?php 
} else {
Ejemplo n.º 7
0
    ?>
" 
			   title="Imprimer"
			   target="_blank"
		       onMouseOver="window.status='Imprimer'; return true"
               onMouseOut ="window.status=''; return true"
                ><img src="<?php 
    echo $PATH_GIFS;
    ?>
PrintCourant.gif" border="0">
</a>
</div>
<div class="col s11 center">
<button type="reset" class="waves-effect waves-light btn black white-text" onClick="history.go()">Retour</button>
	<?php 
    if (GetDroits($Status, 'ModifStage')) {
        ?>
<button type="reset" class="waves-effect waves-light btn bleu1 white-text" onClick="window.location='?Trait=Form&SlxTable=<?php 
        echo $NomTabStages;
        ?>
&IdentPK=<?php 
        echo $ObjStage->GetPK_Stage();
        ?>
'">Modifier</button>




                                                                       <?php 
    }
} else {
Ejemplo n.º 8
0
        echo $ValidLogin;
        ?>
Nouveau login</b></label>
                                </div>
                            
                            <?php 
    } else {
        $pull = "pull-l6";
        ?>
                                <input type="hidden" name="Login" value="<?php 
        echo $ValLogin;
        ?>
">
                                <?php 
    }
    if ($StepConsult == 'InitNew' || GetDroits($Status, 'ModifUser')) {
        ?>
                            
                                <div class="input-field col l6 m6 s12">
                                    <select class="browser-default" name="StatusUser">
                                        <?php 
        while ($ObjStatus = $ReqStatus->fetch()) {
            ?>
                                            <option value="<?php 
            echo $ObjStatus['Code'];
            ?>
"
                                                <?php 
            echo $ObjStatus['Code'] == $ValStatus ? 'selected' : '';
            ?>
>
Ejemplo n.º 9
0
        if (GetDroits($Status, 'ListeDetailsEntreprises')) {
            include $PATH_BACKOFFICE . 'ListeDetailsEntreprises.php';
        }
        break;
    case 'AffectStageEtud':
        if (GetDroits($Status, 'AffectStageEtud')) {
            include $PATH_BACKOFFICE . 'AffectStageEtud.php';
        }
        break;
    case 'ListeEtudAvecStage':
        if (GetDroits($Status, 'ListeEtudAvecStage')) {
            include $PATH_BACKOFFICE . 'ListeEtudAvecStage.php';
        }
        break;
    case 'ListeEtudSansStage':
        if (GetDroits($Status, 'ListeEtudSansStage')) {
            include $PATH_BACKOFFICE . 'ListeEtudSansStage.php';
        }
        break;
        //      case 'EtiqEntreprises0708AvecStagiaire' :
        //        if (GetDroits ($Status, 'EtiqEntreprises0708AvecStagiaire'))
        //            include ($PATH_BACKOFFICE.'EtiqEntreprises0708AvecStagiaire.php');
        //        break;
    //      case 'EtiqEntreprises0708AvecStagiaire' :
    //        if (GetDroits ($Status, 'EtiqEntreprises0708AvecStagiaire'))
    //            include ($PATH_BACKOFFICE.'EtiqEntreprises0708AvecStagiaire.php');
    //        break;
    default:
        redirect($URL_SITE);
        break;
}
Ejemplo n.º 10
0
function Consult($Login, $Libelle, $Status)
{
    global $PATH_BACKOFFICE, $PATH_GENERAL, $URL_SITE, $PATH_PHP;
    global $NomTabUsers, $NomTabStages, $NomTabStatus, $NomTabEntreprises, $NomTabNewInscripts, $NomTabMailsToSend;
    $URL_List = $PATH_BACKOFFICE . 'BackOffice.php?Trait=List&SlxTable=';
    $URL_Form = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Form&SlxTable=';
    $URL_Affich = $PATH_BACKOFFICE . 'BackOffice.php?Trait=Affich&SlxTable=';
    $URL_AccesRapideSoc = $PATH_BACKOFFICE . 'BackOffice.php?Trait=AccesRapideSoc';
    $URL_BackOffice = $PATH_BACKOFFICE . 'BackOffice.php?Trait=BackOffice';
    foreach ($_GET as $clef => $valeur) {
        ${$clef} = $valeur;
    }
    foreach ($_POST as $clef => $valeur) {
        ${$clef} = $valeur;
    }
    if (!isset($Step)) {
        $Step = 'Accueil';
    }
    /* * / CloseSessionAndRedirect ($URL_SITE); /* */
    if (IsSessionAndLoginNonVide()) {
        // Une session est en cours et un login y est enregistré ==>
        //     connexion interdite (prévenir l'appel direct de ce script)
        //     Déconnexion ? ==> fermeture de la session et retour à l'accueil
        //     Sinon         ==> vérifier autorisation
        if ($Step == 'Decnx') {
            CloseSessionAndRedirect($URL_SITE . $PATH_PHP);
        }
    }
    ?>

<nav class="bleu1" role="navigation">

    <div class="nav-wrapper container">

      <ul class="left hide-on-med-and-down">
        <li><a href="#" data-activates="slide-out" class="button-collapse show-on-large"><i class="material-icons left">account_circle</i><?php 
    echo $Login;
    ?>
</a></li>
      </ul>

      <ul class="right hide-on-med-and-down">
        <li><a href="?Step=Decnx" target="_top"> Déconnexion</a></li>
      </ul> 
      <a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>

    </div>
  </nav>

<div id="slide-out" class="side-nav grey lighten-4 z-depth-3 black-text">
    <div class="row">
        <div class="col s12">
            <div onclick="window.location='<?php 
    echo $PATH_PHP . "index.php";
    ?>
;'" class="pointer"><h5 class="center">Bienvenue</h5></div>
            <p class="center">
                Vous êtes connecté(e) sous le pseudonyme <br>
                <b id="login-connect"><?php 
    echo $Login;
    ?>
</b>
            </p>
            <p class="center">en tant
			<?php 
    if ($Status != "resp" and $Status != "secr" and $Status != "tuteur" and $Status != "prof") {
        ?>
					qu'<b><?php 
        echo $Libelle;
        ?>
</b></p>
			<?php 
    } else {
        ?>
				  	que <b><?php 
        echo $Libelle;
        ?>
</b></p>
			<?php 
    }
    ?>

            <hr>
            <p class="center">
                                                                               <?php 
    if (GetDroits($Status, 'ChangerPassWord')) {
        ?>
                <a class="ashadow blue-text" href="javascript:popup ('<?php 
        echo $PATH_GENERAL;
        ?>
PopUpBoxChangePassWord.php')">
                    Changer de mot de passe</a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'NewUser')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabUsers;
        ?>
">
                    Nouvel utilisateur</a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeUsers')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabUsers;
        ?>
">
                    Liste des utilisateurs</a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'NewStage')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabStages;
        ?>
">
                    Nouveau stage
                </a>
                                                                               <?php 
        /** /										}
                                                    if (GetDroits ($Status, 'ListeForum'))
                                                    {
                                                                                       ?>
                        <a class="ashadow blue-text" href="../forum2014.html" target="principal">
                            Liste des entreprises présentes au Forum des stages
                        </a>
                                                                                       <?php
            /**/
    }
    if (GetDroits($Status, 'ListeFichesStages')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabStages;
        ?>
">
                    Liste des fiches de stage
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeFichesStagesEntreprise')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabStages;
        ?>
">
                    Vos fiches de stage
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'RechercheStage')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=search">
                    Rechercher un Stage</a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'NewEntreprise')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabEntreprises;
        ?>
">
                    Nouvelle entreprise
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ModifEntreprise')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_AccesRapideSoc;
        ?>
">
                    Modifier une entreprise
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeDetailsEntreprises')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ListeDetailsEntreprises">
                    Liste détaillée des entreprises
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeEntreprises')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabEntreprises;
        ?>
">
                    Liste des entreprises
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ModifInfosUserConnecte')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ModifInfosUserConnecte">
                    Vos Coordonnées
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'CoordonneesEntreprise')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=CoordonneesEntreprise">
                    Coordonnées de l'entreprise
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeNewInscripts')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabNewInscripts;
        ?>
">
                    Liste nouveaux inscrits
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeEtudAvecStage')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ListeEtudAvecStage">
                    Liste des étudiants avec stage
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeEtud1A')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing&SsStep=LstEtudiants1A">
                    Mailing aux 1<sup>ère</sup> année
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'ListeEtud2A')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing&SsStep=LstEtudiants2A&Sel2A=Tous">
                    Mailing aux 2<sup>ème</sup> année
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'Mailing')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing">
                    Mailing
                </a>
                                                                               <?php 
    }
    /*
                                            if (GetDroits ($Status, 'AffectStageEtud'))
                                            {
                                                                               ?>
                <a class="ashadow blue-text" href="<?=$PATH_BACKOFFICE?>BackOffice.php?Trait=AffectStageEtud"
                                                             target="principal">
                    Affectation d'un stage à un étudiant
                </a>
                                                                               <?php
                                            }
    */
    if (GetDroits($Status, 'Etiquettes')) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Etiquettes">
                    Étiquettes
                </a>
                                                                               <?php 
    }
    if (GetDroits($Status, 'List_TA')) {
        ?>
            </p>
            <hr width="100%" />
            <p class="center">
                <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=List_TA">
                    Liste de la TA
                </a>
                                                                               <?php 
    }
    if ($Status == ADMIN) {
        ?>
                <a class="ashadow blue-text" href="<?php 
        echo $URL_BackOffice;
        ?>
">
                    BackOffice
                </a>

			</p>
                                                                           <?php 
    }
    ?>

        </div>
    </div>
</div>

<!--Nav mobile-->

<div id="nav-mobile" class="side-nav">
        <div class="row">
          <div class="col s12">
            <div href="<?php 
    echo $PATH_PHP . "index.php";
    ?>
" class="pointer"><h5 class="center">Bienvenue</h5></div>
            <p class="center">
            Vous êtes connecté(e) sous le pseudonyme <br>
            <b id="login-connect"><?php 
    echo $Login;
    ?>
</b> 
            </p>
            <p class="center">en tant que <b><?php 
    echo $Libelle;
    ?>
</b></p>
<a class="waves-effect waves-light btn bleu1 white-text" href="?Step=Decnx" target="_top"> Déconnexion</a>
<hr>

<p class="center">


                                                                           <?php 
    if (GetDroits($Status, 'ChangerPassWord')) {
        ?>
            <a class="ashadow blue-text" href="javascript:popup ('<?php 
        echo $PATH_GENERAL;
        ?>
PopUpBoxChangePassWord.php')">
			    Changer de mot de passe</a>
                                                                           <?php 
    }
    if (GetDroits($Status, 'NewUser')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabUsers;
        ?>
">
                Nouvel utilisateur</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeUsers')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabUsers;
        ?>
">
                Liste des utilisateurs</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'NewStage')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabStages;
        ?>
">
			    Nouveau stage
			</a> 
                                                                           <?php 
        /** /										}
                                                if (GetDroits ($Status, 'ListeForum'))
        			                            {
        										                                   ?>
                    <a class="ashadow blue-text" href="../forum2014.html">
        		        Liste des entreprises présentes au Forum des stages
        			</a> 
                                                                                   <?php
        /**/
    }
    if (GetDroits($Status, 'ListeFichesStages')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabStages;
        ?>
">
		        Liste des fiches de stage
			</a>
<!--			--><?php 
        //var_dump($URL_List.$NomTabStages);
        ?>
 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeFichesStagesEntreprise')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabStages;
        ?>
">
		        Vos fiches de stage
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'RechercheStage')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=search">
                Rechercher un Stage</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'NewEntreprise')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_Form . $NomTabEntreprises;
        ?>
">
                Nouvelle entreprise
		    </a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ModifEntreprise')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_AccesRapideSoc;
        ?>
">
                Modifier une entreprise
		    </a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeDetailsEntreprises')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ListeDetailsEntreprises">
			    Liste détaillée des entreprises
		    </a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeEntreprises')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabEntreprises;
        ?>
">
			    Liste des entreprises
		    </a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ModifInfosUserConnecte')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ModifInfosUserConnecte">
                Vos Coordonnées
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'CoordonneesEntreprise')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=CoordonneesEntreprise">
                Coordonnées de l'entreprise
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeNewInscripts')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_List . $NomTabNewInscripts;
        ?>
">
                Liste nouveaux inscrits
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeEtudAvecStage')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=ListeEtudAvecStage">
                Liste des étudiants avec stage
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeEtud1A')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing&SsStep=LstEtudiants1A">
                Mailing aux 1<sup>ère</sup> année
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'ListeEtud2A')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing&SsStep=LstEtudiants2A&Sel2A=Tous">
                Mailing aux 2<sup>ème</sup> année
			</a> 
                                                                           <?php 
    }
    if (GetDroits($Status, 'Mailing')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Mailing">
                Mailing
			</a> 
                                                                           <?php 
    }
    /*
                                            if (GetDroits ($Status, 'AffectStageEtud'))
    			                            {
    										                                   ?>
                <a class="ashadow blue-text" href="<?=$PATH_BACKOFFICE?>BackOffice.php?Trait=AffectStageEtud">
                    Affectation d'un stage à un étudiant
    			</a>
                                                                               <?php
     			                            }
    */
    if (GetDroits($Status, 'Etiquettes')) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=Etiquettes">
                Étiquettes
			</a>
                                                                           <?php 
    }
    if (GetDroits($Status, 'List_TA')) {
        ?>
<hr width="100%" />
<p class="center">
            <a class="ashadow blue-text" href="<?php 
        echo $PATH_BACKOFFICE;
        ?>
BackOffice.php?Trait=List_TA">
                Liste de la TA
			</a>
                                                                           <?php 
    }
    if ($Status == ADMIN) {
        ?>
            <a class="ashadow blue-text" href="<?php 
        echo $URL_BackOffice;
        ?>
">
                BackOffice
			</a> 
			</p>
                                                                           <?php 
    }
    ?>


										                                   </p>
</div>
</div>
</div>


<?php 
}