<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); ?>

<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box" style="border-top: 2.5px solid #004785;">
                <!--div class="box-header">
                    <h3 class="box-title"><?= lang('enter_info'); ?></h3>
                </div-->
                <div class="box-body">

                    <div class="well well-sm">
                        <a href="<?= base_url('uploads/csv/sample_categories.csv'); ?>" class="btn btn-info btn-sm pull-right"><i class="fa fa-download"></i> <?= lang("download_sample_file"); ?></a>

                        <p><?= "<span class=\"text-info\">".lang("csv1")."</span><br /><span class=\"text-success\">". lang("csv2")." (<b>".lang("category_name")."</b>)</span> <span class=\"text-primary\">".lang("csv3")."</span>"; ?></p>
                    </div>

                    <?= form_open_multipart("products/import_categories");?>
                        <div class="form-group">
                            <?= lang("upload_file", 'csv_file'); ?>
                            <input type="file" name="userfile" id="csv_file">
                            <div class="inline-help"><?= lang("csv_file_tip"); ?></div>
                        </div>
                        <div class="form-group">
                            <?= form_submit('import', lang('import'), 'class="btn btn-primary"'); ?>
                        </div>
                    <?= form_close();?>

                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
</section>
