<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2><?= print_lang($app_lang,'marketers_add_breadcrumb'); ?></h2>
        <ol class="breadcrumb">
            <li>
                <a class="url-elem" href="<?php echo url('/dashboard'); ?>"><?= print_lang($app_lang,'home'); ?></a>
            </li>
            <li>
                <a class="url-elem" href="<?php echo url('/marketers'); ?>"><?= print_lang($app_lang,'marketers_view_breadcrumb'); ?></a>
            </li>
            <li class="active">
                <strong><?= print_lang($app_lang,'marketers_add_breadcrumb'); ?></strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2">
    </div>
</div>


<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-title">
        <h5><?= print_lang($app_lang,'fields_with'); ?> <strong class="text-danger">*</strong> <?= print_lang($app_lang,'are_mandatory'); ?></h5>
    </div>
    <div class="ibox-content">
        <!-- spinner -->
        <div class="sk-spinner sk-spinner-three-bounce">
            <div class="sk-bounce1"></div>
            <div class="sk-bounce2"></div>
            <div class="sk-bounce3"></div>
        </div>
        <!-- spinner -->
        
        <div class="row">
            <div class="col-sm-12 b-r">
                <form role="form" id="marketers-form" action="<?php echo url('/marketers/save'); ?>">

                    <div class="row extra-mar-botm">
                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_name'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="name" placeholder="<?= print_lang($app_lang,'marketers_add_input_name'); ?>">
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_last_name'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="last_name" placeholder="<?= print_lang($app_lang,'marketers_add_input_last_name'); ?>">
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_mobile'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="mobile" placeholder="<?= print_lang($app_lang,'marketers_add_input_mobile'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row extra-mar-botm">
                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_commission_type'); ?></label>
                                <div style="margin-top: 10px;">
                                    <label class="checkbox-inline i-checks">
                                        <input type="radio" name="commission_type" value="commission" checked id="commission_type_commission"> &nbsp;&nbsp;&nbsp; <?= print_lang($app_lang,'marketers_add_input_commission_commission'); ?>
                                    </label>
                                    <label class="checkbox-inline i-checks" style="margin-left: 30px;">
                                        <input type="radio" name="commission_type" value="fixed" id="commission_type_fixed"> &nbsp;&nbsp;&nbsp; <?= print_lang($app_lang,'marketers_add_input_commission_fixed'); ?>
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_commission'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="commission" placeholder="<?= print_lang($app_lang,'marketers_add_input_commission'); ?>">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_account'); ?> <strong class="text-danger">*</strong></label>
                                <select class="form-control chosen-select" name="account">
                                    <option value="" selected="">-- <?= print_lang($app_lang,'marketers_add_input_account'); ?> --</option>
                                    <?php foreach($accounts as $row){ ?>
                                        <option value="<?= $row['uid']; ?>"><?= $row['display_name']; ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="row extra-mar-botm">
                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_email'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="email" placeholder="<?= print_lang($app_lang,'marketers_add_input_email'); ?>">
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_username'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control" name="username" placeholder="<?= print_lang($app_lang,'marketers_add_input_username'); ?>">
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'marketers_add_input_password'); ?> <strong class="text-danger">*</strong></label>
                                <input type="password" class="form-control" name="password" placeholder="<?= print_lang($app_lang,'marketers_add_input_password'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row extra-mar-botm">
                        <div class="col-md-12 text-right">
                            <button class="btn btn-w-m btn-primary" type="submit"><?= print_lang($app_lang,'marketers_add_input_save'); ?></button>
                        </div>
                    </div>

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

</div>