
<table id="dg"></table>              

<div id="toolbar">  
    <?php if ($this->session->userdata('t64') == 1 && $this->session->userdata('t65') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnTbh" class="easyui-linkbutton" iconCls="icon-add" plain="true" title="Tambah">Tambah</a>  
    <?php }?>
    <?php if ($this->session->userdata('u64') == 1 && $this->session->userdata('u65') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnUbh" class="easyui-linkbutton" iconCls="icon-edit" plain="true" title="Ubah">Ubah</a> 
    <?php }?>
    <?php if ($this->session->userdata('h64') == 1 && $this->session->userdata('h65') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnHps" class="easyui-linkbutton" iconCls="icon-remove" plain="true" title="Hapus">Hapus</a>  
    <?php }?> 
	  <a href="javascript:void(0)" id="btnPrint" class="easyui-linkbutton" iconCls="icon-print" plain="true" title="Print">Print</a> 
    <a href="javascript:void(0)" id="btnExcel" class="easyui-linkbutton" iconCls="icon-xls" plain="true" title="Excel">Excel</a>
    <span style="display:inline-block;">
    &nbsp; &nbsp; &nbsp;
    <input id="q">
    </span>
</div>

<div id="dlg" class="easyui-dialog" style="width:30%;" closed="true" buttons="#dlg-buttons">
	<form id="fm" class="form-horizontal" role="form" method="post" onSubmit="return false" style="padding:10px">
    <input type="hidden" id="id" name="id" required>
 	  <div class="form-group">
        <label class="control-label col-md-4">Username</label>
      <div class="col-md-8">
        <input name="nama_user" class="form-control easyui-textbox" id="nama_user" style="width:90%" required>
      </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-4">Password</label>
      <div class="col-md-8">
        <input type="password" name="pass" class="form-control easyui-textbox" id="pass" style="width:90%" required>
      </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-4">Group</label>
      <div class="col-md-8">
        <input id="group_id" name="grup" class="form-control easyui-textbox" style="width:90%" required>
      </div>
    </div>
    <input type="submit" id="btnSubmit" name="btnSubmit" style="display:none">
    </form>            
</div>
<div id="dlg-buttons">
    <a href="#" id="btnSim" class="easyui-linkbutton c6" iconCls="icon-ok">Simpan</a>
    <a href="javascript:void(0)" id="btnReset" class="easyui-linkbutton" iconCls="icon-cancel">Kosongkan</a>
</div>         