toDTC.php 577 B

12345678910111213141516171819202122
  1. <?php
  2. include 'config.php';
  3. $rolle = $_GET['rolle'];
  4. $workerID = $_GET['workerID'];
  5. $act = $_GET['act'];
  6. if ($rolle == "MAB"){
  7. if ($act == "View Open Tasks") {
  8. header("Location: ".$formLocation."DTC.html?workerID=".$workerID);
  9. } else {
  10. header("Location: ".$formLocation."startProduction.html?workerID=".$workerID);
  11. }
  12. } else if ($rolle == "VORB"){
  13. if ($act == "New Request") {
  14. header("Location: ".$formLocation."startRequest.html?workerID=".$workerID);
  15. } else {
  16. header("Location: ".$formLocation."Vorb.html?=".$workerID);
  17. }
  18. }
  19. ?>