@@ -37,7 +37,7 @@ $win = new OxWindow(); | |||||
$win->Init('article_string_mix.php', 'js/blank.js', 'POST'); | $win->Init('article_string_mix.php', 'js/blank.js', 'POST'); | ||||
$win->AddHidden('dopost', 'save'); | $win->AddHidden('dopost', 'save'); | ||||
$win->AddHidden('token', $_SESSION['token']); | $win->AddHidden('token', $_SESSION['token']); | ||||
$win->AddTitle("如果您要启用字符串混淆来防采集,请在文档模板需要的字段加上 function='RndString(@me)' 属性,如:{dede:field name='body' function='RndString(@me)'/}"); | |||||
$win->AddTitle("<div class='alert alert-info mb-0'>如果您要启用字符串混淆来防采集,请在文档模板需要的字段加上:function='RndString(@me)'属性,如:{dede:field name='body' function='RndString(@me)'/}</div>"); | |||||
$win->AddMsgItem("<textarea name='allsource' id='allsource' class='biz-textarea'>$allsource</textarea>"); | $win->AddMsgItem("<textarea name='allsource' id='allsource' class='biz-textarea'>$allsource</textarea>"); | ||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
$win->Display(); | $win->Display(); |
@@ -87,9 +87,7 @@ function DoRand(jobname) | |||||
}); | }); | ||||
} | } | ||||
</script> | </script> | ||||
<div id='loading' style='position:absolute;top:160;display:none;z-index:3000'> | |||||
<img src='../static/web/img/loadinglit.gif'>请稍后,正在操作中 | |||||
</div> | |||||
<div id='loading' style='display:none;text-align:center'><img src='../static/web/img/loadinglit.gif'>请稍后,正在操作中</div> | |||||
<table width='100%' align='center'> | <table width='100%' align='center'> | ||||
<tr> | <tr> | ||||
<td> | <td> | ||||
@@ -107,7 +105,7 @@ $win = new OxWindow(); | |||||
$win->Init('article_template_rand.php', 'js/blank.js', 'POST'); | $win->Init('article_template_rand.php', 'js/blank.js', 'POST'); | ||||
$win->AddHidden('dopost', 'save'); | $win->AddHidden('dopost', 'save'); | ||||
$win->AddHidden('token', $_SESSION['token']); | $win->AddHidden('token', $_SESSION['token']); | ||||
$win->AddTitle("本设置仅适用于系统默认的文档模型,设置后发布文档时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可"); | |||||
$win->AddTitle("<div class='alert alert-info mb-0'>本设置仅适用于系统默认的文档模型,设置后发布文档时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可</div"); | |||||
$win->AddMsgItem($msg); | $win->AddMsgItem($msg); | ||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
$win->Display(); | $win->Display(); |
@@ -147,7 +147,7 @@ function DedeInclude($filename, $isabs = FALSE) | |||||
* 根据用户mid获取用户名称 | * 根据用户mid获取用户名称 | ||||
* | * | ||||
* @access public | * @access public | ||||
* @param int $mid 用户ID | |||||
* @param int $mid 用户id | |||||
* @return string | * @return string | ||||
*/ | */ | ||||
if (!function_exists('GetMemberName')) { | if (!function_exists('GetMemberName')) { | ||||
@@ -109,6 +109,7 @@ input[type=text]:focus { | |||||
line-height:60px | line-height:60px | ||||
} | } | ||||
.top-item ul li a,.top-admin ul li a { | .top-item ul li a,.top-admin ul li a { | ||||
font-size:14px; | |||||
color:#fff | color:#fff | ||||
} | } | ||||
.top-item ul li a:hover,.top-admin ul li a:hover { | .top-item ul li a:hover,.top-admin ul li a:hover { | ||||
@@ -135,9 +135,9 @@ html{background:#f6f6f6} | |||||
window.close(); | window.close(); | ||||
} | } | ||||
</script> | </script> | ||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | |||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless icon"> | |||||
<tr> | <tr> | ||||
<td colspan="4" height="26"> | |||||
<td colspan="4"> | |||||
<form action="select_images_post.php" method="POST" enctype="multipart/form-data" name="myform"> | <form action="select_images_post.php" method="POST" enctype="multipart/form-data" name="myform"> | ||||
<?php $noeditor = !empty($noeditor) ? "<input type='hidden' name='noeditor' value='yes'>" : ''; echo $noeditor;?> | <?php $noeditor = !empty($noeditor) ? "<input type='hidden' name='noeditor' value='yes'>" : ''; echo $noeditor;?> | ||||
<input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | <input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | ||||
@@ -149,20 +149,20 @@ html{background:#f6f6f6} | |||||
上传:<input type="file" name="imgfile" style="width:50%;border:none"> | 上传:<input type="file" name="imgfile" style="width:50%;border:none"> | ||||
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if ($photo_markup == '1') echo "checked";?> /> 水印 </label> | <label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if ($photo_markup == '1') echo "checked";?> /> 水印 </label> | ||||
<label><input type="checkbox" name="resize" value="1" class="np"> 缩小 </label> | <label><input type="checkbox" name="resize" value="1" class="np"> 缩小 </label> | ||||
宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" style="width:46px"> | |||||
高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" style="width:46px"> | |||||
宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" style="width:50px"> | |||||
高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" style="width:50px"> | |||||
<button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | <button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | ||||
</form> | </form> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="8%" class="linerow">预览</td> | |||||
<td width="40%" class="linerow">选择图片</td> | |||||
<td width="22%" class="linerow">文件大小</td> | |||||
<td width="30%" class="linerow">修改时间</td> | |||||
<td class="linerow" colspan="4">点击图片预览,点击图片名选择图片,显示图片后点击该图片关闭预览</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="linerow" colspan="4">点击图片预览,点击图片名选择图片,显示图片后点击该图片关闭预览</td> | |||||
<td width="8%" class="linerow">预览</td> | |||||
<td width="42%" class="linerow">选择图片</td> | |||||
<td width="20%" class="linerow">文件大小</td> | |||||
<td class="linerow">修改时间</td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$dh = scandir($inpath); | $dh = scandir($inpath); | ||||
@@ -189,8 +189,7 @@ html{background:#f6f6f6} | |||||
if ($activepath == "") continue; | if ($activepath == "") continue; | ||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | ||||
$line = "<tr> | $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> | |||||
<td colspan='2' class='linerow'><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; | ||||
@@ -198,8 +197,7 @@ html{background:#f6f6f6} | |||||
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' 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> | |||||
<td colspan='2' class='linerow'><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>"; | ||||
@@ -208,11 +206,13 @@ html{background:#f6f6f6} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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 colspan='2' class='linerow'> | |||||
<a href=\"javascript:;\" onClick=\"ChangeImage('$reurl');\"><img src='$reurl'></a> | |||||
<a href=\"javascript:;\" onclick=\"ReturnImg('$reurl');\" $lstyle>$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>"; | ||||
@@ -221,11 +221,13 @@ html{background:#f6f6f6} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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 colspan='2' class='linerow'> | |||||
<a href=\"javascript:;\" onClick=\"ChangeImage('$reurl');\"><img src='$reurl'></a> | |||||
<a href=\"javascript:;\" onclick=\"ReturnImg('$reurl');\" $lstyle>$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>"; | ||||
@@ -71,7 +71,7 @@ html{background:#f8f8f8} | |||||
window.close(); | window.close(); | ||||
} | } | ||||
</script> | </script> | ||||
<table width="100%" align="center" cellspacing="0" cellpadding="2" class="table table-borderless"> | |||||
<table width="100%" align="center" cellspacing="0" cellpadding="2" class="table table-borderless icon"> | |||||
<tr> | <tr> | ||||
<td colspan="3"> | <td colspan="3"> | ||||
<form action="select_media_post.php" method="POST" enctype="multipart/form-data" name="myform"> | <form action="select_media_post.php" method="POST" enctype="multipart/form-data" name="myform"> | ||||
@@ -85,9 +85,9 @@ html{background:#f8f8f8} | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="55%" align="center" class="linerow">点击名称选择文件</td> | |||||
<td width="15%" align="center" class="linerow">文件大小</td> | |||||
<td width="30%" align="center" class="linerow">最后修改时间</td> | |||||
<td width="50%" align="center" class="linerow">点击名称选择文件</td> | |||||
<td width="20%" align="center" class="linerow">文件大小</td> | |||||
<td align="center" class="linerow">最后修改时间</td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$dh = scandir($inpath); | $dh = scandir($inpath); | ||||
@@ -132,10 +132,13 @@ html{background:#f8f8f8} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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'> | |||||
<img src='../../static/web/img/flash.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
@@ -144,22 +147,28 @@ html{background:#f8f8f8} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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'> | |||||
<img src='../../static/web/img/wmv.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||||
</td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow' align='center'>$filetime</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(rm|rmvb|mp3|mp4)#i", $file)) { | } else if (preg_match("#\.(rm|rmvb|mp3|mp4)#i", $file)) { | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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'> | |||||
<img src='../../static/web/img/rm.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
@@ -168,12 +177,15 @@ html{background:#f8f8f8} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
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'> | |||||
<img src='../../static/web/img/mp3.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||||
</td> | |||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow' align='center'>$filetime</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} | } | ||||
@@ -76,10 +76,10 @@ html{background:#f8f8f8} | |||||
window.close(); | window.close(); | ||||
} | } | ||||
</script> | </script> | ||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | |||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless icon"> | |||||
<tr> | <tr> | ||||
<td colspan="3"> | <td colspan="3"> | ||||
<form action="select_soft_post.php" method="POST" enctype="multipart/form-data" name='myform'> | |||||
<form action="select_soft_post.php" method="POST" enctype="multipart/form-data" name="myform"> | |||||
<input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | <input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | ||||
<input type="hidden" name="f" value="<?php echo $f ?>"> | <input type="hidden" name="f" value="<?php echo $f ?>"> | ||||
<input type="hidden" name="job" value="upload"> | <input type="hidden" name="job" value="upload"> | ||||
@@ -90,84 +90,84 @@ html{background:#f8f8f8} | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3"> | |||||
<table width="100%" cellspacing="0" cellpadding="2"> | |||||
<tr> | |||||
<td width="45%" class="linerow">选择文件</td> | |||||
<td width="25%" class="linerow">文件大小</td> | |||||
<td width="30%" class="linerow">修改时间</td> | |||||
</tr> | |||||
<?php | |||||
$dh = scandir($inpath); | |||||
$ty1 = $ty2 = ""; | |||||
foreach ($dh as $file) { | |||||
//计算文件大小和创建时间 | |||||
if ($file != "." && $file != ".." && !is_dir("$inpath/$file")) { | |||||
$filesize = filesize("$inpath/$file"); | |||||
$filesize = $filesize / 1024; | |||||
if ($filesize != "") | |||||
if ($filesize < 0.1) { | |||||
@list($ty1, $ty2) = split("\.", $filesize); | |||||
$filesize = $ty1.".".substr($ty2, 0, 2); | |||||
} else { | |||||
@list($ty1, $ty2) = split("\.", $filesize); | |||||
$filesize = $ty1.".".substr($ty2, 0, 1); | |||||
} | |||||
$filetime = filemtime("$inpath/$file"); | |||||
$filetime = MyDate("Y-m-d H:i", $filetime); | |||||
} | |||||
//判断文件类型并作处理 | |||||
if ($file == ".") continue; | |||||
else if ($file == "..") { | |||||
if ($activepath == "") continue; | |||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||||
$line = "<tr> | |||||
<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; | |||||
} else if (is_dir("$inpath/$file")) { | |||||
if (preg_match("#^_(.*)$#i", $file)) continue; | |||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | |||||
$line = "<tr> | |||||
<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>"; | |||||
echo "$line"; | |||||
} else if (preg_match("#\.(zip|rar|tgr.gz)#i", $file)) { | |||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
else $lstyle = ""; | |||||
$reurl = "$activeurl/$file"; | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||||
$reurl = $reurl; | |||||
$line = "<tr> | |||||
<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>"; | |||||
echo "$line"; | |||||
} else { | |||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
else $lstyle = ''; | |||||
$reurl = "$activeurl/$file"; | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||||
$reurl = $reurl; | |||||
$line = "<tr> | |||||
<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>"; | |||||
echo "$line"; | |||||
} | |||||
}//End Loop | |||||
?> | |||||
</table> | |||||
</td> | |||||
<td colspan="3" class="linerow">点击选择的文件,红色字样的为刚上传的文件</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3">点击选择的文件,红色字样的为刚上传的文件</td> | |||||
<td width="50%" class="linerow">选择文件</td> | |||||
<td width="20%" class="linerow">文件大小</td> | |||||
<td class="linerow">修改时间</td> | |||||
</tr> | </tr> | ||||
<?php | |||||
$dh = scandir($inpath); | |||||
$ty1 = $ty2 = ""; | |||||
foreach ($dh as $file) { | |||||
//计算文件大小和创建时间 | |||||
if ($file != "." && $file != ".." && !is_dir("$inpath/$file")) { | |||||
$filesize = filesize("$inpath/$file"); | |||||
$filesize = $filesize / 1024; | |||||
if ($filesize != "") | |||||
if ($filesize < 0.1) { | |||||
@list($ty1, $ty2) = split("\.", $filesize); | |||||
$filesize = $ty1.".".substr($ty2, 0, 2); | |||||
} else { | |||||
@list($ty1, $ty2) = split("\.", $filesize); | |||||
$filesize = $ty1.".".substr($ty2, 0, 1); | |||||
} | |||||
$filetime = filemtime("$inpath/$file"); | |||||
$filetime = MyDate("Y-m-d H:i", $filetime); | |||||
} | |||||
//判断文件类型并作处理 | |||||
if ($file == ".") continue; | |||||
else if ($file == "..") { | |||||
if ($activepath == "") continue; | |||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||||
$line = "<tr> | |||||
<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; | |||||
} else if (is_dir("$inpath/$file")) { | |||||
if (preg_match("#^_(.*)$#i", $file)) continue; | |||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | |||||
$line = "<tr> | |||||
<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>"; | |||||
echo "$line"; | |||||
} else if (preg_match("#\.(zip|rar|tgr.gz)#i", $file)) { | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | |||||
$reurl = "$activeurl/$file"; | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||||
$reurl = $reurl; | |||||
$line = "<tr> | |||||
<td class='linerow'> | |||||
<img src='../../static/web/img/zip.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||||
</td> | |||||
<td class='linerow'>$filesize KB</td> | |||||
<td class='linerow'>$filetime</td> | |||||
</tr>"; | |||||
echo "$line"; | |||||
} else { | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ''; | |||||
$reurl = "$activeurl/$file"; | |||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||||
$reurl = $reurl; | |||||
$line = "<tr> | |||||
<td class='linerow'> | |||||
<img src='../../static/web/img/exe.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||||
</td> | |||||
<td class='linerow'>$filesize KB</td> | |||||
<td class='linerow'>$filetime</td> | |||||
</tr>"; | |||||
echo "$line"; | |||||
} | |||||
}//End Loop | |||||
?> | |||||
</table> | </table> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -57,7 +57,7 @@ html{background:#f8f8f8} | |||||
window.close(); | window.close(); | ||||
} | } | ||||
</script> | </script> | ||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | |||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless icon"> | |||||
<tr> | <tr> | ||||
<td colspan="3"> | <td colspan="3"> | ||||
<form action="select_templets_post.php" method="POST" enctype="multipart/form-data" name="myform"> | <form action="select_templets_post.php" method="POST" enctype="multipart/form-data" name="myform"> | ||||
@@ -73,7 +73,7 @@ html{background:#f8f8f8} | |||||
<tr> | <tr> | ||||
<td width="50%" class="linerow">选择文件</td> | <td width="50%" class="linerow">选择文件</td> | ||||
<td width="20%" class="linerow">文件大小</td> | <td width="20%" class="linerow">文件大小</td> | ||||
<td width="30%" class="linerow">修改时间</td> | |||||
<td class="linerow">修改时间</td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$dh = scandir($inpath); | $dh = scandir($inpath); | ||||
@@ -115,73 +115,91 @@ html{background:#f8f8f8} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(htm|html)#i", $file)) { | } else if (preg_match("#\.(htm|html)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='../../static/web/img/htm.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(css)#i", $file)) { | } else if (preg_match("#\.(css)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='../../static/web/img/css.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(js)#i", $file)) { | } else if (preg_match("#\.(js)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='../../static/web/img/js.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(jpg)#i", $file)) { | } else if (preg_match("#\.(jpg)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='$reurl'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(gif|png)#i", $file)) { | } else if (preg_match("#\.(gif|png)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='$reurl'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(txt)#i", $file)) { | } else if (preg_match("#\.(txt)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " class='text-danger' "; | |||||
if ($file == $comeback) $lstyle = "class='text-danger'"; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$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'> | |||||
<img src='../../static/web/img/txt.gif'> | |||||
<a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$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"; | ||||
@@ -83,7 +83,7 @@ if (!function_exists('TestAdminPWD')) { | |||||
{ | { | ||||
global $dsql; | global $dsql; | ||||
//查询栏目表确定栏目所在的目录 | //查询栏目表确定栏目所在的目录 | ||||
$sql = "SELECT usertype,userid,pwd FROM #@__admin WHERE `userid`='admin'"; | |||||
$sql = "SELECT usertype,userid,pwd FROM `#@__admin` WHERE `userid`='admin'"; | |||||
$row = $dsql->GetOne($sql); | $row = $dsql->GetOne($sql); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
if ($row['pwd'] == 'f297a57a5a743894a0e4') { | if ($row['pwd'] == 'f297a57a5a743894a0e4') { | ||||
@@ -159,7 +159,7 @@ if (count($safeMsg) > 0) { | |||||
$i = 1; | $i = 1; | ||||
foreach ($safeMsg as $key => $val) { | foreach ($safeMsg as $key => $val) { | ||||
?> | ?> | ||||
<div class="py-1"><?php echo $i;?>.<?php echo $val;?></div> | |||||
<div><?php echo $i;?>、<?php echo $val;?></div> | |||||
<?php | <?php | ||||
$i++; | $i++; | ||||
} | } | ||||
@@ -96,7 +96,7 @@ else if ($action == 'view_developoer') { | |||||
$devInfo['dev_name'] = $info['team']."<span style='display:inline-block;margin-left:10px;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#dc3545;border-color:#dc3545;border-radius:.2rem'>未认证</span>"; | $devInfo['dev_name'] = $info['team']."<span style='display:inline-block;margin-left:10px;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#dc3545;border-color:#dc3545;border-radius:.2rem'>未认证</span>"; | ||||
$authAt = "未知"; | $authAt = "未知"; | ||||
} | } | ||||
ShowMsg("<p>开发者名称:{$devInfo['dev_name']}</p><p>开发者ID:{$devInfo['dev_id']}</p><span>认证于:{$authAt}</span>", "-1"); | |||||
ShowMsg("<p>开发者名称:{$devInfo['dev_name']}</p><p>开发者id:{$devInfo['dev_id']}</p><span>认证于:{$authAt}</span>", "-1"); | |||||
exit; | exit; | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
@@ -179,7 +179,7 @@ else if ($action == 'setup') { | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者id:</td> | |||||
<td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>{$s}</a></td> | <td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>{$s}</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -311,7 +311,7 @@ else if ($action == 'del') { | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者id:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -376,7 +376,7 @@ else if ($action == 'uninstall') { | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者id:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -517,7 +517,7 @@ else if ($action == 'view') { | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者id:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -44,7 +44,7 @@ else if ($action == 'make') { | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dev_id)) { | if (empty($dev_id)) { | ||||
ShowMsg("开发者ID不能为空", "-1"); | |||||
ShowMsg("开发者id不能为空", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($priv)) { | if (empty($priv)) { | ||||
@@ -180,7 +180,7 @@ else if ($action == 'edit') { | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dev_id)) { | if (empty($dev_id)) { | ||||
ShowMsg("开发者ID不能为空", "-1"); | |||||
ShowMsg("开发者id不能为空", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($priv)) { | if (empty($priv)) { | ||||
@@ -48,7 +48,7 @@ function TestOneFile($f) | |||||
return 0; | return 0; | ||||
} | } | ||||
$message .= "<div style='clear:both;'> | $message .= "<div style='clear:both;'> | ||||
<div style='width:350px;float:left'>可疑文件:{$trfile}</div> | |||||
<div style='float:left;width:360px'>可疑文件:{$trfile}</div> | |||||
<a class='btn btn-success btn-sm' href='sys_safetest.php?action=viewdiff&filename=$oldTrfile' target='_blank'>修改记录</a> | <a class='btn btn-success btn-sm' href='sys_safetest.php?action=viewdiff&filename=$oldTrfile' target='_blank'>修改记录</a> | ||||
<a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=del&filename=$oldTrfile&activepath=' target='_blank'>删除</a> | <a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=del&filename=$oldTrfile&activepath=' target='_blank'>删除</a> | ||||
<a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=edit&filename=$oldTrfile&activepath=' target='_blank'>查看源码</a> | <a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=edit&filename=$oldTrfile&activepath=' target='_blank'>查看源码</a> | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
<script src="../static/web/js/moment.min.js"></script> | <script src="../static/web/js/moment.min.js"></script> | ||||
<script src="../static/web/js/daterangepicker.js"></script> | <script src="../static/web/js/daterangepicker.js"></script> | ||||
<style>.typetab{text-align:left}.typetab ul{list-style:none}.typetab ul li{float:left;width:64px;height:26px;line-height:26px;background:#f8f8f8;text-align:center;cursor:pointer}.typetab ul .act{background:#fbfce2}.i_table{border:1px solid #eee}</style> | |||||
<style>.typetab{text-align:left}.typetab ul{list-style:none}.typetab ul li{float:left;width:64px;height:28px;line-height:28px;background:#f8f8f8;text-align:center;cursor:pointer}.typetab ul .act{background:#fbfce2}.i_table{border:1px solid #eee}</style> | |||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.tagname.value == "") { | if (document.form1.tagname.value == "") { | ||||
@@ -15,7 +15,7 @@ | |||||
<td bgcolor="#f8f8f8">自动摘要分页</td> | <td bgcolor="#f8f8f8">自动摘要分页</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低网页生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td> | |||||
<td><div class="alert alert-info mb-0">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低网页生成速度,并且在没人工干扰的情况下可能导致分页内容的网页错误,请小心使用此功能)</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td> | <td> | ||||
@@ -16,11 +16,7 @@ | |||||
<td bgcolor="#f8f8f8" colspan="3">文档自定义属性管理</td> | <td bgcolor="#f8f8f8" colspan="3">文档自定义属性管理</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3"> | |||||
自定义属性的意义和使用说明:<br> | |||||
在以往的版本中,网站主页、频道封面的设计,都只能单调的用 arclist 标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist 标记加上 att='自定义属性的id' 的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档<br> | |||||
注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻 | |||||
</td> | |||||
<td colspan="3"><div class="alert alert-info mb-0">自定义属性的意义和使用说明:在以往的版本中,网站主页、频道封面的设计,都只能单调的用arclist标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist标记加上att='自定义属性的id'的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档。注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻</div></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
<td width="15%" align="center">id</td> | <td width="15%" align="center">id</td> | ||||
@@ -19,15 +19,15 @@ | |||||
<td> | <td> | ||||
<table width="300" cellpadding="1" cellspacing="1"> | <table width="300" cellpadding="1" cellspacing="1"> | ||||
<tr> | <tr> | ||||
<td width="140" bgcolor="#F3ECDA">文档总数:</td> | |||||
<td width="140">文档总数:</td> | |||||
<td width="260">[<?php echo $row1['dd']?>]</td> | <td width="260">[<?php echo $row1['dd']?>]</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#F3ECDA">评论总数:</td> | |||||
<td>评论总数:</td> | |||||
<td>[<?php echo $row2['dd']?>]</td> | <td>[<?php echo $row2['dd']?>]</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#F3ECDA">会员总数:</td> | |||||
<td>会员总数:</td> | |||||
<td>[<?php echo $row3['dd']?>]</td> | <td>[<?php echo $row3['dd']?>]</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -37,8 +37,8 @@ | |||||
<td width="16%">频道信息统计:</td> | <td width="16%">频道信息统计:</td> | ||||
<td width="84%"> | <td width="84%"> | ||||
<table width="300" cellpadding="1" cellspacing="1"> | <table width="300" cellpadding="1" cellspacing="1"> | ||||
<tr align="center" bgcolor="#E8E6D7"> | |||||
<td width="140" bgcolor="#E8E6D7">频道名称</td> | |||||
<tr align="center"> | |||||
<td width="140">频道名称</td> | |||||
<td>文档总数</td> | <td>文档总数</td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
@@ -31,21 +31,21 @@ | |||||
<tr> | <tr> | ||||
<td width="260" align="left">diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性推荐使用默认值</span></td> | <td width="260" align="left">diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性推荐使用默认值</span></td> | ||||
<td> | <td> | ||||
<input type="text" name="diyid" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i> | |||||
<input type="text" name="diyid" id="diyid" value="<?php echo $newdiyid?>" class="pubinputs" style="width:60px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="left">自定义表单名称:<br> | <td align="left">自定义表单名称:<br> | ||||
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | <span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | ||||
<td> | <td> | ||||
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i> | |||||
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="left">数据表:<br> | <td align="left">数据表:<br> | ||||
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td> | <span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td> | ||||
<td> | <td> | ||||
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix;?>diyform<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i> | |||||
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix;?>diyform<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -39,21 +39,21 @@ | |||||
<td width="260">自定义表单 diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性</span></td> | <td width="260">自定义表单 diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性</span></td> | ||||
<td> | <td> | ||||
<?php echo $diyid;?> | <?php echo $diyid;?> | ||||
<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i> | |||||
<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>自定义表单名称:修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改<br> | <td>自定义表单名称:修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改<br> | ||||
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | <span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | ||||
<td> | <td> | ||||
<input type="text" name="name" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i> | |||||
<input type="text" name="name" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>数据表:<br> | <td>数据表:<br> | ||||
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td> | <span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td> | ||||
<td> | <td> | ||||
<input type="text" name="table" id="table" value="<?php echo $row['table'];?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i> | |||||
<input type="text" name="table" id="table" value="<?php echo $row['table'];?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')"></i> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -71,15 +71,13 @@ | |||||
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="30%"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | <td width="30%"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | ||||
<td width="70%" align="right"> | |||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid;?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | |||||
</td> | |||||
<td width="70%" align="right"><button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid;?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"><span class="style1">所有填写的内容不允许包含双引号["],否则配置将无法写入</span></td> | |||||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的内容不允许包含双引号["],否则配置将无法写入</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="30%">表单提示文字:<br> | <td width="30%">表单提示文字:<br> | ||||
@@ -93,7 +91,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>内容是否需要分页符:<br> | <td>内容是否需要分页符:<br> | ||||
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||||
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段</span></td> | |||||
<td> | <td> | ||||
<input type="hidden" name="isnull" value="1"> | <input type="hidden" name="isnull" value="1"> | ||||
<label><input type="radio" name="spage" value="split"> 是</label> | <label><input type="radio" name="spage" value="split"> 是</label> | ||||
@@ -25,12 +25,12 @@ | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<table width="98%" align="center" cellpadding="3" cellspacing="1"> | <table width="98%" align="center" cellpadding="3" cellspacing="1"> | ||||
<tr> | |||||
<td bgcolor="#f8f8f8" align="center" class="py-2"> | |||||
<input type="submit" name="submit" value="提交" class="btn btn-success btn-sm"> | |||||
<input type="reset" name="reset" value="重置" class="btn btn-success btn-sm"> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td bgcolor="#f8f8f8" align="center" class="py-2"> | |||||
<input type="submit" name="submit" value="提交" class="btn btn-success btn-sm"> | |||||
<input type="reset" name="reset" value="重置" class="btn btn-success btn-sm"> | |||||
</td> | |||||
</tr> | |||||
</table> | </table> | ||||
</form> | </form> | ||||
</body> | </body> |
@@ -32,7 +32,7 @@ | |||||
<td><?php echo GetDateTimeMK($row['dtime']);?></td> | <td><?php echo GetDateTimeMK($row['dtime']);?></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>IP地址:</td> | |||||
<td>ip地址:</td> | |||||
<td><?php echo $row['ip'];?></td> | <td><?php echo $row['ip'];?></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -7,15 +7,10 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | |||||
.linerow { | |||||
border-bottom:1px solid #CBD8AC; | |||||
height:26px | |||||
} | |||||
</style> | |||||
<style>.linerow{border-bottom:1px solid #CBD8AC}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<table width="98%" cellspacing="1" cellpadding="2" align="center" class="table maintable mt-3 mb-3"> | |||||
<table width="98%" cellspacing="1" cellpadding="2" align="center" class="table maintable icon mt-3 mb-3"> | |||||
<tr align="center"> | <tr align="center"> | ||||
<td width="36%" bgcolor="#f8f8f8">文件名称</td> | <td width="36%" bgcolor="#f8f8f8">文件名称</td> | ||||
<td width="12%" bgcolor="#f8f8f8">文件大小</td> | <td width="12%" bgcolor="#f8f8f8">文件大小</td> | ||||
@@ -56,11 +51,9 @@ | |||||
} | } | ||||
$tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); | $tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); | ||||
$line = "\n<tr> | $line = "\n<tr> | ||||
<td> | |||||
<a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='../static/web/img/dir2.gif'>上级目录</a> | |||||
</td> | |||||
<td colspan='3'>当前目录:$activepath</td> | |||||
</tr>"; | |||||
<td><a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='../static/web/img/dir2.gif'>上级目录</a></td> | |||||
<td colspan='3'>当前目录:$activepath</td> | |||||
</tr>"; | |||||
$dirs[] = $line; | $dirs[] = $line; | ||||
} | } | ||||
else if (is_dir("$inpath/$file")) | else if (is_dir("$inpath/$file")) | ||||
@@ -68,234 +61,220 @@ | |||||
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 = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='file_manage_main.php?activepath=".urlencode("$activepath/$file")."'><img src='../static/web/img/dir.gif'>$file</a></td> | |||||
<td></td> | |||||
<td></td> | |||||
<td> | |||||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
</td> | |||||
</td> | |||||
</tr>"; | |||||
<td><a href='file_manage_main.php?activepath=".urlencode("$activepath/$file")."'><img src='../static/web/img/dir.gif'>$file</a></td> | |||||
<td></td> | |||||
<td></td> | |||||
<td> | |||||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
</td> | |||||
</td> | |||||
</tr>"; | |||||
$dirs[] = $line; | $dirs[] = $line; | ||||
} | } | ||||
else if (preg_match("#\.(gif|png)#i",$file)) | else if (preg_match("#\.(gif|png)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/gif.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(jpg)#i",$file)) | else if (preg_match("#\.(jpg)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/jpg.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(swf|fla|fly)#i",$file)) | else if (preg_match("#\.(swf|fla|fly)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/flash.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/flash.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) | else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/zip.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/zip.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(exe)#i",$file)) | else if (preg_match("#\.(exe)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/exe.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/exe.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(mp3|wma)#i",$file)) | else if (preg_match("#\.(mp3|wma)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/mp3.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/mp3.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(wmv|api)#i",$file)) | else if (preg_match("#\.(wmv|api)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/wmv.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/wmv.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(rm|rmvb)#i",$file)) | else if (preg_match("#\.(rm|rmvb)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/rm.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/rm.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center' class='linerow'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) | else if (preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/txt.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/txt.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(htm|html)#i",$file)) | else if (preg_match("#\.(htm|html)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/htm.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/htm.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(php)#i",$file)) | else if (preg_match("#\.(php)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/php.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/php.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(js)#i",$file)) | else if (preg_match("#\.(js)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/js.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/js.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | |||||
} | } | ||||
else if (preg_match("#\.(css)#i",$file)) | else if (preg_match("#\.(css)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td> | |||||
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/css.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/css.gif'>$file</a></td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | |||||
$files[] = $line; | $files[] = $line; | ||||
} else { | } else { | ||||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
<td><a href='$activeurl/$file' target='_blank'>$file</td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
<td><a href='$activeurl/$file' target='_blank'>$file</td> | |||||
<td>$filesize KB</td> | |||||
<td align='center'>$filetime</td> | |||||
<td> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||||
</td> | |||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | |||||
$files[] = $line; | |||||
} | } | ||||
} | } | ||||
foreach ($dirs as $dir) | foreach ($dirs as $dir) | ||||
@@ -306,7 +285,7 @@ | |||||
{ | { | ||||
echo $file; | echo $file; | ||||
} | } | ||||
?> | |||||
?> | |||||
<tr> | <tr> | ||||
<td colspan="4" bgcolor="#f8f8f8"> | <td colspan="4" bgcolor="#f8f8f8"> | ||||
<?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | <?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | ||||
@@ -80,7 +80,7 @@ | |||||
<td class="p-0"> | <td class="p-0"> | ||||
<table width="100%" cellspacing="1" cellpadding="0"> | <table width="100%" cellspacing="1" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td> | |||||
<td colspan="2"><div class="alert alert-info mb-0">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="260">自由列表标题:</td> | <td width="260">自由列表标题:</td> | ||||
@@ -64,7 +64,7 @@ | |||||
<td class="p-0"> | <td class="p-0"> | ||||
<table width="100%" cellspacing="1" cellpadding="0"> | <table width="100%" cellspacing="1" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td> | |||||
<td colspan="2"><div class="alert alert-info mb-0">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="260">自由列表标题:</td> | <td width="260">自由列表标题:</td> | ||||
@@ -32,7 +32,7 @@ | |||||
<td width="20%" class="border-top-0"></td> | <td width="20%" class="border-top-0"></td> | ||||
<td width="20%" class="border-top-0">浏览次数(PV)</td> | <td width="20%" class="border-top-0">浏览次数(PV)</td> | ||||
<td width="20%" class="border-top-0">独立访客(UV)</td> | <td width="20%" class="border-top-0">独立访客(UV)</td> | ||||
<td width="20%" class="border-top-0">独立IP(IP)</td> | |||||
<td width="20%" class="border-top-0">独立地址(IP)</td> | |||||
<td width="20%" class="border-top-0">访问次数(VV)</td> | <td width="20%" class="border-top-0">访问次数(VV)</td> | ||||
</tr> | </tr> | ||||
<tr class="bg-white"> | <tr class="bg-white"> | ||||
@@ -51,7 +51,7 @@ | |||||
<?php echo $adminlist?> | <?php echo $adminlist?> | ||||
</select> | </select> | ||||
</td> | </td> | ||||
<td width="170"><input type="text" name="cip" id="cip" placeholder="请输入IP地址" style="width:160px"></td> | |||||
<td width="170"><input type="text" name="cip" id="cip" placeholder="请输入ip地址" style="width:160px"></td> | |||||
<td width="170"> | <td width="170"> | ||||
<select name="dtime" id="dtime" style="width:160px"> | <select name="dtime" id="dtime" style="width:160px"> | ||||
<option value="0" selected>全部</option> | <option value="0" selected>全部</option> | ||||
@@ -27,6 +27,9 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="2">更新首页</td> | <td bgcolor="#f8f8f8" colspan="2">更新首页</td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td colspan="2"><div class="alert alert-info mb-0">默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”,例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html”</div></td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td width="260">选择首页模板:</td> | <td width="260">选择首页模板:</td> | ||||
<td> | <td> | ||||
@@ -34,12 +37,6 @@ | |||||
<button type="button" name="set4" value="" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | <button type="button" name="set4" value="" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td colspan="2"> | |||||
默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br> | |||||
例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html” | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td>首页位置:</td> | <td>首页位置:</td> | ||||
<td><input type="text" name="position" id="position" value="<?php echo $row['position']?>" style="width:260px"></td> | <td><input type="text" name="position" id="position" value="<?php echo $row['position']?>" style="width:260px"></td> | ||||
@@ -16,7 +16,7 @@ | |||||
<td bgcolor="#f8f8f8">更新专题</td> | <td bgcolor="#f8f8f8">更新专题</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td> | |||||
<td><div class="alert alert-info mb-0">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#fbfce2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button></td> | <td bgcolor="#fbfce2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button></td> | ||||
@@ -23,6 +23,9 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="2">更新标签</td> | <td bgcolor="#f8f8f8" colspan="2">更新标签</td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td colspan="2"><div class="alert alert-info mb-0">标签说明:生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签列表页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm</div></td> | |||||
</tr> | |||||
<?php | <?php | ||||
if ($tagid > 0) { | if ($tagid > 0) { | ||||
$row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' "); | $row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' "); | ||||
@@ -51,14 +54,6 @@ | |||||
<td>每次最大创建页数:</td> | <td>每次最大创建页数:</td> | ||||
<td><input type="text" name="maxpagesize" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | <td><input type="text" name="maxpagesize" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td>标签说明:</td> | |||||
<td> | |||||
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br> | |||||
Tag首页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm<br> | |||||
Tag列表页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm<br> | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td bgcolor="#fbfce2" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td> | <td bgcolor="#fbfce2" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td> | ||||
</tr> | </tr> | ||||
@@ -10,17 +10,7 @@ | |||||
<script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | <script src="../static/web/js/bootstrap.bundle.min.js"></script> | ||||
<script src="js/main.js"></script> | <script src="js/main.js"></script> | ||||
<style> | |||||
.coolbg2 { | |||||
border: 1px solid #000000; | |||||
background: #F2F5E9; | |||||
height: 18px; | |||||
} | |||||
.pubinputs { | |||||
height: auto; | |||||
margin-top: 5px; | |||||
} | |||||
</style> | |||||
<style>.coolbg2{border:1px solid #000000;background:#F2F5E9;height:18px}.pubinputs{height:auto;margin-top:5px}</style> | |||||
<script> | <script> | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
if (document.form1.title.value == "") { | if (document.form1.title.value == "") { | ||||
@@ -58,7 +48,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td><i class="fa fa-question-circle" title="帮助"></i> 提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td> | |||||
<td><div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
@@ -40,9 +40,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td> | |||||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</div> | |||||
</td> | |||||
<td><div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
@@ -7,16 +7,7 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | |||||
.napisdiv { | |||||
left: 10; | |||||
top: 0; | |||||
width: 150px; | |||||
height: 100px; | |||||
position: absolute; | |||||
z-index: 3 | |||||
} | |||||
</style> | |||||
<style>.napisdiv{left:10;top:0;width:150px;height:100px;position:absolute;z-index:3}</style> | |||||
<script> | <script> | ||||
//获得选中文件的文件名 | //获得选中文件的文件名 | ||||
function getCheckboxItem() { | function getCheckboxItem() { | ||||
@@ -112,9 +103,9 @@ | |||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr> | <tr> | ||||
<td colspan="7"> | <td colspan="7"> | ||||
<button type="button" name="b4" class="btn btn-success btn-sm" onClick="AllSel();">全选</button> | |||||
<button type="button" name="b5" class="btn btn-success btn-sm" onClick="NoneSel();">取消</button> | |||||
<button type="button" name="b6" class="btn btn-success btn-sm" onClick="DelSel();">删除</button> | |||||
<button type="button" name="b4" onClick="AllSel();" class="btn btn-success btn-sm">全选</button> | |||||
<button type="button" name="b5" onClick="NoneSel();" class="btn btn-success btn-sm">取消</button> | |||||
<button type="button" name="b6" onClick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8" class="py-2"> | <tr bgcolor="#f8f8f8" class="py-2"> | ||||
@@ -8,9 +8,6 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | |||||
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545} | |||||
</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form action="member_pm.php" name="form1" method="get"> | <form action="member_pm.php" name="form1" method="get"> | ||||
@@ -30,7 +27,11 @@ | |||||
</form> | </form> | ||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="7"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td> | |||||
<td bgcolor="#f8f8f8" colspan="7"> | |||||
<span id="cate_1" class="btn btn-success btn-sm">短信列表</span> | |||||
<a href="member_pmall.php" class="btn btn-outline-success btn-sm">群发短信</a> | |||||
<a href="member_pmone.php" class="btn btn-outline-success btn-sm">单独短信</a> | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
<td width="10%" align="center">发送时间</td> | <td width="10%" align="center">发送时间</td> | ||||
@@ -7,9 +7,6 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | |||||
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545} | |||||
</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form action="member_pm.php" name="form1" method="get"> | <form action="member_pm.php" name="form1" method="get"> | ||||
@@ -29,7 +26,11 @@ | |||||
</form> | </form> | ||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="7"><a href="member_pm.php">短信列表</a> <span class="current" id="cate_1">群发短信</span> <a href="member_pmone.php">单独短信</a></td> | |||||
<td bgcolor="#f8f8f8" colspan="7"> | |||||
<a href="member_pm.php" class="btn btn-outline-success btn-sm">短信列表</a> | |||||
<span id="cate_1" class="btn btn-success btn-sm">群发短信</span> | |||||
<a href="member_pmone.php" class="btn btn-outline-success btn-sm">单独短信</a> | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="7"> | <td colspan="7"> | ||||
@@ -7,9 +7,6 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | |||||
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545} | |||||
</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form action="member_pm.php" name="form1" method="get"> | <form action="member_pm.php" name="form1" method="get"> | ||||
@@ -29,7 +26,11 @@ | |||||
</form> | </form> | ||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="7"><a href="member_pm.php">短信列表</a> <a href="member_pmall.php">群发短信</a> <span class="current" id="cate_1">单独短信</span></td> | |||||
<td bgcolor="#f8f8f8" colspan="7"> | |||||
<a href="member_pm.php" class="btn btn-outline-success btn-sm">短信列表</a> | |||||
<a href="member_pmall.php" class="btn btn-outline-success btn-sm">群发短信</a> | |||||
<span id="cate_1" class="btn btn-success btn-sm">单独短信</span> | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="7"> | <td colspan="7"> | ||||
@@ -15,8 +15,8 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="6">会员管理 > 会员级别设置</td> | <td bgcolor="#f8f8f8" colspan="6">会员管理 > 会员级别设置</td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#fbfce2"> | |||||
<td colspan="6">级别名称和级别值:注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能</td> | |||||
<tr> | |||||
<td colspan="6"><div class="alert alert-info mb-0">级别名称和级别值:注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能</div></td> | |||||
</tr> | </tr> | ||||
<tr align="center"> | <tr align="center"> | ||||
<td width="20%">级别名称</td> | <td width="20%">级别名称</td> | ||||
@@ -50,8 +50,8 @@ | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k;?>"> | <input type="hidden" name="idend" value="<?php echo $k;?>"> | ||||
<tr bgcolor="#fbfce2"> | |||||
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td> | |||||
<tr> | |||||
<td colspan="6"><div class="alert alert-info mb-0">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</div></td> | |||||
</tr> | </tr> | ||||
<tr align="center"> | <tr align="center"> | ||||
<td>级别名称</td> | <td>级别名称</td> | ||||
@@ -35,9 +35,7 @@ | |||||
<td width="23%" align="center" bgcolor="#fbfce2">级别头衔</td> | <td width="23%" align="center" bgcolor="#fbfce2">级别头衔</td> | ||||
<td width="30%" align="center" bgcolor="#fbfce2">是否默认</td> | <td width="30%" align="center" bgcolor="#fbfce2">是否默认</td> | ||||
</tr> | </tr> | ||||
<?php | |||||
foreach($Scores as $v){ | |||||
?> | |||||
<?php foreach($Scores as $v){ ?> | |||||
<tr onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
<td align="center"><input type="checkbox" name="Ids-<?php echo $v['id']?>" id="Ids-<?php echo $v['id']?>" value="1"></td> | <td align="center"><input type="checkbox" name="Ids-<?php echo $v['id']?>" id="Ids-<?php echo $v['id']?>" value="1"></td> | ||||
<td align="center"><input type="text" name="integral-<?php echo $v['id']?>" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td> | <td align="center"><input type="text" name="integral-<?php echo $v['id']?>" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td> | ||||
@@ -31,11 +31,11 @@ | |||||
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 提升为管理员</td> | <td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 提升为管理员</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"> | |||||
<td> | |||||
<?php | <?php | ||||
if ($row['matt']==10) | if ($row['matt']==10) | ||||
{ | { | ||||
echo "<span class='text-danger'>已经是管理员了,不要再提升了</span>"; | |||||
echo '<div class="alert alert-info mb-0">已经是管理员了,不要再提升了</div>'; | |||||
} else { | } else { | ||||
?> | ?> | ||||
<table width="98%" cellspacing="0" cellpadding="6" class="table table-borderless"> | <table width="98%" cellspacing="0" cellpadding="6" class="table table-borderless"> | ||||
@@ -33,10 +33,10 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 查看会员</td> | <td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 查看会员</td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td align="center"> | |||||
<?php if ($row['matt']==10) echo "<span class='text-danger'>当前用户是网站管理员关连的帐号,请小心操作</span>";?> | |||||
<table width="98%" cellspacing="0" cellpadding="6" class="table table-borderless"> | |||||
<tr> | |||||
<td> | |||||
<?php if ($row['matt']==10) echo '<div class="alert alert-info mb-0">当前用户是网站管理员关连的帐号,请小心操作</div>';?> | |||||
<table width="98%" cellspacing="0" cellpadding="6" class="table table-borderless"> | |||||
<form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> | <form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> | ||||
<input type="hidden" name="dopost" value="edituser"> | <input type="hidden" name="dopost" value="edituser"> | ||||
<input type="hidden" name="id" value="<?php echo $id?>"> | <input type="hidden" name="id" value="<?php echo $id?>"> | ||||
@@ -57,14 +57,14 @@ | |||||
<td class="bline">注册时间:</td> | <td class="bline">注册时间:</td> | ||||
<td class="bline"> | <td class="bline"> | ||||
<?php echo GetDateTimeMk($row['jointime'])?> | <?php echo GetDateTimeMk($row['jointime'])?> | ||||
IP:<?php echo $row['joinip']?> | |||||
ip:<?php echo $row['joinip']?> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="bline">最近登录时间:</td> | <td class="bline">最近登录时间:</td> | ||||
<td class="bline"> | <td class="bline"> | ||||
<?php echo GetDateTimeMk($row['logintime'])?> | <?php echo GetDateTimeMk($row['logintime'])?> | ||||
IP:<?php echo $row['loginip']?> | |||||
ip:<?php echo $row['loginip']?> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -103,17 +103,17 @@ | |||||
$dsql->Execute('n'); | $dsql->Execute('n'); | ||||
$MemberTypes[0] = "限制会员"; | $MemberTypes[0] = "限制会员"; | ||||
while($nrow = $dsql->GetObject('n')){ | while($nrow = $dsql->GetObject('n')){ | ||||
$MemberTypes[$nrow->rank] = $nrow->membername; | |||||
$MemberTypes[$nrow->rank] = $nrow->membername; | |||||
} | } | ||||
$options = "<select name='rank' style='width:160px'>"; | $options = "<select name='rank' style='width:160px'>"; | ||||
foreach($MemberTypes as $k=>$v) | foreach($MemberTypes as $k=>$v) | ||||
{ | { | ||||
if ($k!=$row['rank']) $options .= "<option value='$k'>$v</option>"; | |||||
else $options .= "<option value='$k' selected>$v</option>"; | |||||
if ($k!=$row['rank']) $options .= "<option value='$k'>$v</option>"; | |||||
else $options .= "<option value='$k' selected>$v</option>"; | |||||
} | } | ||||
$options .= "</select>"; | $options .= "</select>"; | ||||
echo $options; | |||||
?> | |||||
echo $options; | |||||
?> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -46,7 +46,7 @@ | |||||
<td><input type="text" name="modulname" id="modulname" style="width:160px" value="<?php echo $name;?>"></td> | <td><input type="text" name="modulname" id="modulname" style="width:160px" value="<?php echo $name;?>"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>开发者ID:</td> | |||||
<td>开发者id:</td> | |||||
<td><input type="text" name="dev_id2" id="dev_id2" style="width:160px" value="<?php echo $dev_id;?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td> | <td><input type="text" name="dev_id2" id="dev_id2" style="width:160px" value="<?php echo $dev_id;?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -21,8 +21,7 @@ | |||||
</script> | </script> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="alert alert-info maintable" style="margin:1rem auto">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div> | |||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||||
<form name="form1" action="plus_add.php" method="post"> | <form name="form1" action="plus_add.php" method="post"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<tr> | <tr> | ||||
@@ -37,6 +36,9 @@ | |||||
</div> | </div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td colspan="6"><div class="alert alert-info mb-0">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div></td> | |||||
</tr> | |||||
<tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
<td align="center" width="16%">模块名称</td> | <td align="center" width="16%">模块名称</td> | ||||
<td align="center" width="12%">发布时间</td> | <td align="center" width="12%">发布时间</td> | ||||
@@ -37,9 +37,7 @@ | |||||
<td bgcolor="#f8f8f8" colspan="2"><a href="module_main.php">模块管理</a> > 模块打包</td> | <td bgcolor="#f8f8f8" colspan="2"><a href="module_main.php">模块管理</a> > 模块打包</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<div class="alert alert-info mb-0">制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a></div> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-info mb-0">制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a></div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="260">模块名称:</td> | <td width="260">模块名称:</td> | ||||
@@ -59,7 +57,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>开发者ID:</td> | |||||
<td>开发者id:</td> | |||||
<td><input type="text" name="dev_id" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td> | <td><input type="text" name="dev_id" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -3,7 +3,7 @@ | |||||
<head> | <head> | ||||
<meta charset="<?php echo $cfg_soft_lang;?>"> | <meta charset="<?php echo $cfg_soft_lang;?>"> | ||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | ||||
<title>新增频道</title> | |||||
<title>新增内容模型</title> | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
@@ -93,7 +93,7 @@ | |||||
<table width="98%" id='needset' cellpadding="3" cellspacing="1" align="center" class="table maintable"> | <table width="98%" id='needset' cellpadding="3" cellspacing="1" align="center" class="table maintable"> | ||||
<?php if ($row['issystem'] == 1){?> | <?php if ($row['issystem'] == 1){?> | ||||
<tr> | <tr> | ||||
<td colspan="2" class="border-top-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃</td> | |||||
<td colspan="2" class="border-top-0"><div class="alert alert-danger mb-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃</div></td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<tr> | <tr> | ||||
@@ -98,9 +98,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<div class="alert alert-danger mb-0">所有填写的内容不允许包含双引号["],否则配置将无法写入</div> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的内容不允许包含双引号["],否则配置将无法写入</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="30%">表单提示文字:<br> | <td width="30%">表单提示文字:<br> | ||||
@@ -80,9 +80,7 @@ | |||||
</tr> | </tr> | ||||
<?php if ($row['issystem']==1){?> | <?php if ($row['issystem']==1){?> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<span class="style1">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</span> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-danger mb-0">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</div></td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<tr> | <tr> | ||||
@@ -3,7 +3,7 @@ | |||||
<head> | <head> | ||||
<meta charset="<?php echo $cfg_soft_lang;?>"> | <meta charset="<?php echo $cfg_soft_lang;?>"> | ||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | ||||
<title>修改频道</title> | |||||
<title>自定义搜索管理</title> | |||||
<script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
<script src="js/main.js"></script> | <script src="js/main.js"></script> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
@@ -28,7 +28,7 @@ | |||||
<input type="hidden" name="dopost" value="modifysearch"> | <input type="hidden" name="dopost" value="modifysearch"> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="2"> | <td bgcolor="#f8f8f8" colspan="2"> | ||||
<a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理(自定义搜索在方便搜索的同时在一定程度上降低了效率,请根据需求定义搜索) | |||||
<a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理 | |||||
<span class="float-right mr-2"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></span> | <span class="float-right mr-2"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -60,7 +60,7 @@ | |||||
<td><input type="text" name="template" value="<?php echo $template;?>" style="width:260px"></td> | <td><input type="text" name="template" value="<?php echo $template;?>" style="width:260px"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center" colspan="2" class="py-2"> | |||||
<td align="center" bgcolor="#fbfce2" colspan="2" class="py-2"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | <button type="submit" class="btn btn-success btn-sm">保存</button> | ||||
<button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | <button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | ||||
</td> | </td> | ||||
@@ -64,11 +64,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | ||||
<tr> | <tr> | ||||
<td colspan="3">自定义标记的调用方法:<br> | |||||
{dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目id'/}<br> | |||||
1、name 标记名称,该项是必须的属性,以下 2、3是可选属性;<br> | |||||
2、ismake 默认是 no 表示设定的纯HTML代码, yes 表示含板块标记的代码;<br> | |||||
3、typeid 表示所属栏目的id,默认为 0 ,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id</td> | |||||
<td colspan="3"><div class="alert alert-info mb-0">自定义标记的调用方法:{dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目id'/} 1、name 标记名称,该项是必须的属性,以下2、3是可选属性;2、ismake 默认是no表示设定的纯HTML代码,yes表示含板块标记的代码;3、typeid表示所属栏目的id,默认为0,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="15%" align="center">所属栏目:</td> | <td width="15%" align="center">所属栏目:</td> | ||||
@@ -26,9 +26,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="5"> | |||||
<div class="alert alert-info mb-0">为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确定要删除,请自行在数据表biz_admin中删除</div> | |||||
</td> | |||||
<td colspan="5"><div class="alert alert-info mb-0">为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确定要删除,请自行在数据表biz_admin中删除</div></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
<td width="8%" align="center">id</td> | <td width="8%" align="center">id</td> | ||||
@@ -13,7 +13,7 @@ | |||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.userid.value == "") { | if (document.form1.userid.value == "") { | ||||
ShowMsg("用户ID不能为空"); | |||||
ShowMsg("用户id不能为空"); | |||||
document.form1.userid.focus(); | document.form1.userid.focus(); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -50,8 +50,8 @@ | |||||
<input type="hidden" name="dopost" value="add"> | <input type="hidden" name="dopost" value="add"> | ||||
<table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless"> | <table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="260" class="bline">用户登录ID:</td> | |||||
<td><input type="text" name="userid" id="userid" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td> | |||||
<td width="260" class="bline">用户登录id:</td> | |||||
<td><input type="text" name="userid" id="userid" size="16" style="width:260px">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="bline">用户名称:</td> | <td class="bline">用户名称:</td> | ||||
@@ -59,7 +59,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="bline">用户密码:</td> | <td class="bline">用户密码:</td> | ||||
<td><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td> | |||||
<td><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="bline">用户组:</td> | <td class="bline">用户组:</td> | ||||
@@ -28,7 +28,7 @@ | |||||
<input type="hidden" name="id" value="<?php echo $row['id']?>"> | <input type="hidden" name="id" value="<?php echo $row['id']?>"> | ||||
<table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless"> | <table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="260" class="bline">用户登录ID:</td> | |||||
<td width="260" class="bline">用户登录id:</td> | |||||
<td><?php echo $row['userid']?></td> | <td><?php echo $row['userid']?></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -16,9 +16,10 @@ | |||||
<td bgcolor="#f8f8f8">更新系统缓存</td> | <td bgcolor="#f8f8f8">更新系统缓存</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>本程序作默认会执行下面的操作:1.更新栏目缓存 2.更新枚举缓存 3.清理arclist调用缓存 4.清理过期会员访问历史 5.删除过期短信<br> | |||||
<label><input type="checkbox" name="uparc" value="1"> 检测并清理错误文档</label>(该项操作很占资源,如果没有出现页码不正确、无法解析文档等情况,不要执行本操作) | |||||
</td> | |||||
<td><div class="alert alert-info mb-0">本程序作默认会执行下面的操作:1、更新栏目缓存 2、更新枚举缓存 3、清理arclist调用缓存 4、清理过期会员访问历史 5、删除过期短信</div></td> | |||||
</tr> | |||||
<tr> | |||||
<td>该项操作很占资源,如果没有出现页码不正确、无法解析文档等情况,不要执行本操作:<label><input type="checkbox" name="uparc" value="1"> 清理错误文档</label></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#fbfce2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" value="" onClick="document.form1.submit();">开始执行</button></td> | <td bgcolor="#fbfce2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" value="" onClick="document.form1.submit();">开始执行</button></td> | ||||
@@ -53,9 +53,7 @@ | |||||
<td class="p-0"> | <td class="p-0"> | ||||
<table width="100%" cellpadding="2" cellspacing="2" class="table table-borderless"> | <table width="100%" cellpadding="2" cellspacing="2" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<div class="alert alert-info mb-0">程序用于批量替换数据库中某字段的内容,此操作极为危险,请小心使用</div> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-info mb-0">程序用于批量替换数据库中某字段的内容,此操作极为危险,请小心使用</div></td> | |||||
</tr> | </tr> | ||||
<tr id="datasel"> | <tr id="datasel"> | ||||
<td width="260">选择数据表与字段:</td> | <td width="260">选择数据表与字段:</td> | ||||
@@ -19,13 +19,12 @@ | |||||
<td align="center"> | <td align="center"> | ||||
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="10%">组名称:</td> | |||||
<td width="90%" style="text-align:left"><input type="text" name="groupname" id="groupname"></td> | |||||
<td width="90">组名称:</td> | |||||
<td><input type="text" name="groupname" id="groupname" style="width:160px"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="10%">级别值:</td> | |||||
<td width="90%" style="text-align:left"><input type="text" name="rankid" id="rankid" size="6">(数字,系统已占用的级别值: | |||||
<?php $dsql->SetQuery("Select `rank` From `#@__admintype`");$dsql->Execute();while($row = $dsql->GetObject()) echo '<span style=\'color:#e74d58\'>'.$row->rank.'</span>';?>,级别值必须小于10,超过或等于10所有权限设置将无效(超级管理员),如果10个组不能完全满足您的要求,允许使用小数)</td> | |||||
<td>级别值:</td> | |||||
<td><input type="text" name="rankid" id="rankid" style="width:160px">(数字,系统已占用的级别值:<?php $dsql->SetQuery("Select `rank` From `#@__admintype`");$dsql->Execute();while($row = $dsql->GetObject()) echo '<span style="color:#e74d58">'.$row->rank.'</span>';?>,级别值必须小于10,超过或等于10所有权限设置将无效(超级管理员),如果10个组不能完全满足您的要求,允许使用小数)</td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$start = 0; | $start = 0; | ||||
@@ -20,15 +20,12 @@ | |||||
<td align="center"> | <td align="center"> | ||||
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="10%">组名称:</td> | |||||
<td width="90%"><input type="text" name="typename" id="typename" value="<?php echo $groupSet['typename']?>" style="width:260px"></td> | |||||
<td width="260">组名称:</td> | |||||
<td><input type="text" name="typename" id="typename" value="<?php echo $groupSet['typename']?>" style="width:160px"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="10%">级别值:</td> | |||||
<td width="90%"> | |||||
<input type="hidden" name="rank" id="rank" value="<?php echo $groupSet['rank']?>"> | |||||
<?php echo $groupSet['rank']?> | |||||
</td> | |||||
<td>级别值:</td> | |||||
<td><input type="hidden" name="rank" id="rank" value="<?php echo $groupSet['rank']?>" style="width:160px"> <?php echo $groupSet['rank']?></td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$start = 0; | $start = 0; | ||||
@@ -44,39 +44,32 @@ | |||||
</script> | </script> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div id="loaddiv" style="display:none"> | |||||
<p align="center" style="padding-top:160px"><img src="../static/web/img/loadinglit.gif" style="vertical-align:middle">请稍后,正在操作中</p> | |||||
</div> | |||||
<?php echo $alter;?> | |||||
<div id="loaddiv" style="display:none;text-align:center"><img src="../static/web/img/loadinglit.gif" style="vertical-align:middle">请稍后,正在操作中</div> | |||||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | ||||
<tr> | <tr> | ||||
<td width="100%" bgcolor="#f8f8f8" colspan="2">木马自检程序</td> | |||||
<td bgcolor="#f8f8f8">木马自检程序</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
安全建议:<br> | |||||
1、有条件的用户把data、system、theme修改为不可对外访问,static、a目录设置为不允许执行脚本,其它目录禁止写入,系统将更安全;<br> | |||||
2、本检测程以开发模式为标准,如果您的网站目录包含其它系统,此检测程序可能会产生错误判断;<br> | |||||
3、检测程序会跳过对模板缓存目录的检测,为了安全起见,检测完成后建议清空模板缓存 | |||||
</td> | |||||
<td><?php echo $alter;?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<p>文件类型:<input type="text" name="filetype" id="filetype" value="php|inc" style="width:390px"> 要检查的文件类型</p> | |||||
<p>代码特征:<input type="text" name="info" id="info" value="eval|cmd|system|exec|_GET|_POST|_REQUEST|base64_decode" style="width:390px"> 特征代码</p> | |||||
<td> | |||||
<span>文件类型:<input type="text" name="filetype" id="filetype" value="php|inc" style="width:390px"></span> | |||||
<span>代码特征:<input type="text" name="info" id="info" value="eval|cmd|system|exec|_GET|_POST|_REQUEST|base64_decode" style="width:390px"></span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" align="center" class="py-2"> | |||||
<td>检测结果:结果仅供参考,请务必查看源码后才删除非法文件<br> | |||||
安全建议:1、有条件的用户把data、system、theme修改为不可对外访问,static、a目录设置为不允许执行脚本,其它目录禁止写入,系统将更安全;2、本检测程以开发模式为标准,如果您的网站目录包含其它系统,此检测程序可能会产生错误判断;3、检测程序会跳过对模板缓存目录的检测,为了安全起见,检测完成后建议清空模板缓存</td> | |||||
</tr> | |||||
<tr> | |||||
<td align="center" class="py-2"> | |||||
<button type="button" name="bt1" class="btn btn-success btn-sm" onclick="LoadCtTest();">开始检测</button> | <button type="button" name="bt1" class="btn btn-success btn-sm" onclick="LoadCtTest();">开始检测</button> | ||||
<button type="button" name="bt2" class="btn btn-success btn-sm" onclick="LoadCtClear();">清空模板缓存</button> | <button type="button" name="bt2" class="btn btn-success btn-sm" onclick="LoadCtClear();">清空模板缓存</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" bgcolor="#f8f8f8">检测结果:结果仅供参考,请务必查看源码后才删除非法文件</td> | |||||
</tr> | |||||
<tr> | |||||
<td height="360" colspan="2" id="messagetd" valign="top"></td> | |||||
<td id="messagetd" valign="top"></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</body> | </body> |
@@ -32,10 +32,7 @@ | |||||
<td bgcolor="#f8f8f8" colspan="2">全局标记测试</td> | <td bgcolor="#f8f8f8" colspan="2">全局标记测试</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文档模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文档或列表所在的栏目,如果您要测试的标记是在列表或文档中使用,请指定环境变量(栏目id)<br> | |||||
各标记的具体含义和用途,请在<a href="https://www.dedebiz.com/help" target="_blank">模板标记参考</a>一章查阅 | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-info mb-0">全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文档模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文档或列表所在的栏目,如果您要测试的标记是在列表或文档中使用,请指定环境变量(栏目id)各标记的具体含义和用途,请在<a href="https://www.dedebiz.com/help" target="_blank">模板标记参考</a>一章查阅</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2">输入要测试的局部代码:</td> | <td colspan="2">输入要测试的局部代码:</td> | ||||
@@ -34,23 +34,23 @@ | |||||
let keywords = rs.keywords ? rs.keywords : ""; | let keywords = rs.keywords ? rs.keywords : ""; | ||||
let description = rs.description ? rs.description : ""; | let description = rs.description ? rs.description : ""; | ||||
ShowMsg(` | ShowMsg(` | ||||
<div class="form-group row"> | |||||
<label for="iptTitle" class="col-sm-3 col-form-label">标签</label> | |||||
<div class="col-sm-9"><input type="text" name="title" class="form-control" disabled value="${tag}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptKw" class="col-sm-3 col-form-label">标题</label> | |||||
<div class="col-sm-9"><input type="text" name="title" class="form-control" id="iptTitle" placeholder="例如:DedeBIZ商业组件" value="${title}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptKw" class="col-sm-3 col-form-label">关键词</label> | |||||
<div class="col-sm-9"><input type="text" name="kw" class="form-control" id="iptKw" placeholder="例如:DedeBIZ,Dede商业" value="${keywords}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptDes" class="col-sm-3 col-form-label">描述</label> | |||||
<div class="col-sm-9"><textarea id="iptDes" name="des" class="form-control" placeholder="例如:DedeBIZ系统基于PHP7版本开发,具有很强的可扩展性,并且完全开放源代码。">${description}</textarea></div> | |||||
</div> | |||||
`, { | |||||
<div class="form-group row"> | |||||
<label for="iptTitle" class="col-sm-3 col-form-label">标签</label> | |||||
<div class="col-sm-9"><input type="text" name="title" class="form-control" disabled value="${tag}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptKw" class="col-sm-3 col-form-label">标题</label> | |||||
<div class="col-sm-9"><input type="text" name="title" class="form-control" id="iptTitle" placeholder="例如:DedeBIZ商业组件" value="${title}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptKw" class="col-sm-3 col-form-label">关键词</label> | |||||
<div class="col-sm-9"><input type="text" name="kw" class="form-control" id="iptKw" placeholder="例如:DedeBIZ,Dede商业" value="${keywords}"></div> | |||||
</div> | |||||
<div class="form-group row"> | |||||
<label for="iptDes" class="col-sm-3 col-form-label">描述</label> | |||||
<div class="col-sm-9"><textarea id="iptDes" name="des" class="form-control" placeholder="例如:DedeBIZ系统基于PHP7版本开发,具有很强的可扩展性,并且完全开放源代码。">${description}</textarea></div> | |||||
</div> | |||||
`, { | |||||
footer: `<button type="button" class="btn btn-outline-success btn-sm" onclick="UpdateKwDesDo(${tid}, '~modalID~')">设置</button>`, | footer: `<button type="button" class="btn btn-outline-success btn-sm" onclick="UpdateKwDesDo(${tid}, '~modalID~')">设置</button>`, | ||||
}); | }); | ||||
}) | }) | ||||
@@ -33,9 +33,7 @@ | |||||
<td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> > 增加自定义页面</td> | <td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> > 增加自定义页面</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="260">页面标题:</td> | <td width="260">页面标题:</td> | ||||
@@ -37,9 +37,7 @@ | |||||
<td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> > 修改自定义页面</td> | <td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> > 修改自定义页面</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | |||||
<div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div> | |||||
</td> | |||||
<td colspan="2"><div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="260">页面标题:</td> | <td width="260">页面标题:</td> | ||||
@@ -18,15 +18,7 @@ | |||||
<td width="20%" bgcolor="#f8f8f8">操作</td> | <td width="20%" bgcolor="#f8f8f8">操作</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="4"> | |||||
<span class="float-left py-2">当前位置:标签源码碎片管理(文件存放在 ../system/taglib 文件夹)</span> | |||||
<span class="float-right mr-2"><a href="tpl.php?action=addnewtag" class="btn btn-success btn-sm">增加一个新的标签</a></span> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="4"> | |||||
<div class="alert alert-danger mb-0">修改系统标签有风险,请小心操作</div> | |||||
</td> | |||||
<td colspan="4"><div class="alert alert-danger mb-0">修改系统标签有风险,请小心操作,文件存放在 ../system/taglib文件夹</div></td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
$dh = dir($libdir); | $dh = dir($libdir); | ||||
@@ -44,6 +36,9 @@ | |||||
<td align="center"><a href="tpl.php?action=edittag&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 编辑</a></td> | <td align="center"><a href="tpl.php?action=edittag&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 编辑</a></td> | ||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<tr> | |||||
<td colspan="4"><a href="tpl.php?action=addnewtag" class="btn btn-success btn-sm">增加一个新的标签</a></td> | |||||
</tr> | |||||
</table> | </table> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -109,7 +109,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>投票时间间隔:</td> | <td>投票时间间隔:</td> | ||||
<td><input type="text" name="spec" value="" class="spec" style="width:260px">(N天后可再次投票,0 表示此IP地址只能投一次)</td> | |||||
<td><input type="text" name="spec" value="" class="spec" style="width:260px">(N天后可再次投票,0 表示此ip地址只能投一次)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否多选:</td> | <td>是否多选:</td> | ||||
@@ -89,7 +89,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>投票时间间隔:</td> | <td>投票时间间隔:</td> | ||||
<td><input type="text" name="spec" value="<?php echo $row['spec'] ?>" class="spec">(N天后可再次投票,0 表示此IP地址只能投一次)</td> | |||||
<td><input type="text" name="spec" value="<?php echo $row['spec'] ?>" class="spec">(N天后可再次投票,0 表示此ip地址只能投一次)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否多选:</td> | <td>是否多选:</td> | ||||
@@ -370,6 +370,10 @@ span.page-link { | |||||
color:#fff; | color:#fff; | ||||
background:#28a745 | background:#28a745 | ||||
} | } | ||||
.fa { | |||||
font-size:14px!important; | |||||
color:inherit | |||||
} | |||||
.btn-xs { | .btn-xs { | ||||
padding:2px; | padding:2px; | ||||
line-height:12px; | line-height:12px; | ||||
@@ -378,14 +382,6 @@ span.page-link { | |||||
.btn+.btn,.btn-text+.btn-text { | .btn+.btn,.btn-text+.btn-text { | ||||
margin-left:1rem | margin-left:1rem | ||||
} | } | ||||
.fa { | |||||
font-size:14px!important; | |||||
color:inherit | |||||
} | |||||
.maintable { | |||||
width:98%!important; | |||||
border:1px solid #dee2e6!important | |||||
} | |||||
.table { | .table { | ||||
margin-bottom:0; | margin-bottom:0; | ||||
color:#545b62 | color:#545b62 | ||||
@@ -394,6 +390,10 @@ span.page-link { | |||||
padding:.65rem; | padding:.65rem; | ||||
vertical-align:middle | vertical-align:middle | ||||
} | } | ||||
.maintable { | |||||
width:98%!important; | |||||
border:1px solid #dee2e6!important | |||||
} | |||||
.form-control { | .form-control { | ||||
display:inline-block; | display:inline-block; | ||||
margin-right:10px; | margin-right:10px; | ||||
@@ -436,10 +436,10 @@ span.page-link { | |||||
width:360px; | width:360px; | ||||
height:50px | height:50px | ||||
} | } | ||||
.file-icon,svg { | |||||
.icon img { | |||||
margin-right:10px; | margin-right:10px; | ||||
width:22px; | |||||
height:22px; | |||||
width:20px; | |||||
height:20px; | |||||
border-radius:.2rem | border-radius:.2rem | ||||
} | } | ||||
#text { | #text { | ||||
@@ -19,7 +19,7 @@ define('ALERT_COLORS', array( | |||||
ALERT_LIGHT => array('#fefefe','#fdfdfe','#636464'), | ALERT_LIGHT => array('#fefefe','#fdfdfe','#636464'), | ||||
ALERT_DARK => array('#d3d3d4','#bcbebf','#141619'), | ALERT_DARK => array('#d3d3d4','#bcbebf','#141619'), | ||||
)); | )); | ||||
define("ALERT_TPL", '<div style="width:98%;margin:0 auto"><div style="font-size:12px;margin:1rem auto;color:~color~;background:~background~;border-color:~border~;position:relative;padding:.75rem 1.25rem;border:1px solid transparent;border-radius:.2rem">~content~</div></div>'); | |||||
define("ALERT_TPL", '<div class="alert alert-danger mb-0">~content~</div>'); | |||||
//$content:内容 $type:alert类型 | //$content:内容 $type:alert类型 | ||||
function DedeAlert($content, $type = ALERT_PRIMARY) | function DedeAlert($content, $type = ALERT_PRIMARY) | ||||
{ | { | ||||
@@ -417,7 +417,7 @@ class MemberLogin | |||||
* 保存用户cookie | * 保存用户cookie | ||||
* | * | ||||
* @access public | * @access public | ||||
* @param string $uid 用户ID | |||||
* @param string $uid 用户id | |||||
* @param string $logintime 登录限制时间 | * @param string $logintime 登录限制时间 | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
@@ -38,7 +38,7 @@ | |||||
<small>作者:</small>{dede:field.writer/} | <small>作者:</small>{dede:field.writer/} | ||||
<small>点击:</small><span id="_count">...</span>次 | <small>点击:</small><span id="_count">...</span>次 | ||||
</div> | </div> | ||||
<div class="body py-2">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="body py-3">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<nav> | <nav> | ||||
<ul class="pagination justify-content-center py-2">{dede:pagebreak/}</ul> | <ul class="pagination justify-content-center py-2">{dede:pagebreak/}</ul> | ||||
</nav> | </nav> | ||||
@@ -53,7 +53,7 @@ | |||||
</table> | </table> | ||||
{/dede:fieldlist} | {/dede:fieldlist} | ||||
</div> | </div> | ||||
<div class="body py-2">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="body py-3">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="clearfix"></div> | <div class="clearfix"></div> | ||||
{dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | {dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | ||||
<div class="row"> | <div class="row"> | ||||
@@ -56,7 +56,7 @@ | |||||
</table> | </table> | ||||
{/dede:fieldlist} | {/dede:fieldlist} | ||||
</div> | </div> | ||||
<div class="body py-2">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="body py-3">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="clearfix"></div> | <div class="clearfix"></div> | ||||
{dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | {dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | ||||
<div class="row"> | <div class="row"> | ||||
@@ -132,7 +132,7 @@ | |||||
} | } | ||||
{/dede:field} | {/dede:field} | ||||
</div> | </div> | ||||
<div class="body py-2">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="body py-3">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="clearfix"></div> | <div class="clearfix"></div> | ||||
{dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | {dede:include comment='文档顶踩模块' filename='widget_article_digg.htm'/} | ||||
<div class="row"> | <div class="row"> | ||||
@@ -29,7 +29,7 @@ | |||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-8 article-main"> | <div class="col-md-8 article-main"> | ||||
<h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | <h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | ||||
<div class="body py-2"> | |||||
<div class="body py-3"> | |||||
<div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div> | <div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div> | ||||
<p><small>所属区域:</small><span>{dede:field.nativeplace/}</span></p> | <p><small>所属区域:</small><span>{dede:field.nativeplace/}</span></p> | ||||
<p><small>信息类型:</small><span>{dede:field.infotype/}</span></p> | <p><small>信息类型:</small><span>{dede:field.infotype/}</span></p> | ||||
@@ -29,7 +29,7 @@ | |||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-8 article-main"> | <div class="col-md-8 article-main"> | ||||
<h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | <h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | ||||
<div class="body py-2"> | |||||
<div class="body py-3"> | |||||
<div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div> | <div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div> | ||||
<p><small>商品原价:</small><span>{dede:field.price/}</span></p> | <p><small>商品原价:</small><span>{dede:field.price/}</span></p> | ||||
<p><small>优惠价格:</small><span>{dede:field.trueprice/}</span></p> | <p><small>优惠价格:</small><span>{dede:field.trueprice/}</span></p> | ||||
@@ -29,7 +29,7 @@ | |||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-8 article-main"> | <div class="col-md-8 article-main"> | ||||
<h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | <h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | ||||
<div class="body py-2"> | |||||
<div class="body py-3"> | |||||
<div class="float-right">{dede:field name='image'/}</div> | <div class="float-right">{dede:field name='image'/}</div> | ||||
<p><small>软件类型:</small><span>{dede:field.softtype/}</span></p> | <p><small>软件类型:</small><span>{dede:field.softtype/}</span></p> | ||||
<p><small>授权方式:</small><span>{dede:field.accredit/}</span></p> | <p><small>授权方式:</small><span>{dede:field.accredit/}</span></p> | ||||
@@ -48,9 +48,7 @@ | |||||
</p> | </p> | ||||
<p><small>详细介绍:</small><span>{dede:field.introduce/}</span></p> | <p><small>详细介绍:</small><span>{dede:field.introduce/}</span></p> | ||||
<p>下载说明</p> | <p>下载说明</p> | ||||
<div class="alert alert-success"> | |||||
{dede:softmsg/} | |||||
</div> | |||||
<div class="alert alert-success">{dede:softmsg/}</div> | |||||
<p>下载地址</p> | <p>下载地址</p> | ||||
<ul class="downurllist"> | <ul class="downurllist"> | ||||
{dede:field name='softlinks'/} | {dede:field name='softlinks'/} | ||||
@@ -36,7 +36,7 @@ | |||||
<small>作者:</small>{dede:field.writer/} | <small>作者:</small>{dede:field.writer/} | ||||
</div> | </div> | ||||
<div class="speciallist row pt-2">{dede:field.note/}</div> | <div class="speciallist row pt-2">{dede:field.note/}</div> | ||||
<div class="body py-2">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="body py-3">{dede:field.body/}(责任编辑:{dede:adminname/})</div> | |||||
<div class="clearfix"></div> | <div class="clearfix"></div> | ||||
</div> | </div> | ||||
<aside class="col-md-4 article-sidebar"> | <aside class="col-md-4 article-sidebar"> | ||||
@@ -29,7 +29,7 @@ | |||||
<div class="row"> | <div class="row"> | ||||
<div class="col-12 article-main"> | <div class="col-12 article-main"> | ||||
<h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | <h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2> | ||||
<div class="body py-2">{dede:field.body/}</div> | |||||
<div class="body py-3">{dede:field.body/}</div> | |||||
<nav> | <nav> | ||||
<ul class="pagination justify-content-center py-2">{dede:pagebreak/}</ul> | <ul class="pagination justify-content-center py-2">{dede:pagebreak/}</ul> | ||||
</nav> | </nav> | ||||
@@ -66,7 +66,7 @@ function sendmail($email, $mailtitle, $mailbody, $headers) | |||||
* 发送邮件;type为INSERT新建验证码,UPDATE修改验证码; | * 发送邮件;type为INSERT新建验证码,UPDATE修改验证码; | ||||
* | * | ||||
* @param int $mid 会员ID | * @param int $mid 会员ID | ||||
* @param int $userid 用户ID | |||||
* @param int $userid 用户id | |||||
* @param string $mailto 发送到 | * @param string $mailto 发送到 | ||||
* @param string $type 类型 | * @param string $type 类型 | ||||
* @param string $send 发送到 | * @param string $send 发送到 | ||||
@@ -113,7 +113,7 @@ function newmail($mid, $userid, $mailto, $type, $send) | |||||
* 查询会员信息mail用户输入邮箱地址;userid用户名 | * 查询会员信息mail用户输入邮箱地址;userid用户名 | ||||
* | * | ||||
* @param string $mail 邮件 | * @param string $mail 邮件 | ||||
* @param string $userid 用户ID | |||||
* @param string $userid 用户id | |||||
* @return string | * @return string | ||||
*/ | */ | ||||
function member($mail, $userid) | function member($mail, $userid) | ||||
@@ -121,7 +121,7 @@ function member($mail, $userid) | |||||
global $db; | global $db; | ||||
$sql = "SELECT mid,email,safequestion FROM `#@__member` WHERE email='$mail' AND userid = '$userid'"; | $sql = "SELECT mid,email,safequestion FROM `#@__member` WHERE email='$mail' AND userid = '$userid'"; | ||||
$row = $db->GetOne($sql); | $row = $db->GetOne($sql); | ||||
if (!is_array($row)) return ShowMsg("对不起,用户ID输入错误", "-1"); | |||||
if (!is_array($row)) return ShowMsg("对不起,用户id输入错误", "-1"); | |||||
else return $row; | else return $row; | ||||
} | } | ||||
/** | /** | ||||
@@ -28,9 +28,7 @@ | |||||
</span> | </span> | ||||
</nav> | </nav> | ||||
<div id="mainCp"> | <div id="mainCp"> | ||||
<div class="alert alert-success"> | |||||
<?php echo $cfg_ml->GetSta($dsql);?> | |||||
</div> | |||||
<div class="alert alert-success"><?php echo $cfg_ml->GetSta($dsql);?></div> | |||||
<?php | <?php | ||||
if ($cfg_money_scores > 0) { | if ($cfg_money_scores > 0) { | ||||
?> | ?> | ||||