<?php defined('BASEPATH') or exit('No direct script access allowed');?>
<?php echo form_open(current_url(), 'class="form-horizontal"') . PHP_EOL;?>
  <div class="form-group">
    <label class="col-sm-2 control-label">
      Nomor
    </label>
    <div class="col-sm-10">
      <select class="form-control" name="nomor" required="required">
        <option value="transaksi">No. HP transaksi sukses</option>
        <option value="users">No. HP member yang terverifikasi</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">
      Operator
    </label>
    <div class="col-sm-10">
      <select class="form-control" name="operator" required="required">
        <option value="all" selected="selected">-- Semua --</option>
        <option value="0831|0838">Axis</option>
        <option value="0814|0815|0816|0855|0856|0857|0858">Indosat</option>
        <option value="0881|0882|0883|0884|0885|0886|0887|0888|0889">Smartfren</option>
        <option value="0811|0812|0813|0821|0822|0823|0851|0852|0853">Telkomsel</option>
        <option value="0895|0896|0897|0898|0899">Three</option>
        <option value="0817|0818|0819|0859|0877|0878|0879">XL</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">
      Jumlah
    </label>
    <div class="col-sm-10">
      <input class="form-control" type="number" name="jumlah" value="<?php echo set_value('jumlah', 100);?>" maxlength="255"/>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">
      Pesan
    </label>
    <div class="col-sm-10">
      <textarea class="form-control" name="pesan" rows="4" maxlength="160"><?php echo set_value('pesan');?></textarea>
    </div>
  </div>
  <div class="form-group" style="margin-bottom: 0;">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary"><i class="fa fa-paper-plane-o"></i> Kirim</button>
      &nbsp;
      <a href="<?php echo site_url('admin/sms');?>" class="btn btn-default" data-dismiss="modal"><i class="fa fa-remove"></i> Batal</a>
    </div>
  </div>
<?php echo form_close();?>