@@ -50,9 +50,9 @@ if (!empty($noeditor)) { | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<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> | |||
html{background:#f2f2f2} | |||
table{background:#fff} | |||
@@ -72,7 +72,7 @@ a{text-decoration:none!important} | |||
</head> | |||
<body class="bg"> | |||
<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> | |||
<script src="../js/float.js"></script> | |||
<script> | |||
@@ -181,7 +181,7 @@ a{text-decoration:none!important} | |||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
$line = "<tr> | |||
<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> | |||
</tr>"; | |||
echo $line; | |||
@@ -190,7 +190,7 @@ a{text-decoration:none!important} | |||
if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
$line = "<tr> | |||
<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> | |||
</tr>"; | |||
@@ -202,8 +202,8 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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'>$filetime</td> | |||
</tr>"; | |||
@@ -215,8 +215,8 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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'>$filetime</td> | |||
</tr>"; | |||
@@ -44,9 +44,9 @@ if (!empty($noeditor)) { | |||
<head> | |||
<meta http-equiv='Content-Type' content='text/html; charset=<?php echo $cfg_soft_lang; ?>'> | |||
<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> | |||
html{background:#f2f2f2} | |||
table{background:#fff} | |||
@@ -115,7 +115,7 @@ a{text-decoration:none!important} | |||
if ($activepath == "") continue; | |||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
$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> | |||
</tr>"; | |||
echo $line; | |||
@@ -123,7 +123,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_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> | |||
</tr>"; | |||
@@ -135,7 +135,7 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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 align='center' class='linerow'>$filetime</td> | |||
</tr>"; | |||
@@ -147,7 +147,7 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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' align='center'>$filetime</td> | |||
</tr>"; | |||
@@ -159,7 +159,7 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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' align='center'>$filetime</td> | |||
</tr>"; | |||
@@ -171,7 +171,7 @@ a{text-decoration:none!important} | |||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||
else $lstyle = ""; | |||
$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' align='center'>$filetime</td> | |||
</tr>"; | |||
@@ -43,9 +43,9 @@ if (!empty($noeditor)) { | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<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> | |||
html{background:#f2f2f2} | |||
table{background:#fff} | |||
@@ -120,7 +120,7 @@ a{text-decoration:none!important} | |||
if ($activepath == "") continue; | |||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
$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> | |||
</tr>\r\n"; | |||
echo $line; | |||
@@ -128,7 +128,7 @@ a{text-decoration:none!important} | |||
if (preg_match("#^_(.*)$#i", $file)) continue; | |||
if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
$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> | |||
</tr>"; | |||
@@ -140,7 +140,7 @@ a{text-decoration:none!important} | |||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||
$reurl = $reurl; | |||
$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'>$filetime</td> | |||
</tr>"; | |||
@@ -152,7 +152,7 @@ a{text-decoration:none!important} | |||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||
$reurl = $reurl; | |||
$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'>$filetime</td> | |||
</tr>"; | |||
@@ -35,9 +35,9 @@ if (empty($comeback)) { | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<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> | |||
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='../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> | |||
</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='../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> | |||
</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='../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'>$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='../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'>$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='../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'>$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='../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'>$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='../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'>$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='../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'>$filetime</td></tr>"; | |||
echo "$line"; | |||