123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- </div>
- </div>
- <script type="text/javascript">
- require(['bootstrap']);
- {if $_W['isfounder'] && !defined('IN_MESSAGE')}
- function checkupgrade() {
- require(['util'], function(util) {
- if (util.cookie.get('checkupgrade_sys')) {
- return;
- }
- $.getJSON("{url 'utility/checkupgrade/system'}", function(ret){
- if (ret && ret.message && ret.message.upgrade == '1') {
- $('body').prepend('<div id="upgrade-tips" class="upgrade-tips"><a href="./index.php?c=cloud&a=upgrade&">系统检测到新版本 '+ret.message.version+' ('+ ret.message.release +') ,请尽快更新!</a><span class="tips-close" style="background:#d03e14;" onclick="checkupgrade_hide();"><i class="fa fa-times-circle"></i></span></div>');
- if ($('#upgrade-tips-module').size()) {
- $('#upgrade-tips').css('top', '25px');
- }
- }
- });
- });
- }
-
- function checkupgrade_hide() {
- require(['util'], function(util) {
- util.cookie.set('checkupgrade_sys', 1, 3600);
- $('#upgrade-tips').hide();
- });
- }
- $(function(){
- checkupgrade();
- });
- {/if}
-
- {if $_W['uid']}
- function checknotice() {
- $.post("{php echo url('utility/notice')}", {}, function(data){
- var data = $.parseJSON(data);
- $('#notice-container').html(data.notices);
- $('#notice-total').html(data.total);
- if(data.total > 0) {
- $('#notice-total').css('background', '#ff9900');
- } else {
- $('#notice-total').css('background', '');
- }
- setTimeout(checknotice, 60000);
- });
- }
- checknotice();
- {/if}
- </script>
- <div class="center-block footer" role="footer">
- <div class="text-center">
- {if empty($_W['setting']['copyright']['footerright'])}<a href="http://www.we7.cc">关于微擎</a> <a href="http://bbs.we7.cc">微擎论坛</a> <a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAwMzEzOV8xNzEwOTZfNDAwMDgyODUwMl8yXw">联系客服</a>{else}{$_W['setting']['copyright']['footerright']}{/if}{if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
- </div>
- <div class="text-center">
- {if empty($_W['setting']['copyright']['footerleft'])}Powered by <a href="http://www.we7.cc"><b>微擎</b></a> v{IMS_VERSION} © 2014-2015 <a href="http://www.we7.cc">www.we7.cc</a>{else}{$_W['setting']['copyright']['footerleft']}{/if}
- </div>
- </div>
- </div>
- {if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
-
- </body>
- </html>
|