| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- require_once("util.php");
- require_once("NTK/NTK.php");
- ?>
- <html>
- <head>
- <title> Index </title>
-
- <?php
- echo getHead();
- ?>
- </head>
- <body>
- <?php
- $main_box = new NTKVBox("main_box", 0, 0, False);
- // Toolbar
- $page = "sync";
- $printfile = "";
- include("Modules/toolbar.php");
- // $handle = popen("C:\apache\htdocs\bin\backup.bat", "r");
- $handle = popen("sudo /var/www/ursprung/bin/backup.sh", "r");
- $read = fread($handle, 2096);
- pclose($handle);
- // main content
- $main_box->add(new NTKLabel("", "Datensicherung ".$read), 200, -1, "background-color: #dfe7f3;");
- $main_box->add($spacer, -1, -1, "background-color: #dfe7f3;");
- echo $main_box->getHtml();
- ?>
- </body>
- </html>
|