<?php
/**
 * Template Name: Second Page
 */

    get_header();

    if (have_posts()):
        while (have_posts()):
            the_post();
?>
<div class="content">
    <?= the_content(); ?>
    <div class="mp-feature bot-form with-bg main">
        <div class="cont">
            <div class="inner-cont">
                <div class="flex">
                    <div class="col">
                        <div class="mp-interested">
                            <h4 class="text-header">Interested? Get to know more</h4>
                            <div class="buttons">
                                <a href="/book-a-demo/" class="button action big" tabindex="0">Book a demo</a>
                                <a href="<?= get_lawcarta_url()?>/user/registration" class="button secondary big" tabindex="0">Sign up for free</a>
                            </div>
                        </div>
                    </div>
                    <div class="col">
                        <div class="subscribe-block">
                            <div class="sb-text">Subscribe and receive exclusive tips and offers!</div>
                            <div class="sub-input" style="position: relative">
                                <div id="mc_embed_signup">
                                    <form 
                                        action="https://livecarta.us12.list-manage.com/subscribe/post?u=f1055fdbaf5889ec432f2821f&amp;id=a0685621c3&amp;f_id=003899e0f0"
                                        method="post" 
                                        id="mc-embedded-subscribe-form" 
                                        name="mc-embedded-subscribe-form" 
                                        class="validate" 
                                        target="_blank" 
                                        novalidate>
                                        <div id="mc_embed_signup_scroll" class="form-inline">
                                            <input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL" placeholder="Enter your Email" required>
                                            <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_f1055fdbaf5889ec432f2821f_a0685621c3" tabindex="-1" value=""></div>
                                            <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button secondary big">
                                        </div>
                                        <!-- <div id="mce-responses" class="clear" style="position: absolute; left: 0; top: 100%; font-size: 1.2rem; margin-top: 1rem; color: red;">
                                            <div class="response" id="mce-error-response" style="display:none"></div>
                                            <div class="response" id="mce-success-response" style="display:none"></div>
                                        </div> -->
                                    </form>
                                </div>
                            </div>
                            <!-- <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
                            <script type='text/javascript'>(function ($) { window.fnames = new Array(); window.ftypes = new Array(); fnames[0] = 'EMAIL'; ftypes[0] = 'email'; fnames[1] = 'FNAME'; ftypes[1] = 'text'; fnames[2] = 'LNAME'; ftypes[2] = 'text'; }(jQuery)); var $mcj = jQuery.noConflict(true);</script> -->
                        </div>
                    </div>	
                </div>
            </div>
        </div>
    </div>
</div>

<?php
        endwhile;
    endif;

    get_footer();
