|
|
@@ -116,7 +116,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(htm|html)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
@@ -128,7 +128,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(css)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
@@ -140,7 +140,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(js)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
@@ -152,7 +152,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(jpg)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
@@ -164,7 +164,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(gif|png)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
@@ -176,7 +176,7 @@ table{background:#fff} |
|
|
|
</tr>"; |
|
|
|
echo "$line"; |
|
|
|
} else if (preg_match("#\.(txt)#i", $file)) { |
|
|
|
if ($file == $comeback) $lstyle = " style='color:red' "; |
|
|
|
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; |
|
|
|
else $lstyle = ""; |
|
|
|
$reurl = "$activeurl/$file"; |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|