1 line
No EOL
1.2 KiB
PHP
1 line
No EOL
1.2 KiB
PHP
<?php
|
|
/*
|
|
*Copyright (C) 2012-2013 Psychokiller
|
|
*
|
|
*This program is free software; you can redistribute it and/or modify it under the terms of
|
|
*the GNU General Public License as published by the Free Software Foundation; either
|
|
*version 3 of the License, or any later version.
|
|
*
|
|
*This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*See the GNU General Public License for more details.
|
|
*
|
|
*You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
error_reporting(E_ALL & ~E_NOTICE);
|
|
require("../functions.inc.php");
|
|
?>
|
|
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="../gfx/tsviewpub.css" type="text/css" media="screen" />
|
|
</head>
|
|
<body onload="window.resizeTo(500, 600)">
|
|
<?php
|
|
if(isset($_GET['hostbackup']))
|
|
{
|
|
$path="backups/channel/hostbackups/";
|
|
}
|
|
else
|
|
{
|
|
$path="backups/channel/";
|
|
}
|
|
|
|
$filename="channel_".$_GET['backupid']."_".$_GET['fileport'].".txt";
|
|
|
|
$backup=channel_backup_deploy($path.$filename);
|
|
?>
|
|
<div class='content'>
|
|
<?php
|
|
echo create_channel_tree(0, "<div class='place'> </div>" ,$backup);
|
|
?>
|
|
</div>
|
|
</body>
|
|
</html>
|