@@ -134,7 +134,7 @@ if (!empty($iseditor)) { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ""; | |||
else $lstyle = ''; | |||
$line = "<div class='list'> | |||
<a href='$reurl' onclick=\"ReturnImg('$reurl');\" $lstyle> | |||
<img src='$reurl' title='$file'> | |||
@@ -151,7 +151,7 @@ if (!empty($iseditor)) { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ""; | |||
else $lstyle = ''; | |||
$line = "<div class='list'> | |||
<a href='$reurl' onclick=\"ReturnImg('$reurl');\" $lstyle> | |||
<img src='$reurl' title='$file'> | |||
@@ -122,6 +122,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_flash.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -136,6 +138,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_video.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -150,6 +154,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_rm.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -164,6 +170,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_music.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -122,6 +122,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_zip.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -136,6 +138,8 @@ if (!empty($noeditor)) { | |||
} else { | |||
$reurl = $reurl; | |||
} | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_exe.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -109,7 +109,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_htm.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -121,7 +121,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_css.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -133,7 +133,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_js.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -145,7 +145,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='$reurl'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -157,7 +157,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='$reurl'> $file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -169,7 +169,7 @@ if (empty($comeback)) { | |||
$reurl = preg_replace("#\.\.#", "", $reurl); | |||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||
else $lstyle = ''; | |||
else $lstyle = ''; | |||
$line = "<tr> | |||
<td><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='/static/web/img/icon_text.png'> $file</a></td> | |||
<td>$filesize KB</td> | |||