| @@ -53,7 +53,7 @@ | |||
| <option value="scores">评论积分</option> | |||
| <option value="lastpost">最后评论</option> | |||
| </select> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>"> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>" placeholder="请选择日期"> | |||
| <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
| </td> | |||
| </tr> | |||
| @@ -56,7 +56,7 @@ | |||
| <option value="">选择属性</option> | |||
| {dede:global.flagsArr/} | |||
| </select> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>"> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>" placeholder="请选择日期"> | |||
| <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
| </td> | |||
| </tr> | |||
| @@ -35,7 +35,7 @@ | |||
| <option value="0">选择分类</option> | |||
| <?php echo $optionarr?> | |||
| </select> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>"> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>" placeholder="请选择日期"> | |||
| <button type="submit" name="submit" class="btn btn-success btn-sm">搜索</button> | |||
| </td> | |||
| </tr> | |||
| @@ -14,7 +14,7 @@ | |||
| <table align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f8f9fa"> | |||
| <input type="text" name="keyword" class="admin-input-lg mr-3" value="<?php echo $keyword?>"> | |||
| <input type="text" name="keyword" class="admin-input-lg mr-3" value="<?php echo $keyword?>" placeholder="请输入文档标题或文档id"> | |||
| <select name="cid" class="admin-input-sm"> | |||
| <option value="0">选择分类</option> | |||
| <?php echo $optionarr?> | |||
| @@ -44,7 +44,7 @@ | |||
| <option value="0">选择分类</option> | |||
| {dede:global.optionarr/} | |||
| </select> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>"> | |||
| <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-md" value="<?php echo $strTimerange;?>" placeholder="请选择日期"> | |||
| <button type="submit" name="submit" class="btn btn-success btn-sm">搜索</button> | |||
| </td> | |||
| </tr> | |||
| @@ -23,7 +23,7 @@ | |||
| {dede:datalist empty='<tr><td colspan="4" align="center">暂无记录</td></tr>'} | |||
| <tr align="center"> | |||
| <td>{dede:field.diyid/}</td> | |||
| <td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td> | |||
| <td>{dede:field.name/}</td> | |||
| <td>{dede:field.table/}</td> | |||
| <td> | |||
| <a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=edit" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i> 修改</a> | |||
| @@ -106,16 +106,18 @@ | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f8fafb"> | |||
| <input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="admin-input-lg"> | |||
| <button type="submit" name="submit2" class="btn btn-success btn-sm">搜索</button> | |||
| <button type="button" name="bt1" onclick="location='freelist_add.php';" class="btn btn-success btn-sm">添加自由列表</button> | |||
| <button type="button" name="bt2" onclick="location='makehtml_freelist.php';" class="btn btn-success btn-sm">更新所有列表</button> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <form action="freelist_main.php" name="form1" id="form1"> | |||
| <table align="center" class="table maintable my-3"> | |||
| <tr> | |||
| <td bgcolor="#f8fafb"> | |||
| <input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="admin-input-lg" placeholder="请输入关键词"> | |||
| <button type="submit" name="submit2" class="btn btn-success btn-sm">搜索</button> | |||
| <button type="button" name="bt1" onclick="location='freelist_add.php';" class="btn btn-success btn-sm">添加自由列表</button> | |||
| <button type="button" name="bt2" onclick="location='makehtml_freelist.php';" class="btn btn-success btn-sm">更新所有列表</button> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <div id="rslist"><?php GetTagList($dsql,$pageno,$pagesize,$orderby);?></div> | |||
| <table align="center" class="table maintable mb-3"> | |||
| <tr> | |||
| @@ -15,7 +15,7 @@ | |||
| <body class="menu-show"> | |||
| <?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])) {?> | |||
| <div id="browsehappy"> | |||
| <span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高后台操作体验</span> | |||
| <span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">更换浏览器</a>,提高后台操作体验</span> | |||
| <a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close"><i class="fa fa-times"></i></a> | |||
| </div> | |||
| <?php }?> | |||
| @@ -32,12 +32,15 @@ | |||
| <nav class="item"> | |||
| <ul> | |||
| <li><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li> | |||
| <?php if ($cuserLogin->getUserType() >= 10) {?> | |||
| <?php if ($cuserLogin->getUserType() >= 5) {?> | |||
| <li class="d-none d-lg-block"><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li> | |||
| <li class="d-none d-lg-block"><a href="tags_main.php" target="main" title="标签管理"><i class="fa fa-tags"></i></a></li> | |||
| <li class="d-none d-lg-block"><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li> | |||
| <li class="d-none d-lg-block"><a href="diy_main.php" target="main" title="自定义表单管理"><i class="fa fa-area-chart"></i></a></li> | |||
| <?php }?> | |||
| <?php if (!DEDEBIZ_SAFE_MODE) {?><li class="d-none d-lg-block"><a href="templets_main.php" target="main" title="主题模板"><i class="fa fa-cube"></i></a></li><?php }?> | |||
| <?php if (!DEDEBIZ_SAFE_MODE) {?> | |||
| <li class="d-none d-lg-block"><a href="templets_main.php" target="main" title="主题模板"><i class="fa fa-cube"></i></a></li> | |||
| <?php }?> | |||
| <li class="d-none d-lg-block"><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i></a></li> | |||
| <li class="d-none d-lg-block"><a href="sys_info.php" target="main" title="系统设置"><i class="fa fa-cog"></i></a></li> | |||
| <li class="d-none d-lg-block"> | |||
| @@ -51,11 +54,11 @@ | |||
| <div class="user"> | |||
| <ul> | |||
| <li class="d-none d-lg-block"><a href="/" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li> | |||
| <?php echo ($cfg_mb_open=='Y')?'<li><a href="/user/" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':'';?> | |||
| <?php echo ($cfg_mb_open == 'Y') ? '<li><a href="/user/" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':'';?> | |||
| <li class="d-none d-lg-block"><a href="javascript:document.getElementById('main').contentWindow.location.reload(true);" title="刷新页面"><i class="fa fa-refresh"></i></a></li> | |||
| <li class="d-none d-lg-block"> | |||
| <a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?></a> | |||
| <?php if ($cuserLogin->getUserType() == 10){echo "<span class='btn btn-success btn-xs'>管理员</span>";} else if ($cuserLogin->getUserType() == 5) {echo "<span class='btn btn-success btn-xs'>栏目员</span>";} else {echo "<span class='btn btn-success btn-xs'>文档员</span>";}?> | |||
| <?php if ($cuserLogin->getUserType() == 10) {echo '<span class="btn btn-success btn-xs">管理员</span>';} else if ($cuserLogin->getUserType() == 5) {echo '<span class="btn btn-success btn-xs">栏目员</span>';} else {echo '<span class="btn btn-success btn-xs">文档员</span>';}?> | |||
| </li> | |||
| <li><a href="exit.php" title="退出后台"><i class="fa fa-power-off"></i></a></li> | |||
| </ul> | |||
| @@ -64,8 +67,8 @@ | |||
| <div class="menu-left"> | |||
| <ul id="sidemenu" class="sidemenu shadow-sm"> | |||
| <?php | |||
| $openitem=100; | |||
| GetMenus($cuserLogin->getUserRank(),'main'); | |||
| $openitem = 100; | |||
| GetMenus($cuserLogin->getUserRank(), 'main'); | |||
| ?> | |||
| </ul> | |||
| </div> | |||
| @@ -15,7 +15,7 @@ | |||
| <body class="body-bg"> | |||
| <?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])) {?> | |||
| <div id="browsehappy"> | |||
| <span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高后台操作体验</span> | |||
| <span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">更换浏览器</a>,提高后台操作体验</span> | |||
| <a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close"><i class="fa fa-times"></i></a> | |||
| </div> | |||
| <?php }?> | |||
| @@ -19,7 +19,7 @@ | |||
| <td colspan="5" bgcolor="#f8fafb">积分头衔设置</td> | |||
| </tr> | |||
| <tr bgcolor="#f8f9fa" align="center"> | |||
| <td width="6%"><input type="checkbox" name="chkall" id="chkall" onclick="CheckAll(this.form)"> 反选</td> | |||
| <td width="6%">选择</td> | |||
| <td width="26%">积分大于</td> | |||
| <td width="26%">星星数</td> | |||
| <td width="26%">级别头衔</td> | |||
| @@ -53,18 +53,25 @@ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td colspan="5" bgcolor="#f8fafb" align="center"><button type="submit" class="btn btn-success btn-sm">提交</button></td> | |||
| <td colspan="5" bgcolor="#f8fafb" align="center"> | |||
| <button type="button" name="select" onclick="selAll()" class="btn btn-success btn-sm">全选</button> | |||
| <button type="button" name="select" onclick="noSelAll()" class="btn btn-success btn-sm">取消</button> | |||
| <button type="submit" class="btn btn-success btn-sm">提交</button> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| <script> | |||
| function CheckAll(form, prefix, checkall) { | |||
| var checkall = checkall ? checkall : 'chkall'; | |||
| for (var i = 0; i < form.elements.length; i++) { | |||
| var e = form.elements[i]; | |||
| if (e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) { | |||
| e.checked = form.elements[checkall].checked; | |||
| } | |||
| function selAll() { | |||
| var a = document.getElementsByTagName("input"); | |||
| for (var i = 0; i < a.length; i++){ | |||
| if (a[i].type == "checkbox") a[i].checked = true; | |||
| } | |||
| } | |||
| function noSelAll() { | |||
| var a = document.getElementsByTagName("input"); | |||
| for (var i = 0; i < a.length; i++){ | |||
| if (a[i].type == "checkbox") a[i].checked = false; | |||
| } | |||
| } | |||
| </script> | |||