|
|
@@ -35,9 +35,9 @@ if (empty($comeback)) { |
|
|
|
<head> |
|
|
|
<meta charset="<?php echo $cfg_soft_lang; ?>"> |
|
|
|
<title>选择模板</title> |
|
|
|
<link rel="stylesheet" href="../../static/css/bootstrap.min.css"> |
|
|
|
<link rel="stylesheet" href="../../static/font-awesome/css/font-awesome.min.css"> |
|
|
|
<link rel="stylesheet" href="../css/base.css"> |
|
|
|
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> |
|
|
|
<link rel="stylesheet" href="../static/web/font-awesome/css/font-awesome.min.css"> |
|
|
|
<link rel="stylesheet" href="../static/web/css/admin.css"> |
|
|
|
<style> |
|
|
|
html{background:#f2f2f2} |
|
|
|
table{background:#fff} |
|
|
@@ -101,7 +101,7 @@ a{text-decoration:none!important} |
|
|
|
if ($activepath == "") continue; |
|
|
|
$tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='img/dir2.gif'>上级目录</a></td> |
|
|
|
<td class='linerow'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='../static/web/img/dir2.gif'>上级目录</a></td> |
|
|
|
<td colspan='2' class='linerow'>当前目录:$activepath</td> |
|
|
|
</tr>\r\n"; |
|
|
|
echo $line; |
|
|
@@ -109,7 +109,7 @@ a{text-decoration:none!important} |
|
|
|
if (preg_match("#^_(.*)$#i", $file)) continue; |
|
|
|
if (preg_match("#^\.(.*)$#i", $file)) continue; |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=select_templets.php?f=$f&activepath=".urlencode("$activepath/$file")."><img src='img/dir.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=select_templets.php?f=$f&activepath=".urlencode("$activepath/$file")."><img src='../static/web/img/dir.gif'>$file</a></td> |
|
|
|
<td class='linerow'></td> |
|
|
|
<td class='linerow'></td> |
|
|
|
</tr>"; |
|
|
@@ -121,7 +121,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/htm.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/htm.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td> |
|
|
|
</tr>"; |
|
|
@@ -133,7 +133,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/css.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/css.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td> |
|
|
|
</tr>"; |
|
|
@@ -145,7 +145,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/js.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/js.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td> |
|
|
|
</tr>"; |
|
|
@@ -157,7 +157,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/jpg.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/jpg.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td> |
|
|
|
</tr>"; |
|
|
@@ -169,7 +169,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/gif.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/gif.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td> |
|
|
|
</tr>"; |
|
|
@@ -181,7 +181,7 @@ a{text-decoration:none!important} |
|
|
|
$reurl = preg_replace("#\.\.#", "", $reurl); |
|
|
|
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); |
|
|
|
$line = "<tr> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/txt.gif'>$file</a></td> |
|
|
|
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/txt.gif'>$file</a></td> |
|
|
|
<td class='linerow'>$filesize KB</td> |
|
|
|
<td class='linerow'>$filetime</td></tr>"; |
|
|
|
echo "$line"; |
|
|
|