Advertisement
Guest User

stopka

a guest
Nov 15th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. <?php
  2. /*
  3. * ----------------------------------------------------
  4. * @author: Doothemes
  5. * @author URI: https://doothemes.com/
  6. * @copyright: (c) 2017 Doothemes. All rights reserved
  7. * ----------------------------------------------------
  8. *
  9. * @since 2.1.4
  10. *
  11. */
  12.  
  13.  
  14. // Options
  15. $option[0] = get_option('dt_defaul_footer');
  16. $option[1] = get_option('dt_footer_code');
  17. $option[2] = get_option('dt_logo_footer');
  18. $option[3] = get_option('dt_footer_text');
  19. $option[4] = get_option('dt_footer_tt1');
  20. $option[5] = get_option('dt_footer_tt2');
  21. $option[6] = get_option('dt_footer_tt3');
  22. $option[7] = get_option('dt_footer_copyright');
  23.  
  24. // Copyright
  25. $copytext = sprintf( __d('%s %s by %s. All Rights Reserved. Powered by %s'), '©', date('Y'), '<strong>'.get_option('blogname').'</strong>', '<a href="'.DOO_SERVER.'"><strong>'.DOO_COM.'</strong></a>' );
  26. $copyright = ($option[7]) ? $option[7] : $copytext;
  27. // Print Header
  28. ?>
  29. </div>
  30. <footer class="main">
  31. <div class="fbox">
  32. <div class="fcmpbox">
  33. <?php if( $option[0] == 'complete' ) { ?>
  34. <div class="primary">
  35. <div class="columenu">
  36.  
  37. <div class="item">
  38. <?php echo ( $option[4] ) ? '<h3>'. $option[4]. '</h3>' : null; ?>
  39. <?php wp_nav_menu( array('theme_location' => 'footer1', 'fallback_cb' => null ) ); ?>
  40. </div>
  41. <div id="fs_terms"></div>
  42. <div class="item">
  43. <?php echo ( $option[5] ) ? '<h3>'. $option[5]. '</h3>' : null; ?>
  44. <?php wp_nav_menu( array('theme_location' => 'footer2', 'fallback_cb' => null ) ); ?>
  45. </div>
  46.  
  47. <div class="item">
  48. <?php echo ( $option[6] ) ? '<h3>'. $option[6]. '</h3>' : null; ?>
  49. <?php wp_nav_menu( array('theme_location' => 'footer3', 'fallback_cb' => null ) ); ?>
  50. </div>
  51.  
  52. </div>
  53. <div class="fotlogo">
  54. <?php
  55. // Logo And text
  56. echo ( $option[2] ) ? '<div class="logo"><a href="'.esc_url( home_url('/') ).'"><img src="'. $option[2] .'" alt="'.get_bloginfo().'" /></a></div>' : null;
  57. echo ( $option[3] ) ? '<div class="text"><p>'. $option[3]. '</p></div>' : null;
  58. ?>
  59. </div>
  60. </div>
  61. <?php } ?>
  62. <div class="copy"><?php echo $copyright; ?></div>
  63. <span class="top-page"><a id="top-page"><i class="icon-angle-up"></i></a></span>
  64. </div>
  65. </div>
  66. </footer>
  67. </div>
  68. <?php wp_footer(); if( $option[1] ) echo stripslashes( $option[1] ). "\n"; ?>
  69. <div id="oscuridad"></div>
  70. <?php if( is_single() == true AND get_post_type() != 'seasons' AND get_post_meta($post->ID, 'imagenes', true) ) { ?>
  71. <div id="blueimp-gallery" class="blueimp-gallery">
  72. <div class="slides"></div>
  73. <h3 class="title"></h3>
  74. <a class="prev">‹</a>
  75. <a class="next">›</a>
  76. <a class="close">×</a>
  77. <a class="play-pause"></a>
  78. <ol class="indicator"></ol>
  79. </div>
  80. <?php } ?>
  81. </body>
  82. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement