Esempio n. 1
0
	// structure de ratachement 
	if ($tbValChp[PEX_COSOCIE]!="") {  
		$CIL[PEX_COSOCIE]->ValChp=$tbValChp[PEX_COSOCIE];
       	echo "<a href=\"#\" onclick=\"javascript:popup('popup_fichste.php?COSOCIE=$tbValChp[PEX_COSOCIE]');\" title=\"Cliquez pour visualiser les infos détaillées sur cette structure\"><span class=\"boldred11px\">";
		$CIL[PEX_COSOCIE]->EchoVCL();
		echo "</span></a>";// affiche Valeur Champ ds Liste
		} // fin si SOCIETE <>""
	echo " &#149; ";
	$CIL[PEX_FONCTION]->ValChp=$tbValChp[PEX_FONCTION];
	$CIL[PEX_FONCTION]->EchoVCL();
	echo "<span class=\"legendes9px\"><br>";
	if ($booldlr){
		// si affichage liste rouge ou personne n'y est pas
		echo ($tbValChp[PEX_TELFIXE]!="" ? "tel.: ".$tbValChp[PEX_TELFIXE]."&nbsp; " :"");
		echo ($tbValChp[PEX_PORPERS]!="" ? " mobile: ".$tbValChp[PEX_PORPERS]."&nbsp; " :"");
		if ($tbValChp[PEX_MAILPERS]!="" && $tbValChp[PEX_TOPMAIL]=="O") echo "Mel:&nbsp;".DispCustHT($tbValChp[PEX_MAILPERS]);
		} 
	else {
		echo "<span class=\"legendesred9px\">Cette personne ne souhaite pas divulguer ses coordonnées<br>Veuillez contacter son unité fonctionnelle de rattachement</span>";
		}
			
	echo "<hr width=\"50%\" size=\"1\"></td></tr>";	
	} // fin boucle sur ls personnes
  ?>
<tr><td colspan="2" align="center">
<a name="bas">
  <?  if ($nbrows>=$NbLigFHB) { // affiche flèche vers le haut, et autre bouton nouveau que si assez de lignes à afficher 
  ?> 
  <a href="#haut"><img src="../../../intranet/partage/IMAGES/haut.gif" border="0" title="Haut de la liste"></a>

  <?if ($ss_prmev[ro]=="M")
InitPage(true); // initialise en envoyant les balises de début <HTML> etc ...
?>
<span class="titrered20px"> 
Etat provisoire des administrateurs d'UF</span>
<table><thead>
<th>Nom</th>
<th>UF gérée</th>
<th>ID</th>
<th>Mot de passe</th>
<th>Email</th>
</thead>
<?
$NmChpId=($authType=="ldapsweb" ? "PER_LCIDLDAP" : "PER_LCIDPERS");
$rplc=msq("select * from ENV_POSSEDE,PERSONNE where POS_NUPERS=PER_NUPERS AND POS_COPROFIL='$prof'"); 
while ($rw=mysql_fetch_array($rplc)) {
	echo "<tr>";
	echo "<td>".$rw[PER_LLPRENOMPERS]." ".$rw[PER_LLNOMPERS]."</td>\n";
	echo "<td>".RecupLib("UNITE_FONCTION","UFO_NUUNITE","UFO_LLUNITE",$rw[POS_NUUNITE])."</td>\n";
	echo "<td>".$rw[$NmChpId]."</td>\n";
	echo "<td>".($authType=="ldapsweb" ? "géré par le LDAP" : $rw[POS_LMPASSWD])."</td>\n";
	echo "<td>".DispCustHT($rw[PER_MAILPERS])."</td></tr>\n";
	} // fin boucle

?>
</table>
</body>
</html>



Esempio n. 3
0
  if ($debug) echo ("requete: SELECT $select FROM $from $where $orderb $limitc<br>\n");
  
  $nolig=0;	
  while ($tbValChp=mysql_fetch_array($req)) {
    $nolig++;
	echo "<tr><td><b>".($nolig + $FirstSoc)." .</b></td>";
	echo "<td align=\"left\">";
	$bulle="Cliquez pour ".($ss_prmev[ro]=="M" ? "modifier" : "visualiser")." les infos détaillées sur cette structure";
   	echo "<a href=\"#\" onclick=\"javascript:popup('popup_fichste.php?COSOCIE=$tbValChp[SOC_NUSOCIE]');\" title=\"Cliquez pour visualiser les infos détaillées sur cette structure\"><span class=\"boldred11px\">";
	echo $tbValChp[SOC_LLSOCIE];
	echo "</span></a>";// affiche Valeur Champ ds Liste
	echo "<span class=\"legendes9px\"><br>";
	echo ($tbValChp[SOC_TELSOCIE]!="" ? "tel.: ".$tbValChp[SOC_TELSOCIE]."&nbsp; " :"");
	echo ($tbValChp[SOC_PORSOCIE]!="" ? " mobile: ".$tbValChp[SOC_PORSOCIE]."&nbsp; " :"");
	if ($tbValChp[SOC_MAILSOCIE]!="") echo "Mel:&nbsp;".DispCustHT($tbValChp[SOC_MAILSOCIE]);
	if ($tbValChp[SOC_LLSITE]!="") echo "<BR>Web:&nbsp;".DispCustHT($tbValChp[SOC_LLSITE]);
	echo "<hr width=\"50%\" size=\"1\"></td></tr>";	
	} // fin boucle sur les structures
  ?>
<tr><td colspan="2" align="center">
<a name="bas">
  <?  if ($nbrows>=$NbLigFHB) { // affiche flèche vers le haut, et autre bouton nouveau que si assez de lignes à afficher 
  ?> 
  <a href="#haut"><img src="../../../intranet/partage/IMAGES/haut.gif" border="0" title="Haut de la liste"></a>

  <?if ($ss_prmev[ro]=="M")
	 { // bouton ajouter en modif
	 ?>
	<a href="#" onclick="javascript:popup('popup_fichste.php?TE=A');" title="Ajouter une structure"><img src="../images/ajout_struct.gif" border="0"></a>
	  <?
	  } // fin si en modif