<?php $this->css($this->assetModule('admin/admin.css')); ?>
<div class="clearfix">
    <?php if (isset($message)) { ?>
        <div class="alert alert-danger">
            <button class="close" data-dismiss="alert" type="button">×</button>
            <?php echo $message; ?>
        </div>
    <?php } ?>
    <div class="alert alert-success" role="alert">
        <?php _e('You can use this page tools for check some database integrity'); ?>
    </div>
    <div class="card bg-light mb-3">
        <div class="card-header">
            <?php echo _a('Check for encoding'); ?>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-9">
                    <?php echo _a('This tool help you to check non-utf8 data fields for all tables'); ?>
                </div>
                <div class="col-md-3 text-right">
                    <a href="<?php echo $this->url('', ['action' => 'check']); ?>" class="btn btn-primary btn-sm">
                        <i class="fas fa-cog" aria-hidden="true"></i>
                        <?php echo _a('Check UTF8 and Innodb'); ?>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>