Advertisement
johnburn

Untitled

Apr 9th, 2011
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.04 KB | None | 0 0
  1. <!-- begin footer -->
  2. <div class="footer">
  3.  
  4.     <!-- begin footer content -->
  5.     <div class="footer_content">
  6.    
  7.         <!-- begin footer widgets -->
  8.         <div class="footer_widgets clearfix">
  9.            
  10.             <!-- begin footer widget 1 -->
  11.             <div class="footer_widgets_box">
  12.                 <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Column 1')) {} else { echo "Footer Column 1"; }  ?>         </div>
  13.             <!-- end footer widget 1 -->
  14.            
  15.             <!-- begin footer widget 2 -->
  16.             <div class="footer_widgets_box">
  17.                 <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Column 2')) {} else { echo "Footer Column 2"; }  ?>         </div>
  18.             <!-- end footer widget 2 -->
  19.            
  20.             <!-- begin footer widget 3 -->
  21.             <div class="footer_widgets_box">
  22.                 <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Column 3')) {} else { echo "Footer Column 3"; }  ?>         </div>
  23.             <!-- end footer widget 3 -->
  24.            
  25.             <!-- begin footer widget 3 -->
  26.             <div class="footer_widgets_box">
  27.                 <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Column 4')) {} else { echo "Footer Column 4"; }  ?>         </div>
  28.             <!-- end footer widget 4 -->
  29.            
  30.             <!-- begin footer widget 5 -->
  31.             <div class="footer_widgets_box">
  32.                
  33.                 <?php
  34.                 if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Column 5 (Contact)')) {} else {  
  35.                     if (get_option('disable_footer_contact', 1) == '1') {
  36.                         if($no_contact != true) {
  37.                 ?>         
  38.                 <div class="widgets_title"><?php echo get_option("footer_contact_title", "Contact us"); ?></div>
  39.                 <!-- begin contact form -->
  40.                 <div class="footer_form">
  41.                     <?php echo get_option("footer_contact_subtitle", "Get in touch with us"); ?>
  42.                     <form id="myform" action="" method="post">
  43.                         <input id="form_name" name="Name" type="text" value="<?php echo get_option("footer_contact_name", "name"); ?>" class="activefocus is_required vname" />
  44.                         <input id="form_email" name="Email" type="text" value="<?php echo get_option("footer_contact_email", "email address"); ?>" class="activefocus is_required vsemail vemail"/>
  45.                         <input id="form_subject" name="Subject" type="text" value="<?php echo get_option("footer_contact_subject", "subject"); ?>" class="activefocus is_required vsubject"/>
  46.                         <div class="textarea_form"><textarea id="form_message" name="Message" class="activefocus is_required vmessage" rows="0"  cols="0"><?php echo get_option("footer_contact_message", "message"); ?></textarea></div>
  47.                         <div id="result" style="display:none;"></div>
  48.                         <div id="success" class="mini_div"><?php echo get_option("footer_contact_success", "Success, mail sent."); ?></div>
  49.                         <div id="error" class="mini_div"><?php echo get_option("footer_contact_error", "Error! Check Fields"); ?></div>
  50.                         <input type="submit" name="Submit" value="<?php echo get_option("footer_contact_send", "send"); ?>" id="mySend" class="submit_bg" />
  51.                     </form>
  52.                 </div>
  53.                 <!-- end contact form -->
  54.                 <?php
  55.                         }
  56.                     } else {
  57.                         echo "Footer Column 5 (Contact)";
  58.                     }
  59.                 }
  60.                 ?>             
  61.             </div>
  62.             <!-- end footer widget 5 -->
  63.            
  64.         </div>
  65.         <!-- end footer widgets -->
  66.        
  67.         <?php if (get_option('disable_our_pages', 1) == '1') : ?>      
  68.         <!-- begin footer pages -->
  69.         <div class="footer_widget_pages">
  70.             <div class="widgets_title"><?php echo get_option("our_pages_title", "Our Pages"); ?></div>
  71.             <ul>
  72.                 <li><a href="<?php bloginfo('siteurl'); ?>">Home</a></li>
  73.             <?php
  74.                 $pages = get_pages('sort_column=post_date&sort_order=ASC&parent=0');
  75.                 foreach($pages as $page)
  76.                 {      
  77.                 ?>             
  78.                 <li><a href="<?php echo get_page_link($page->ID) ?>"><?php echo $page->post_title ?></a></li>
  79.             <?php
  80.                 }  
  81.             ?>         
  82.             </ul>
  83.         </div>
  84.         <!-- end footer pages -->
  85.         <?php endif; ?>
  86.         <div class="cleardiv"></div>
  87.         <div class="footer_line"></div>
  88.        
  89.         <!-- begin copyright and social icons -->
  90.         <div class="footer_end clearfix">
  91.            
  92.             <?php if (get_option('disable_copyright_text', 1) == '1') : ?>         
  93.             <!-- begin copyright text -->
  94.             <div class="footer_copyright">
  95.                 Copyright &copy; <?php echo date("Y"); ?> &middot; <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>, All Rights Reserved.  Powered by <a href="http://www.free-premium-wordpress-themes.com" rel="dofollow">Free Wordpress Themes</a>
  96.                 <?php echo get_option('copyright_text', $copyright_text); ?>           
  97.             </div>
  98.             <!-- end copyright text -->
  99.             <?php endif; ?>        
  100.             <?php if (get_option('disable_social', 1) == '1') : ?>         
  101.             <!-- begin social network icons -->
  102.             <div class="footer_social_network">
  103.                
  104.                
  105.                
  106.             </div>
  107.             <!-- end social network icons -->
  108.             <?php endif; ?>        
  109.         </div>
  110.         <!-- end copyright and social icons -->
  111.        
  112.     </div>
  113.     <!-- begin footer content -->
  114.  
  115. </div>
  116. <!-- end footer -->
  117.  
  118. <?php if (get_option('cufon_active', 1) == '1'): ?><script type="text/javascript">Cufon.now();</script>
  119. <?php endif; ?>
  120. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/custom.js"></script>
  121. <?php echo get_option('google_analytics'); ?></body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement