<footer>
    <div class="container">
        <div class="row">
            <div class="span3">
                <div class="widget">
                    <h5 class="widgetheading">Browse pages</h5>
                    <ul class="link-list">
                        <?php foreach ($sys_menu as $menu) { ?>
                            <?php if (!empty($menu->footer)) { ?>
                                <li><a href="<?php echo strtolower($menu->page); ?>"><?php echo $menu->footer; ?></a></li>
                            <?php } ?>
                        <?php } ?>
                    </ul>
                </div>
            </div>
            <div class="offset3 span6">
                <div class="widget">
                    <h5 class="widgetheading">Get in touch with us</h5>
                    <div class="row nomargin">
                        <div class="span3">
                            <address>
                                <?php echo MAIN_PHYSICAL_ADDRESS; ?>
                            </address>
                            <p>
                                <i class="icon-phone"></i> <?php echo MAIN_TEL; ?> - <?php echo MAIN_FAX; ?> <br>
                                <i class="icon-envelope-alt"></i> <?php echo MAIN_EMAIL; ?>
                            </p>
                        </div>
                        <div class="span3">
                            <address>
                                <?php echo MAIN_POSTAL_ADDRESS; ?>
                            </address>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="sub-footer">
        <div class="container">
            <div class="row">
                <div class="span12">
                    <div class="copyright">
                        <p>
                            <span>&copy; <?php echo MAIN_NAME; ?> - All right reserved.</span>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
</div>
<a href="#" class="scrollup"><i class="icon-chevron-up icon-square icon-32 active"></i></a>
<!-- javascript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/jcarousel/jquery.jcarousel.min.js"></script>
<script src="js/jquery.fancybox.pack.js"></script>
<script src="js/jquery.fancybox-media.js"></script>
<script src="js/google-code-prettify/prettify.js"></script>
<script src="js/portfolio/jquery.quicksand.js"></script>
<script src="js/portfolio/setting.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/jquery.nivo.slider.js"></script>
<script src="js/modernizr.custom.js"></script>
<script src="js/jquery.ba-cond.min.js"></script>
<script src="js/jquery.slitslider.js"></script>
<script src="js/animate.js"></script>

<!-- Template Custom JavaScript File -->
<script src="js/custom.js"></script>
<script src="contactform/contactform.js"></script>

</body>

</html>