| @@ -1,6 +1,6 @@ | |||
| <?php | |||
| /** | |||
| * 图集发布 | |||
| * 图片发布 | |||
| * | |||
| * @version $id:album_add.php 8:26 2010年7月12日 tianya $ | |||
| * @package DedeBIZ.Administrator | |||
| @@ -292,12 +292,12 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图集管理</a>$backurl"; | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览图片</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图片管理</a>$backurl"; | |||
| $msg = "<div>{$msg}</div>".GetUpdateTest(); | |||
| $wintitle = "成功发布一个图集"; | |||
| $wecome_info = "文档管理::发布图集"; | |||
| $wintitle = "成功发布一个图片"; | |||
| $wecome_info = "文档管理::发布图片"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功发布一个图集"); | |||
| $win->AddTitle("成功发布一个图片"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", FALSE); | |||
| $win->Display(); | |||
| @@ -1,6 +1,6 @@ | |||
| <?php | |||
| /** | |||
| * 图集编辑 | |||
| * 图片编辑 | |||
| * | |||
| * @version $id:album_edit.php 8:26 2010年7月12日 tianya $ | |||
| * @package DedeBIZ.Administrator | |||
| @@ -330,11 +330,11 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图集</a>$backurl"; | |||
| $wintitle = "成功修改图集"; | |||
| $wecome_info = "文档管理::修改图集"; | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览图片</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图片</a>$backurl"; | |||
| $wintitle = "成功修改图片"; | |||
| $wecome_info = "文档管理::修改图片"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功修改一个图集"); | |||
| $win->AddTitle("成功修改一个图片"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -1,6 +1,6 @@ | |||
| <?php | |||
| /** | |||
| * 图集测试 | |||
| * 图片测试 | |||
| * | |||
| * @version $id:album_testhtml.php 8:26 2010年7月12日 tianya $ | |||
| * @package DedeBIZ.Administrator | |||
| @@ -1 +1 @@ | |||
| div.flash{margin:10px 5px;width:375px;border-color:#D9E4FF;border-radius:.2rem}#btnSubmit{margin:0 0 0 150px}.progressWrapper{width:360px;overflow:hidden}.progressContainer{padding:5px;margin:5px;background:#f5f5f5;border:solid 1px #E8E8E8;overflow:hidden}.message{margin:10px 0;padding:10px 20px;background:#FFC;border:solid 1px #FD9;overflow:hidden}.red{background:#FFEBEB;border:solid 1px #B50000}.green{background:#EBFFEB;border:solid 1px #DDF0DD}.blue{background:#F0F5FF;border:solid 1px #CEE2F2}.progressName{width:320px;height:16px;text-align:left;white-space:nowrap;overflow:hidden}.progressBarInProgress,.progressBarComplete,.progressBarError{margin-top:2px;width:0;height:2px;font-size:0;background:blue}.progressBarComplete{width:100%;background:green;visibility:hidden}.progressBarError{width:100%;background:#dc3545;visibility:hidden}.progressBarStatus{margin-top:2px;width:340px;text-align:left;white-space:nowrap}.swfupload{vertical-align:top}.albCt{float:left;width:220px;height:auto;margin-right:10px;margin-bottom:10px;border:1px dashed #eee;background:#f5f5f5;text-align:center;padding:10px}.albEdit{height:auto}.picinfo{height:30px;line-height:30px;margin:10px 0}.thumbnails img,.thumbnailsEdit img{margin:5px}.albCt img{max-width:200px;max-height:150px;cursor:pointer} | |||
| div.flash{margin:10px 5px;width:375px;border-color:rgb(217,228,255);border-radius:0.2rem}#btnSubmit{margin:0px 0px 0px 150px}.progressWrapper{width:360px;overflow:hidden}.progressContainer{padding:5px;margin:5px;background:rgb(245,245,245);border:1px solid rgb(232,232,232);overflow:hidden}.message{margin:10px 0px;padding:10px 20px;background:rgb(255,255,204);border:1px solid rgb(255,221,153);overflow:hidden}.red{background:rgb(255,235,235);border:1px solid rgb(181,0,0)}.green{background:rgb(235,255,235);border:1px solid rgb(221,240,221)}.blue{background:rgb(240,245,255);border:1px solid rgb(206,226,242)}.progressName{width:320px;height:16px;text-align:left;white-space:nowrap;overflow:hidden}.progressBarInProgress,.progressBarComplete,.progressBarError{margin-top:2px;width:0px;height:2px;font-size:0px;background:blue}.progressBarComplete{width:100%;background:green;visibility:hidden}.progressBarError{width:100%;background:rgb(220,53,69);visibility:hidden}.progressBarStatus{margin-top:2px;width:340px;text-align:left;white-space:nowrap}.swfupload{vertical-align:top}.albCt{float:left;width:220px;height:auto;margin-right:10px;margin-bottom:10px;border:1px dashed rgb(238,238,238);background:rgb(245,245,245);text-align:center;padding:10px}.albEdit{height:auto}.picinfo{height:30px;line-height:30px;margin:10px 0px}.thumbnails img,.thumbnailsEdit img{margin:5px}.albCt img{margin:0;max-width:200px;max-height:120px;cursor:pointer} | |||
| @@ -75,7 +75,7 @@ html{background:#f5f5f5} | |||
| </head> | |||
| <body class="bg"> | |||
| <div id="floater" class="napisdiv"> | |||
| <a href="javascript:nullLink();" onClick="document.getElementById('floater').style.display='none';"><img src="../../static/web/img/picviewnone.gif" id="picview" title="关闭预览"></a> | |||
| <a href="javascript:nullLink();" onClick="document.getElementById('floater').style.display='none';"><img src="../../static/web/img/icon_img.png" id="picview" title="关闭预览"></a> | |||
| </div> | |||
| <script src="../js/float.js"></script> | |||
| <script> | |||
| @@ -188,7 +188,7 @@ html{background:#f5f5f5} | |||
| if ($activepath == "") continue; | |||
| $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
| $line = "<tr> | |||
| <td colspan='2' class='biz-td'><a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||
| <td colspan='2' class='biz-td'><a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/icon_dir2.png'>上级目录</a></td> | |||
| <td colspan='2' class='biz-td'>当前目录:$activepath</td> | |||
| </tr>"; | |||
| echo $line; | |||
| @@ -196,7 +196,7 @@ html{background:#f5f5f5} | |||
| if (preg_match("#^_(.*)$#i", $file)) continue; | |||
| if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
| $line = "<tr> | |||
| <td colspan='2' class='biz-td'><a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode("$activepath/$file").$addparm."'><img src='../../static/web/img/dir.gif'>$file</a></td> | |||
| <td colspan='2' class='biz-td'><a href='select_images.php?imgstick=$imgstick&v=$v&f=$f&activepath=".urlencode("$activepath/$file").$addparm."'><img src='../../static/web/img/icon_dir.png'>$file</a></td> | |||
| <td class='biz-td'></td> | |||
| <td class='biz-td'></td> | |||
| </tr>"; | |||
| @@ -114,7 +114,7 @@ html{background:#f5f5f5} | |||
| if ($activepath == "") continue; | |||
| $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||
| <td class='biz-td'><a href='select_media.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/icon_dir2.png'>上级目录</a></td> | |||
| <td colspan='2' class='biz-td'>当前目录:$activepath</td> | |||
| </tr>"; | |||
| echo $line; | |||
| @@ -122,7 +122,7 @@ html{background:#f5f5f5} | |||
| if (preg_match("#^_(.*)$#i", $file)) continue; | |||
| if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href=select_media.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||
| <td class='biz-td'><a href=select_media.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/icon_dir.png'>$file</a></td> | |||
| <td class='biz-td'></td> | |||
| <td class='biz-td'></td> | |||
| </tr>"; | |||
| @@ -135,7 +135,7 @@ html{background:#f5f5f5} | |||
| else $lstyle = ""; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/flash.gif'> | |||
| <img src='../../static/web/img/icon_flash.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -150,7 +150,7 @@ html{background:#f5f5f5} | |||
| else $lstyle = ""; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/wmv.gif'> | |||
| <img src='../../static/web/img/icon_video.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -165,7 +165,7 @@ html{background:#f5f5f5} | |||
| else $lstyle = ""; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/rm.gif'> | |||
| <img src='../../static/web/img/icon_rm.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -180,7 +180,7 @@ html{background:#f5f5f5} | |||
| else $lstyle = ""; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/mp3.gif'> | |||
| <img src='../../static/web/img/icon_music.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -64,7 +64,7 @@ html{background:#f5f5f5} | |||
| window.opener.CKEDITOR.tools.callFunction(funcNum, reimg); | |||
| } | |||
| if (typeof window.opener.CKEDITOR.instances["<?php echo $f ?>"] !== "undefined") { | |||
| let addonHTML = `<a href='${reimg}' target='_blank'><img src='<?php echo $cfg_cmspath ?>/static/web/img/addon.gif'>附件:${reimg}</a>`; | |||
| let addonHTML = `<a href='${reimg}' target='_blank'><img src='<?php echo $cfg_cmspath ?>/static/web/img/icon_addon.png'>附件:${reimg}</a>`; | |||
| window.opener.CKEDITOR.instances["<?php echo $f ?>"].insertHtml(addonHTML); | |||
| } | |||
| if (window.opener.document.<?php echo $f ?> != null) { | |||
| @@ -121,7 +121,7 @@ html{background:#f5f5f5} | |||
| if ($activepath == "") continue; | |||
| $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||
| <td class='biz-td'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/icon_dir2.png'>上级目录</a></td> | |||
| <td colspan='2' class='biz-td'>当前目录:$activepath</td> | |||
| </tr>\r\n"; | |||
| echo $line; | |||
| @@ -129,7 +129,7 @@ html{background:#f5f5f5} | |||
| if (preg_match("#^_(.*)$#i", $file)) continue; | |||
| if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||
| <td class='biz-td'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/icon_dir.png'>$file</a></td> | |||
| <td class='biz-td'></td> | |||
| <td class='biz-td'></td> | |||
| </tr>"; | |||
| @@ -142,7 +142,7 @@ html{background:#f5f5f5} | |||
| $reurl = $reurl; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/zip.gif'> | |||
| <img src='../../static/web/img/icon_zip.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -157,7 +157,7 @@ html{background:#f5f5f5} | |||
| $reurl = $reurl; | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/exe.gif'> | |||
| <img src='../../static/web/img/icon_exe.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -100,7 +100,7 @@ html{background:#f5f5f5} | |||
| if ($activepath == "") continue; | |||
| $tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||
| <td class='biz-td'><a href='select_templets.php?f=$f&activepath=".urlencode($tmp)."'><img src='../../static/web/img/icon_dir2.png'>上级目录</a></td> | |||
| <td colspan='2' class='biz-td'>当前目录:$activepath</td> | |||
| </tr>\r\n"; | |||
| echo $line; | |||
| @@ -108,7 +108,7 @@ html{background:#f5f5f5} | |||
| if (preg_match("#^_(.*)$#i", $file)) continue; | |||
| if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
| $line = "<tr> | |||
| <td class='biz-td'><a href=select_templets.php?f=$f&activepath=".urlencode("$activepath/$file")."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||
| <td class='biz-td'><a href=select_templets.php?f=$f&activepath=".urlencode("$activepath/$file")."><img src='../../static/web/img/icon_dir.png'>$file</a></td> | |||
| <td class='biz-td'></td> | |||
| <td class='biz-td'></td> | |||
| </tr>"; | |||
| @@ -121,7 +121,7 @@ html{background:#f5f5f5} | |||
| $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/htm.gif'> | |||
| <img src='../../static/web/img/icon_htm.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -136,7 +136,7 @@ html{background:#f5f5f5} | |||
| $reurl = preg_replace("#".$templetdir."/#", "", $reurl); | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/css.gif'> | |||
| <img src='../../static/web/img/icon_css.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -151,7 +151,7 @@ html{background:#f5f5f5} | |||
| $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/js.gif'> | |||
| <img src='../../static/web/img/icon_js.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -196,7 +196,7 @@ html{background:#f5f5f5} | |||
| $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); | |||
| $line = "<tr> | |||
| <td class='biz-td'> | |||
| <img src='../../static/web/img/txt.gif'> | |||
| <img src='../../static/web/img/icon_text.png'> | |||
| <a href=\"javascript:ReturnValue('$reurl');\" $lstyle>$file</a> | |||
| </td> | |||
| <td class='biz-td'>$filesize KB</td> | |||
| @@ -32,7 +32,7 @@ $dlist->display(); | |||
| function GetPic($pic) | |||
| { | |||
| if ($pic == '') return '无图标'; | |||
| else return "<img src='$pic' style='max-width:60px;max-height:60px'>"; | |||
| else return "<img src='$pic' class='thumbnail-sm'>"; | |||
| } | |||
| function GetSta($sta) | |||
| { | |||
| @@ -17,7 +17,7 @@ if (!isset($_NOT_ARCHIVES)) { | |||
| require_once(DEDEINC.'/customfields.func.php'); | |||
| } | |||
| /** | |||
| * 获得HTML里的外部资源,针对图集 | |||
| * 获得HTML里的外部资源,针对图片 | |||
| * | |||
| * @access public | |||
| * @param string $body 文档文档 | |||
| @@ -629,7 +629,7 @@ function Replace_Links(&$body, $allow_urls = array()) | |||
| return $body; | |||
| } | |||
| /** | |||
| * 图集里大图的小图 | |||
| * 图片里大图的小图 | |||
| * | |||
| * @access public | |||
| * @param string $filename 图片名称 | |||
| @@ -762,8 +762,8 @@ function GetUpdateTest() | |||
| if ($cfg_make_andcat == 'Y') $dolist .= empty($dolist) ? 'makeparenttype' : ',makeparenttype'; | |||
| $dolists = explode(',', $dolist); | |||
| $jumpUrl = "task_do.php?typeid={$typeid}&aid={$arcID}&dopost={$dolists[0]}&nextdo=".preg_replace("#".$dolists[0]."[,]{0,1}#", '', $dolist); | |||
| $revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'>正在进行相关文档更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
| $revalue .= "<tr><td>\r\n<iframe name='stafrm' frameborder='0' id='stafrm' width='100%' height='200px' src='$jumpUrl'></iframe>\r\n</td></tr>\r\n"; | |||
| $revalue = "<table id='tgtable' class='maintable my-3'><tr><td bgcolor='#f8f8f8'>正在进行相关文档更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
| $revalue .= "<tr><td>\r\n<iframe name='stafrm' id='stafrm' frameborder='0' width='100%' height='200px' src='$jumpUrl'></iframe>\r\n</td></tr>\r\n"; | |||
| $revalue .= "</table>"; | |||
| } else { | |||
| $revalue = ''; | |||
| @@ -74,7 +74,7 @@ else if ($dopost == 'setskin') { | |||
| if (empty($cfg_auth_code)) { | |||
| echo json_encode(array( | |||
| "code" => -1002, | |||
| "msg" => "无法启动商业版组件<a href='https://www.dedebiz.com/auth'>《商业版授权》</a>", | |||
| "msg" => "您的站点已授权社区版,获取官方技术支持,请选择<a href='https://www.dedebiz.com/auth' class='text-primary'>商业版</a>。", | |||
| "result" => null, | |||
| )); | |||
| exit; | |||
| @@ -35,7 +35,7 @@ function checkMuList(psid, cmid) { | |||
| $Obj('spagelist').style.display = 'none'; | |||
| } | |||
| } | |||
| //图集,显示与隐藏zip文件选项 | |||
| //图片显示与隐藏zip文件选项 | |||
| function showZipField(formitem, zipid, upid) { | |||
| if (formitem.checked) { | |||
| $Obj(zipid).style.display = 'block'; | |||
| @@ -45,7 +45,7 @@ function showZipField(formitem, zipid, upid) { | |||
| $Obj(zipid).style.display = 'none'; | |||
| } | |||
| } | |||
| //图集,显示与隐藏Html编辑框 | |||
| //图片显示与隐藏Html编辑框 | |||
| function showHtmlField(formitem, htmlid, upid) { | |||
| if ($Nav() != "IE") { | |||
| alert("该方法不适用于非IE浏览器"); | |||
| @@ -20,5 +20,5 @@ function addImage(src, pid) { | |||
| newImgDiv.innerHTML = '<img src="' + src + '" onClick="addtoEdit(' + pid + ')">' + delstr; | |||
| } | |||
| } | |||
| newImgDiv.innerHTML += '<div class="mt-1">名称:<input type="text" name="picinfo' + albImg+ '" value="" style="width:' + iptwidth + 'px"></div>'; | |||
| newImgDiv.innerHTML += '<div class="mt-2">名称:<input type="text" name="picinfo' + albImg+ '" value="" style="width:' + iptwidth + 'px"></div>'; | |||
| } | |||
| @@ -47,32 +47,26 @@ function copyFn(){ | |||
| var val = document.getElementById('text'); | |||
| window.getSelection().selectAllChildren(val); | |||
| document.execCommand ("Copy"); | |||
| alert("成功复制软件配置信息"); | |||
| alert("环境配置信息已复制"); | |||
| } | |||
| //Dedebiz info | |||
| var dedebizInfo; | |||
| function ViewDedeBIZ() { | |||
| console.log(dedebizInfo); | |||
| ShowMsg(` | |||
| <table width="100%" class="table table-borderless"> | |||
| <tbody> | |||
| <tr> | |||
| <td width="160">版本号:</td> | |||
| <td>V${dedebizInfo.result.server_version}</td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160">运行时间:</td> | |||
| <td>${dedebizInfo.result.server_run_time}</td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160">服务器系统:</td> | |||
| <td>${dedebizInfo.result.server_goos}(${dedebizInfo.result.server_goarch})</td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160">内存占用:</td> | |||
| <td>${dedebizInfo.result.server_memory_usage}%</td> | |||
| </tr> | |||
| </tbody> | |||
| <table class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="90">版本号:</td> | |||
| <td>V${dedebizInfo.result.server_version}</td> | |||
| <td width="90">服务器系统:</td> | |||
| <td>${dedebizInfo.result.server_goos}(${dedebizInfo.result.server_goarch})</td> | |||
| </tr> | |||
| <tr> | |||
| <td>运行时间:</td> | |||
| <td>${dedebizInfo.result.server_run_time}</td> | |||
| <td>内存占用:</td> | |||
| <td>${dedebizInfo.result.server_memory_usage}%</td> | |||
| </tr> | |||
| </table> | |||
| `); | |||
| } | |||
| @@ -80,62 +74,109 @@ function LoadServer() { | |||
| $.get("index_body.php?dopost=system_info", function (data) { | |||
| let rsp = JSON.parse(data); | |||
| if (rsp.code === 200) { | |||
| let infoStr = `<table class="table table-borderless"><tbody>`; | |||
| let infoStr = `<table class="table table-borderless w-100">`; | |||
| if (typeof rsp.result.domain !== "undefined") { | |||
| infoStr += ` | |||
| <tr> | |||
| <td width="160">授权域名:</td> | |||
| <td width="90">授权域名:</td> | |||
| <td>${rsp.result.domain}</td> | |||
| <td width="90">授权版本:</td> | |||
| <td>${rsp.result.auth_version}.x.x(时间:${rsp.result.auth_at})</td> | |||
| </tr> | |||
| `; | |||
| } | |||
| /*多余代码*/ | |||
| if (typeof rsp.result.title !== "undefined") { | |||
| infoStr += ` | |||
| <tr> | |||
| <td width="160">站点名称:</td> | |||
| <td><a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}">${rsp.result.title}(${rsp.result.stype})</a></td> | |||
| </tr> | |||
| `; | |||
| } | |||
| /*多余代码*/ | |||
| if (typeof rsp.result.auth_version !== "undefined" && typeof rsp.result.auth_at !== "undefined") { | |||
| infoStr += ` | |||
| <tr> | |||
| <td width="160">授权版本:</td> | |||
| <td>${rsp.result.auth_version}.x.x(时间:${rsp.result.auth_at})</td> | |||
| <td>站点名称:</td> | |||
| <td>${rsp.result.title}(${rsp.result.stype})</td> | |||
| <td>证书组件:</td> | |||
| <td> | |||
| <a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}" target="_blank" class="btn btn-success btn-sm">授权证书</a> | |||
| <a href="javascript:ViewDedeBIZ()" class="btn btn-primary btn-sm">组件信息</a> | |||
| </td> | |||
| </tr> | |||
| `; | |||
| } | |||
| /*多余代码*/ | |||
| if (rsp.result.core === null || rsp.result.core.code != 200) { | |||
| //下面是DedeBIZ Core组件信息 | |||
| infoStr += ` | |||
| <tr> | |||
| <td width="160">版本组件:</td> | |||
| <td><a href="${cfg_biz_dedebizUrl}/start?code=-1008" target="_blank" class="btn btn-warning btn-sm">启动组件</a></td> | |||
| </tr> | |||
| `; | |||
| } else { | |||
| dedebizInfo = JSON.parse(rsp.result.core.data); | |||
| infoStr += ` | |||
| <tr> | |||
| <td width="160">版本组件:</td> | |||
| <td><a href="javascript:ViewDedeBIZ()" class="btn btn-success btn-sm">组件信息</a></td> | |||
| </tr> | |||
| `; | |||
| } | |||
| infoStr += "</tbody></table>"; | |||
| /*多余代码*/ | |||
| infoStr += "</table>"; | |||
| $("#system-info").html(infoStr); | |||
| } else { | |||
| $("#system-info").html(` | |||
| <table width="100%" class="table table-borderless"> | |||
| <tbody> | |||
| <tr> | |||
| <td>当前站点为社区版,${rsp.msg}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>如果您已购买商业版授权,可以在我们的授权中心查询到相信关授权信息,如果查询结果与实际授权不符,则说明您可能购买了非法商业授权,请及时与我们取得联系。</td> | |||
| </tr> | |||
| </tbody> | |||
| <table class="table table-borderless w-100"> | |||
| <tr> | |||
| <td>${rsp.msg}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>如果您已购买商业版授权,可以在我们的授权中心查询到相信关授权信息,如果查询结果与实际授权不符,则说明您可能购买了非法商业授权,请及时与我们取得联系。</td> | |||
| </tr> | |||
| </table> | |||
| <!--最新软件该提示--> | |||
| <table class="table table-borderless w-100"> | |||
| <tr> | |||
| <td>您的后台已是最新软件版本</td> | |||
| </tr> | |||
| </table> | |||
| <!--最新软件该提示--> | |||
| <!--正常新版本升级该提示,然后回到最新软件该提示--> | |||
| <table class="table table-borderless w-100"> | |||
| <tr> | |||
| <td colspan="2">本更新提供了重要的安全性更新,建议所有用户升级,软件更新将覆盖以下文件,请做好备份。<a href="" class="btn btn-success btn-sm">下一步</a></td> | |||
| </tr> | |||
| <tr> | |||
| <td width="90">文件1:</td> | |||
| <td>/system/database/dedesqlite.class.php</td> | |||
| </tr> | |||
| <tr> | |||
| <td>文件2:</td> | |||
| <td>/system/database/dedesqlite.class.php</td> | |||
| </tr> | |||
| <tr> | |||
| <td>文件3:</td> | |||
| <td>/system/database/dedesqlite.class.php</td> | |||
| </tr> | |||
| </table> | |||
| <!--正常新版本升级该提示--> | |||
| <!--用户换后台该提示,然后回到正常新版本升级该提示,做后回到最新软件该提示--> | |||
| <table class="table table-borderless w-100"> | |||
| <tr> | |||
| <td>更新诊断出数据结构有问题,可能无法正常使用后台,是否尝试修复数据?</td> | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <a href="" class="btn btn-success btn-sm">修复</a> | |||
| <a href="" class="btn btn-secondary btn-sm">取消</a> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <!--用户换后台该提示--> | |||
| `); | |||
| } | |||
| }); | |||
| @@ -184,7 +184,7 @@ else if ($dopost == 'ddimg') { | |||
| exit(); | |||
| } | |||
| /************************ | |||
| //删除指定的图片(编辑图集时用) | |||
| //删除指定的图片(编辑图片时用) | |||
| *************************/ | |||
| else if ($dopost == 'delold') { | |||
| $imgfile = $cfg_basedir.$picfile; | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5">当前位置 > 搜索结果</td> | |||
| </tr> | |||
| @@ -19,16 +19,16 @@ | |||
| <tr align="center"> | |||
| <td align="center"> | |||
| <?php foreach ($asresult as $row) {?> | |||
| <table width="98%" cellspacing="5" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="5" cellpadding="0" class="table table-borderless"> | |||
| <tr> | |||
| <td align="left" bgcolor="#f5f5f5"><?php echo $row['toptitle'] ?> => <?php echo $row['title'] ?></td> | |||
| </tr> | |||
| <tr> | |||
| <td align="center"> | |||
| <table width="98%" cellspacing="0" cellpadding="5"> | |||
| <td> | |||
| <table cellspacing="0" cellpadding="5"> | |||
| <?php foreach ($row['soniterm'] as $rows) {?> | |||
| <tr> | |||
| <td align="left"><a href="<?php echo $rows['linkurl'] ?>" target="main"><?php echo $rows['title'] ?></a><br><?php echo $rows['description'] ?></td> | |||
| <td><a href="<?php echo $rows['linkurl'] ?>" target="main"><?php echo $rows['title'] ?></a><br><?php echo $rows['description'] ?></td> | |||
| </tr> | |||
| <?php }?> | |||
| </table> | |||
| @@ -11,7 +11,7 @@ | |||
| <script src="../static/web/js/jquery.min.js"></script> | |||
| <script src="../static/web/js/moment.min.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:28px;line-height:28px;background:#f5f5f5;text-align:center;cursor:pointer}.typetab ul .act{background:#e9ecef}.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:#f5f5f5;text-align:center;cursor:pointer}.typetab ul .act{background:#e9ecef}.i_table w-100{border:1px solid #eee}</style> | |||
| <script> | |||
| function checkSubmit() { | |||
| if (document.form1.tagname.value == "") { | |||
| @@ -52,13 +52,13 @@ | |||
| </head> | |||
| <body> | |||
| <form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="ad_main.php">广告管理</a> > 增加广告位置</td> | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <table cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <input type="hidden" name="normbody[style]" value="code" id="adstyle"> | |||
| <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| @@ -140,7 +140,7 @@ | |||
| </form> | |||
| <div id="formtxt" style="display:none"> | |||
| <div class="content" id="code" style="display:none"> | |||
| <table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
| <table cellpadding="3" cellspacing="1" class="i_table w-100"> | |||
| <tr> | |||
| <td width="260">广告代码:请填写广告代码,支持网页代码</td> | |||
| <td><textarea name="normbody[htmlcode]" class="biz-textarea-xl"></textarea></td> | |||
| @@ -148,7 +148,7 @@ | |||
| </table> | |||
| </div> | |||
| <div class="content" id="txt" style="display:none"> | |||
| <table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
| <table cellpadding="3" cellspacing="1" class="i_table w-100"> | |||
| <tr> | |||
| <td width="260">文字文档 *</td> | |||
| <td><input type="text" name="normbody[title]" value="" class="biz-input-md"></td> | |||
| @@ -168,7 +168,7 @@ | |||
| </table> | |||
| </div> | |||
| <div class="content" id="img" style="display:none"> | |||
| <table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
| <table cellpadding="3" cellspacing="1" class="i_table w-100"> | |||
| <tr> | |||
| <td width="260">图片地址 *</td> | |||
| <td><input type="text" name="normbody[url]" value="" class="biz-input-md"></td> | |||
| @@ -192,7 +192,7 @@ | |||
| </table> | |||
| </div> | |||
| <div class="content" id="flash" style="display:none"> | |||
| <table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
| <table width="80%" cellpadding="3" cellspacing="1" class="i_table w-100"> | |||
| <tr> | |||
| <td width="260">flash链接</td> | |||
| <td><input type="text" name="normbody[link]" value="" class="biz-input-md"></td> | |||
| @@ -43,13 +43,13 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="ad_main.php">广告管理</a> > 修改广告</td> | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <table cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
| <input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
| <input type="hidden" name="dopost" value="saveedit"> | |||
| @@ -119,4 +119,4 @@ | |||
| </tr> | |||
| </table> | |||
| </body> | |||
| </html> | |||
| </html> | |||
| @@ -12,7 +12,7 @@ | |||
| <body> | |||
| <form action="ad_main.php" method="get" name="form3" id="form3"> | |||
| <input type="hidden" name="dopost" value="listArchives"> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="clsid" id="clsid" class="biz-input-sm"> | |||
| @@ -29,7 +29,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7">广告管理</td> | |||
| </tr> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="adtype_main.php" method="post"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"><input type="hidden" name="dopost" value="save">广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-2">广告管理</a></td> | |||
| @@ -3,7 +3,7 @@ | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
| <title>发布图集</title> | |||
| <title>发布图片</title> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| @@ -75,7 +75,7 @@ | |||
| <td class="biz-td"> | |||
| <table cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90">图集标题:</td> | |||
| <td width="90">图片标题:</td> | |||
| <td width="400"><input type="text" name="title" id="title" value="" class="biz-input-lg"></td> | |||
| <td width="90">简略标题:</td> | |||
| <td><input type="text" name="shorttitle" id="shorttitle" class="biz-input-sm"></td> | |||
| @@ -138,9 +138,9 @@ | |||
| <span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
| <button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-sm btn-success delete">清空</button> | |||
| <label><input type="checkbox" name="ddisfirst" value="1"> 使用图集的第一幅图</label> | |||
| <label><input type="checkbox" name="ddisfirst" value="1"> 使用图片的第一幅图</label> | |||
| </td> | |||
| <td><img id="litPic" src="../static/web/img/thumbnail.jpg" class="thumbnail"></td> | |||
| <td><img id="litPic" src="../static/web/img/thumbnail.jpg" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -332,7 +332,7 @@ | |||
| </tr> | |||
| <tr id="handfield"> | |||
| <td class="biz-td"> | |||
| <table width="100%"> | |||
| <table> | |||
| <tr> | |||
| <td> | |||
| <div id="divFileProgressContainer"></div> | |||
| @@ -346,7 +346,7 @@ | |||
| <td class="biz-td"> | |||
| <table cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90">图集文档:</td> | |||
| <td width="90">图片文档:</td> | |||
| <td><?php GetEditor("body","",400,"Diy");?></td> | |||
| </tr> | |||
| </table> | |||
| @@ -374,7 +374,7 @@ | |||
| <td class="biz-td"> | |||
| <table cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90">图集排序:</td> | |||
| <td width="90">图片排序:</td> | |||
| <td width="260"> <select name="sortup" id="sortup" class="biz-input-sm"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| @@ -3,7 +3,7 @@ | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
| <title>修改图集</title> | |||
| <title>修改图片</title> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| @@ -74,7 +74,7 @@ | |||
| <td class="biz-td"> | |||
| <table cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90">图集标题:</td> | |||
| <td width="90">图片标题:</td> | |||
| <td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" class="biz-input-lg"></td> | |||
| <td width="90">简略标题:</td> | |||
| <td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="biz-input-sm"></td> | |||
| @@ -140,7 +140,7 @@ | |||
| <button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -343,9 +343,9 @@ | |||
| $fhtml .= "<div class='albCt albEdit' id='albold{$j}'>"; | |||
| $fhtml .= "<input type='hidden' name='imgurl{$j}' value='{$bigimg}'>"; | |||
| $fhtml .= "<input type='hidden' name='imgddurl{$j}' value='{$litimg}'>"; | |||
| $fhtml .= "<img src='{$litimg}'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm\">删除</a>"; | |||
| $fhtml .= "<div class='mt-1'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' class='biz-input-sm'></div>"; | |||
| $fhtml .= "<div class='mt-1'>更换:<input type='file' name='imgfile{$j}' class='biz-input-sm'></div>"; | |||
| $fhtml .= "<img src='{$litimg}'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm mt-2\">删除</a>"; | |||
| $fhtml .= "<div class='mt-2'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' class='biz-input-sm'></div>"; | |||
| $fhtml .= "<div class='mt-2'>更换:<input type='file' name='imgfile{$j}' class='biz-input-sm'></div>"; | |||
| $fhtml .= "</div>"; | |||
| echo $fhtml; | |||
| $j++; | |||
| @@ -387,7 +387,7 @@ | |||
| <td class="biz-td"> | |||
| <table cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90">图集文档:</td> | |||
| <td width="90">图片文档:</td> | |||
| <td><?php GetEditor("body",$body,400,"Diy");?></td> | |||
| </tr> | |||
| </table> | |||
| @@ -118,7 +118,7 @@ | |||
| <button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-success delete">清空</button> | |||
| </td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -117,7 +117,7 @@ | |||
| <button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button id="btnClearAll" type="button" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -91,7 +91,7 @@ | |||
| <button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -92,7 +92,7 @@ | |||
| <button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="<?php if ($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
| <td><img src="<?php if ($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -119,7 +119,7 @@ | |||
| <button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
| <td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="article_description_main.php" name="form1" target="stafrm" method="post"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2">自动摘要分页</td> | |||
| @@ -123,7 +123,7 @@ | |||
| <button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
| <button id="btnClearAll" type="button" class="btn btn-success btn-sm">清空</button> | |||
| </td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
| <td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail-md"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -21,7 +21,7 @@ | |||
| <body> | |||
| <form name="form2" action="article_keywords_main.php"> | |||
| <input type="hidden" name="dopost" value="add"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| <td width="270"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="biz-input-md"></td> | |||
| @@ -30,7 +30,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="5">文档关键词维护</td> | |||
| </tr> | |||
| @@ -43,11 +43,11 @@ | |||
| </head> | |||
| <body> | |||
| <div class="main"> | |||
| <table width="100%" align="center" cellpadding="1" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="article_keywords_main.php"> | |||
| <input type="hidden" name="dopost" value="add"> | |||
| <tr id="addnew" style="display:none"> | |||
| <td align="center" colspan="2" class="border-top-0"> | |||
| <td align="center" class="border-top-0"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <tr> | |||
| <td width="170"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| @@ -61,8 +61,8 @@ | |||
| </form> | |||
| <form name="form2"> | |||
| <tr> | |||
| <td width="100%" bgcolor="#f5f5f5" colspan="2"> | |||
| <table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <td bgcolor="#f5f5f5"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">选择关键词</td> | |||
| <td width="70%" align="right"> | |||
| @@ -74,14 +74,14 @@ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td colspan="2"> | |||
| <td> | |||
| {dede:datalist empty='<div class="text-center py-2">暂无文档</div>'} | |||
| <a href="javascript:SelKw('{dede:field.keyword/}')">{dede:field.keyword/}</a> | |||
| {/dede:datalist} | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td colspan="2"> | |||
| <td> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <tr> | |||
| <td width="270"><input type="text" name="keywords" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| @@ -90,8 +90,8 @@ | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| <tr align="center"> | |||
| <td bgcolor="#f5f5f5" class="py-2" colspan="2">{dede:pagelist listsize='6'/}</td> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
| </tr> | |||
| </form> | |||
| </table> | |||
| @@ -44,7 +44,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="100%" cellpadding="2" cellspacing="1" class="table maintable"> | |||
| <table cellpadding="2" cellspacing="1" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="3">重复文档列表</td> | |||
| </tr> | |||
| @@ -9,22 +9,21 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="article_test_same.php" name="form1" target="stafrm"> | |||
| <input type="hidden" name="dopost" value="analyse"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5">重复文档检测</td> | |||
| </tr> | |||
| <tr> | |||
| <td align="center"> | |||
| <table width="98%" align="center" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <td> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="20%" align="left">栏目类型:</td> | |||
| <td align="left"> | |||
| <td width="20%">栏目类型:</td> | |||
| <td> | |||
| <select name="channelid" class="biz-input-sm"> | |||
| <?php | |||
| if (!empty($channelinfos)) | |||
| { | |||
| if (!empty($channelinfos)) { | |||
| foreach($channelinfos as $rs) | |||
| { | |||
| echo "<option value=".$rs['id'].">".$rs['typename']."</option>"; | |||
| @@ -35,15 +34,15 @@ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td width="20%" align="left">删除选项:</td> | |||
| <td align="left"> | |||
| <td>删除选项:</td> | |||
| <td> | |||
| <label><input type="radio" name="deltype" value="delnew" checked='1'> 保留最旧的一条</label> | |||
| <label><input type="radio" name="deltype" value="delold"> 保留最新的一条</label> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td align="left">每排列出记录:</td> | |||
| <td align="left"><input type="text" name="pagesize" id="pagesize" value="100" class="biz-input-sm"> 条</td> | |||
| <td>每排列出记录:</td> | |||
| <td><input type="text" name="pagesize" id="pagesize" value="100" class="biz-input-sm"> 条</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -9,12 +9,12 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="cards_make.php" name="form1" target="stafrm"> | |||
| <input type="hidden" name="dopost" value="make"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">点卡生成向导</td> | |||
| <td width="70%" align="right"> | |||
| @@ -27,7 +27,7 @@ | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="90%" cellpadding="2" cellspacing="2" class="table table-borderless"> | |||
| <table cellpadding="2" cellspacing="2" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="90">点卡类型:</td> | |||
| <td> | |||
| @@ -3,7 +3,7 @@ | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
| <title>点卡业务记录</title> | |||
| <title>点卡业务管理</title> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| @@ -39,10 +39,10 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">点卡业务管理</td> | |||
| <td width="70%" align="right"> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="cards_type.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| @@ -39,10 +39,10 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" style="border-bottom:1px solid #dee2e6"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">网站栏目管理</td> | |||
| <td width="70%" align="right"> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="0" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="0" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="content_att.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| @@ -56,7 +56,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="content_batchup_action.php" target="stafrm" method="post"> | |||
| <input type="hidden" name="dopost" value="go"> | |||
| <tr> | |||
| @@ -15,7 +15,7 @@ | |||
| <script src="js/list.js"></script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <table cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
| @@ -34,7 +34,7 @@ | |||
| </table> | |||
| <form name="form3" action="content_i_list.php" method="get"> | |||
| <input type="hidden" name="dopost" value="listArchives"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="cid" class="biz-input-sm"> | |||
| @@ -57,46 +57,46 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td colspan="7" bgcolor="#f5f5f5">{dede:global.positionname/}文档列表</td> | |||
| <td colspan="9" bgcolor="#f5f5f5">{dede:global.positionname/}文档列表</td> | |||
| </tr> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="12%">文档图片</td> | |||
| <td width="32%">文档标题</td> | |||
| <td width="16%">类目</td> | |||
| <td width="10%">权限</td> | |||
| <td width="10%">发布人</td> | |||
| <td width="10%">网页</td> | |||
| <td width="10%">点击</td> | |||
| <td width="6%">选择</td> | |||
| <td width="30%">文档属性</td> | |||
| <td width="10%">时间</td> | |||
| <td width="14%">类目</td> | |||
| <td width="6%">点击</td> | |||
| <td width="6%">网页</td> | |||
| <td width="6%">权限</td> | |||
| <td width="6%">发布人</td> | |||
| <td>操作</td> | |||
| </tr> | |||
| </table> | |||
| <form name="form2"> | |||
| {dede:datalist empty='<div class="text-center py-2">暂无文档</div>'} | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="mb-3"> | |||
| <tr> | |||
| <td width="12%" align="center" class="py-2"><img src="{dede:field.litpic function='CheckPic(@me)'/}" style="max-width:60px;max-height:60px"></td> | |||
| <td width="32%" align="left" class="pl-3"> | |||
| <p> | |||
| <input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"> | |||
| <i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性"></i> | |||
| <a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a> | |||
| </p> | |||
| <span>时间:{dede:field.senddate function='GetDateTimeMk(@me)'/}</span> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr align="center"> | |||
| <td width="6%"><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
| <td width="30%" align="left"> | |||
| <img src="{dede:field.litpic function='CheckPic(@me)'/}" class="thumbnail-sm"> | |||
| <a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a> | |||
| </td> | |||
| <td width="16%" align="center" class="py-2"> | |||
| <p>{dede:field.typeid function='GetTypename(@me)'/}</p> | |||
| <span>ID: {dede:field.id/}</span> | |||
| <td width="10%">{dede:field.senddate function='GetDateTimeMk(@me)'/}</td> | |||
| <td width="14%">{dede:field.typeid function='GetTypename(@me)'/}</td> | |||
| <td width="6%">{dede:field.click/}</td> | |||
| <td width="6%">{dede:field.ismake function='IsHtmlArchives(@me)'/}</td> | |||
| <td width="6%">{dede:field.arcrank function='GetRankName(@me)'/}</td> | |||
| <td width="6%">{dede:field.mid function=GetMemberName(@me)/}</td> | |||
| <td> | |||
| <a href="javascript:;" title="属性" onClick="QuickEdit({dede:field.id/},event,this);" class="btn btn-success btn-sm"><i class="fa fa-cogs"></i></a> | |||
| <a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" title="编辑" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i></a> | |||
| </td> | |||
| <td width="10%" align="center" class="py-2">{dede:field.arcrank function='GetRankName(@me)'/}</td> | |||
| <td width="10%" align="center" class="py-2">{dede:field.mid function=GetMemberName(@me)/}</td> | |||
| <td width="10%" align="center" class="py-2">{dede:field.ismake function='IsHtmlArchives(@me)'/}</td> | |||
| <td width="10%" align="center" class="py-2">{dede:field.click/}</td> | |||
| </tr> | |||
| </table> | |||
| {/dede:datalist} | |||
| </form> | |||
| <table width="98%" cellspacing="1" cellpadding="1" align="center" class="table maintable mb-3"> | |||
| <table cellspacing="1" cellpadding="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td> | |||
| <a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||
| @@ -113,7 +113,7 @@ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
| <td bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td> | |||
| </tr> | |||
| </table> | |||
| </body> | |||
| @@ -15,7 +15,7 @@ | |||
| <script src="js/list.js"></script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <table cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
| @@ -34,7 +34,7 @@ | |||
| </table> | |||
| <form name="form3" action="content_list.php" method="get"> | |||
| <input type="hidden" name="dopost" value="listArchives"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="cid" class="biz-input-sm"> | |||
| @@ -64,13 +64,13 @@ | |||
| </table> | |||
| </form> | |||
| <form name="form2"> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td colspan="10" bgcolor="#f5f5f5">{dede:global.positionname/}文档列表</td> | |||
| </tr> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">id</td> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">id</td> | |||
| <td width="30%">文档标题</td> | |||
| <td width="10%">更新时间</td> | |||
| <td width="14%">类目</td> | |||
| @@ -78,12 +78,12 @@ | |||
| <td width="6%">网页</td> | |||
| <td width="6%">权限</td> | |||
| <td width="6%">发布人</td> | |||
| <td width="10%">操作</td> | |||
| <td>操作</td> | |||
| </tr> | |||
| {dede:datalist empty='<tr><td colspan="10" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td>{dede:field.id/}</td> | |||
| <td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
| <td>{dede:field.id/}</td> | |||
| <td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td> | |||
| <td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | |||
| <td><a href="content_list.php?cid={dede:field.typeid/}">{dede:field.typeid function='GetTypename(@me)'/}</a></td> | |||
| @@ -85,7 +85,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <table cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='spec_add.php';">添加专题</button> | |||
| @@ -97,7 +97,7 @@ | |||
| </table> | |||
| <form name="form3" action="content_s_list.php" method="get"> | |||
| <input type="hidden" name="dopost" value="listArchives"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="cid" class="biz-input-sm"> | |||
| @@ -110,26 +110,26 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td colspan="9" bgcolor="#f5f5f5">文档列表</td> | |||
| </tr> | |||
| <form name="form2"> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">id</td> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">id</td> | |||
| <td width="30%">文档标题</td> | |||
| <td width="10%">更新时间</td> | |||
| <td width="10%">类目</td> | |||
| <td width="10%">点击</td> | |||
| <td width="10%">网页</td> | |||
| <td width="10%">权限</td> | |||
| <td width="10%">属性</td> | |||
| <td width="14%">类目</td> | |||
| <td width="6%">点击</td> | |||
| <td width="6%">网页</td> | |||
| <td width="6%">权限</td> | |||
| <td>属性</td> | |||
| </tr> | |||
| {dede:datalist empty='<tr><td colspan="9" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td>{dede:field.id/}</td> | |||
| <td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
| <td>{dede:field.id/}</td> | |||
| <td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td> | |||
| <td><?php echo MyDate("Y-m-d H:i",$fields['senddate'])?></td> | |||
| <td>{dede:field.typeid function='GetTypename(@me)'/}</td> | |||
| @@ -48,27 +48,26 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="100%" align="center" cellpadding="2" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="9">文档列表</td> | |||
| </tr> | |||
| <form name="form2"> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">id</td> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">id</td> | |||
| <td width="30%">文档标题</td> | |||
| <td width="10%">更新时间</td> | |||
| <td width="12%">类目</td> | |||
| <td width="14%">类目</td> | |||
| <td width="6%">点击</td> | |||
| <td width="6%">网页</td> | |||
| <td width="10%">权限</td> | |||
| <td width="6%">权限</td> | |||
| <td>属性</td> | |||
| </tr> | |||
| {dede:datalist empty='<tr><td colspan="9" align="center">暂无文档</td> | |||
| </tr>'} | |||
| {dede:datalist empty='<tr><td colspan="9" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
| <td>{dede:field.id/}</td> | |||
| <td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
| <td>{dede:field.id/}</td> | |||
| <td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td> | |||
| <td>{dede:field.senddate function="GetDateMk(@me)"/}</td> | |||
| <td>{dede:field.typeid function='GetTypename(@me)'/}</td> | |||
| @@ -90,12 +89,12 @@ | |||
| <td colspan="9" bgcolor="#e9ecef" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
| </tr> | |||
| </table> | |||
| <table width="100%" align="center" cellpadding="1" cellspacing="1" class="table maintable table-borderless"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless"> | |||
| <tr> | |||
| <form name="form3" action="content_select_list.php" method="get"> | |||
| <input type="hidden" name="f" value="<?php echo $f?>"> | |||
| <td> | |||
| <table width="600" cellpadding="0" cellspacing="0"> | |||
| <table cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="260" align="center">请选择类目:</td> | |||
| <td width="170"> | |||
| @@ -120,7 +120,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" align="center" cellspacing="0" cellpadding="0" class="table maintable my-3"> | |||
| <table cellspacing="0" cellpadding="0" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
| @@ -138,7 +138,7 @@ | |||
| </table> | |||
| <form name="form3" action="content_sg_list.php" method="get"> | |||
| <input type="hidden" name="dopost" value="listArchives"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="cid" class="biz-input-sm"> | |||
| @@ -151,26 +151,26 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="9">{dede:global.positionname/}文档列表</td> | |||
| </tr> | |||
| <form name="form2"> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">id</td> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">id</td> | |||
| <td width="30%">文档标题</td> | |||
| <td width="10%">更新时间</td> | |||
| <td width="14%">类目</td> | |||
| <td width="9%">点击</td> | |||
| <td width="9%">权限</td> | |||
| <td width="6%">点击</td> | |||
| <td width="6%">权限</td> | |||
| <td width="6%">发布人</td> | |||
| <td width="10%">操作</td> | |||
| <td>操作</td> | |||
| </tr> | |||
| {dede:datalist empty='<tr><td colspan="9" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td>{dede:field.id/}</td> | |||
| <td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.aid/}"></td> | |||
| <td>{dede:field.id/}</td> | |||
| <td align="left"><a href="archives_do.php?aid={dede:field.aid/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a></td> | |||
| <td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | |||
| <td>{dede:field.typename/}</td> | |||
| @@ -22,7 +22,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2"><a href="diy_main.php">自定义表单管理</a> > 新增自定义表单</td> | |||
| @@ -27,7 +27,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();"> | |||
| <input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| @@ -11,7 +11,7 @@ | |||
| <script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">表单管理</a> > 编辑评论</td> | |||
| </tr> | |||
| @@ -61,14 +61,14 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
| <input type="hidden" name="action" value="save"> | |||
| <input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
| <input type="hidden" name="fieldstring" value=""> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <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> | |||
| @@ -45,7 +45,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
| <input type="hidden" name="action" value="save"> | |||
| <input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
| @@ -54,7 +54,7 @@ | |||
| <input type="hidden" name="fieldstring" value=""> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <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> | |||
| @@ -25,10 +25,10 @@ | |||
| <body> | |||
| <form action="diy_list.php" method="post"> | |||
| <input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td colspan="3" bgcolor="#f5f5f5"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%"><a href="diy_main.php">自定义表单管理</a> > <?php echo $diy->name;?></td> | |||
| <td width="70%" align="right"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" target="_blank" class="btn btn-success btn-sm">前台预览</a></td> | |||
| @@ -10,7 +10,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td colspan="4">自定义表单管理</td> | |||
| </tr> | |||
| @@ -55,7 +55,7 @@ | |||
| </head> | |||
| <body> | |||
| <form name="form2"> | |||
| <table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="8">文档错误管理</td> | |||
| </tr> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> > 编辑评论</td> | |||
| </tr> | |||
| @@ -18,7 +18,7 @@ | |||
| <form name="form1" method="post" action="feedback_edit.php"> | |||
| <input type="hidden" name="dopost" value="edit"> | |||
| <input type="hidden" name="id" value="<?php echo $row['id'];?>"> | |||
| <table width="100%" cellpadding="3" cellspacing="1" class="table table-borderless"> | |||
| <table cellpadding="3" cellspacing="1" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="260">评论所属文档:</td> | |||
| <td><?php echo RemoveXSS($row['arctitle']);?></td> | |||
| @@ -67,7 +67,7 @@ | |||
| </head> | |||
| <body> | |||
| <form name="form1"> | |||
| <table width="98%" cellpadding="3" align="center" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" align="center" cellspacing="1" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180"><input type="text" name="keyword" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| <td width="170"> | |||
| @@ -81,7 +81,7 @@ | |||
| </table> | |||
| </form> | |||
| <form name="feedback"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="0" cellspacing="0" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td colspan="6" bgcolor="#f5f5f5">评论管理</td> | |||
| </tr> | |||
| @@ -33,7 +33,7 @@ | |||
| <input type="hidden" name="fmdo" value="edit"> | |||
| <input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}"> | |||
| <input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}"> | |||
| <table width="100%" align="center" cellpadding="3" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td colspan="2" bgcolor="#f5f5f5">修改新建文件</td> | |||
| </tr> | |||
| @@ -1,299 +1,294 @@ | |||
| <!DOCTYPE html> | |||
| <html> | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
| <title>文件管理器</title> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellspacing="1" cellpadding="2" align="center" class="table maintable icon my-3"> | |||
| <tr align="center"> | |||
| <td width="36%" bgcolor="#f5f5f5">文件名称</td> | |||
| <td width="12%" bgcolor="#f5f5f5">文件大小</td> | |||
| <td width="20%" bgcolor="#f5f5f5">修改时间</td> | |||
| <td width="30%" bgcolor="#f5f5f5">操作</td> | |||
| </tr> | |||
| <?php | |||
| $dh = scandir($inpath); | |||
| $ty1 = ""; | |||
| $ty2 = ""; | |||
| $files = $dirs = array(); | |||
| foreach ($dh as $file) | |||
| { | |||
| if ($file!="." && $file!=".." && !is_dir("$inpath/$file")) | |||
| { | |||
| @$filesize = filesize("$inpath/$file"); | |||
| @$filesize = $filesize/1024; | |||
| @$filetime = filemtime("$inpath/$file"); | |||
| @$filetime = MyDate("Y-m-d H:i:s",$filetime); | |||
| if ($filesize<0.1) | |||
| { | |||
| @list($ty1,$ty2)=explode(".",$filesize); | |||
| $filesize=$ty1.".".substr($ty2,0,2); | |||
| } else { | |||
| @list($ty1,$ty2)=explode(".",$filesize); | |||
| $filesize=$ty1.".".substr($ty2,0,1); | |||
| } | |||
| } | |||
| if ($file == ".") | |||
| { | |||
| continue; | |||
| } | |||
| else if ($file == "..") | |||
| { | |||
| if ($activepath == "") | |||
| { | |||
| continue; | |||
| } | |||
| $tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); | |||
| $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>"; | |||
| $dirs[] = $line; | |||
| } | |||
| else if (is_dir("$inpath/$file")) | |||
| { | |||
| if (preg_match("#^_(.*)$#i",$file)) continue; | |||
| if (preg_match("#^\.(.*)$#i",$file)) continue; | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </td> | |||
| </tr>"; | |||
| $dirs[] = $line; | |||
| } | |||
| else if (preg_match("#\.(gif|png)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(jpg)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||
| <td>$filesize KB</td> | |||
| <td align='center' class='biz-td'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(swf|fla|fly)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(exe)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(mp3|wma)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(wmv|api)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(rm|rmvb)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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='biz-td'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| 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); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(htm|html)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(php)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(js)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(css)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } else { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| } | |||
| foreach ($dirs as $dir) | |||
| { | |||
| echo $dir; | |||
| } | |||
| foreach ($files as $file) | |||
| { | |||
| echo $file; | |||
| } | |||
| ?> | |||
| <tr> | |||
| <td colspan="4" bgcolor="#f5f5f5"> | |||
| <?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | |||
| <a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a> | |||
| <a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a> | |||
| <a href="file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">文件上传</a> | |||
| <a href="file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">空间检查</a> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </body> | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
| <title>文件管理器</title> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table cellspacing="1" cellpadding="2" align="center" class="table maintable icon my-3"> | |||
| <tr align="center"> | |||
| <td width="36%" bgcolor="#f5f5f5">文件名称</td> | |||
| <td width="12%" bgcolor="#f5f5f5">文件大小</td> | |||
| <td width="20%" bgcolor="#f5f5f5">修改时间</td> | |||
| <td width="30%" bgcolor="#f5f5f5">操作</td> | |||
| </tr> | |||
| <?php | |||
| $dh = scandir($inpath); | |||
| $ty1 = ""; | |||
| $ty2 = ""; | |||
| $files = $dirs = array(); | |||
| foreach ($dh as $file) | |||
| { | |||
| if ($file!="." && $file!=".." && !is_dir("$inpath/$file")) { | |||
| @$filesize = filesize("$inpath/$file"); | |||
| @$filesize = $filesize/1024; | |||
| @$filetime = filemtime("$inpath/$file"); | |||
| @$filetime = MyDate("Y-m-d H:i:s",$filetime); | |||
| if ($filesize<0.1) { | |||
| @list($ty1,$ty2)=explode(".",$filesize); | |||
| $filesize=$ty1.".".substr($ty2,0,2); | |||
| } else { | |||
| @list($ty1,$ty2)=explode(".",$filesize); | |||
| $filesize=$ty1.".".substr($ty2,0,1); | |||
| } | |||
| } | |||
| if ($file == ".") { | |||
| continue; | |||
| } | |||
| else if ($file == "..") | |||
| { | |||
| if ($activepath == "") { | |||
| continue; | |||
| } | |||
| $tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); | |||
| $line = "\n<tr> | |||
| <td><a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='../static/web/img/icon_dir2.png'>上级目录</a></td> | |||
| <td colspan='3'>当前目录:$activepath</td> | |||
| </tr>"; | |||
| $dirs[] = $line; | |||
| } | |||
| else if (is_dir("$inpath/$file")) | |||
| { | |||
| if (preg_match("#^_(.*)$#i",$file)) continue; | |||
| if (preg_match("#^\.(.*)$#i",$file)) continue; | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='file_manage_main.php?activepath=".urlencode("$activepath/$file")."'><img src='../static/web/img/icon_dir.png'>$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-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $dirs[] = $line; | |||
| } | |||
| else if (preg_match("#\.(gif|png)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(jpg)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||
| <td>$filesize KB</td> | |||
| <td align='center' class='biz-td'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(swf|fla|fly)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_flash.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_zip.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(exe)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_exe.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(mp3|wma)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_music.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(wmv|api)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_video.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(rm|rmvb)#i",$file)) | |||
| { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_rm.png'>$file</a></td> | |||
| <td>$filesize KB</td> | |||
| <td align='center' class='biz-td'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| 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); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_text.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(htm|html)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_htm.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(php)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_php.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(js)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_js.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| else if (preg_match("#\.(css)#i",$file)) | |||
| { | |||
| $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
| <td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_css.png'>$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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } else { | |||
| $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" 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=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
| <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
| </td> | |||
| </tr>"; | |||
| $files[] = $line; | |||
| } | |||
| } | |||
| foreach ($dirs as $dir) | |||
| { | |||
| echo $dir; | |||
| } | |||
| foreach ($files as $file) | |||
| { | |||
| echo $file; | |||
| } | |||
| ?> | |||
| <tr> | |||
| <td colspan="4" bgcolor="#f5f5f5"> | |||
| <?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | |||
| <a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a> | |||
| <a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a> | |||
| <a href="file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">文件上传</a> | |||
| <a href="file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">空间检查</a> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </body> | |||
| </html> | |||
| @@ -62,7 +62,7 @@ | |||
| </div> | |||
| </li> | |||
| </div> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| @@ -70,7 +70,7 @@ | |||
| </tr> | |||
| <tr> | |||
| <td class="p-0"> | |||
| <table width="100%" align="center" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
| <table cellpadding="0" cellspacing="1" class="table-borderless w-100"> | |||
| <tr> | |||
| <td class="p-0"> | |||
| <table width="100%" cellspacing="1" cellpadding="0"> | |||
| @@ -18,7 +18,7 @@ | |||
| <script src="js/mode/htmlmixed/htmlmixed.js"></script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="freelist_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <input type="hidden" name="aid" value="<?php echo $row['aid']?>"> | |||
| @@ -27,7 +27,7 @@ | |||
| </tr> | |||
| <tr> | |||
| <td class="p-0"> | |||
| <table width="100%" align="right" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
| <table cellpadding="0" cellspacing="1" class="table-borderless w-100"> | |||
| <tr> | |||
| <td class="p-0"> | |||
| <table width="100%" cellspacing="1" cellpadding="0"> | |||
| @@ -103,7 +103,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="5" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="170" align="center"> | |||
| <input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="biz-input-md"> | |||
| @@ -116,7 +116,7 @@ | |||
| </tr> | |||
| </table> | |||
| <div id="rslist"><?php GetTagList($dsql,$pageno,$pagesize,$orderby);?></div> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" class="py-2"> | |||
| <div id="pagelist"> | |||
| @@ -28,7 +28,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="friendlink_main.php">友情链接管理</a> > 增加链接</td> | |||
| </tr> | |||
| @@ -36,7 +36,7 @@ | |||
| <td> | |||
| <form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();" ;> | |||
| <input type="hidden" name="dopost" value="add"> | |||
| <table width="98%" cellspacing="1" cellpadding="3" class="table table-borderless"> | |||
| <table cellspacing="1" cellpadding="3" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="260">网址:</td> | |||
| <td><input type="text" name="url" id="url" value="http://" class="biz-input-md"></td> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="friendlink_main.php">友情链接管理</a> > 链接修改</td> | |||
| </tr> | |||
| @@ -18,7 +18,7 @@ | |||
| <form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
| <input type="hidden" name="id" value="<?php echo $myLink['id']?>"> | |||
| <input type="hidden" name="dopost" value="saveedit"> | |||
| <table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless"> | |||
| <table cellspacing="1" cellpadding="3" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="260">网址:</td> | |||
| <td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" class="biz-input-md"></td> | |||
| @@ -63,16 +63,16 @@ | |||
| <form name="form1" method="post" action="friendlink_edit.php" onSubmit="return checkSubmit();"> | |||
| <input type="hidden" name="dopost" value="delall"> | |||
| <input type="hidden" name="allid" value=""> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="8">友情链接管理</td> | |||
| </tr> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">选择</td> | |||
| <td width="25%">网站名称</td> | |||
| <td width="12%">网站Logo</td> | |||
| <td width="15%">站长Email</td> | |||
| <td width="15%">时间</td> | |||
| <td width="30%">网站名称</td> | |||
| <td width="14%">网站图标</td> | |||
| <td width="8%">邮箱</td> | |||
| <td width="14%">时间</td> | |||
| <td width="6%">状态</td> | |||
| <td width="6%">顺序</td> | |||
| <td>管理</td> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="friendlink_type.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| @@ -43,7 +43,7 @@ | |||
| </head> | |||
| <body> | |||
| <form name="formsearch"> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="180" align="center"> | |||
| <select name="adminid" id="adminid" class="biz-input-sm"> | |||
| @@ -66,7 +66,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7">系统日志管理</td> | |||
| </tr> | |||
| @@ -61,7 +61,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
| <input type="hidden" name="action" value="make"> | |||
| <tr> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form2" action="content_list.php" method="get" target="stafrm"> | |||
| <input type="hidden" name="nullfield" value="ok"> | |||
| </form> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_freelist_action.php" method="get" target="stafrm"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2">更新自由列表</td> | |||
| @@ -21,7 +21,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_homepage.php" target="stafrm" method="post"> | |||
| <input type="hidden" name="dopost" value="make"> | |||
| <tr> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_list_action.php" method="get" target="stafrm"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2">更新栏目</td> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_spec.php" method="get" target="stafrm"> | |||
| <input type="hidden" name="dopost" value="ok"> | |||
| <tr> | |||
| @@ -18,7 +18,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2">更新标签</td> | |||
| @@ -35,10 +35,10 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">上传新文件</td> | |||
| <td width="70%" align="right"><a href="media_main.php" class="btn btn-success btn-sm">附件媒体数据管理</a></td> | |||
| @@ -53,7 +53,7 @@ | |||
| </tr> | |||
| <tr> | |||
| <td align="center"> | |||
| <table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();"> | |||
| <input type="hidden" name="dopost" value="upload"> | |||
| <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
| @@ -21,10 +21,10 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">修改媒体</td> | |||
| <td width="70%" align="right"><a href="media_main.php" class="btn btn-success btn-sm">附件媒体数据管理</a></td> | |||
| @@ -40,8 +40,7 @@ | |||
| <tr> | |||
| <td align="center"> | |||
| <table width="100%" cellpadding="0" cellspacing="0"> | |||
| <form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" | |||
| onSubmit="return CheckSubmit();"> | |||
| <form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
| <input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
| @@ -44,7 +44,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="forms" method="post" action="media_main.php"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"> | |||
| @@ -73,7 +73,7 @@ | |||
| </tr> | |||
| </form> | |||
| </table> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7">附件数据管理</td> | |||
| </tr> | |||
| @@ -13,7 +13,7 @@ | |||
| </head> | |||
| <body> | |||
| <form action="member_main.php" name="form1" method="get"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" class="biz-input-md"></td> | |||
| <td width="170"> | |||
| @@ -57,24 +57,24 @@ | |||
| </table> | |||
| </form> | |||
| <form name="form2"> | |||
| <table width="98%" align="center" cellpadding="2" cellspacing="1" class="table maintable mb-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="9">注册会员列表</td> | |||
| <td bgcolor="#f5f5f5" colspan="10">注册会员列表</td> | |||
| </tr> | |||
| <tr bgcolor="#e9ecef" align="center"> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">mid</td> | |||
| <td width="16%">用户</td> | |||
| <td width="18%">名称邮箱</td> | |||
| <td width="8%">名称</td> | |||
| <td width="8%">邮箱</td> | |||
| <td width="6%">性别</td> | |||
| <td width="6%">会员等级</td> | |||
| <td width="14%">会员属性</td> | |||
| <td width="14%">地址时间</td> | |||
| <td>操作</td> | |||
| </tr> | |||
| {dede:datalist empty='<tr><td colspan="9" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" | |||
| onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| {dede:datalist empty='<tr><td colspan="10" align="center">暂无文档</td></tr>'} | |||
| <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td><input type="checkbox" name="mid" id="mid" value="{dede:field.mid/}"></td> | |||
| <td>{dede:field.mid/}</td> | |||
| <td align="left"> | |||
| @@ -86,7 +86,8 @@ | |||
| ?> | |||
| {dede:field.matt function="GetMAtt(@me)"/} | |||
| </td> | |||
| <td>{dede:field.uname/}丨{dede:field.email/}</td> | |||
| <td>{dede:field.uname/}</td> | |||
| <td>{dede:field.email/}</td> | |||
| <td>{dede:field.sex/}</td> | |||
| <td><a href="member_main.php?rank={dede:field.rank/}">{dede:field.rank function="GetMemberName(@me,'限制会员')"/}</a></td> | |||
| <td>{dede:field.mtype/}用户丨金币{dede:field.money/}丨积分{dede:field.scores/}</td> | |||
| @@ -100,14 +101,14 @@ | |||
| </tr> | |||
| {/dede:datalist} | |||
| <tr> | |||
| <td colspan="9"> | |||
| <td colspan="10"> | |||
| <button type="button" onClick="selAll();" class="btn btn-success btn-sm">全选</button> | |||
| <button type="button" onClick="noSelAll();" class="btn btn-success btn-sm">取消</button> | |||
| <button type="button" onClick="delArc(0);" class="btn btn-danger btn-sm">删除</button> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td colspan="9" bgcolor="#f5f5f5" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
| <td colspan="10" bgcolor="#f5f5f5" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| @@ -56,7 +56,7 @@ | |||
| </head> | |||
| <body> | |||
| <form name="form2" method="get" action="member_operations.php"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" class="biz-input-md"></td> | |||
| <td> | |||
| @@ -69,7 +69,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="8">会员消费记录</td> | |||
| </tr> | |||
| @@ -11,7 +11,7 @@ | |||
| </head> | |||
| <body> | |||
| <form action="member_pm.php" name="form1" method="get"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| <td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" class="biz-input-md"></td> | |||
| @@ -25,7 +25,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"> | |||
| <span id="cate_1" class="btn btn-success btn-sm">短信列表</span> | |||
| @@ -10,7 +10,7 @@ | |||
| </head> | |||
| <body> | |||
| <form action="member_pm.php" name="form1" method="get"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| <td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" class="biz-input-md"></td> | |||
| @@ -24,7 +24,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"> | |||
| <a href="member_pm.php" class="btn btn-outline-success btn-sm">短信列表</a> | |||
| @@ -10,7 +10,7 @@ | |||
| </head> | |||
| <body> | |||
| <form action="member_pm.php" name="form1" method="get"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr bgcolor="#f5f5f5"> | |||
| <td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="biz-input-md"></td> | |||
| <td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" class="biz-input-md"></td> | |||
| @@ -24,7 +24,7 @@ | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"> | |||
| <a href="member_pm.php" class="btn btn-outline-success btn-sm">短信列表</a> | |||
| @@ -11,7 +11,7 @@ | |||
| <body> | |||
| <form name="form1" action="member_rank.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="6">会员级别设置</td> | |||
| </tr> | |||
| @@ -24,7 +24,7 @@ | |||
| <body> | |||
| <form action="member_scores.php" method="post"> | |||
| <input name="action" type="hidden" value="save"> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td colspan="5" bgcolor="#f5f5f5">积分头衔设置</td> | |||
| </tr> | |||
| @@ -26,7 +26,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 提升为管理员</td> | |||
| </tr> | |||
| @@ -38,7 +38,7 @@ | |||
| echo '<div class="alert alert-info mb-0">已经是管理员了,不要再提升了</div>'; | |||
| } else { | |||
| ?> | |||
| <table width="98%" cellspacing="0" cellpadding="6" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="6" class="table table-borderless w-100"> | |||
| <form name="form2" action="member_toadmin.php" method="post" onSubmit="return checkSubmit();"> | |||
| <input type="hidden" name="dopost" value="toadmin"> | |||
| <input type="hidden" name="userid" value="<?php echo $row['userid']?>"> | |||
| @@ -9,19 +9,17 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="member_type.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="5"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">会员产品分类</td> | |||
| <td width="70%" align="right"> | |||
| <button type="button" class="btn btn-success btn-sm" | |||
| onClick="location='member_rank.php';">会员级别管理</button> | |||
| <button type="button" class="btn btn-success btn-sm" | |||
| onClick="location='member_operations.php';">会员业务记录</button> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='member_rank.php';">会员级别管理</button> | |||
| <button type="button" class="btn btn-success btn-sm" onClick="location='member_operations.php';">会员业务记录</button> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| @@ -44,9 +42,9 @@ | |||
| ?> | |||
| <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>"> | |||
| <tr align="center"> | |||
| <td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%"></td> | |||
| <td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" class="biz-input-md"></td> | |||
| <td> | |||
| <select name="rank_<?php echo $k?>" id="rank_<?php echo $k?>" style="width:90%"> | |||
| <select name="rank_<?php echo $k?>" id="rank_<?php echo $k?>" class="biz-input-md"> | |||
| <?php | |||
| foreach($arcranks as $kkk=>$vvv){ | |||
| if ($row->rank==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>"; | |||
| @@ -55,9 +53,9 @@ | |||
| ?> | |||
| </select> | |||
| </td> | |||
| <td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%">(元)</td> | |||
| <td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" class="biz-input-md">(元)</td> | |||
| <td> | |||
| <select name="exptime_<?php echo $k?>" id="exptime_<?php echo $k?>" style="width:90%"> | |||
| <select name="exptime_<?php echo $k?>" id="exptime_<?php echo $k?>" class="biz-input-md"> | |||
| <?php | |||
| foreach($times as $kkk=>$vvv){ | |||
| if ($row->exptime==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>"; | |||
| @@ -71,12 +69,12 @@ | |||
| <?php }?> | |||
| <input type="hidden" name="idend" value="<?php echo $k?>"> | |||
| <tr> | |||
| <td colspan="5"> 新增一个会员产品类型:</td> | |||
| <td colspan="5">新增一个会员产品类型:</td> | |||
| </tr> | |||
| <tr align="center"> | |||
| <td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td> | |||
| <td><input type="text" name="pname_new" id="pname_new" class="biz-input-md"></td> | |||
| <td> | |||
| <select name="rank_new" id="rank_new" style="width:90%"> | |||
| <select name="rank_new" id="rank_new" class="biz-input-md"> | |||
| <?php | |||
| foreach($arcranks as $kkk=>$vvv){ | |||
| echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
| @@ -84,9 +82,9 @@ | |||
| ?> | |||
| </select> | |||
| </td> | |||
| <td><input type="text" name="money_new" id="money_new" style="width:80%" value="100">(元)</td> | |||
| <td><input type="text" name="money_new" id="money_new" class="biz-input-md" value="100">(元)</td> | |||
| <td> | |||
| <select name="exptime_new" id="exptime_new" style="width:90%"> | |||
| <select name="exptime_new" id="exptime_new" class="biz-input-md"> | |||
| <?php | |||
| foreach($times as $kkk=>$vvv){ | |||
| echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
| @@ -29,14 +29,14 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 查看会员</td> | |||
| </tr> | |||
| <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"> | |||
| <table cellspacing="0" cellpadding="6" class="table table-borderless w-100"> | |||
| <form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> | |||
| <input type="hidden" name="dopost" value="edituser"> | |||
| <input type="hidden" name="id" value="<?php echo $id?>"> | |||
| @@ -156,7 +156,7 @@ | |||
| <td class="biz-td"> | |||
| <?php | |||
| $nrow = $dsql->GetOne("SELECT * FROM `#@__member_tj` WHERE mid='{$row['mid']}' "); | |||
| echo "文档:{$nrow['article']} 图集:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}"; | |||
| echo "文档:{$nrow['article']} 图片:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}"; | |||
| echo "<br>空间访问:{$nrow['homecount']} 页面访问:{$nrow['pagecount']} 留言:{$nrow['feedback']} 好友:{$nrow['friend']} "; | |||
| ?> | |||
| </td> | |||
| @@ -34,7 +34,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
| <input type="hidden" name="action" value="edit"> | |||
| <input type="hidden" name="dev_id" value="<?php echo $dev_id;?>"> | |||
| @@ -29,7 +29,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td width="100%"><a href="plus_main.php">模块管理</a> > 模块开发指南</td> | |||
| </tr> | |||
| @@ -21,12 +21,12 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="plus_add.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| <td colspan="6" bgcolor="#f5f5f5"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%"><a href="module_main.php">模块管理</a> > 模块列表</td> | |||
| <td width="70%" align="right"> | |||
| @@ -30,7 +30,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
| <input type="hidden" name="action" value="make"> | |||
| <tr> | |||
| @@ -9,7 +9,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="plus_add.php" method="post"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <tr> | |||
| @@ -36,7 +36,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="mychannel_add.php" method="post"> | |||
| <input type="hidden" name="action" value="add"> | |||
| <tr> | |||
| @@ -43,7 +43,7 @@ | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <table width="98%" id="needset" cellpadding="3" cellspacing="1" align="center" class="table maintable"> | |||
| <table id="needset" cellpadding="3" cellspacing="1" align="center" class="table maintable"> | |||
| <?php if ($row['issystem'] == 1){?> | |||
| <tr> | |||
| <td colspan="2" class="border-top-0"> | |||
| @@ -182,7 +182,7 @@ | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <table width="98%" id="adset" cellpadding="3" cellspacing="1" align="center" class="table maintable" style="display:none"> | |||
| <table id="adset" cellpadding="3" cellspacing="1" align="center" class="table maintable" style="display:none"> | |||
| <tr> | |||
| <td>模型字段配置(可视化模式)</td> | |||
| <td><button type="button" name="fset" id="fset" onClick="location.href='mychannel_field_add.php?id=<?php echo $id;?>'" class="btn btn-success btn-sm">添加新字段</button></td> | |||
| @@ -275,7 +275,7 @@ | |||
| <td width="70%"><textarea name="fieldset" id="fieldset" class="biz-textarea-xl"><?php echo stripslashes($row['fieldset']);?></textarea></td> | |||
| </tr> | |||
| </table> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td colspan="2" bgcolor="#f5f5f5" align="center" class="py-2"> | |||
| <button type="submit" class="btn btn-success btn-sm">保存</button> | |||
| @@ -83,10 +83,10 @@ | |||
| <input type="hidden" name="action" value="save"> | |||
| <input type="hidden" name="id" value="<?php echo $id?>"> | |||
| <input type="hidden" name="fieldstring" value=""> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%"><a href="mychannel_main.php">文档模型管理</a> > 增加新字段</td> | |||
| <td width="70%" align="right"> | |||
| @@ -58,7 +58,7 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table wcellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
| <input type="hidden" name="action" value="save"> | |||
| <input type="hidden" name="id" value="<?php echo $id?>"> | |||
| @@ -67,7 +67,7 @@ | |||
| <input type="hidden" name="fieldstring" value=""> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="2"> | |||
| <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <table cellspacing="0" cellpadding="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%"><a href="mychannel_main.php">文档模型管理</a> > 查看修改字段</td> | |||
| <td width="70%" align="right"> | |||
| @@ -10,10 +10,10 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="7"> | |||
| <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
| <table cellpadding="0" cellspacing="0" class="table table-borderless w-100"> | |||
| <tr> | |||
| <td width="30%">文档模型管理</td> | |||
| <td width="70%" align="right"> | |||
| @@ -11,7 +11,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form name="form1" action="mychannel_edit.php" method="post" target="stafrm"> | |||
| <input type="hidden" name="mid" value="<?php echo $mid?>"> | |||
| <input type="hidden" name="maintable" value="<?php echo $channel['maintable']?>"> | |||
| @@ -52,15 +52,14 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="mytag_main.php">自定义宏标记</a> > 增加新标记</td> | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" | |||
| onSubmit="return checkSubmit()"> | |||
| <table cellspacing="4" cellpadding="4" class="table table-borderless w-100"> | |||
| <form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit()"> | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
| <tr> | |||
| @@ -8,13 +8,13 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5"><a href="mytag_main.php">自定义宏标记</a> > 修改标记</td> | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
| <table cellspacing="4" cellpadding="4" class="table table-borderless w-100"> | |||
| <form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
| <input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
| <input type="hidden" name="dopost" value="saveedit"> | |||
| @@ -10,7 +10,7 @@ | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| </head> | |||
| <body> | |||
| <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f5f5f5" colspan="6">自定义宏标记</td> | |||
| </tr> | |||
| @@ -40,7 +40,7 @@ | |||
| </tr> | |||
| </table> | |||
| </span> | |||
| <table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
| <form action="mytag_tag_guide_ok.php" method="post" target="stafrm" name="form1"> | |||
| <input type="hidden" name="dopost" value="gettag"> | |||
| <tr> | |||
| @@ -0,0 +1,9 @@ | |||
| <!DOCTYPE html> | |||
| <html> | |||
| <head> | |||
| <meta charset="utf-8"> | |||
| <title></title> | |||
| </head> | |||
| <body> | |||
| </body> | |||
| </html> | |||