<!-- Footer -->
<footer id="footer">
    <section>
        <form method="post" action="contact.php">
            <span style="display: none;">
                Leave this box empty
                <input name="email" id="email" placeholder="Email" type="email" style="display: none;" autocomplete="off" />
            </span>
            <div class="field">
                <label for="name">Name</label>
                <input type="text" name="name" id="name" required />
            </div>
            <div class="field">
                <label for="email">Email</label>
                <input type="text" name="real_email" id="email" required />
            </div>
            <div class="field">
                <label for="message">Message</label>
                <textarea name="message" id="message" rows="3" required></textarea>
            </div>
            <ul class="actions">
                <li><input type="submit" value="Send Message" /></li>
            </ul>
        </form>
    </section>
    <section class="split contact">
        <?php
        format_special(get_setting("address"), SPECIAL_TYPE_ADDRESS, '<section class="alt"><h3>Address</h3> <p><a href="[[CONTENT]]">[[TITLE]]</a></p></section>');
        format_special(get_setting("email"), SPECIAL_TYPE_EMAIL, '<section><h3>Email</h3> <p><a href="[[CONTENT]]">[[TITLE]]</a></p></section>');
        format_special(get_setting("phone"), SPECIAL_TYPE_PHONE, '<section><h3>Phone</h3> <p><a href="[[CONTENT]]">[[TITLE]]</a></p></section>');
        ?>

        <section>
            <h3>Social</h3>
            <ul class="icons alt">
                <?php
                $social = get_socialmedia_urls();
                foreach ($social as $s) {
                    ?>
                    <li>
                        <a href="<?php echo $s['url']; ?>" class="icon alt <?php echo $s['icon']; ?>">
                            <span class="label"><?php echo $s['name']; ?></span>
                        </a>
                    </li>
                    <?php
                }
                ?>
            </ul>
        </section>
    </section>
</footer>

<!-- Copyright -->
<div id="copyright">
    <ul>
        <?php output_conditional("<li>&copy; " . date('Y') . " [[VAR]]</li>", get_setting("businessname")); ?>
        <li>Design: <a href="http://html5up.net">HTML5 UP</a> and <a href="https://netsyms.com">Netsyms</a></li>
</div>