12345678910111213141516171819202122 |
- <?php
- include 'config.php';
- $rolle = $_GET['rolle'];
- $workerID = $_GET['workerID'];
- $act = $_GET['act'];
- if ($rolle == "MAB"){
- if ($act == "View Open Tasks") {
- header("Location: ".$formLocation."DTC.html?workerID=".$workerID);
- } else {
- header("Location: ".$formLocation."startProduction.html?workerID=".$workerID);
- }
- } else if ($rolle == "VORB"){
- if ($act == "New Request") {
- header("Location: ".$formLocation."startRequest.html?workerID=".$workerID);
- } else {
- header("Location: ".$formLocation."Vorb.html?=".$workerID);
- }
- }
- ?>
|