distromatic/html/index.php.in

27 lines
677 B
PHP
Raw Permalink Normal View History

2011-04-27 21:50:52 +02:00
<?php $_GET = &$HTTP_GET_VARS; ?>
<html><br><font class="pn-title"><b>QiLinux packages list</b><br><br></font>
<?
$includename="index.inc";
if (isset($_GET[tag])) {
$includename=$_GET[tag];
if (isset($_GET[pkg])) {
$includename="$includename/$_GET[pkg].inc";
} else {
$includename="$includename/index.inc";
}
}
//echo "$includename";
include($includename);
?>
<br><font size=-1>
[<a href="?">index</a>]
<?
if (isset($_GET[tag]) && isset($_GET[pkg])) {
echo "[<a href=\"?tag=$_GET[tag]\">$_GET[tag]</a>]";
}
?>
<br>Automatically generated by Distromatic @PACKAGE_VERSION@, (C) 2004-2006 by Silvan Calarco and Davide Madrisan
</font></html>