@@ -50,9 +50,9 @@ if (!empty($noeditor)) { | |||||
<head> | <head> | ||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | <meta charset="<?php echo $cfg_soft_lang; ?>"> | ||||
<title>选择图片</title> | <title>选择图片</title> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/admin.css"> | |||||
<style> | <style> | ||||
html{background:#f2f2f2} | html{background:#f2f2f2} | ||||
table{background:#fff} | table{background:#fff} | ||||
@@ -72,7 +72,7 @@ a{text-decoration:none!important} | |||||
</head> | </head> | ||||
<body class="bg"> | <body class="bg"> | ||||
<div id="floater" class="napisdiv"> | <div id="floater" class="napisdiv"> | ||||
<a href="javascript:nullLink();" onClick="document.getElementById('floater').style.display='none';"><img src="../static/web/img/picviewnone.gif" id="picview" alt="关闭预览"></a> | |||||
<a href="javascript:nullLink();" onClick="document.getElementById('floater').style.display='none';"><img src="../../static/web/img/picviewnone.gif" id="picview" alt="关闭预览"></a> | |||||
</div> | </div> | ||||
<script src="../js/float.js"></script> | <script src="../js/float.js"></script> | ||||
<script> | <script> | ||||
@@ -181,7 +181,7 @@ a{text-decoration:none!important} | |||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow' colspan='2'> | <td class='linerow' colspan='2'> | ||||
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td colspan='2' class='linerow'>当前目录:$activepath</td> | <td colspan='2' class='linerow'>当前目录:$activepath</td> | ||||
</tr>"; | </tr>"; | ||||
echo $line; | echo $line; | ||||
@@ -190,7 +190,7 @@ a{text-decoration:none!important} | |||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | if (preg_match("#^\.(.*)$#i", $file)) continue; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow' colspan='2'> | <td class='linerow' colspan='2'> | ||||
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode("$activepath/$file").$addparm."'><img src='../static/web/img/dir.gif'>$file</a></td> | |||||
<a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode("$activepath/$file").$addparm."'><img src='../../static/web/img/dir.gif'>$file</a></td> | |||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
</tr>"; | </tr>"; | ||||
@@ -202,8 +202,8 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../static/web/img/picviewnone.gif'></a></td> | |||||
<td class='linerow'><a href=# onclick=\"ReturnImg('$reurl');\" $lstyle><img src='../static/web/img/gif.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | |||||
<td class='linerow'><a href=# onclick=\"ReturnImg('$reurl');\" $lstyle><img src='../../static/web/img/gif.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -215,8 +215,8 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../static/web/img/picviewnone.gif'></a></td> | |||||
<td class='linerow'><a href=# onclick=\"ReturnImg('$reurl');\" $lstyle><img src='../static/web/img/jpg.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | |||||
<td class='linerow'><a href=# onclick=\"ReturnImg('$reurl');\" $lstyle><img src='../../static/web/img/jpg.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -44,9 +44,9 @@ if (!empty($noeditor)) { | |||||
<head> | <head> | ||||
<meta http-equiv='Content-Type' content='text/html; charset=<?php echo $cfg_soft_lang; ?>'> | <meta http-equiv='Content-Type' content='text/html; charset=<?php echo $cfg_soft_lang; ?>'> | ||||
<title>选择多媒体</title> | <title>选择多媒体</title> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/admin.css"> | |||||
<style> | <style> | ||||
html{background:#f2f2f2} | html{background:#f2f2f2} | ||||
table{background:#fff} | table{background:#fff} | ||||
@@ -115,7 +115,7 @@ a{text-decoration:none!important} | |||||
if ($activepath == "") continue; | if ($activepath == "") continue; | ||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td class='linerow'><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td colspan='2' class='linerow'>当前目录:$activepath</td> | <td colspan='2' class='linerow'>当前目录:$activepath</td> | ||||
</tr>"; | </tr>"; | ||||
echo $line; | echo $line; | ||||
@@ -123,7 +123,7 @@ a{text-decoration:none!important} | |||||
if (preg_match("#^_(.*)$#i", $file)) continue; | if (preg_match("#^_(.*)$#i", $file)) continue; | ||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | if (preg_match("#^\.(.*)$#i", $file)) continue; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=select_media.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../static/web/img/dir.gif'>$file</a></td> | |||||
<td class='linerow'><a href=select_media.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
</tr>"; | </tr>"; | ||||
@@ -135,7 +135,7 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../static/web/img/flash.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/flash.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td align='center' class='linerow'>$filetime</td> | <td align='center' class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -147,7 +147,7 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../static/web/img/wmv.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/wmv.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow' align='center'>$filetime</td> | <td class='linerow' align='center'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -159,7 +159,7 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../static/web/img/rm.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/rm.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow' align='center'>$filetime</td> | <td class='linerow' align='center'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -171,7 +171,7 @@ a{text-decoration:none!important} | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../static/web/img/mp3.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/mp3.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow' align='center'>$filetime</td> | <td class='linerow' align='center'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -43,9 +43,9 @@ if (!empty($noeditor)) { | |||||
<head> | <head> | ||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | <meta charset="<?php echo $cfg_soft_lang; ?>"> | ||||
<title>选择软件</title> | <title>选择软件</title> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/admin.css"> | |||||
<style> | <style> | ||||
html{background:#f2f2f2} | html{background:#f2f2f2} | ||||
table{background:#fff} | table{background:#fff} | ||||
@@ -120,7 +120,7 @@ a{text-decoration:none!important} | |||||
if ($activepath == "") continue; | if ($activepath == "") continue; | ||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | ||||
$line = "<tr height='26'> | $line = "<tr height='26'> | ||||
<td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td colspan='2' class='linerow'>当前目录:$activepath</td> | <td colspan='2' class='linerow'>当前目录:$activepath</td> | ||||
</tr>\r\n"; | </tr>\r\n"; | ||||
echo $line; | echo $line; | ||||
@@ -128,7 +128,7 @@ a{text-decoration:none!important} | |||||
if (preg_match("#^_(.*)$#i", $file)) continue; | if (preg_match("#^_(.*)$#i", $file)) continue; | ||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | if (preg_match("#^\.(.*)$#i", $file)) continue; | ||||
$line = "<tr height='26'> | $line = "<tr height='26'> | ||||
<td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../static/web/img/dir.gif'>$file</a></td> | |||||
<td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
</tr>"; | </tr>"; | ||||
@@ -140,7 +140,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
$line = "<tr height='26'> | $line = "<tr height='26'> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/zip.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../../static/web/img/zip.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -152,7 +152,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
$line = "<tr height='26'> | $line = "<tr height='26'> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/img/exe.gif'>$file</a></td> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../../static/web/img/exe.gif'>$file</a></td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -35,9 +35,9 @@ if (empty($comeback)) { | |||||
<head> | <head> | ||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | <meta charset="<?php echo $cfg_soft_lang; ?>"> | ||||
<title>选择模板</title> | <title>选择模板</title> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/font-awesome/font-awesome.min.css"> | |||||
<link rel="stylesheet" href="../../static/web/css/admin.css"> | |||||
<style> | <style> | ||||
html{background:#f2f2f2} | html{background:#f2f2f2} | ||||
table{background:#fff} | table{background:#fff} | ||||
@@ -101,7 +101,7 @@ a{text-decoration:none!important} | |||||
if ($activepath == "") continue; | if ($activepath == "") continue; | ||||
$tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='../static/web/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> | <td colspan='2' class='linerow'>当前目录:$activepath</td> | ||||
</tr>\r\n"; | </tr>\r\n"; | ||||
echo $line; | echo $line; | ||||
@@ -109,7 +109,7 @@ a{text-decoration:none!important} | |||||
if (preg_match("#^_(.*)$#i", $file)) continue; | if (preg_match("#^_(.*)$#i", $file)) continue; | ||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | if (preg_match("#^\.(.*)$#i", $file)) continue; | ||||
$line = "<tr> | $line = "<tr> | ||||
<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'><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> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
</tr>"; | </tr>"; | ||||
@@ -121,7 +121,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -133,7 +133,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -145,7 +145,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -157,7 +157,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -169,7 +169,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
</tr>"; | </tr>"; | ||||
@@ -181,7 +181,7 @@ a{text-decoration:none!important} | |||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
$reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../static/web/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'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td></tr>"; | <td class='linerow'>$filetime</td></tr>"; | ||||
echo "$line"; | echo "$line"; | ||||