<div class="settingsPage">

    <div class="left-column">
        <?php include('settingsSideBar.php'); ?>
    </div>

    <div class="right-column">

        <div class="pageTitle">
            <h1><span>Mail settings</span>
                <a class="btn btn-large pull-right" href="<?php
                echo site_url('settings/sendTestEmail') ?>">Send test email</a>
            </h1>

        </div>

        <div>
            <div class="pullTop">

                <?php

                if (($this->session->flashdata('message')))
                {
                    $flashMessage = $this->session->flashdata('message');
                    $content = $flashMessage['content'];
                    $content_class = $flashMessage['type'];
                    ?>
                    <div style="margin-top: 13px;">
                        <div class="alert <?php echo $content_class; ?>">
                            <button class="close" data-dismiss="alert"><i class="bi bi-x"></i></button>
                            <?php echo $content; ?>
                        </div>
                    </div>

                <?php } ?>
            </div>

            <?= $this->load->view('/appsetting/mail_partial'); ?>

        </div>
    </div>
</div>
