Location: PHPKode > projects > Employee Scheduling System > essv1-2/mySupers.php
<?php require_once('common.php'); 
// $Id: mySupers.php,v 1.3 2004/12/20 05:35:07 atrommer Exp $
checkUser($_SESSION['USERTYPE'], 1);
doHeader("My Supervisors");
$aSupers = getMySupers($_SESSION['USERID']);
?>
<?	foreach($aSupers as $emp){ 

$aPhone1 = formatPhoneNum($emp->user_phone1);
$aPhone2 = formatPhoneNum($emp->user_phone2);

?>
<hr align="left">
<table width="100%" border="0" cellpadding="2" class="contactInfo">
      <tr>
        <td class="contactInfoName" colspan="2"><?="$emp->user_first  $emp->user_last" ?></td>
      </tr>
      <tr>
        <td width="31%"><?=$emp->user_name ?>
        <div align="left"></div></td>
        <td width="69%"><div align="left"><a href="mailto:<?=$emp->user_email?>">
        <?=$emp->user_email?>
        </a></div></td>
      </tr>
      <tr>
        <td><? print ("($aPhone1[0]) $aPhone1[1]-$aPhone1[2]"); ?>
        <div align="left"></div></td>
        <td><? strlen($aPhone2[0])?print("($aPhone2[0]) $aPhone2[1]-$aPhone2[2]"):print""; ?>
        <div align="left"></div></td>
      </tr>
</table>
<?	} ?>

<? doFooter(); ?>
Return current item: Employee Scheduling System