function get_mitarbeiter() { //In Arbeit if (!$_grpwahl) { $_grpwahl = 1; } if ($_grpwahl == -1) { $_grpwahl = 1; } $_group = new time_group($_grpwahl); if ($id) { $_grpwahl = $_group->get_usergroup($id); } $anzMA = count($_group->_array[1][$_grpwahl]); for ($x = 0; $x < $anzMA; $x++) { $count_time = count($_group->_array[5][$_grpwahl][$x]); $anwesend = $count_time % 2; if ($anwesend) { $pic = "anw."; } else { $pic = "----"; } echo $pic . " | " . $_group->_array[4][$_grpwahl][$x]; // TODO : erweitern damit die Mitarbeiter - Liste angezeigt werden kann im Android /* f($anwesend){ echo " / " . $_group->_array[5][$_grpwahl][$x][count($_group->_array[5][$_grpwahl][$x])-1]; }else{ echo " / Abwesend"; } */ echo "\n"; } }
$_template->_user04 = "sites_user/user04_password.php"; $_template->_user03 = "sites_user/user03_stat.php"; break; case "show_year": $auszahlung = new auszahlung(1, 2000); $_template->_user02 = "sites_user/user02_cal.php"; $_template->_user04 = "sites_year/user04_year.php"; $_template->_user03 = "sites_user/user03_stat.php"; break; case "anwesend": if ($_grpwahl == 0) { $_grpwahl = 1; } $_group = new time_group($_grpwahl); if ($id) { $_grpwahl = $_group->get_usergroup($id); } $_template->_user02 = "sites_login/login_mehr_02.php"; $_template->_user04 = "sites_login/login_mehr_04.php"; $_template->_user03 = "sites_user/user03_stat.php"; break; case "login_mehr": if (isset($_SESSION['save'])) { $_SESSION['save'] = 8; } if ($_POST['login'] == "Stempelzeit eintragen" and $_write) { $_logcheck->login($_POST, $_users->_array); if ($_SESSION['admin']) { $id = $_logcheck->_id; // Fehlerhandling bei F5 und dann sendenklick if ($_POST['_n'] != "" and $_POST['_p'] != "") {