// blorpscript v1.1 // last modified 6/6/00 $thisfn="index2.phtml"; $bgcolor="#300040"; $textcolor="#eFeFeF"; $bordercolor="#aFaFaF"; $thumbnail="thumbnail.phtml"; $linkcolor="#00df20"; $wdp2=substr($wd,2); if (strlen($wdp2) < 1) $wdp2="Welcome"; echo "
";
$openfn = "$wd/$fn";
$fp=fopen($openfn,"r");
if (eregi("\.(asm|inc|c|cpp|h)$",$fn)) {
while ($line = fgets($fp,1024))
{
$line = str_replace('<','<',$line);
$line = str_replace('>','>',$line);
echo $line;
}
}
else
{
while ($line = fgets($fp,1024))
{
echo $line;
}
}
fclose($fp);
echo " |
";
echo " ";
echo " | ||
";
echo " $wdp2";
echo "";
$idxfile=$wd . "/index.txt";
if (file_exists($idxfile) && $file=fopen($idxfile,"r"))
{
while ($line = fgets($file,4096))
{
echo $line;
}
echo "\n";
fclose($file);
}
reset($fnlist);
$indent="";
while ($fn = key($fnlist))
{
next($fnlist);
$full_fn=$wd."/".$fn;
if (is_dir($full_fn)) {
if($fn!="."&&$fn!=".."&&$fn!="siteimages"&&$fn!="thumbnails") {
$newwd=rawurlencode($wd);
$newfn=rawurlencode($fn);
echo "$indent$fn\n";
}
if($fn=="..") {
if ($wd==".")
{
echo "root/\n";
$indent.=" ";
}
else
{
$pd_arr=split("/",$wd);
for($g=sizeof($pd_arr)-1;$g>=1;$g--)
{
$pd=".";
for($i=1;$i"; if (!isset($op)) { echo " | ||