8_footer.tpl.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <? if(!defined('IN_MYMPS')) exit('Access Denied');
  2. /*Mymps分类信息系统
  3. 官方网站:http://www.mymps.com.cn*/?>
  4. <div class="clearfix"></div>
  5. <div class="footer">
  6. <p class="footer_01">
  7. <a href="<?=$mayimobile['mobiledomain']?>" rel="nofollow">首页</a>
  8. <?php $aboutus_all = get_aboutus() ?> <?php if(is_array($aboutus_all)){foreach($aboutus_all as $mymps) { ?>
  9. | <a href="<?=$mymps['uri_m']?>" rel="nofollow"><?=$mymps['typename']?></a>
  10. <?php }} ?>
  11. </p>
  12. <div class="clear"></div>
  13. <p class="footer_02">
  14. &copy;Copyright&nbsp;&nbsp;<?=$mymps_global['SiteName']?>
  15. <? echo $mymps_global['SiteBeian']?'<br>'.$mymps_global['SiteBeian'].'<br>':''; ?> 电话:<a rel="nofollow" href="tel:<?=$mymps_global['SiteTel']?>"><?=$mymps_global['SiteTel']?></a> &nbsp;&nbsp;&nbsp;
  16. QQ:<a rel="nofollow" href="http://wpa.qq.com/msgrd?v=3&uin=<?=$mymps_global['SiteQQ']?>&site=qq&menu=yes"><?=$mymps_global['SiteQQ']?></a>
  17. </p>
  18. <p class="footer_02" style="display:none"><?=$mymps_global['SiteStat']?></p>
  19. </div>
  20. <div class="windowIframe" id="windowIframe" style="display:none;">
  21. <div class="header"><a href="javascript:;" class="back left8 close">返回</a><span id="windowIframeTitle"></span></div>
  22. <div class="body" id="windowIframeBody"></div>
  23. </div>
  24. <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  25. <script>
  26. wx.config({
  27. debug: false,
  28. appId:'<?=$signPackage['appId']?>',
  29. timestamp:'<?=$signPackage['timestamp']?>',
  30. nonceStr:'<?=$signPackage['nonceStr']?>',
  31. signature:'<?=$signPackage['signature']?>',
  32. jsApiList:[
  33. 'checkJsApi',
  34. 'onMenuShareAppMessage',
  35. 'onMenuShareTimeline',
  36. 'onMenuShareQQ',
  37. 'onMenuShareWeibo',
  38. 'onMenuShareQZone']
  39. });
  40. wx.ready(function () {
  41. var shareTitle=document.title;
  42. var shareDesc=document.getElementById("description").content;
  43. var shareLink=window.location.href;
  44. var shareIcon='<?=$shareIcon?>';
  45. var shareType='link';
  46. wx.onMenuShareAppMessage({
  47. title: shareTitle,
  48. desc: shareDesc,
  49. link: shareLink,
  50. imgUrl: shareIcon,
  51. type: shareType, // music、video、link
  52. dataUrl: '',
  53. success: function () {
  54. alert("分享成功!");
  55. },
  56. cancel: function () {
  57. }
  58. });
  59. wx.onMenuShareTimeline({
  60. title: shareTitle,
  61. link: shareLink,
  62. imgUrl: shareIcon,
  63. success: function () {
  64. alert("分享成功!");
  65. }
  66. });
  67. });
  68. </script>
  69. <script>var searchHtml='<div class="searchbar2">'+'<form id="myform" action="<?=$mayimobile['mobiledomain']?>/index.php?" method="get">'+'<input name="mod" type="hidden" value="search">'+'<input type="text" name="keywords" id="keyword" class="s_ipt" value="" placeholder="输入关键字" />'+'<input type="submit" class="s_btn po_ab" value="搜索">'+'</form></div>';function newPageSearch(){$('#windowIframe .back').show();$('#myform').submit(function(){if($('#keyword').val()===''){MSGwindowShow('index','0','请输入搜索关键字','','')}})}</script>
  70. <div id="backtotop" class="backtotop backtotop_show"> </div>
  71. <script src="<?=$mayimobile['mobiledomain']?>/template/js/mayicmsbacktop.js"></script>