head.html
6.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>审核云平台内容管理系统</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta name="csrf-token" content="1S0PDRJgENm1wNWmFo4hb3CLm5PjPLFWxQM88P4G">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!--JQuery-->
<script src="../../static/js/jquery.min.js"></script>
<!-- <link rel="icon" href="http://app.shineup.com.cn/goldenline/play_sel.png" type="image/x-icon"> -->
<link rel="icon" href="/static/favicon.ico" type="image/x-icon">
<!--Bootstrap-->
<link href="../../static/css/bootstrap.min.css" rel="stylesheet">
<script src="../../static/js/bootstrap.min.js"></script>
<!-- Font Awesome -->
<link href="../../static/css/font-awesome.min.css" rel="stylesheet">
<!-- Theme style -->
<link rel="stylesheet" href="../../static/css/AdminLTE.min.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="../../static/css/_all-skins.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<!-- <script src="//cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>-->
<![endif]-->
<!--Bootstrap-Table-->
<link href="../../static/css/bootstrap-table.min.css" rel="stylesheet">
<!-- <script src="../../static/js/bootstrap-table.min.js"></script>
<script src="../../static/js/bootstrap-table-editable.min.js"></script>
<script src="../../static/js/bootstrap-table-zh-CN.min.js"></script>-->
<!--Moment.js-->
<script src="../../static/js/moment.min.js"></script>
<script src="../../static/js/moment-with-locales.min.js"></script>
<script src="../../static/js/locales.js"></script>
<!--CKEditor-->
<script src="../../static/js/ckeditor.js"></script><style>.cke{visibility:hidden;}</style>
<!--Bootstrap-DatetimePicker-->
<link href="../../static/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
<script src="../../static/js/bootstrap-datetimepicker.min.js"></script>
<!--X-editable-->
<link href="../../static/css/bootstrap-editable.css" rel="stylesheet">
<!-- <script src="../../static/js/bootstrap-editable.min.js"></script>-->
<!--Bootstrap-TreeView-->
<link href="../../static/css/bootstrap-treeview.min.css" rel="stylesheet">
<!-- <script src="../../static/js/bootstrap-treeview.min.js"></script>-->
<!--Bootstrap-fileinput-->
<link href="../../static/css/fileinput.min.css" rel="stylesheet">
<script src="../../static/js/canvas-to-blob.min.js"></script>
<script src="../../static/js/sortable.min.js"></script>
<script src="../../static/js/purify.min.js"></script>
<script src="../../static/js/fileinput.min.js"></script>
<script src="../../static/js/zh.js"></script>
<!--Toastr.js-->
<script src="../../static/js/toastr.min.js"></script>
<link href="../../static/css/toastr.min.css" rel="stylesheet">
<!--JqueryUI custom-->
<script src="../../static/js/jquery-ui.min.js"></script>
<link href="../../static/css/app.css" rel="stylesheet">
<script src="../../static/js/app.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<!-- <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" -->
<!-- integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" -->
<!-- crossorigin="anonymous"></script> -->
<!--添加Dialog 的js-->
<!-- <script type="text/javascript" src="http://resweb.cnliveimg.com/system/dialog/zDrag.js"></script> -->
<!-- <script type="text/javascript" src="http://resweb.cnliveimg.com/system/dialog/zDialog.js"></script> -->
<!-- <link href="../../static/css/dialog.css" rel="stylesheet"> -->
<!-- 右下角弹窗js -->
<script src="../../static/js/notice.js"></script>
<script language='JScript'>
var isShow_chinnal=false;//是否显示频道消息框
var isShow_liveApply=false;//是否显示直播申请消息框
var isShow_topic=false;//是否显示话题审核消息框
function initialize(){
$.ajax({
type:'post',
dataType:'json',
data:'',
url: "/users/getNoticeShow",
success:function(data){
if(data.isShow_chinnal){
isShow_chinnal=true;
notice_channel();//第一次进来就弹窗
}
if(data.isShow_liveApply){
isShow_liveApply=true;
notice_liveApply();//第一次进来就弹窗
}
if(data.isShow_topic){
isShow_topic=true;
notice_topic();//第一次进来就弹窗
}
}
});
}
var t1;
$(function(){
initialize();
t1 = window.setInterval(
function(){
if(((parseInt(new Date().getTime()/1000))%(5*60)==0)){//弹窗设置每5分钟启用
if(isShow_chinnal){
notice_channel();
}
if(isShow_liveApply){
notice_liveApply();
}
if(isShow_topic){
notice_topic();
}
}
},1000);
});
function notice_channel(){
$.ajax({
type:'get',
dataType:'json',
data:'',
url: "/channel/channelNotice",
success:function(data){
if(data!=null && data!="" ){
new xWin(data.id,data.title,data.content,data.url);
}
}
});
}
function notice_liveApply(){
$.ajax({
type:'get',
dataType:'json',
data:'',
url: "/liveApply/liveApplyNotice",
success:function(data){
if(data!=null && data!="" ){
new xWin(data.id,data.title,data.content,data.url);
}
}
});
}
function notice_topic(){
$.ajax({
type:'get',
dataType:'json',
data:'',
url: "/topic/topicNotice",
success:function(data){
if(data!=null && data!="" ){
new xWin(data.id,data.title,data.content,data.url);
}
}
});
}
//去掉定时器的方法
//window.clearInterval(t1);
</script>
</head>
</html>