while (list($key, $val) = @each($HTTP_GET_VARS)) {$GLOBALS[$key] = $val;}
while (list($key, $val) = @each($HTTP_POST_VARS)) {$GLOBALS[$key] = $val;}
while (list($key, $val) = @each($HTTP_POST_FILES)) {$GLOBALS[$key] = $val;}
while (list($key, $val) = @each($HTTP_SESSION_VARS)) {$GLOBALS[$key] = $val;}
include("../main.php");
include("config.php");
if ($css_style==!"") {$stylesheet="$css_style.css";}
if (!isset($akt_page)){$akt_page="1";}
$spalten="1";
$anzahlb=($anzahl-1);
$stack=array();
$vor_count="0";
$vorb="0";
if (!isset($start)) {$start="1";}
$mydir = dir("$subdir/.");
while($file=$mydir->read()) {
if (stristr($file, ".txt") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".pps") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".pdf") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".ppt") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".doc") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".zip") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".exe") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".wav") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".mp3") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".wma") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".mpg") AND ($file!=="banner.jpg")) {$vor_count++;}
if (stristr($file, ".mpe") AND ($file!=="banner.jpg")) {$vor_count++;}
}
$rueck=$vor_count;$vor=0;$vorzehn=($vor+$anzahl);
$j="";
if (file_exists("$subdir/info.dat")) {$url=file("$subdir/info.dat");}
print "
$titlen | ||
---|---|---|
Seite: "; while($rueck>=$anzahlb) {$vorb=($vor+1);$seiten++; {print ""; if ($akt_page!=$seiten) {print "- $seiten - ";} if ($akt_page==$seiten) {print "- $seiten - ";} } if ($vorzehn>$vorb) {array_push($stack, $vorb, $vorzehn);} $rueck=($rueck-$anzahl);$vor=($vor+$anzahl);$vorzehn=($vorzehn+$anzahl);} $vorb=($vor+1); $rueckges=($vor_count); global $akt_page; if ($vorb<=$rueckges) {$seiten++;print ""; if ($akt_page!=$seiten) {print "- $seiten - ";} if ($akt_page==$seiten) {print "- $seiten - ";} } array_push($stack, $vorb, $rueckges); print " | ||
Homepage: $url[0] | ||
Dateiname | Größe | Typ |
"; if (stristr($onefile,".txt")) {print "";} if (stristr($onefile,".pps")) {print "";} if (stristr($onefile,".pdf")) {print "";} if (stristr($onefile,".ppt")) {print "";} if (stristr($onefile,".doc")) {print "";} if (stristr($onefile,".exe")) {print "";} if (stristr($onefile,".zip")) {print "";} if (stristr($onefile,".wav")) {print "";} if (stristr($onefile,".mp3")) {print "";} if (stristr($onefile,".wma")) {print "";} if (stristr($onefile,".mpg")) {print "";} if (stristr($onefile,".mpe")) {print "";} if ($convert_filename=="0") {print "$onefile";} if ($convert_filename=="1") { $conv_onefile=str_replace("_", " ", $onefile); $conv_onefile=str_replace(".txt", "", $conv_onefile); $conv_onefile=str_replace(".pps", "", $conv_onefile); $conv_onefile=str_replace(".ppt", "", $conv_onefile); $conv_onefile=str_replace(".doc", "", $conv_onefile); $conv_onefile=str_replace(".doc", "", $conv_onefile); $conv_onefile=str_replace(".zip", "", $conv_onefile); $conv_onefile=str_replace(".exe", "", $conv_onefile); $conv_onefile=str_replace(".wav", "", $conv_onefile); $conv_onefile=str_replace(".mp3", "", $conv_onefile); $conv_onefile=str_replace(".wma", "", $conv_onefile); $conv_onefile=str_replace(".mpg", "", $conv_onefile); $conv_onefile=str_replace(".mpe", "", $conv_onefile); print "$conv_onefile";} print " | $kb KB | "; if (stristr($onefile,".pps")) {print "Powerpoint Presentation | ";} if (stristr($onefile,".ppt")) {print "Powerpoint Presentation";} if (stristr($onefile,".pdf")) {print "Adobe / PDF-Datei";} if (stristr($onefile,".doc")) {print "Dokument (Word/Wordpad)";} if (stristr($onefile,".zip")) {print "Winzip Archiv";} if (stristr($onefile,".exe")) {print "Ausführbare Datei";} if (stristr($onefile,".txt")) {print "Plain Text";} if (stristr($onefile,".wav")) {print "Audio / Wave";} if (stristr($onefile,".mp3")) {print "Mpeg Layer 3";} if (stristr($onefile,".wma")) {print "Windows Media";} if (stristr($onefile,".mpg")) {print "MPEG Video";} if (stristr($onefile,".mpe")) {print "MPEG Video";} if ($j==$spalten) { print "
Herunterladen: Rechte Maustaste auf der entspr. Datei, "speichern unter". | ||
Zurück zur Übersicht |