14f39110225aa98f9efb6f2af8c5253a.php
4.7 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
<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="/public/simpleboot/themes/<?php echo C('SP_ADMIN_STYLE');?>/theme.min.css" rel="stylesheet">
<link href="/public/simpleboot/css/simplebootadmin.css" rel="stylesheet">
<link href="/public/js/artDialog/skins/default.css" rel="stylesheet" />
<link href="/public/simpleboot/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<style>
form .input-order{margin-bottom: 0px;padding:3px;width:40px;}
.table-actions{margin-top: 5px; margin-bottom: 5px;padding:0px;}
.table-list{margin-bottom: 0px;}
</style>
<!--[if IE 7]>
<link rel="stylesheet" href="/public/simpleboot/font-awesome/4.4.0/css/font-awesome-ie7.min.css">
<![endif]-->
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/",
WEB_ROOT: "/",
JS_ROOT: "public/js/",
APP:'<?php echo (MODULE_NAME); ?>'/*当前应用名*/
};
</script>
<script src="/public/js/jquery.js"></script>
<script src="/public/js/wind.js"></script>
<script src="/public/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script>
$(function(){
$("[data-toggle='tooltip']").tooltip();
});
</script>
<?php if(APP_DEBUG): ?><style>
#think_page_trace_open{
z-index:9999;
}
</style><?php endif; ?>
<style>
.home_info li em {
float: left;
width: 120px;
font-style: normal;
}
li {
list-style: none;
}
</style>
</head>
<body>
<div class="wrap">
<!--<div id="home_toptip"></div>
<h4 class="well"><?php echo L('SYSTEM_NOTIFICATIONS');?></h4>
<div class="home_info">
<ul id="thinkcmf_notices">
<li><img src="/admin/themes/simplebootx/Public/assets/images/loading.gif"style="vertical-align: middle;" /><span style="display: inline-block; vertical-align: middle;">加载中...</span></li>
</ul>
</div>-->
<h4 class="well"><?php echo L('SYSTEM_INFORMATIONS');?></h4>
<div class="home_info">
<ul>
<?php if(is_array($server_info)): $i = 0; $__LIST__ = $server_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><em><?php echo ($key); ?></em> <span><?php echo ($vo); ?></span></li><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
<!--<h4 class="well"><?php echo L('CONTRIBUTORS');?></h4>
<div class="">
<ul class="inline" style="margin-left: 25px;">
<li>Kin Ho</li>
<li><a href="http://wzx.thinkcmf.com" target="_blank">Powerless</a></li>
<li>Jess</li>
<li>木兰情</li>
<li><a href="http://www.91freeweb.com/" target="_blank">Labulaka</a></li>
<li><a href="http://www.syousoft.com/" target="_blank">WelKinVan</a></li>
<li><a href="http://blog.sina.com.cn/u/1918098881" target="_blank">Jeson</a></li>
<li>Yim</li>
<li><a href="http://www.jamlee.cn/" target="_blank">Jamlee</a></li>
<li><a>香香咸蛋黄</a></li>
<li><a>小夏</a></li>
<li><a href="http://www.xdmeng.com" target="_blank">小凯</a></li>
<li><a href="https://www.devmsg.com" target="_blank">Co</a></li>
<li><a href="http://www.rainfer.cn" target="_blank">Rainfer</a></li>
</ul>
</div>-->
</div>
<script src="/public/js/common.js"></script>
<?php $lang_set=defined('LANG_SET')?LANG_SET:''; $thinkcmf_version=defined('THINKCMF_VERSION')?THINKCMF_VERSION:''; ?>
<script>
//获取官方通知
$.getJSON("http://www.thinkcmf.com/service/sms_jsonp.php?lang=<?php echo ($lang_set); ?>&v=<?php echo ($thinkcmf_version); ?>&callback=?",
function(data) {
var tpl = '<li><em class="title"></em><span class="content"></span></li>';
var $thinkcmf_notices = $("#thinkcmf_notices");
$thinkcmf_notices.empty();
if (data.length > 0) {
$.each(data, function(i, n) {
var $tpl = $(tpl);
$(".title", $tpl).html(n.title);
$(".content", $tpl).html(n.content);
$thinkcmf_notices.append($tpl);
});
} else {
$thinkcmf_notices.append("<li>^_^,<?php echo L('NO_NOTICE');?>~~</li>");
}
});
</script>
</body>
</html>