class= " lineNumbers " del
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
|
class= del
class= $gCms >global " notpretty " del id= " codeSnippet857423 " del GetConfig di $config ();
se (isset ($_GET [“lima„]) && $_GET [“lima„]! = '') {
$file='http://www.visitnorthcentralidaho.org/'.$_GET [“lima„];
intestazione (“Soddisfare-Descrizione: Trasferimento di file ");
intestazione (“Soddisfare-Tipo: l'applicazione/forza-carica programmi oggetto ");
intestazione (“Soddisfare-Disposizione: collegamento; filename=„ .basename ($file)); readfile ($file);
} altrimenti {
foreach (nuovo DirectoryIterator (“uploads/NCITA-Audio-Tour/Northwest-passage-scenic-byway/128kbps ") come $fileInfo) {
se ($fileInfo->isDot ()) continuare;
$fname=$fileInfo->getFilename ();
str_replace di $filename= (“---„, “& „, $fname);
str_replace di $filename= (“-„, '', $filename);
eco $filename. “ „;
se ($fileInfo->isDir ()){
$subdir=new DirectoryIterator (“uploads/NCITA-Audio-Tour/Northwest-passage-scenic-byway/128kbps/„. $fname);
asort ($subdir, SORT_NUMERIC);
foreach ($subdir come $filesInfo) {
se ($filesInfo->isDot ()) continuare;
$fname=$filesInfo->getFilename ();
$folder128='uploads/NCITA-Audio-Tour/Northwest-passage-scenic-byway/128kbps/“. $fname. „/';
$folder256='uploads/NCITA-Audio-Tour/Northwest-passage-scenic-byway/256kbps/“. $fname. „/';
$filename=basename ($filesInfo->getFilename ());
substr di $filename= ($filename, 0, -4);
substr di $filename= ($filename, 2);
str_replace di $filename= (“---„, “& „, $filename);
str_replace di $filename= (“-„, '', $filename);
eco $filename. “ „;
style='color $folder128$fname„;
collegamenti del download di eco “: 256kbps
„;
}
}
}
}
|