1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- </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'])}{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'])}{else}{$_W['setting']['copyright']['footerleft']}{/if}
- </div>
- </div>
- </div>
- {if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
- </body>
- </html>
|