<?php echo $this->session->flashdata('upload'); ?>
<h1 class="h4 mb-2">Pengaturan SEO</h1>

<div class="card">
    <div class="card-body">
    <ul class="nav nav-pills">
            <li class="nav-item">
                <a class="flex-sm-fill text-secondary nav-link" href="<?= base_url(); ?>administrator/setting/account"><i class="uil-user-circle"></i> Akun</a>
            </li>
            <li class="nav-item">
                <a class="flex-sm-fill text-secondary nav-link" href="<?= base_url(); ?>administrator/setting/payment"><i class="uil-usd-circle"></i> Pembayaran</a>
            </li>
            <li class="nav-item">
                <a class="flex-sm-fill text-secondary nav-link" href="<?= base_url(); ?>administrator/setting/shipping"><i class="uil-truck"></i> Pengiriman</a>
            </li>
            <li class="nav-item">
                <a class="flex-sm-fill text-secondary nav-link" href="<?= base_url(); ?>administrator/setting/notification"><i class="uil-comment-alt-dots"></i> Notifikasi</a>
            </li>
            <li class="nav-item">
                <a class="flex-sm-fill text-secondary nav-link" href="<?= base_url(); ?>administrator/setting/pixel"><i class="uil-facebook"></i> Pixel</a>
            </li>
            <li class="nav-item">
                <a class="flex-sm-fill text-primary nav-link" href="<?= base_url(); ?>administrator/setting/seo"><i class="uil-google"></i> SEO</a>
            </li>
        </ul>
    </div>
    <hr class="mt-0 mb-0">
    <div class="card-body">
        <form action="<?= base_url(); ?>administrator/setting/seo" method="post">
            <input type="hidden" name="helper" value="true">
            <div class="form-group mt-3">
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="gaID">Google Analitics ID</label>
                            <input type="text" placeholder="UA-#####-#" name="gaID" id="gaID" autocomplete="off" class="form-control" value="<?= $setting['ga_id']; ?>">
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="gsConsole">Google Search Console</label>
                            <input type="text" name="gsConsole" id="gsConsole" autocomplete="off" class="form-control" value='<?= $setting['gs_console']; ?>'>
                        </div>
                    </div>
                </div>
            </div>
            <button type="submit" class="btn btn-primary px-4">Simpan Pengaturan</button>
        </form>
    </div>
</div>