Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
36 kaklik 1
<?php
2
 
3
/*************************************************************
4
*  TorrentFlux - PHP Torrent Manager
5
*  www.torrentflux.com
6
**************************************************************/
7
/*
8
    This file is part of TorrentFlux.
9
 
10
    TorrentFlux is free software; you can redistribute it and/or modify
11
    it under the terms of the GNU General Public License as published by
12
    the Free Software Foundation; either version 2 of the License, or
13
    (at your option) any later version.
14
 
15
    TorrentFlux is distributed in the hope that it will be useful,
16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
    GNU General Public License for more details.
19
 
20
    You should have received a copy of the GNU General Public License
21
    along with TorrentFlux; if not, write to the Free Software
22
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
*/
24
 
25
 
26
include_once("config.php");
27
include_once("functions.php");
28
require_once("metaInfo.php");
29
 
30
global $cfg;
31
 
32
$torrent = getRequestVar('torrent');
33
 
34
DisplayHead(_TORRENTDETAILS);
35
 
36
echo "<table width=\"740\" border=0 cellpadding=0 cellspacing=0><tr><td>";
37
 
38
echo displayDriveSpaceBar(getDriveSpace($cfg["path"]));
39
 
40
echo "</td></tr></table>";
41
echo "<br>";
42
echo "<div align=\"left\" id=\"BodyLayer\" name=\"BodyLayer\" style=\"border: thin solid ";
43
echo $cfg["main_bgcolor"];
44
echo "; position:relative; width:740; height:500; padding-left: 5px; padding-right: 5px; z-index:1; overflow: scroll; visibility: visible\">";
45
 
46
$als = getRequestVar('als');
47
if($als == "false")
48
{
49
       showMetaInfo($torrent,false);
50
}
51
else
52
{
53
    showMetaInfo($torrent,true);
54
}
55
 
56
echo "</div>";
57
 
58
DisplayFoot();
59
 
60
?>