distromatic/html/index.postnuke.php.in

49 lines
1.2 KiB
PHP
Raw Normal View History

2011-04-27 21:50:52 +02:00
<?php
if (!defined("LOADED_AS_MODULE")) {
die ("You can't access this file directly...");
}
/*
Credits to Edgar Miller -- http://www.bosna.de/ from his post on PHP-Nuke
( http://phpnuke.org/article.php?sid=2010&mode=nested&order=0&thold=0 )
Further Credits go to Djordjevic Nebojsa (nesh) for the fix for the fix
*/
$ModName = basename(dirname(__FILE__));
modules_get_language();
include("header.php");
?>
<?php $_GET = &$HTTP_GET_VARS; ?>
<html><h1>Distromatic repository for QiLinux</h1>
<?
$BASEURL="?op=modload&name=distromatic&file=index";
$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="<? echo $BASEURL ?>">index</a>]
<?
if (isset($_GET[tag]) && isset($_GET[pkg])) {
echo "[<a href=\"",$BASEURL,"&tag=$_GET[tag]\">$_GET[tag]</a>]";
}
?>
<br><br>Automatically generated by Distromatic @PACKAGE_VERSION@ (C) 2004-2006 by Silvan Calarco and Davide Madrisan
</font></html>
<? include ("footer.php");
?>