f82fe242200334a3fbd2585f39fdcd0dbdd74148.file.footer.lbi.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?php /* Smarty version Smarty-3.1.7, created on 2016-12-20 16:40:37
  2. compiled from "D:/phpStudy/WWW_krpano100/template\default\library\footer.lbi" */ ?>
  3. <?php /*%%SmartyHeaderCode:274675858ee85bc73d8-87771090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. 'f82fe242200334a3fbd2585f39fdcd0dbdd74148' =>
  8. array (
  9. 0 => 'D:/phpStudy/WWW_krpano100/template\\default\\library\\footer.lbi',
  10. 1 => 1478942025,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '274675858ee85bc73d8-87771090',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'nav_links' => 0,
  21. 'v' => 0,
  22. '_lang' => 0,
  23. ),
  24. 'has_nocache_code' => false,
  25. 'version' => 'Smarty-3.1.7',
  26. 'unifunc' => 'content_5858ee85ca200',
  27. ),false); /*/%%SmartyHeaderCode%%*/?>
  28. <?php if ($_valid && !is_callable('content_5858ee85ca200')) {function content_5858ee85ca200($_smarty_tpl) {?><style type="text/css">
  29. .footer {
  30. height: 75px;
  31. font-size: 12px;
  32. clear: both;
  33. display: none
  34. }
  35. .footer ul {
  36. height: 75px;
  37. line-height: 75px;
  38. }
  39. .footer-logo {
  40. height: 75px;
  41. line-height: 75px;
  42. }
  43. .cooperative p{
  44. margin: 0;
  45. }
  46. .cooperative p:nth-child(1) {
  47. font-size: 12px;
  48. }
  49. .cooperative p:nth-child(2) {
  50. font-size: 9px;
  51. }
  52. .ab{
  53. position: absolute;
  54. bottom: 0;
  55. }
  56. @media (max-width:470px) {
  57. .footer{ position: relative;height: 94px;}
  58. .footer ul { margin-left: 5px;width: 200px;}
  59. .footer ul li a { padding: 5px 2px;}
  60. .footer-logo>a>img{ vertical-align: 14px;}
  61. .footer-nav>li{ line-height: 50px;}
  62. .cooperative>p>a>img{ width: 61px}
  63. .cooperative{ width:100%;position: absolute;top: 8px;right: 7px;}
  64. .hz{ text-align: center;}
  65. .bq{ text-align: center;}
  66. }
  67. </style>
  68. <footer class="footer">
  69. <div class="footer-warper">
  70. <div class="footer-logo"><a href="#"><img src="/static/images/logo.png"></a></div>
  71. <ul class="footer-nav">
  72. <li>
  73. <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
  74. $_from = $_smarty_tpl->tpl_vars['nav_links']->value['left_bottom']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  75. foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
  76. $_smarty_tpl->tpl_vars['v']->_loop = true;
  77. ?>
  78. <a target="_blank" href="/article?aid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
  79. " title="<?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
  80. "><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
  81. </a>
  82. <?php } ?>
  83. </li>
  84. </ul>
  85. <div class="cooperative" style="float:right">
  86. <p class="qq"><a target="blank" href="http://wpa.qq.com/msgrd?V=3&uin=<?php echo $_smarty_tpl->tpl_vars['_lang']->value['qq'];?>
  87. &Site=<?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  88. &Menu=yes"><img src="/static/images/qq_online.png" style="cursor:pointer;"></a></p>
  89. <div class="clearfix" style="height:5px"></div>
  90. <p class="hz">合作电话:<?php echo $_smarty_tpl->tpl_vars['_lang']->value['tel'];?>
  91. </p><p class="bq">Copyright&copy;2016 <?php echo $_smarty_tpl->tpl_vars['_lang']->value['title'];?>
  92. All Rights Reserved <a style="color: #bfbfbf;text-decoration: underline;" href="#" target="_blank"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['icp'];?>
  93. </a></p>
  94. </div>
  95. </div>
  96. </footer>
  97. <script language="JavaScript" type="text/javascript" src="/static/js/jquery.form.js"></script>
  98. <script language="JavaScript" type="text/javascript" src="/static/js/bootbox.js"></script>
  99. <script language="JavaScript" type="text/javascript" src="/static/js/pager.js"></script>
  100. <script language="JavaScript" type="text/javascript" src="/static/js/common.js"></script>
  101. <script language="JavaScript" type="text/javascript" src="/static/js/zui.js"></script>
  102. <script>
  103. var f_resize_time;
  104. window.onload = function (){
  105. f_resize_time = setTimeout(resizeFooter,1000);
  106. // $(window).bind("resize",function(){
  107. // $("footer").hide();
  108. // if(f_resize_time) clearTimeout(f_resize_time);
  109. // f_resize_time = setTimeout(resizeFooter,100);
  110. // })
  111. $(document).bind("resize",function(){
  112. $("footer").hide();
  113. if(f_resize_time) clearTimeout(f_resize_time);
  114. f_resize_time = setTimeout(resizeFooter,100);
  115. })
  116. }
  117. function resizeFooter(){
  118. if ($(window).height()>$(document.body).height()) {
  119. $("footer").addClass("ab").show();
  120. }else{
  121. $("footer").removeClass("ab").show();
  122. }
  123. }
  124. </script>
  125. </body>
  126. </html><?php }} ?>