| @@ -6,13 +6,13 @@ | |||||
| <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | ||||
| <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | ||||
| <link rel="stylesheet" href="css/base.css"> | <link rel="stylesheet" href="css/base.css"> | ||||
| <script language="javascript" src="../static/js/jquery.js"></script> | |||||
| <script src="../static/js/jquery.js"></script> | |||||
| <script src="../static/js/bootstrap.bundle.js"></script> | <script src="../static/js/bootstrap.bundle.js"></script> | ||||
| <script language="javascript" src="../static/js/dedeajax2.js"></script> | |||||
| <script language="javascript" src="js/ieemu.js"></script> | |||||
| <script language="javascript" src="js/context_menu.js"></script> | |||||
| <script language="javascript" src="js/main.js"></script> | |||||
| <script language="javascript" src="js/list.js"></script> | |||||
| <script src="../static/js/dedeajax2.js"></script> | |||||
| <script src="js/ieemu.js"></script> | |||||
| <script src="js/context_menu.js"></script> | |||||
| <script src="js/main.js"></script> | |||||
| <script src="js/list.js"></script> | |||||
| </head> | </head> | ||||
| <body leftmargin="8" topmargin="8" background='images/allbg.gif' onLoad="ContextMenu.intializeContextMenu()"> | <body leftmargin="8" topmargin="8" background='images/allbg.gif' onLoad="ContextMenu.intializeContextMenu()"> | ||||
| @@ -46,31 +46,27 @@ | |||||
| <li><a href="#" onclick="JumpFrame('index_menu.php','file_manage_main.php');">文件管理</a></li> | <li><a href="#" onclick="JumpFrame('index_menu.php','file_manage_main.php');">文件管理</a></li> | ||||
| <li><a href="#" onclick="JumpFrame('index_menu.php','templets_main.php');">模板管理</a></li> | <li><a href="#" onclick="JumpFrame('index_menu.php','templets_main.php');">模板管理</a></li> | ||||
| <?php echo ($cfg_mb_open == 'Y')?'<li><a href="../member" target="_blank">会员中心</a></li>':''; ?> | <?php echo ($cfg_mb_open == 'Y')?'<li><a href="../member" target="_blank">会员中心</a></li>':''; ?> | ||||
| <li><a href="#" onclick="JumpFrame('index_menu.php','makehtml_all.php');">更新网站</a></li> | |||||
| <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | ||||
| </ul> | </ul> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="topnav"> | <div class="topnav"> | ||||
| <div class="menuact"> <a href="#" id="togglemenu">隐藏菜单</a> | |||||
| <div class="menuact"><a href="#" id="togglemenu">隐藏菜单</a> | |||||
| <?php | <?php | ||||
| if($cuserLogin->getUserType() >= 10) echo '<a href="#" id="allmenu">功能地图</a>'; | if($cuserLogin->getUserType() >= 10) echo '<a href="#" id="allmenu">功能地图</a>'; | ||||
| ?> | ?> | ||||
| </div> | </div> | ||||
| <div id="skin"> | |||||
| <div></div> | |||||
| </div> | |||||
| <div class="nav" id="nav"></div> | |||||
| <div class="sysmsg"> | |||||
| <h3>滚动消息:</h3> | |||||
| <div class="scroll"> | |||||
| <form action="action_search.php" target="main" method="post"> | |||||
| <input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch" style="width:160px;"> | |||||
| <input type="submit" class="np"> | |||||
| <a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank">代码托管</a> | |||||
| <a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank">帮助中心</a> | |||||
| </form> | |||||
| </div> | |||||
| <div id="skin"></div> | |||||
| </div> | |||||
| <div class="nav" id="nav"></div> | |||||
| <div class="sysmsg"> | |||||
| <h3>滚动消息:</h3> | |||||
| <div class="scroll"> | |||||
| <form action="action_search.php" target="main" method="post"> | |||||
| <input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch"> | |||||
| <input name="" type="submit" value="搜索" class="np"> | |||||
| <a href='<?php echo $cfg_biz_gitUrl;?>' target='_blank'>代码托管</a> <a href='<?php echo $cfg_biz_helpUrl;?>' target='_blank'>帮助中心</a> | |||||
| </form> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -108,31 +104,31 @@ | |||||
| jQuery('#menufra').get(0).src = url1; | jQuery('#menufra').get(0).src = url1; | ||||
| jQuery('#main').get(0).src = url2; | jQuery('#main').get(0).src = url2; | ||||
| } | } | ||||
| /*(function ($) { | |||||
| (function ($) { | |||||
| $("#skinlist>li").click(function () { | $("#skinlist>li").click(function () { | ||||
| var adminskin = $(this).index() + 1; | |||||
| var csshref = "images/style" + adminskin + "/style.css"; | |||||
| $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); | |||||
| $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') | |||||
| $('link').each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $(this).children('div').attr('class', 'sel'); | |||||
| $(window.frames["menu"].document).find("link").each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $(window.frames["main"].document).find("link").each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $.get('index_body.php?dopost=setskin&cskin=' + adminskin); | |||||
| }); | |||||
| })(jQuery);*/ | |||||
| var adminskin = $(this).index() + 1; | |||||
| var csshref = "images/style" + adminskin + "/style.css"; | |||||
| $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); | |||||
| $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') | |||||
| $('link').each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $(this).children('div').attr('class', 'sel'); | |||||
| $(window.frames["menu"].document).find("link").each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $(window.frames["main"].document).find("link").each(function () { | |||||
| if ($(this).attr('href').match(/style.css$/)) { | |||||
| $(this).attr('href', csshref); | |||||
| } | |||||
| }); | |||||
| $.get('index_body.php?dopost=setskin&cskin=' + adminskin); | |||||
| }); | |||||
| })(jQuery); | |||||
| </script> | </script> | ||||
| </body> | </body> | ||||
| </html> | </html> | ||||
| @@ -7,14 +7,14 @@ | |||||
| <base target="_self"> | <base target="_self"> | ||||
| <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | ||||
| <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | ||||
| <link rel="stylesheet" type="text/css" href="css/base.css"> | |||||
| <link rel="stylesheet" type="text/css" href="css/indexbody.css"> | |||||
| <script language="javascript" src="../static/js/jquery.js"></script> | |||||
| <link rel="stylesheet" href="css/base.css"> | |||||
| <link rel="stylesheet" href="css/indexbody.css"> | |||||
| <script src="../static/js/jquery.js"></script> | |||||
| <script src="../static/js/bootstrap.bundle.js"></script> | <script src="../static/js/bootstrap.bundle.js"></script> | ||||
| <script language="javascript" src="../static/js/dedeajax2.js"></script> | |||||
| <script language="javascript" src="js/indexbody.js"></script> | |||||
| <script language="javascript" src="js/main.js"></script> | |||||
| <script type="text/javascript"> | |||||
| <script src="../static/js/dedeajax2.js"></script> | |||||
| <script src="js/indexbody.js"></script> | |||||
| <script src="js/main.js"></script> | |||||
| <script> | |||||
| function showMore() { | function showMore() { | ||||
| $("#allInfo").toggle(); | $("#allInfo").toggle(); | ||||
| $("#allInfoTD").toggle(); | $("#allInfoTD").toggle(); | ||||
| @@ -67,7 +67,10 @@ | |||||
| <div class="col-md-6 mt-3"> | <div class="col-md-6 mt-3"> | ||||
| <div class="card"> | <div class="card"> | ||||
| <div class="card-header">快捷操作<span class="float-right"><a href="javascript:AddNew()" class="btn btn-success btn-sm">新增</a><a href="javascript:ListAll()" class="btn btn-success btn-sm">管理</a></span></div> | |||||
| <div class="card-header"> | |||||
| 快捷操作 | |||||
| <span class="float-right"><a href="javascript:AddNew()" class="btn btn-success btn-sm">新增</a><a href="javascript:ListAll()" class="btn btn-success btn-sm">管理</a></span> | |||||
| </div> | |||||
| <div class="card-body"> | <div class="card-body"> | ||||
| <ul class="nav"> | <ul class="nav"> | ||||
| <?php | <?php | ||||
| @@ -93,8 +96,8 @@ | |||||
| <div class="card-body"> | <div class="card-body"> | ||||
| <table width="98%" class="table table-borderless"> | <table width="98%" class="table table-borderless"> | ||||
| <tr> | <tr> | ||||
| <td width="25%" class="nline" style="text-align:right">您的级别:</td> | |||||
| <td class="nline"> | |||||
| <td width="25%" class='nline' style="text-align:right">您的级别:</td> | |||||
| <td class='nline'> | |||||
| <?php | <?php | ||||
| if($cuserLogin->getUserType()==10) { | if($cuserLogin->getUserType()==10) { | ||||
| echo "总管理员"; | echo "总管理员"; | ||||
| @@ -107,14 +110,16 @@ | |||||
| <a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a></td> | <a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a></td> | ||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td colspan="2" class="nline" id="allInfoTD" style="display:none"> | |||||
| <table width="100%" border="0" cellspacing="0" cellpadding="0" id="allInfo" style="display:none"> | |||||
| <td colspan="2" class='nline' id="allInfoTD" style="display:none"> | |||||
| <table width="100%" border="0" cellspacing="0" cellpadding="0" id="allInfo" | |||||
| style="display:none"> | |||||
| <tr> | <tr> | ||||
| <td rowspan="5" class="nline" style="text-align:right">PHP环境摘要:</td> | |||||
| <td class="nline" style="text-align:left">PHP版本:<?php echo @phpversion(); ?> GD版本:<?php echo @gdversion(); ?></td> | |||||
| <td rowspan="5" class='nline' style="text-align:right">PHP环境摘要:</td> | |||||
| <td class='nline' style="text-align:left">PHP版本:<?php echo @phpversion(); ?> GD版本:<?php echo @gdversion(); ?></td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left">是否安全模式:<span><?php echo ($isSafeMode ? 'On' : 'Off')?></span> | |||||
| <td class='nline' style="text-align:left">是否安全模式:<font color='red'> | |||||
| <?php echo ($isSafeMode ? 'On' : 'Off')?></font> | |||||
| <?php | <?php | ||||
| if($isSafeMode) { | if($isSafeMode) { | ||||
| echo "由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“ <a href='sys_info.php' class='btn btn-success btn-smm'>更改系统参数</a> ”里的FTP选项,并选择用FTP形式创建目录"; | echo "由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“ <a href='sys_info.php' class='btn btn-success btn-smm'>更改系统参数</a> ”里的FTP选项,并选择用FTP形式创建目录"; | ||||
| @@ -123,20 +128,20 @@ | |||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left"> | |||||
| <td class='nline' style="text-align:left"> | |||||
| <span style="margin-right:10px">Register_Globals:<?php echo ini_get("register_globals") ? 'On' : 'Off'?></span> | <span style="margin-right:10px">Register_Globals:<?php echo ini_get("register_globals") ? 'On' : 'Off'?></span> | ||||
| <span>Magic_Quotes_Gpc:<?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></span> | <span>Magic_Quotes_Gpc:<?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></span> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left">支持上传的最大文件:<?php echo ini_get("post_max_size")?></td> | |||||
| <td class='nline' style="text-align:left">支持上传的最大文件:<?php echo ini_get("post_max_size")?></td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left">是否允许打开远程连接:<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'; ?></td> | |||||
| <td class='nline' style="text-align:left">是否允许打开远程连接:<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'; ?></td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:right"> 其它必须函数检测:</td> | |||||
| <td class="nline" style="text-align:left"> | |||||
| <td class='nline' style="text-align:right"> 其它必须函数检测:</td> | |||||
| <td class='nline' style="text-align:left"> | |||||
| <?php | <?php | ||||
| $needfunc = array('dir','phpinfo'); | $needfunc = array('dir','phpinfo'); | ||||
| $n = 0; | $n = 0; | ||||
| @@ -155,8 +160,9 @@ | |||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:right"> 软件版本信息: </td> | |||||
| <td class="nline" style="text-align:left">版本名称:<?php echo $cfg_soft_enname; ?> 版本号:<?php echo $cfg_version; ?></td> | |||||
| <td class='nline' style="text-align:right"> 软件版本信息: </td> | |||||
| <td class='nline' style="text-align:left">版本名称:<?php echo $cfg_soft_enname; ?> 版本号:<?php echo $cfg_version; ?> | |||||
| </td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| </td> | </td> | ||||
| @@ -170,7 +176,9 @@ | |||||
| <div class="card"> | <div class="card"> | ||||
| <div class="card-header">信息统计</div> | <div class="card-header">信息统计</div> | ||||
| <div class="card-body"> | <div class="card-body"> | ||||
| <dd id='listCount'>正在载入中...</dd> | |||||
| <dd id='listCount'> | |||||
| 正在载入中... | |||||
| </dd> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -203,7 +211,7 @@ | |||||
| if($row['arcrank']==-1) $linkstr .= "<span class='btn btn-success btn-sm'>未审核</span>"; | if($row['arcrank']==-1) $linkstr .= "<span class='btn btn-success btn-sm'>未审核</span>"; | ||||
| ?> | ?> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left"> | |||||
| <td class='nline' style="text-align:left"> | |||||
| <?php echo $linkstr; ?> | <?php echo $linkstr; ?> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -212,9 +220,9 @@ | |||||
| } else { | } else { | ||||
| ?> | ?> | ||||
| <tr> | <tr> | ||||
| <td class="nline" style="text-align:left">暂无新增内容</td> | |||||
| <td class='nline' style="text-align:left">暂无新增内容</td> | |||||
| </tr> | </tr> | ||||
| <?php | |||||
| <?php | |||||
| } | } | ||||
| ?> | ?> | ||||
| </table> | </table> | ||||
| @@ -249,15 +257,21 @@ | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td width="20%" height="28" align="right">链接标题:</td> | <td width="20%" height="28" align="right">链接标题:</td> | ||||
| <td width="70%"><input name="title" type="text" id="title" class='pubinputs' style="width:255px"></td> | |||||
| <td width="70%"> | |||||
| <input name="title" type="text" id="title" class='pubinputs' style="width:255px;"> | |||||
| </td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td height="28" width="20%" align="right">链接网址:</td> | <td height="28" width="20%" align="right">链接网址:</td> | ||||
| <td width="70%"><input name="link" type="text" id="link" class='pubinputs' style="width:255px"></td> | |||||
| <td width="70%"> | |||||
| <input name="link" type="text" id="link" class='pubinputs' style="width:255px;"> | |||||
| </td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td height="45"> </td> | <td height="45"> </td> | ||||
| <td><input type="submit" name="Submit" value="保存项目" class="np coolbg" style="width:80px;cursor:pointer"></td> | |||||
| <td> | |||||
| <input type="submit" name="Submit" value="保存项目" class="np coolbg" style="width:80px;cursor:pointer"> | |||||
| </td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| </form> | </form> | ||||
| @@ -2,125 +2,49 @@ | |||||
| <head> | <head> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | ||||
| <title>DedeBIZ menu</title> | <title>DedeBIZ menu</title> | ||||
| <link rel="stylesheet" href="css/base.css" type="text/css" /> | |||||
| <script language="javascript" type="text/javascript" src="../static/js/dedeajax2.js"></script> | |||||
| <script src="../static/js/jquery.js" language="javascript" type="text/javascript"></script> | |||||
| <link rel="stylesheet" href="css/base.css"> | |||||
| <script src="../static/js/dedeajax2.js"></script> | |||||
| <script src="../static/js/jquery.js"></script> | |||||
| <?php | <?php | ||||
| echo "<script language='javascript'>var curopenItem = '$openitem';</script>"; | |||||
| echo "<script>var curopenItem = '$openitem';</script>"; | |||||
| ?> | ?> | ||||
| <script language="javascript" type="text/javascript" src="js/leftmenu.js"></script> | |||||
| <script src="js/leftmenu.js"></script> | |||||
| <style> | <style> | ||||
| body { | |||||
| margin:0; | |||||
| background:#f2f2f2 url(images/leftmenu_bg.gif); | |||||
| padding-left:6px; | |||||
| overflow:scroll; | |||||
| overflow-x:hidden | |||||
| } | |||||
| div { | |||||
| margin:0; | |||||
| padding:0 | |||||
| } | |||||
| dl.bitem { | |||||
| margin:0 0 6px 10px; | |||||
| width:140px; | |||||
| background:url(images/menunewbg.gif) repeat-x; | |||||
| clear:both | |||||
| } | |||||
| dl.bitem2 { | |||||
| margin:0 0 6px 10px; | |||||
| width:140px; | |||||
| background:url(images/menunewbg2.gif) repeat-x; | |||||
| clear:both | |||||
| } | |||||
| dl.bitem dt,dl.bitem2 dt { | |||||
| padding-left:36px; | |||||
| height:26px; | |||||
| line-height:26px; | |||||
| cursor:pointer | |||||
| } | |||||
| dl.bitem dt b,dl.bitem2 dt b { | |||||
| color:#4D6C2F | |||||
| } | |||||
| dl.bitem dd,dl.bitem2 dd { | |||||
| padding:6px; | |||||
| background-color:#fff | |||||
| } | |||||
| div.items { | |||||
| clear:both; | |||||
| padding:0; | |||||
| height:0 | |||||
| } | |||||
| .fllct { | |||||
| float:left; | |||||
| width:80px | |||||
| } | |||||
| .flrct { | |||||
| float:left; | |||||
| padding-top:4px | |||||
| } | |||||
| .sitemu li { | |||||
| padding:0 0 0 18px; | |||||
| height:26px; | |||||
| line-height:26px; | |||||
| background:url(images/arr4.gif) no-repeat 6px 10px | |||||
| } | |||||
| a.mmac div { | |||||
| padding:8px 4px 4px 10px; | |||||
| height:38px!important; | |||||
| font-weight:600; | |||||
| color:#325304; | |||||
| background:url(images/leftbg2.gif) no-repeat; | |||||
| word-wrap:break-word; | |||||
| word-break:break-all | |||||
| } | |||||
| a.mm div { | |||||
| padding:8px 4px 4px 10px; | |||||
| height:38px!important; | |||||
| font-weight:600; | |||||
| color:#475645; | |||||
| cursor:pointer; | |||||
| background:url(images/leftmbg1.gif) no-repeat; | |||||
| word-wrap:break-word; | |||||
| word-break:break-all | |||||
| } | |||||
| a.mm:hover div { | |||||
| color:#4f7632; | |||||
| background:url(images/leftbg2.gif) no-repeat | |||||
| } | |||||
| .mmf { | |||||
| padding:6px; | |||||
| height:1px | |||||
| } | |||||
| #mainct { | |||||
| padding-top:12px; | |||||
| background:url(images/idnbg1.gif) repeat-y | |||||
| } | |||||
| body{margin:0;background:#f2f2f2 url(images/leftmenu_bg.gif);padding-left:6px;overflow:scroll;overflow-x:hidden} | |||||
| div{margin:0;padding:0} | |||||
| img{margin-right:0} | |||||
| dl.bitem{margin:0 0 6px 10px;width:140px;background:url(images/menunewbg.gif) repeat-x;clear:both} | |||||
| dl.bitem2{margin:0 0 6px 10px;width:140px;background:url(images/menunewbg2.gif) repeat-x;clear:both} | |||||
| dl.bitem dt,dl.bitem2 dt{padding-left:30px;height:26px;line-height:26px;cursor:pointer} | |||||
| dl.bitem dt b,dl.bitem2 dt b{color:#4D6C2F} | |||||
| dl.bitem dd,dl.bitem2 dd{padding:10px;background-color:#fff} | |||||
| div.items{clear:both;padding:0;height:0} | |||||
| .fllct{float:left;width:80px} | |||||
| .flrct{float:left;padding-top:4px} | |||||
| .sitemu li{padding:0 0 0 20px;height:26px;line-height:26px;background:url(images/arr4.gif) no-repeat 6px 10px} | |||||
| a.mmac div{padding:8px 4px 4px 10px;height:38px!important;font-weight:600;color:#325304;background:url(images/leftbg2.gif) no-repeat;word-wrap:break-word;word-break:break-all} | |||||
| a.mm div{padding:8px 4px 4px 10px;height:38px!important;font-weight:600;color:#475645;cursor:pointer;background:url(images/leftmbg1.gif) no-repeat;word-wrap:break-word;word-break:break-all} | |||||
| a.mm:hover div{color:#4f7632;background:url(images/leftbg2.gif) no-repeat} | |||||
| .mmf{padding:6px;height:1px} | |||||
| #mainct{padding-top:12px;background:url(images/idnbg1.gif) repeat-y} | |||||
| </style> | </style> | ||||
| <link href="images/style<?php echo $cfg_admin_skin;?>/style.css" rel="stylesheet" type="text/css" /> | |||||
| <base target="main" /> | |||||
| <link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||||
| <base target="main"> | |||||
| </head> | </head> | ||||
| <body target="main" onLoad="CheckOpenMenu();"> | <body target="main" onLoad="CheckOpenMenu();"> | ||||
| <table width="180" align="left" border='0' cellspacing='0' cellpadding='0' style="text-align:left;"> | <table width="180" align="left" border='0' cellspacing='0' cellpadding='0' style="text-align:left;"> | ||||
| <tr> | <tr> | ||||
| <td valign='top' style='padding-top:10' width='20'><a id='link1' class='mmac'> | |||||
| <div onClick="ShowMainMenu(1)">核心</div> | |||||
| </a> <a id='link100' class='mm'> | |||||
| <div onClick="ShowMainMenu(100)">模块</div> | |||||
| </a> <a id='link5' class='mm'> | |||||
| <div onClick="ShowMainMenu(5)">生成</div> | |||||
| </a> <a id='link6' class='mm'> | |||||
| <div onClick="ShowMainMenu(6)">会员</div> | |||||
| </a> | |||||
| <td valign='top' style='padding-top:10' width='20'> | |||||
| <a id='link1' class='mmac'><div onClick="ShowMainMenu(1)">核心</div></a> | |||||
| <a id='link100' class='mm'><div onClick="ShowMainMenu(100)">模块</div></a> | |||||
| <a id='link5' class='mm'><div onClick="ShowMainMenu(5)">生成</div></a> | |||||
| <a id='link6' class='mm'><div onClick="ShowMainMenu(6)">会员</div></a> | |||||
| <?php | <?php | ||||
| if($cuserLogin->getUserType() >= 10) { | if($cuserLogin->getUserType() >= 10) { | ||||
| ?> | ?> | ||||
| <a id='link7' class='mm'> | |||||
| <div onClick="ShowMainMenu(7)">模板</div> | |||||
| </a> <a id='link10' class='mm'> | |||||
| <div onClick="ShowMainMenu(10)">系统</div> | |||||
| </a> | |||||
| <a id='link7' class='mm'><div onClick="ShowMainMenu(7)">模板</div></a> | |||||
| <a id='link10' class='mm'><div onClick="ShowMainMenu(10)">系统</div></a> | |||||
| <?php | <?php | ||||
| } | } | ||||
| ?> | ?> | ||||
| @@ -143,23 +67,23 @@ a.mm:hover div { | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td width='26'></td> | <td width='26'></td> | ||||
| <td width='160' valign='top'><img src='images/idnbgfoot.gif' /></td> | |||||
| <td width='160' valign='top'><img src='images/idnbgfoot.gif'></td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| <?php | <?php | ||||
| if(!empty($openitem) && $openitem!=1) | if(!empty($openitem) && $openitem!=1) | ||||
| { | { | ||||
| ?> | ?> | ||||
| <script language='javascript'> | |||||
| ShowMainMenu(100); | |||||
| <script> | |||||
| ShowMainMenu(100); | |||||
| </script> | </script> | ||||
| <?php | <?php | ||||
| } | } | ||||
| ?> | ?> | ||||
| <script language="javascript"> | |||||
| function myAlert() { | |||||
| alert('dede'); | |||||
| } | |||||
| <script> | |||||
| function myAlert() { | |||||
| alert('dede'); | |||||
| } | |||||
| </script> | </script> | ||||
| </body> | </body> | ||||
| </html> | </html> | ||||
| @@ -1,5 +1,6 @@ | |||||
| <!doctype html> | <!doctype html> | ||||
| <html lang="zh-CN"> | <html lang="zh-CN"> | ||||
| <head> | <head> | ||||
| <meta charset="<?php echo $cfg_soft_lang; ?>"> | <meta charset="<?php echo $cfg_soft_lang; ?>"> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||||
| @@ -8,26 +9,46 @@ | |||||
| <link rel="stylesheet" href="../static/css/dede.css"> | <link rel="stylesheet" href="../static/css/dede.css"> | ||||
| <title><?php echo $cfg_webname; ?>后台登录</title> | <title><?php echo $cfg_webname; ?>后台登录</title> | ||||
| <style> | <style> | ||||
| body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;background-color:#f2f2f2} | |||||
| header{background-color:#fff} | |||||
| header .logo{width:260px;padding:1em 0} | |||||
| .login-from{max-width:620px;width:100%} | |||||
| .login-area{background-color:#fff;padding:1em} | |||||
| .login-area .btnLogin{width:100%} | |||||
| .login-power{padding:1em 0} | |||||
| .login-power a,.goindex a{color:#3DB058} | |||||
| .goindex{line-height:60px} | |||||
| body { | |||||
| font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; | |||||
| background-color:#f2f2f2 | |||||
| } | |||||
| header { | |||||
| background-color:#fff | |||||
| } | |||||
| header .logo { | |||||
| width:260px; | |||||
| padding:1em 0 | |||||
| } | |||||
| .login-from { | |||||
| max-width:620px; | |||||
| width:100% | |||||
| } | |||||
| .login-area { | |||||
| background-color:#fff; | |||||
| padding:1em | |||||
| } | |||||
| .login-area .btnLogin { | |||||
| width:100% | |||||
| } | |||||
| .login-power { | |||||
| padding:1em 0 | |||||
| } | |||||
| .login-power a,.goindex a { | |||||
| color:#3DB058 | |||||
| } | |||||
| .goindex { | |||||
| line-height:60px | |||||
| } | |||||
| </style> | </style> | ||||
| </head> | </head> | ||||
| <body> | <body> | ||||
| <header> | <header> | ||||
| <div class="container top"> | <div class="container top"> | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col-6"> | |||||
| <a href="javascript:;"><img class="logo" src="../static/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></a> | |||||
| </div> | |||||
| <div class="col-6"><a href="."><img class="logo" src="../static/img/admin-logo.png" alt="<?php echo $cfg_soft_enname; ?>"></a></div> | |||||
| <div class="col-6 d-flex justify-content-end goindex"> | <div class="col-6 d-flex justify-content-end goindex"> | ||||
| <a href="../index.php" target="_blank"><i class="fa fa-home" aria-hidden="true"></i></a> | |||||
| <a href="../index.php"><i class="fa fa-home" aria-hidden="true"></i></a> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -50,22 +71,16 @@ header .logo{width:260px;padding:1em 0} | |||||
| <label for="iptPassword">密码</label> | <label for="iptPassword">密码</label> | ||||
| <input type="password" name="pwd" class="form-control" id="iptPassword"> | <input type="password" name="pwd" class="form-control" id="iptPassword"> | ||||
| </div> | </div> | ||||
| <?php | |||||
| if(preg_match("/6/",$safe_gdopen)) | |||||
| { | |||||
| ?> | |||||
| <div class="form-group"> | <div class="form-group"> | ||||
| <label for="iptValidate">验证码</label> | <label for="iptValidate">验证码</label> | ||||
| <div class="input-group"> | <div class="input-group"> | ||||
| <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase"> | <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase"> | ||||
| <img src="../plus/vdimgck.php" id="validateimg" onclick="this.src='../plus/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" style="cursor:pointer"> | |||||
| <img src="../plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='../plus/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <?php | |||||
| } | |||||
| ?> | |||||
| <button type="submit" class="btn btn-success btnLogin">登录</button> | <button type="submit" class="btn btn-success btnLogin">登录</button> | ||||
| <div class="login-power"><?php echo $cfg_powerby; ?></div> | |||||
| <div class="login-power"><?php echo $cfg_powerby; ?></a> | |||||
| </div> | |||||
| </form> | </form> | ||||
| </div> | </div> | ||||
| </main> | </main> | ||||
| @@ -4,18 +4,18 @@ | |||||
| <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | ||||
| <title>模板管理器</title> | <title>模板管理器</title> | ||||
| <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | ||||
| <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||||
| <link href="css/base.css" rel="stylesheet" type="text/css" /> | |||||
| <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||||
| <link rel="stylesheet" href="css/base.css"> | |||||
| <style> | <style> | ||||
| .linerow{border-bottom:1px solid #CBD8AC} | .linerow{border-bottom:1px solid #CBD8AC} | ||||
| td{padding-left:6px} | td{padding-left:6px} | ||||
| a.btn{color:white!important} | a.btn{color:white!important} | ||||
| </style> | </style> | ||||
| <script language="javascript"> | <script language="javascript"> | ||||
| function DelTpl(filename) { | |||||
| if (window.confirm('你确定要删除这篇文档吗')) location = 'tpl.php?action=del&acdir=<?php echo $acdir; ?>&filename=' + filename; | |||||
| else return false; | |||||
| } | |||||
| function DelTpl(filename) { | |||||
| if (window.confirm('你确定要删除这篇文档吗')) location = 'tpl.php?action=del&acdir=<?php echo $acdir; ?>&filename=' + filename; | |||||
| else return false; | |||||
| } | |||||
| </script> | </script> | ||||
| </head> | </head> | ||||