| 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/2025_04_20_01-副本/data/runtime/temp/ |
Upload File : |
<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:64:"./application/admin/template/users_notice/admin_notice_index.htm";i:1750128788;s:76:"/www/data/wwwroot/2025_04_20_01/application/admin/template/public/layout.htm";i:1731328528;s:79:"/www/data/wwwroot/2025_04_20_01/application/admin/template/public/theme_css.htm";i:1731328504;s:79:"/www/data/wwwroot/2025_04_20_01/application/admin/template/users_notice/bar.htm";i:1750128788;s:74:"/www/data/wwwroot/2025_04_20_01/application/admin/template/public/page.htm";i:1655737708;s:76:"/www/data/wwwroot/2025_04_20_01/application/admin/template/public/footer.htm";i:1746843003;}*/ ?>
<!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; ?>0"></script>
</head>
<body class="bodystyle" style="overflow-y: scroll; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page min-hg-c-i">
<div class="fixed-bar">
<div class="item-title">
<a class="back_xin" href="<?php if(\think\Request::instance()->param('gourl')): ?><?php echo \think\Request::instance()->param('gourl'); else: ?><?php echo url('System/api_conf'); endif; ?>" title="返回"><i class="iconfont e-fanhui"></i></a>
<div class="subject">
<h3>站内信</h3>
<h5></h5>
</div>
<ul class="tab-base nc-row">
<?php if(is_check_access('UsersNotice@admin_notice_index') == '1'): ?>
<li>
<a href="<?php echo url('UsersNotice/admin_notice_index'); ?>" <?php if(in_array(\think\Request::instance()->action(), ['admin_notice_index'])): ?>class="current"<?php endif; ?>>
<span>站长通知</span>
</a>
</li>
<?php endif; if(is_check_access('UsersNotice@index') == '1'): ?>
<li>
<a href="<?php echo url('UsersNotice/index'); ?>" <?php if(in_array(\think\Request::instance()->action(), ['index'])): ?>class="current"<?php endif; ?>>
<span>会员通知</span>
</a>
</li>
<?php endif; if(is_check_access('Notify@notify_tpl') == '1'): ?>
<li>
<a href="<?php echo url('Notify/notify_tpl'); ?>" <?php if(in_array(\think\Request::instance()->action(), ['notify_tpl'])): ?>class="current"<?php endif; ?>>
<span>自定义模板</span>
</a>
</li>
<?php endif; ?>
</ul>
</div>
</div>
<div class="flexigrid">
<div class="mDiv pt0">
<div class="ftitle">
<div class="fbutton">
<a href="javascript:void(0);" onclick="signAllRead(this);">
<div class="add" title="全部标记已读">
<span>全部标记已读</span>
</div>
</a>
</div>
</div>
<form class="navbar-form form-inline" action="<?php echo url('UsersNotice/admin_notice_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" 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="article_show" axis="col5" class="w40">
<div class="tc">ID</div>
</th>
<th abbr="article_title" axis="col3" >
<div class="text-l10">通知标题 </div>
</th>
<th abbr="ac_id" axis="col4" class="w160">
<div class="text-l10">通知类型</div>
</th>
<th abbr="article_time" axis="col6" class="w160">
<div class="tc">通知时间</div>
</th>
<th axis="col1" class="w120">
<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): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<tr>
<td class="sign">
<div class="w40 tc"><input type="checkbox" autocomplete="off" name="ids[]" value="<?php echo $vo['content_id']; ?>"></div>
</td>
<td class="sort">
<div class="w40 tc"> <?php echo $vo['content_id']; ?> </div>
</td>
<td style="width: 100%">
<div class="text-l10">
<a id="a_content_id_<?php echo $vo['content_id']; ?>" href="javascript:void(0);" data-href="<?php echo url('UsersNotice/admin_notice_edit',array('content_id'=>$vo['content_id'])); ?>" onclick="OpenNotice('<?php echo $vo['content_id']; ?>', '<?php echo $vo['is_read']; ?>', this);"><?php if($vo['is_read'] == '0'): ?><span style="color: red;" id="content_id_<?php echo $vo['content_id']; ?>" class="notread1620347507">[未读]</span><?php endif; ?> <?php echo $vo['content_title']; ?></a>
</div>
</td>
<td>
<div class="w160 text-l10 wot_z"> <?php echo $vo['tpl_name']; ?> </div>
</td>
<td class="">
<div class="w160 tc"> <?php echo MyDate('Y-m-d H:i:s',$vo['add_time']); ?> </div>
</td>
<td class="operation">
<div class="w120 tc">
<a href="javascript:void(0);" data-href="<?php echo url('UsersNotice/admin_notice_edit',array('content_id'=>$vo['content_id'])); ?>" class="btn blue" onclick="OpenNotice('<?php echo $vo['content_id']; ?>', '<?php echo $vo['is_read']; ?>', this);">查看</a>
<i></i>
<a class="btn red" href="javascript:void(0)" data-url="<?php echo url('UsersNotice/admin_notice_del'); ?>" data-id="<?php echo $vo['content_id']; ?>" onclick="delfun(this);">删除</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>
<div class="fbutton">
<a onclick="batch_del(this, 'ids');" data-url="<?php echo url('UsersNotice/admin_notice_del'); ?>" class="layui-btn layui-btn-primary"><span>批量删除</span></a>
</div>
<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 type="text/javascript">
$(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 open_id = <?php echo (isset($open_id) && ($open_id !== '')?$open_id:0); ?>;
if (0 < open_id) {
var obj = document.getElementById('a_content_id_'+open_id);
OpenNotice(open_id, 1, obj);
}
});
function OpenNotice(ContentID, IsRead, obj) {
openFullframe(obj, '查看站内通知');
if (0 == IsRead) {
var UnreadNotify = $(".UnreadNotify1615518028", window.parent.document).html();
UnreadNotify = Number(UnreadNotify) - Number(1);
UnreadNotify = 0 >= UnreadNotify ? 0 : UnreadNotify;
$(".UnreadNotify1615518028", window.parent.document).html(UnreadNotify);
if (0 == UnreadNotify) {
$(".UnreadNotify1615518028", window.parent.document).hide();
}
}
$('#content_id_'+ContentID).remove();
}
function signAllRead(obj) {
layer_loading('正在处理');
$.ajax({
type : 'post',
url : "<?php echo url('UsersNotice/sign_admin_allread'); ?>",
data : {_ajax:1},
dataType : 'json',
success : function(res){
layer.closeAll();
if(res.code == 1){
$(".UnreadNotify1615518028", window.parent.document).html(0);
$(".UnreadNotify1615518028", window.parent.document).hide();
$(".notread1620347507").hide();
layer.msg(res.msg, {icon: 1, shade: 0.1, time: 1000});
}else{
showErrorMsg(res.msg);
}
},
error: function(e){
layer.closeAll();
showErrorAlert(e.responseText);
}
});
}
</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>