";
    }
    ?>
  
  
     Strassenkind Server Status 
    
    ";
      } else {
        echo "";
      }
    }
    add_button("Run ondemand commands", "ondemand");
    add_button("Force ThreadR update", "git");
    ?>
    
    ') === false) {
            $command = $command . " 2>&1";
          }
          $output = shell_exec($command);
          echo " $command 
\n $output 
\n
";
        }
      }
    }
    // run ondemand command list if demanded
    if (isset($_POST['ondemand'])) {
      execute_command_list($ondemand_commands);
    } elseif (isset($_POST['git'])) {
      execute_command_list($git_commands);
    } else {
      //run status command list otherwise
      execute_command_list($status_commands);
    }
    ?>