<!-- PRE-FOOTER -->

<div id="pre_footer">
  <div class="inner">
    <?php if(($this->config->get('theme_control_twitter_id') != null) && ($this->config->get('theme_control_status') == '1')) { ?>
    <div id="twitter_div"> <a class="twitter_follow" href="http://twitter.com/<?php echo $this->config->get('theme_control_twitter_id') ?>" title="Follow Us on Twitter">Follow Us on Twitter</a> <a id="tweet_prev" href="#">Previous</a> <a id="tweet_next" href="#">Next</a>
      <ul id="twitter_update_list">
        <li>&nbsp;</li>
      </ul>
    </div>
    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> 
    <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $this->config->get('theme_control_twitter_id') ?>.json?callback=twitterCallback2&amp;count=3"></script> 
    <script type="text/javascript"><!--
$(document).ready(function() {
$('ul#twitter_update_list').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next:   '#tweet_next', 
    	prev:   '#tweet_prev'
		}); 
		});
//--></script>
    <?php } else { ?>
    <?php } ?>
  </div>
</div>
<!-- END OF PRE-FOOTER --> 
<!-- FOOTER -->
<div id="footer">
  <?php
$this->language->load('common/header');
$text_home = $this->language->get('text_home');
?>
  <div class="inner">
    <div class="column_big"> 
      <!-- FOOTER MODULES AREA -->
      <div class="footer_modules">
        <?php foreach ($modules as $module) { ?>
        <?php echo $module; ?>
        <?php } ?>
<h3>About VoiceInk</h3>
	<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset...</p>
      </div>
      <div class="footer_social">
        <h3>Spread the word</h3>
        <!-- AddThis Button BEGIN -->
        <div class="addthis_toolbox addthis_default_style ">
		<?php if(($this->config->get('theme_control_facebook_id') != null) && ($this->config->get('theme_control_status') == '1')) { ?>
		<script type="text/javascript">
      //<![CDATA[
            document.write('<a class="addthis_button_google_plusone" g:plusone:size="medium"></a> <a class="addthis_button_tweet"></a>');
      //]]>
     	</script> 
     	<?php } else { ?>
        <script type="text/javascript">
      //<![CDATA[
            document.write('<a class="addthis_button_google_plusone" g:plusone:size="medium"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>');
      //]]>
     	</script>
    	<?php } ?>
        </div>
        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4e7280075406aa87"></script> 
        <!-- AddThis Button END --> 
      </div>
    </div>
    <div class="column_small">
      <h3><?php echo $text_service; ?></h3>
      <ul>
        <li><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a></li>
        <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
        <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
        <li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
        <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
        <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
      </ul>
    </div>
    <div class="column_small">
      <h3><?php echo $text_information; ?></h3>
      <ul>
        <?php foreach ($informations as $information) { ?>
        <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
        <?php } ?>
        <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
        <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
      </ul>
    </div>
    <div class="column_small">
      <h3><?php echo $text_extra; ?></h3>
      <ul>
        <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
        <li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
        <li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
        <li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
      </ul>
    </div>
    <div class="clear"></div>
    <?php if(($this->config->get('theme_control_facebook_id') != null) && ($this->config->get('theme_control_status') == '1')) { ?>
    <div id="facebook_holder">
      <div class="">
        <fb:fan profileid="<?php echo $this->config->get('theme_control_facebook_id'); ?>" stream="0" connections="13" logobar="0" width="988" height="150" css="<?php echo HTTP_SERVER; ?>catalog/view/theme/<?php echo $this->config->get('config_template'); ?>/stylesheet/facebook.css?36"></fb:fan>
      </div>
    </div>
    <div class="clear"></div>
    <?php } ?>
    <div id="powered"><?php echo $powered; ?></div>
    <span class="copyright">Spicylicious theme by <a href="http://themeforest.net/user/Koev/portfolio?ref=Koev">Dimitar Koev - theAlThemist</a>. </span> </div>
</div>
<!-- END OF FOOTER -->

</div>
<!-- END OF MAIN WRAPPER --> 

<?php if(($this->config->get('theme_control_facebook_id') != null) && ($this->config->get('theme_control_status') == '1')) { ?>
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({appId: '0c18007de6f00f7ecda8c040fb76cd90', status: true, cookie: true,
     xfbml: true});
  };
  (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
    '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
  }());
</script>
<?php } ?>
</body></html>