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

<div id="toolbar">  
    <?php if ($this->session->userdata('t1') == 1 && $this->session->userdata('t68') == 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('u1') == 1 && $this->session->userdata('u68') == 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('h1') == 1 && $this->session->userdata('h68') == 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">
 	  <div class="form-group">
        <label class="control-label col-md-4">Kode Valuta</label>
      <div class="col-md-8">
        <input name="KdVal" class="form-control easyui-textbox" id="KdVal" style="width:90%" required>
      </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-4">Uraian Valuta</label>
      <div class="col-md-8">
        <input type="text" name="UrVal" class="form-control easyui-textbox" id="UrVal" style="width:90%" required>
      </div>
    </div>
    <div class="form-group">
        <label class="control-label col-md-4">Kurs</label>
      <div class="col-md-8">
        <td><input class="form-control easyui-textbox" name="Kurs" type="text" id="Kurs" value="" size="30"></td>
      </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>            