30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
<?php
|
|
|
|
if (!@include_once("./incl/auth.inc.php"))
|
|
include_once("../incl/auth.inc.php");
|
|
|
|
if ($AllowDownload)
|
|
{
|
|
print "<table class='index' width=500 cellpadding=0 cellspacing=0>";
|
|
print "<tr>";
|
|
print "<td class='iheadline' height=21>";
|
|
print "<font class='iheadline'> $StrDownload \"".htmlentities($filename)."\"</font>";
|
|
print "</td>";
|
|
print "<td class='iheadline' align='right' height=21>";
|
|
print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($path))."'><img src='icon/back.gif' border=0 alt='$StrBack'></a></font>";
|
|
print "</td>";
|
|
print "</tr>";
|
|
print "<tr>";
|
|
print "<td valign='top' colspan=2>";
|
|
print "<center><br />";
|
|
print "$StrDownloadClickLink<br /><br />";
|
|
print "<a href='incl/libfile.php?".SID."&path=".htmlentities(rawurlencode($path))."&filename=".htmlentities(rawurlencode($filename))."&action=download'>$StrDownloadClickHere <i>\"".htmlentities($filename)."\"</i></a>";
|
|
print "<br /><br /></center>";
|
|
print "</td>";
|
|
print "</tr>";
|
|
print "</table>";
|
|
}
|
|
else
|
|
print "<font color='#CC0000'>$StrAccessDenied</font>";
|
|
|
|
?>
|