| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/data/wwwroot/2015_11_19_01/data/runtime/temp/ |
Upload File : |
<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:43:"./application/admin/template/tags/index.htm";i:1713229036;s:76:"/www/data/wwwroot/2015_11_19_01/application/admin/template/public/layout.htm";i:1756798180;s:79:"/www/data/wwwroot/2015_11_19_01/application/admin/template/public/theme_css.htm";i:1756798056;s:74:"/www/data/wwwroot/2015_11_19_01/application/admin/template/public/page.htm";i:1713228914;s:76:"/www/data/wwwroot/2015_11_19_01/application/admin/template/public/footer.htm";i:1713228974;}*/ ?>
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" media="screen"/>
<link href="/public/plugins/layui/css/layui.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css">
<link href="/public/static/admin/css/main.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css">
<link href="/public/static/admin/css/page.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css">
<link href="/public/static/admin/font/css/font-awesome.min.css?v=<?php echo $version; ?>" rel="stylesheet" />
<link href="/public/static/admin/font/css/iconfont.css?v=<?php echo $version; ?>" rel="stylesheet" />
<!--[if IE 7]>
<link rel="stylesheet" href="/public/static/admin/font/css/font-awesome-ie7.min.css?v=<?php echo $version; ?>">
<![endif]-->
<script type="text/javascript">
var eyou_basefile = "<?php echo \think\Request::instance()->baseFile(); ?>";
var module_name = "<?php echo MODULE_NAME; ?>";
var GetUploadify_url = "<?php echo url('Uploadimgnew/upload'); ?>";
// 插件专用旧版上传图片框
if ('Weapp@execute' == "<?php echo CONTROLLER_NAME; ?>@<?php echo ACTION_NAME; ?>") {
GetUploadify_url = "<?php echo url('Uploadify/upload'); ?>";
}
var __root_dir__ = "";
var __lang__ = "<?php echo $admin_lang; ?>";
var __seo_pseudo__ = <?php echo (isset($global['seo_pseudo']) && ($global['seo_pseudo'] !== '')?$global['seo_pseudo']:1); ?>;
var __web_xss_filter__ = <?php echo (isset($global['web_xss_filter']) && ($global['web_xss_filter'] !== '')?$global['web_xss_filter']:0); ?>;
var __is_mobile__ = <?php echo (isset($is_mobile) && ($is_mobile !== '')?$is_mobile:0); ?>;
var __security_ask_open__ = <?php echo (isset($global['security_ask_open']) && ($global['security_ask_open'] !== '')?$global['security_ask_open']:0); ?>;
</script>
<link href="/public/static/admin/js/jquery-ui/jquery-ui.min.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css"/>
<link href="/public/static/admin/js/perfect-scrollbar.min.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css"/>
<!-- <link type="text/css" rel="stylesheet" href="/public/plugins/tags_input/css/jquery.tagsinput.css?v=<?php echo $version; ?>"> -->
<style type="text/css">html, body { overflow: visible;}</style>
<link href="/public/static/admin/css/diy_style.css?v=<?php echo $version; ?>" rel="stylesheet" type="text/css" />
<?php if(file_exists(ROOT_PATH.'public/static/admin/css/theme_style.css')): ?>
<link href="/public/static/admin/css/theme_style.css?v=<?php echo $version; ?>_<?php echo (isset($global['web_theme_style_uptime']) && ($global['web_theme_style_uptime'] !== '')?$global['web_theme_style_uptime']:0); ?>" rel="stylesheet" type="text/css">
<?php elseif(file_exists(APP_PATH.'admin/template/public/theme_css.htm') && function_exists('hex2rgba')): ?>
<style type="text/css">
/*官方内置样式表,升级会覆盖变动,请勿修改,否则后果自负*/
/*左侧收缩图标*/
#foldSidebar i { font-size: 24px;color:<?php echo $global['web_theme_color']; ?>; }
/*左侧菜单*/
.eycms_cont_left{ background:<?php echo $global['web_theme_color']; ?>; }
.eycms_cont_left dl dd a:hover,.eycms_cont_left dl dd a.on,.eycms_cont_left dl dt.on{ background:<?php echo $global['web_assist_color']; ?>; }
.eycms_cont_left dl dd a:active{ background:<?php echo $global['web_assist_color']; ?>; }
.eycms_cont_left dl.jslist dd{ background:<?php echo $global['web_theme_color']; ?>; }
.eycms_cont_left dl.jslist dd a:hover,.eycms_cont_left dl.jslist dd a.on{ background:<?php echo $global['web_assist_color']; ?>; }
.eycms_cont_left dl.jslist:hover{ background:<?php echo $global['web_assist_color']; ?>; }
/*栏目操作*/
.cate-dropup .cate-dropup-con a:hover{ background-color: <?php echo $global['web_theme_color']; ?>; }
/*按钮*/
a.ncap-btn-green { background-color: <?php echo $global['web_theme_color']; ?>; }
a:hover.ncap-btn-green { background-color: <?php echo $global['web_assist_color']; ?>; }
.flexigrid .sDiv2 .btn:hover { background-color: <?php echo $global['web_theme_color']; ?>; }
.flexigrid .mDiv .fbutton div.add{background-color: <?php echo $global['web_theme_color']; ?>; border: none;}
.flexigrid .mDiv .fbutton div.add:hover{ background-color: <?php echo $global['web_assist_color']; ?>;}
.flexigrid .mDiv .fbutton div.adds{color:<?php echo $global['web_theme_color']; ?>;border: 1px solid <?php echo $global['web_theme_color']; ?>;}
.flexigrid .mDiv .fbutton div.adds:hover{ background-color: <?php echo $global['web_theme_color']; ?>;}
/*选项卡字体*/
.tab-base a.current,
.tab-base a:hover.current {color:<?php echo $global['web_theme_color']; ?> !important;}
.tab-base a.current:after,
.tab-base a:hover.current:after {background-color: <?php echo $global['web_theme_color']; ?>;}
.addartbtn input.btn:hover{ border-bottom: 1px solid <?php echo $global['web_theme_color']; ?>; }
.addartbtn input.btn.selected{ color: <?php echo $global['web_theme_color']; ?>;border-bottom: 1px solid <?php echo $global['web_theme_color']; ?>;}
/*会员导航*/
.member-nav-group .member-nav-item .btn.selected{background: <?php echo $global['web_theme_color']; ?>;border: 1px solid <?php echo $global['web_theme_color']; ?>;box-shadow: -1px 0 0 0 <?php echo $global['web_theme_color']; ?>;}
.member-nav-group .member-nav-item:first-child .btn.selected{border-left: 1px solid <?php echo $global['web_theme_color']; ?> !important;}
/* 商品订单列表标题 */
.flexigrid .mDiv .ftitle h3 {border-left: 3px solid <?php echo $global['web_theme_color']; ?>;}
/*分页*/
.pagination > .active > a, .pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover { border-color: <?php echo $global['web_theme_color']; ?>;color:<?php echo $global['web_theme_color']; ?>; }
.layui-form-onswitch {border-color: <?php echo $global['web_theme_color']; ?> !important;background-color: <?php echo $global['web_theme_color']; ?> !important;}
.onoff .cb-enable.selected { background-color: <?php echo $global['web_theme_color']; ?> !important;border-color: <?php echo $global['web_theme_color']; ?> !important;}
.onoff .cb-disable.selected {background-color: <?php echo $global['web_theme_color']; ?> !important;border-color: <?php echo $global['web_theme_color']; ?> !important;}
.pcwap-onoff .cb-enable.selected { background-color: <?php echo $global['web_theme_color']; ?> !important;border-color: <?php echo $global['web_theme_color']; ?> !important;}
.pcwap-onoff .cb-disable.selected {background-color: <?php echo $global['web_theme_color']; ?> !important;border-color: <?php echo $global['web_theme_color']; ?> !important;}
input[type="text"]:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="password"]:focus,
input[type="password"]:hover,
input[type="password"]:active,
textarea:hover,
textarea:focus,
textarea:active { border-color:<?php echo hex2rgba($global['web_theme_color'],0.8); ?>;box-shadow: 0 0 0 1px <?php echo hex2rgba($global['web_theme_color'],0.5); ?> !important;}
.input-file-show:hover .type-file-button {background-color:<?php echo $global['web_theme_color']; ?> !important; }
.input-file-show:hover {border-color: <?php echo $global['web_theme_color']; ?> !important;box-shadow: 0 0 5px <?php echo hex2rgba($global['web_theme_color'],0.5); ?> !important;}
.input-file-show:hover span.show a,
.input-file-show span.show a:hover { color: <?php echo $global['web_theme_color']; ?> !important;}
.input-file-show:hover .type-file-button {background-color: <?php echo $global['web_theme_color']; ?> !important; }
.color_z { color: <?php echo $global['web_theme_color']; ?> !important;}
a.imgupload{
background-color: <?php echo $global['web_theme_color']; ?> !important;
border-color: <?php echo $global['web_theme_color']; ?> !important;
}
/*专题节点按钮*/
.ncap-form-default .special-add{background-color:<?php echo $global['web_theme_color']; ?>;border-color:<?php echo $global['web_theme_color']; ?>;}
.ncap-form-default .special-add:hover{background-color:<?php echo $global['web_assist_color']; ?>;border-color:<?php echo $global['web_assist_color']; ?>;}
/*更多功能标题*/
.on-off_panel .title::before {background-color:<?php echo $global['web_theme_color']; ?>;}
.on-off_panel .on-off_list-caidan .icon_bg .on{color: <?php echo $global['web_theme_color']; ?>;}
.on-off_panel .e-jianhao {color: <?php echo $global['web_theme_color']; ?>;}
/*内容菜单*/
.ztree li a:hover{color:<?php echo $global['web_theme_color']; ?> !important;}
.ztree li a.curSelectedNode{background-color: <?php echo $global['web_theme_color']; ?> !important; border-color:<?php echo $global['web_theme_color']; ?> !important;}
.layout-left .on-off-btn {background-color: <?php echo $global['web_theme_color']; ?> !important;}
/*框架正在加载*/
.iframe_loading{width:100%;background:url(/public/static/admin/images/loading-0.gif) no-repeat center center;}
.layui-btn-normal {background-color: <?php echo $global['web_theme_color']; ?>;}
.layui-laydate .layui-this{background-color: <?php echo $global['web_theme_color']; ?> !important;}
.laydate-day-mark::after {background-color: <?php echo $global['web_theme_color']; ?> !important;}
/*上传框*/
.upload-body .upload-con .image-header .image-header-l .layui-btn {
background: <?php echo $global['web_theme_color']; ?> !important;
border-color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .layui-tab-brief>.layui-tab-title .layui-this {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .layui-tab-brief>.layui-tab-title .layui-this:after {
border-bottom-color: <?php echo $global['web_theme_color']; ?> !important;
}
.layui-layer-btn .layui-layer-btn0 {
border-color: <?php echo $global['web_theme_color']; ?> !important;
background-color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .layui-btn-yes {
background: <?php echo $global['web_theme_color']; ?> !important;
border-color: <?php echo $global['web_theme_color']; ?> !important;
}
.pagination li.active a {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-nav .item.active {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .upload-con .group-item.active a {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .upload-con .group-item.active {
color: <?php echo $global['web_theme_color']; ?> !important;
background-color: <?php echo hex2rgba($global['web_theme_color'],0.1); ?>;
}
.pagination li.active {
border-color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .layui-btn-normal {
background-color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .upload-con .image-list li.up-over .image-select-layer i {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-body .upload-con .image-list li .layer .close {
color: <?php echo $global['web_theme_color']; ?> !important;
}
.upload-dirimg-con .ztree li a.curSelectedNode {
background-color: #FFE6B0 !important;
border-color: #FFB951 !important;
}
/*.plug-item-content .plug-item-bottm a, .plug-item-content .plug-status .yes {
color: <?php echo $global['web_theme_color']; ?> !important;
}*/
.ncap-form-default dd.opt .layui-btn{
background-color: <?php echo $global['web_theme_color']; ?> !important;
}
.marketing_panel .title::before{
background-color: <?php echo $global['web_theme_color']; ?> !important;
}
.marketing_panel .marketing_list ul.marketing-nav li a .button button {
color: <?php echo $global['web_theme_color']; ?> !important;
border: 1px solid <?php echo $global['web_theme_color']; ?> !important;
}
</style>
<?php endif; ?>
<script type="text/javascript" src="/public/static/common/js/jquery.min.js?t=v1.7.6"></script>
<!-- <script type="text/javascript" src="/public/plugins/tags_input/js/jquery.tagsinput.js?v=<?php echo $version; ?>"></script> -->
<script type="text/javascript" src="/public/static/admin/js/jquery-ui/jquery-ui.min.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/plugins/layer-v3.1.0/layer.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.cookie.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/admin.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.validation.min.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/common.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/perfect-scrollbar.min.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.mousewheel.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/plugins/layui/layui.js?v=<?php echo $version; ?>"></script>
<script type="text/javascript" src="/public/static/common/js/jquery.lazyload.min.js?v=<?php echo $version; ?>"></script>
<script src="/public/static/admin/js/myFormValidate.js?v=<?php echo $version; ?>"></script>
<script src="/public/static/admin/js/myAjax2.js?v=<?php echo $version; ?>"></script>
<script src="/public/static/admin/js/global.js?v=<?php echo $version; ?>1"></script>
</head>
<body <?php if($source != 'archives'): ?>class="bodystyle"<?php endif; ?> style="cursor: default; -moz-user-select: inherit; min-width:400px;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page min-hg-c-10" style="min-width: 400px;">
<div class="fixed-bar">
<div class="item-title">
<?php if($source == 'archives'): ?>
<a class="back_xin" href="javascript:void(0);" onclick="closeIframes(this);" title="返回"><i class="iconfont e-fanhui"></i></a>
<?php else: ?>
<a class="back_xin" href="<?php echo url('Index/switch_map'); ?>" title="返回"><i class="iconfont e-fanhui"></i></a>
<?php endif; ?>
<div class="subject">
<h3>TAG标签列表</h3>
<h5></h5>
</div>
</div>
</div>
<div class="flexigrid">
<div class="mDiv pt0">
<div class="ftitle">
<?php if(is_check_access('Tags@batch_add') == '1'): ?>
<div class="fbutton">
<a href="javascript:void(0);" data-href="<?php echo url('Tags/batch_add'); ?>" onclick="openFullframe(this, '批量新增', '600px', '600px');">
<div class="add" title="批量新增">
<span><i class="layui-icon layui-icon-addition"></i>批量新增</span>
</div>
</a>
</div>
<?php endif; ?>
<div class="fbutton">
<a href="javascript:void(0);" data-href="<?php echo url('Tags/edit_index_seo'); ?>" onclick="openFullframe(this, 'Tag主页SEO', '760px', '520px');">
<div class="add" title="Tag主页SEO">
<span>Tag主页SEO</span>
</div>
</a>
</div>
</div>
<form id="searchForm" class="navbar-form form-inline" action="<?php echo url('Tags/index'); ?>" method="get" onsubmit="layer_loading('正在处理');">
<?php echo (isset($searchform['hidden']) && ($searchform['hidden'] !== '')?$searchform['hidden']:''); ?>
<div class="sDiv">
<div class="sDiv2">
<input type="text" size="30" name="keywords" value="<?php echo \think\Request::instance()->param('keywords'); ?>" class="qsbox" placeholder="搜索名称...">
<input type="submit" class="btn" value="搜索">
<i class="iconfont e-sousuo"></i>
</div>
</div>
</form>
</div>
<div class="hDiv">
<div class="hDivBox">
<table cellspacing="0" cellpadding="0" style="width: 100%">
<thead>
<tr>
<th class="sign w40" axis="col0">
<div class="tc"><input type="checkbox" autocomplete="off" class="checkAll"></div>
</th>
<th abbr="ac_id" axis="col4">
<div class="">标签</div>
</th>
<th abbr="article_time" axis="col6" class="w100">
<div class="tc">点击</div>
</th>
<th abbr="article_time" axis="col6" class="w100">
<div class="tc">文档数</div>
</th>
<th abbr="article_time" axis="col6" class="w80">
<div class="tc">设为常用</div>
</th>
<th abbr="article_time" axis="col6" class="w100">
<div class="tc">新增时间</div>
</th>
<th axis="col1" class="w180">
<div class="tc">操作</div>
</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<table style="width: 100%">
<tbody>
<?php if(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty())): ?>
<tr>
<td class="no-data" align="center" axis="col0" colspan="50">
<div class="no_row">
<div class="no_pic"><img src="/public/static/admin/images/null-data.png"></div>
</div>
</td>
</tr>
<?php else: if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $k=>$vo): ?>
<tr class="tagTr" data-id="<?php echo $vo['id']; ?>" data-tag="<?php echo $vo['tag']; ?>">
<td class="sign">
<div class="w40 tc"><input type="checkbox" autocomplete="off" name="ids[]" value="<?php echo $vo['id']; ?>"></div>
</td>
<td style="width: 100%">
<div style="">
<a href="<?php echo get_tagurl($vo['id']); ?>" target="_blank"><?php echo $vo['tag']; ?></a>
</div>
</td>
<td class="">
<div class="w100 tc">
<input style="text-align:center;width: 80px;" type="text" data-inputype="int" onchange="changeTableVal('tagindex','id','<?php echo $vo['id']; ?>','count',this);" value="<?php echo $vo['count']; ?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" onpaste="this.value=this.value.replace(/[^\d]/g,'')" />
</div>
</td>
<td class="">
<div class="w100 tc">
<?php echo $vo['total']; ?>
</div>
</td>
<td>
<div class="tc w80">
<?php if($vo['is_common'] == 1): ?>
<span class="yes" <?php if(is_check_access('Tags@edit') == '1'): ?>onClick="changeTableVal('tagindex','id','<?php echo $vo['id']; ?>','is_common',this);"<?php endif; ?>><i class="fa fa-check-circle"></i>是</span>
<?php else: ?>
<span class="no" <?php if(is_check_access('Tags@edit') == '1'): ?>onClick="changeTableVal('tagindex','id','<?php echo $vo['id']; ?>','is_common',this);"<?php endif; ?>><i class="fa fa-ban"></i>否</span>
<?php endif; ?>
</div>
</td>
<td class="">
<div class="w100 tc">
<?php echo date('Y-m-d',$vo['add_time']); ?>
</div>
</td>
<td class="operation">
<div class="w180 tc">
<?php if(is_check_access('Tags@relation_archives') == '1'): ?>
<a class="btn blue" href="javascript:void(0);" data-href="<?php echo url('Tags/relation_archives', ['tid'=>$vo['id']]); ?>" data-tid="<?php echo $vo['id']; ?>" onclick="relation(this, '标签【<?php echo $vo['tag']; ?>】 - 关联文档');">关联</a>
<i></i>
<?php endif; if(is_check_access('Tags@edit') == '1'): ?>
<a class="btn blue" href="javascript:void(0);" data-href="<?php echo url('Tags/edit', ['id'=>$vo['id']]); ?>" onclick="openFullframe(this, 'TAG标签 - 编辑', '850px', '520px');" >编辑</a>
<i></i>
<?php endif; if(is_check_access('Tags@del') == '1'): ?>
<a class="btn red" href="javascript:void(0);" data-url="<?php echo url('Tags/del'); ?>" data-id="<?php echo $vo['id']; ?>" onclick="delfun(this);">删除</a>
<i></i>
<?php endif; ?>
<a class="btn" href="<?php echo get_tagurl($vo['id']); ?>" target="_blank">浏览</a>
</div>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; endif; ?>
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
<div class="tDiv">
<div class="tDiv2">
<div class="fbutton checkboxall">
<input type="checkbox" autocomplete="off" class="checkAll">
</div>
<?php if(is_check_access('Tags@del') == '1'): ?>
<div class="fbutton">
<a onclick="batch_del(this, 'ids');" data-url="<?php echo url('Tags/del'); ?>"class="layui-btn layui-btn-primary">
<span>批量删除</span>
</a>
</div>
<?php endif; if(is_check_access('Tags@clearall') == '1'): ?>
<div class="fbutton">
<a onclick="clearall();" href="javascript:void(0);" class="layui-btn layui-btn-primary">
<span>一键清空</span>
</a>
</div>
<?php endif; ?>
<div class="fbuttonr">
<div class="pages">
<?php echo $page; ?>
</div>
</div>
<div class="fbuttonr">
<div class="total">
<h5>共有<?php echo (isset($pager->totalRows) && ($pager->totalRows !== '')?$pager->totalRows:0); ?>条,每页显示
<select name="pagesize" style="width: 60px;" onchange="ey_selectPagesize(this);">
<option <?php if($pager->listRows == 20): ?> selected <?php endif; ?> value="20">20</option>
<option <?php if($pager->listRows == 50): ?> selected <?php endif; ?> value="50">50</option>
<option <?php if($pager->listRows == 100): ?> selected <?php endif; ?> value="100">100</option>
<option <?php if($pager->listRows == 200): ?> selected <?php endif; ?> value="200">200</option>
</select>
</h5>
</div>
</div>
</div>
<div style="clear:both"></div>
</div>
<?php endif; ?>
</div>
</div>
<script>
$(function(){
$('input[name*=ids]').click(function(){
if ($('input[name*=ids]').length == $('input[name*=ids]:checked').length) {
$('.checkAll').prop('checked','checked');
} else {
$('.checkAll').prop('checked', false);
}
});
$('input[type=checkbox].checkAll').click(function(){
$('input[type=checkbox]').prop('checked',this.checked);
});
});
$(document).ready(function() {
// 表格行点击选中切换
$('#flexigrid > table>tbody >tr').click(function(){
$(this).toggleClass('trSelected');
});
// 点击刷新数据
$('.fa-refresh').click(function(){
location.href = location.href;
});
});
var parentObj = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
//tag关联文档
function relation(obj,title) {
$.ajax({
type : 'POST',
url : "<?php echo url('Tags/ajax_recordfile'); ?>",
data : {opt:'set', value:'', _ajax:1},
dataType : 'json',
success : function(res){
var url = $(obj).data('href');
var iframes = layer.open({
type: 2,
title: title,
id: 'relation_iframes',
fixed: true, //不固定
shadeClose: false,
closeBtn: 3,
shade: layer_shade,
area: ['90%', '90%'],
content: url,
});
},
error: function(e){
showErrorAlert(e.responseText);
}
});
}
/**
* 关闭当前弹窗
*/
function closeIframes(obj) {
if (parentObj){
parent.layer.close(parentObj);
parent.$('#often_tags').hide();
}else{
history.back();
}
}
// 编辑TAG标签的SEO优化
function SeoEdit(obj) {
var url = $(obj).data('href');
//iframe窗
layer.open({
type: 2,
title: 'TAG标签 - 编辑',
fixed: true,
shadeClose: false,
shade: layer_shade,
closeBtn: 3,
maxmin: true,
area: ['700px', '480px'],
content: url
});
}
// 一键清空
function clearall() {
layer.confirm('此操作不可恢复,确认一键清空?', {
shade: layer_shade,
area: ['480px', '190px'],
move: false,
title: '提示',
btnAlign:'r',
closeBtn: 3,
success: function () {
$(".layui-layer-content").css('text-align', 'left');
}
}, function () {
layer_loading('正在处理');
$.ajax({
type: "POST",
url: "<?php echo url('Tags/clearall'); ?>",
data: {_ajax: 1},
dataType: 'json',
success: function (res) {
layer.closeAll();
if(res.code == 1) {
window.location.reload();
} else {
layer.alert(res.msg, {icon: 2, title:false});
}
},
error:function(e) {
layer.closeAll();
layer.alert(e.responseText, {icon: 2, title:false});
}
});
});
}
</script>
<div id="goTop">
<a href="JavaScript:void(0);" id="btntop">
<i class="fa fa-angle-up"></i>
</a>
<a href="JavaScript:void(0);" id="btnbottom">
<i class="fa fa-angle-down"></i>
</a>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('#think_page_trace_open').css('z-index', 99999);
});
</script>
</body>
</html>