Advertisement
Guest User

Untitled

a guest
May 30th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. <?php extract(get_option('mt_set'), EXTR_OVERWRITE); ?>
  2.  
  3. </div><!-- /body_wrap -->
  4.  
  5. <div id="footer_top">
  6. <div class="fwrap">
  7. <?php if(!empty($mt_ft_pre)) { echo ($mt_ft_pre); } else { bloginfo('name'); }?>
  8. </div><!-- /fwrap -->
  9. </div><!-- /footer_top -->
  10.  
  11. <div id="footer_mid">
  12. <div class="fwrap">
  13. <div class="v11"></div>
  14.  
  15. <?php $modules = explode(",", $mt_sortlay03);
  16. $counter=0;
  17.  
  18. foreach ($modules as $module) {
  19.  
  20. switch ( $module ) {
  21.  
  22. case 'pos_0': // Footer A (one-third) ?>
  23. <div class="foot_third fl">
  24. &nbsp;<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer A (one-third)') ) { }?>
  25. <!-- /dynamic widgets -->
  26. </div><!-- /foot_third -->
  27. <?php $counter++; if ($counter<3) {?><div class="h40 fl"></div><?php }
  28. break;
  29.  
  30. case 'pos_1': // Footer B (one-third) ?>
  31. <div class="foot_third fl">
  32. &nbsp;<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer B (one-third)') ) { }?>
  33. <!-- /dynamic widgets -->
  34. </div><!-- /foot_third -->
  35. <?php $counter++; if ($counter<3) {?><div class="h40 fl"></div><?php }
  36. break;
  37.  
  38. case 'pos_2': // Footer C (one-third) ?>
  39. <div class="foot_third fl">
  40. &nbsp;<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer C (one-third)') ) { }?>
  41. <!-- /dynamic widgets -->
  42. </div><!-- /foot_third -->
  43. <?php $counter++; if ($counter<3) {?><div class="h40 fl"></div><?php }
  44. break;
  45.  
  46. case 'pos_3': // Footer D (two-third) ?>
  47. <div class="foot_twothird fl">
  48. &nbsp;<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer D (two-third)') ) { }?>
  49. <!-- /dynamic widgets -->
  50. </div><!-- /foot_twothird -->
  51. <?php $counter=$counter+2; if ($counter<3) {?><div class="h40 fl"></div><?php }
  52. break;
  53.  
  54. case 'pos_4': // Footer E (full-width) ?>
  55. <div class="foot_threethird fl">
  56. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer E (full-width)') ) { }?>
  57. <!-- /dynamic widgets -->
  58. </div><!-- /fl -->
  59. <div class="clear"></div>
  60. <?php break;
  61.  
  62. } // end switch-case
  63.  
  64. } // end foreach ?>
  65.  
  66. <div class="clear"></div>
  67.  
  68. </div><!-- /fwrap -->
  69. </div><!-- /footer_mid -->
  70.  
  71. <div id="footer_bot">
  72. <div class="fwrap">
  73. <div class="fl">
  74. <?php if ($mt_poft_l==1) { echo( get_num_queries().' '.__('queries.','mtlang').' ' ); timer_stop(1); echo(' '.__('seconds.','mtlang') ); echo ' ' . (memory_get_peak_usage(1)/1024)/1024 . 'MB';}
  75. elseif ($mt_poft_l==2) { echo($mt_poft_l_ctxt); } ?>
  76. </div>
  77. <div class="fr">
  78. <?php if ($mt_poft_r==1) { echo( get_num_queries().' '.__('queries.','mtlang').' ' ); timer_stop(1); echo(' '.__('seconds.','mtlang') ); }
  79. elseif ($mt_poft_r==2) { echo($mt_poft_r_ctxt); } ?>
  80. </div>
  81. <div class="clear"></div>
  82. </div><!-- /fwrap -->
  83. </div><!-- /footer_bot -->
  84.  
  85. <?php if(!empty($mt_ga_code)){echo (stripslashes($mt_ga_code)); }?>
  86. <?php if((!empty($mt_cust_js))&&($mt_cust_js_head!="true")){?><script type="text/javascript"> <?php echo (stripslashes($mt_cust_js));?> </script> <?php }
  87. wp_footer(); ?>
  88.  
  89. </body>
  90. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement