Files
FHC-Core/cis/private/profile/resturlaub.php
T
Gerald Simane bb2465dc03
2009-07-03 05:40:27 +00:00

78 lines
2.1 KiB
PHP

<?php
/* Copyright (C) 2006 Technikum-Wien
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at>
* Rudolf Hangl < rudolf.hangl@technikum-wien.at >
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
*/
// **
// * @brief Uebersicht der Resturlaubstage
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/resturlaub.class.php');
$uid = get_uid();
?>
<html>
<head>
<title>Resturlaubstage</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
</head>
<body id="inhalt">
<H2>
<table class="tabcontent">
<tr>
<td>&nbsp;Resturlaubstage</td>
</tr>
</table>
</H2>
<TABLE >
<TR class="liste">
<TH>Nachname</TH>
<TH>Vorname</TH>
<TH>Resturlaubstage</TH>
<TH>Mehrarbeitsstunden</TH>
<TH>Letzte Aenderung</TH>
</TR>
<?php
$obj=new resturlaub();
$obj->getResturlaubFixangestellte();
$i=0;
foreach ($obj->result as $row)
{
echo '<TR class="liste'.($i%2).'">';
echo "<TD>$row->nachname</TD><TD>$row->vorname $row->vornamen</TD>";
echo "<TD>$row->resturlaubstage</TD>";
echo "<TD>$row->mehrarbeitsstunden</TD>";
echo "<TD>$row->updateamum</TD>";
echo '</TR>';
$i++;
}
?>
</TABLE>
</body>
</html>