Advertisement
Guest User

Untitled

a guest
Nov 16th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. <?php
  2. /**
  3. * The main template file.
  4. *
  5. */
  6. $settings = get_option( "ntl_theme_settings" );
  7. get_header(); ?>
  8.  
  9.  
  10. <div class="outer">
  11. <div class="frameset container clear">
  12. <?php if ($settings['ntl_disable_audio'] != 'off'){ ?>
  13. <div class="clear headtop">
  14. <?php if ($settings['ntl_themetagline']) { ?>
  15. <div class="taglineout smallfont">
  16. <div class="taglinein">
  17. <?php echo stripslashes( $settings['ntl_themetagline']); ?>
  18. </div>
  19. </div>
  20. <?php } ?>
  21.  
  22. <?php echo lets_get_albumselector(); ?>
  23. <?php echo lets_get_musicplayer(); ?>
  24.  
  25.  
  26. <?php } else { ?>
  27.  
  28. <div class="clear headtop" style="height: auto;">
  29.  
  30. <?php if ($settings['ntl_themetagline']) { ?>
  31. <div class="taglineout smallfont" style="width: 860px; margin-bottom: 40px;">
  32. <div class="taglinein">
  33. <?php echo stripslashes( $settings['ntl_themetagline']); ?>
  34. </div>
  35. </div>
  36. <?php } else { ?>
  37. <div class="taglineout smallfont" style="width: 860px; margin-bottom: 20px;"></div>
  38. <?php } ?>
  39. <?php } ?>
  40. </div>
  41.  
  42. <?php if (!$settings['ntl_show_timer']) { ?>
  43. <div class="cdowntop">
  44. <?php echo get_for_timer(''); ?>
  45. <?php } else { ?>
  46. <div class="cdownnone">
  47. <?php } ?>
  48.  
  49. <div class="hfeed container">
  50. <?php if ($settings['ntl_disable_audio'] != 'off'){ ?>
  51. <div class="drawer">&nbsp;</div>
  52. <?php } ?>
  53. <!-- Getting the slideshow below the menu -->
  54. <?php if ($settings['ntl_slide_type'] == 'image') { ?>
  55. <?php lets_get_imgslide(); ?>
  56. <?php } ?>
  57.  
  58.  
  59.  
  60. <div id="main">
  61. <div class="maincontent">
  62. <div class="maincontentinner clear">
  63. <?php if ( is_active_sidebar( 'index-left' ) ) { ?>
  64. <div id="primary" class="widget-area grid4 first" role="complementary" >
  65. <ul class="xoxo">
  66. <?php dynamic_sidebar( 'index-left' ); ?>
  67. </ul>
  68. </div>
  69. <?php } else {
  70. echo '<div id="primary" class="widget-area grid4 first" role="complementary" ><h3>Theme installed successfully</h3>
  71. <p>You can view the theme help file in the theme folder to assist in the setup.</p>
  72. <p><strong>The theme help file is in the help folder. Steps to access the help file below:</strong></p>
  73. <ul>
  74. <li>Unzip the "unzip_me_music.zip" file that you have purchased from Themeforest.</li>
  75. <li>Search for the help folder, and open the index.html file in any browser.</li>
  76. </ul>
  77. <p>&nbsp;</p>
  78. <p><strong>Drag widgets onto the index page left sidebar to remove this message.</strong></p>
  79. </div>';
  80. } ?>
  81.  
  82. <?php if ( is_active_sidebar( 'index-center' ) ) { ?>
  83. <div id="primary" class="widget-area grid4" role="complementary" >
  84. <ul class="xoxo">
  85. <?php dynamic_sidebar( 'index-center' ); ?>
  86. </ul>
  87. </div>
  88. <?php } else {
  89. echo '<div id="primary" class="widget-area grid4" role="complementary" >
  90. <h3>Drag widgets to the sidebar center widget area to remove this message</h3> <br/><br/>
  91. <p style="color:red;">Remember that your music is not secure - that is why Itunes plays only part of the song if you preview it. To ensure that your music will not be copied, cut your song into a smaller section ad upload it.</p>
  92. </div>';
  93. } ?>
  94.  
  95. <?php if ( is_active_sidebar( 'index-right' ) ) { ?>
  96. <div id="primary" class="widget-area grid4" role="complementary" >
  97. <ul class="xoxo">
  98. <?php dynamic_sidebar( 'index-right' ); ?>
  99. </ul>
  100. </div>
  101. <?php } else {
  102. echo '<div id="primary" class="widget-area grid4" role="complementary" >
  103. <h3>Drag widgets to the sidebar right widget area to remove this message</h3>
  104. </div>
  105. ';
  106. } ?>
  107. </div>
  108. </div>
  109. </div><!-- #main -->
  110.  
  111. </div>
  112. </div>
  113.  
  114. <?php
  115.  
  116. lets_make_carousel();
  117.  
  118. ?>
  119.  
  120. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement