<?php include('header.php');?>

    <main id="dashboard">
        <div class="container">
            <div class="row">

                <div class="col-md-10 col-sm-8">

                    <div class="page-title">
                        <h1><strong> Select Options </strong> </h1>
                    </div>

                </div>
            </div>

            <br>

            <div class="row">
                <div class="col-sm-12 errors_block">
                </div>
            </div>

            <br>

            <div class="row">

                <div class="col-sm-4 <?php echo ($posts_type == 2) ? 'col-sm-offset-2' : '';?> text-center">
                    <div class="select-options">
                        <div class="select-items">
                            <img src="<?php echo assetsPath();?>img/latest-post.png" alt="">
                            <h3>Latest Post </h3>
                            <p> If you want to search or post on latest post made by Fan Page. </p>
                        </div>
                        <a name="next_step2" href="#" data-id="1" class="select_condition btn btn-gray btn-block"> SELECT <i class="fa fa-arrow-right"></i></a>
                    </div>
                </div>

                <div class="col-sm-4 text-center">
                    <div class="select-options">
                        <div class="select-items">
                            <img src="<?php echo assetsPath();?>img/select-post.png" alt="">
                            <h3>Choose Post</h3>
                            <p> If you want to select a particular post on which you want to post comment then select this option. </p>
                        </div>
                        <a name="next_step2" href="#" data-id="2" class="select_condition btn btn-gray btn-block"> SELECT <i class="fa fa-arrow-right"></i></a>
                    </div>
                </div>

                <?php if($posts_type == 1) { ?>
                    <div class="col-sm-4 text-center">
                        <div class="select-options">
                            <div class="select-items">
                                <img src="<?php echo assetsPath();?>img/search-keywords.png" alt="">
                                <h3>Keyword Search (Fans Posts)</h3>
                                <p> If you want to search posts by fans and post reply then select this option. </p>
                            </div>
                            <a name="next_step2" href="#" data-id="3" class="select_condition btn btn-gray btn-block"> SELECT <i class="fa fa-arrow-right"></i></a>
                        </div>
                    </div>
                <?php } ?>

            </div>

        </div>
    </main>

<?php include('footer.php');?>