File: /home/slyfwmm/incastiglionfiorentino/wp-content/themes/amplify/footer_contact.php
<div id="footer_container">
<div class="footer">
<div class="box_30">
<ul class="footer_widgets">
<?php
/* When we call the dynamic_sidebar() function, it'll spit out
* the widgets for that widget area. If it instead returns false,
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
*/
if ( ! dynamic_sidebar( 'first-footer-widget-area' ) ) : ?>
<li>
<h5 class="regcase">Recent Posts</h5>
<ul class="thumblist mb12">
<li>
<!-- RECENT POSTS BEGIN -->
<?php
$exclude_cat = get_option('bb_exclude_cat');
$exclude_temp = str_replace(",", ",-", $exclude_cat);
$exclude_cats = "-" . $exclude_temp;
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query('cat=' . $exclude_cats . '&paged=' . $paged . '&showposts=9');
$count = 0;
while ($wp_query->have_posts()) : $wp_query->the_post();
?>
<a class="float_l" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php if(get_field( 'large_image_value') != NULL) {echo get_field('large_image_value');} else {echo get_field('fullsize_value');} ?>&h=50&w=67&zc=1" alt="<?php the_title(); ?>" /></a>
<?php endwhile;
$wp_query = null; $wp_query = $temp; ?>
<!-- RECENT POSTS END -->
<div class="clearboth"></div>
</li>
</ul>
</li>
<?php endif; // end primary widget area ?>
</ul>
</div>
<div class="box_162">
<ul class="footer_widgets">
<?php
/* When we call the dynamic_sidebar() function, it'll spit out
* the widgets for that widget area. If it instead returns false,
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
*/
if ( ! dynamic_sidebar( 'second-footer-widget-area' ) ) : ?>
<li>
<h5>Categories</h5>
<ul>
<li><a href="#" title="">About Us</a></li>
<li><a href="#" title="">Services</a></li>
<li><a href="#" title="">Portfolio</a></li>
<li><a href="#" title="">Blog</a></li>
</ul>
</li>
<?php endif; // end primary widget area ?>
</ul>
</div>
<div class="box_162">
<ul class="footer_widgets">
<?php
/* When we call the dynamic_sidebar() function, it'll spit out
* the widgets for that widget area. If it instead returns false,
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
*/
if ( ! dynamic_sidebar( 'third-footer-widget-area' ) ) : ?>
<li>
<h5>Archives</h5>
<ul>
<li><a href="#" title="">About Us</a></li>
<li><a href="#" title="">Services</a></li>
<li><a href="#" title="">Portfolio</a></li>
<li><a href="#" title="">Blog</a></li>
</ul>
</li>
<?php endif; // end primary widget area ?>
</ul>
</div>
<div class="box_300">
<ul class="footer_widgets">
<?php
/* When we call the dynamic_sidebar() function, it'll spit out
* the widgets for that widget area. If it instead returns false,
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
*/
if ( ! dynamic_sidebar( 'fourth-footer-widget-area' ) ) : ?>
<li>
<h5>Links</h5>
<ul>
<li><a href="#" title="">About Us</a></li>
<li><a href="#" title="">Services</a></li>
<li><a href="#" title="">Portfolio</a></li>
<li><a href="#" title="">Blog</a></li>
</ul>
</li>
<?php endif; // end primary widget area ?>
</ul>
</div>
<div class="clear"></div>
</div><!-- end div.footer -->
</div><!-- end div#footer_container -->
<div class="copyright_container">
<div class="copyright">
<?php /* get theme color from options */
$themecolor = get_option('bb_color_scheme', 'chrome'); ?>
<div class="logo_fade"><img src="<?php $footer_logo_url = get_option('bb_footer_logo_url'); if($footer_logo_url != NULL) {echo $footer_logo_url;} else {echo get_template_directory_uri() . '/images/logo_fade_' . $themecolor . '.png';} ?>" alt="logo" /></div>
<!--Footer Text from Admin Options -->
<?php $footertext = get_option('bb_footer_text', 'Copyright 2010 by <a href=\"http://www.brainbuzzmedia.com\" title=\"BRAINBUZZmedia\">BRAINBUZZmedia</a>'); ?>
<p class="tiny"><?php echo $footertext; ?></p>
<div class="social"><a class="fade" rel="nofollow" target="_blank" href="https://twitter.com/#!/InCFiorentino" title="twitter"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter_32.png" alt="twitter" /></a><a class="fade" rel="nofollow" target="_blank" href="https://www.facebook.com/incastiglionfiorentino" title="facebook"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook_32.png" alt="facebook" /></a><a class="fade" rel="nofollow" target="_blank" href="https://www.youtube.com" title="youtube"><img src="<?php echo get_template_directory_uri(); ?>/images/youtube_32.png" alt="youtube" /></a><a class="fade" href="mailto:info@incastiglionfiorentino.com" title="email"><img src="<?php echo get_template_directory_uri(); ?>/images/email_32.png" alt="email" /></a></div>
<!--Ad Spray Srl - Posizionamento nei Motori di Ricerca - INIZIO-->
<div id="ads_style" style="float:right; width:170px;" align="right">
<div style="float:left; padding-top:6px;" align="right">
</div>
<div style="float:right">
</div>
</div>
<!--Realizzazione Siti Web Arezzo Siena Perugia Firenze - FINE-->
<div class="clearboth"></div>
</div>
</div><!-- end div#copyright_container -->
<?php wp_footer(); ?>
</div><!-- end div#wrapper -->
<!-- jquery initializations -->
<!-- prettyphoto -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<!-- Image Carousel -->
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jcarousellite_1.0.1.min.js"></script>
<!-- Form Validation -->
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/validation.js"></script>
<!-- ALL JQUERY SETTINGS AND INITILIZATION -->
<script src="<?php echo get_template_directory_uri(); ?>/js/settings.js" type="text/javascript"></script>
<!-- cufon ie fix -->
<script type="text/javascript"> Cufon.now(); </script>
<!-- Google Analytics from Admin Options -->
<?php /* get theme color from options */
$analytics = get_option('bb_analytics');
if($analytics != NULL) {echo $analytics;} else { ?>
<?php } ?>
</body>
</html>