Added footer
This commit is contained in:
parent
a62a0a6520
commit
d88f025e3e
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
require "property-manager.php"; // Initialise properties
|
||||
require "file_information.php";
|
||||
require "file-information.php";
|
||||
|
||||
$properties = load_properties();
|
||||
$file_name = $_GET[$properties["file QS"]] or die("No querystring given.");
|
||||
|
@ -12,13 +12,13 @@ header("Content Type: text/html");
|
|||
<html><head><title><?php echo($properties["html title"]);?></title>
|
||||
<link rel=stylesheet type=text/css href="style.css"/>
|
||||
<?php yandex_meta($properties["yandex transparency"]) ?>
|
||||
</head>
|
||||
<body><center>
|
||||
</head><body><center>
|
||||
<h1>File Information</h1><table border=1>
|
||||
<tr><td>File Name:</td><td><?php echo $file["file name"];?></td></tr>
|
||||
<tr><td>Description:</td><td><?php echo $file["description"]; ?></td></tr>
|
||||
</table>
|
||||
<?php echo "<a id='downloadButton' href='" . $file["file name"] . "' download='" . $file["file name"] . "' >Download File</a>"; ?>
|
||||
<?php echo "<a id='downloadButton' href='./downloads/" . $file["file name"] . "' download='" . $file["file name"] . "' >Download File</a>"; ?>
|
||||
<footer>Powered by TheOrangeOne's Download Manager</footer>
|
||||
</center>
|
||||
<?php
|
||||
if (isset($_GET['auto'])){
|
||||
|
|
Reference in a new issue