<script src="<?php echo base_url();?>resources/js/autoNumeric.js"></script>
<hr class="thick-line" style="clear:both;">
<div style="padding-left:10px;">
</div>
<div style="padding:10px;"></div>
	<div class="detil" style="font-size:14px;margin-top:10px;width: 99%;margin: 0 auto;border-color: #FFFFFF;">
		<form id="frm_edit_perdata_eksekusi_ht" style="background:white;margin:0;" method="post" action="<?php echo base_url().'detil_eksekusi_ht/validateInput';?>">
            <table id="tableDetilPerkara" style="font-size:14px;" width="99%" >
                <col width="25%">
                <col width="75%">
                <tbody >
                        <tr><td colspan="2" class="divider"><strong> Data Umum</td></tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Permohonan</td>
                            <td style="padding:0px;padding-left:5px;"><?php echo $this->tanggalhelper->convertDayDate($tgl_permohonan_eksekusi);?></td>
                         </tr>

                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Nomor Eksekusi Hak Tanggungan</td>
                            <td style="padding:0px;padding-left:5px;"><?php echo $eksekusi_nomor_perkara;?></td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Jenis Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;"><?php echo $jenis_ht_text;?></td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Sertifikat</td>
                            <td style="padding:0px;padding-left:5px;"><?php echo $this->tanggalhelper->convertDayDate($tgl_sertifikat);?></td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>No. Sertifikat</td>
                            <td style="padding:0px;padding-left:5px;"><?php echo $no_sertifikat;?></td>
                        </tr>
                        <tr><td colspan="2" class="divider"><strong> Data Pihak</td></tr>
                        <tr>
                            <td id="first-child" style="vertical-align: top;"><font color='#fff'>Pemohon</font></td>
                            <td>
                                <div class="cssTable" style="margin:0px;border:0px;">
                                <?php
                                if($pemohon!=''){
                                    if($pemohon->num_rows>0){
                                ?>
                                        <table id="tableinfo" style="margin:0px;padding:0px;">
                                            <col width="5%">
                                            <col width="30%">
                                            <col width="55%">
                                            <col width="10%">
                                            <tbody>
                                                <tr>
                                                    <td>No</td>
                                                    <td>Nama</td>
                                                    <td>Alamat</td>
                                                    <td></td>
                                                </tr>
                                <?php
                                        $i=1;
                                        foreach ($pemohon->result() as $row) {
                                            echo "<tr>";
                                                echo "<td>".$i."</td>";
                                                echo "<td>".$row->nama."</td>";
                                                echo "<td>".$row->alamat."</td>";
                                                $idpihak = base64_encode($this->encrypt->encode($row->pihak_id));
                                                $enc_id = base64_encode($this->encrypt->encode($row->id));
                                                echo '<td align="center" style="cursor:pointer;" >[<a href="#" onClick="">detil</a>]</td>';
                                            echo "</tr>";
                                            $i++;

                                        }?>
                                            </tbody>
                                        </table>
                                    <?php
                                    }
                                }
                                ?>
                                 
                                   
                                </div>
                            </td>
                        </tr>                           
                        <tr>
                            <td id="first-child" style="vertical-align: top;"><font color='#fff'>Termohon</font></td>
                            <td>
                                <div class="cssTable" style="margin:0px;border:0px;">
                                <?php
                                if($termohon!=''){
                                    if($termohon->num_rows>0){
                                ?>
                                        <table id="tableinfo" style="margin:0px;padding:0px;">
                                            <col width="5%">
                                            <col width="30%">
                                            <col width="55%">
                                            <col width="10%">
                                            <tbody>
                                                <tr>
                                                    <td>No</td>
                                                    <td>Nama</td>
                                                    <td>Alamat</td>
                                                    <td></td>
                                                </tr>
                                <?php
                                        $i=1;
                                        foreach ($termohon->result() as $row1) {
                                            echo "<tr>";
                                                echo "<td>".$i."</td>";
                                                echo "<td>".$row1->nama."</td>";
                                                echo "<td>".$row1->alamat."</td>";
                                                $idpihak = base64_encode($this->encrypt->encode($row1->pihak_id));
                                                $enc_id = base64_encode($this->encrypt->encode($row1->id));
                                                //echo '<td align="center" style="cursor:pointer;" >[<a href="#" onClick="popup_form(\''.base_url('add_pihak_pertama/'.$enc.'/edit/'.$idpihak).'/urt/'.$row->urutan.'/'.$enc_id.'\')">detil</a>]</td>';
                                                echo '<td align="center" style="cursor:pointer;" >[<a href="#" onClick="">detil</a>]</td>';
                                            echo "</tr>";
                                            $i++;

                                        }?>
                                            </tbody>
                                        </table>
                                    <?php
                                    }
                                }
                                ?>
                                 
                                   
                                </div>
                            </td>
                        </tr>  
                        <tr><td colspan="2" class="divider"><strong> Detil Eksekusi Hak Tanggungan</td></tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penetapan Teguran Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penetapan_teguran" name="tgl_penetapan_teguran" value="<?php echo (!empty($penetapan_teguran_eksekusi) ? $this->tanggalhelper->convertToInputDate($penetapan_teguran_eksekusi) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Nomor Penetapan Teguran Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input type="text" id="nomor_penetapan_teguran" name="nomor_penetapan_teguran" value="<?php echo (!empty($nomor_penetapan_teguran_eksekusi) ? $nomor_penetapan_teguran_eksekusi : '');?>" class="standard-input" style="width:220px;">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Pelaksanaan Teguran Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_pelaksanaan_teguran" name="tgl_pelaksanaan_teguran" value="<?php echo (!empty($pelaksanaan_teguran_eksekusi) ? $this->tanggalhelper->convertToInputDate($pelaksanaan_teguran_eksekusi) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penetapan Sita Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penetapan_sita" name="tgl_penetapan_sita" value="<?php echo (!empty($penetapan_sita_eksekusi) ? $this->tanggalhelper->convertToInputDate($penetapan_sita_eksekusi) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Nomor Penetapan Sita Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input type="text" id="nomor_penetapan_sita" name="nomor_penetapan_sita" value="<?php echo (!empty($nomor_penetapan_sita_eksekusi) ? $nomor_penetapan_sita_eksekusi : '');?>" class="standard-input" style="width:220px;">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Pelaksanaan Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_pelaksanaan_eksekusi" name="tgl_pelaksanaan_eksekusi" value="<?php echo (!empty($pelaksanaan_sita_eksekusi) ? $this->tanggalhelper->convertToInputDate($pelaksanaan_sita_eksekusi) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Jurusita</td>
                            <td style="padding:0px;padding-left:5px;" id="td_put_amar" >
                                <span class="custom-dropdown custom-dropdown--emerald" style="width:200px">
                                    <select name="jurusita" id="jurusita" style='width:200px;' class="custom-dropdown__select custom-dropdown__select--white">
                                        <option value="">- Pilih - </option>
                                        <?php
                                        if($jurusita!=''){
                                            if($jurusita->num_rows>0){
                                            foreach ($jurusita->result() as $row) {
                                                if($row->id==$jurusita_id){
                                                echo "<option value='".$row->id.";".$row->nama."' selected>".$row->nama."</option>";    
                                                }
                                                echo "<option value='".$row->id.";".$row->nama."'>".$row->nama."</option>";
                                                }
                                            }
                                        }                                        
                                        ?>                                        
                                    </select>
                                </span>                             
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penetapan Perintah Eksekusi Lelang</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penetapan_eksekusi_lelang" name="tgl_penetapan_eksekusi_lelang" value="<?php echo (!empty($penetapan_perintah_eksekusi_lelang) ? $this->tanggalhelper->convertToInputDate($penetapan_perintah_eksekusi_lelang) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Pelaksanaan Eksekusi Lelang</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_pelaksanaan_eksekusi_lelang" name="tgl_pelaksanaan_eksekusi_lelang" value="<?php echo (!empty($pelaksanaan_eksekusi_lelang) ? $this->tanggalhelper->convertToInputDate($pelaksanaan_eksekusi_lelang) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penyerahan Hasil Lelang</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penyerahan_hasil_lelang" name="tgl_penyerahan_hasil_lelang" value="<?php echo (!empty($penyerahan_hasil_lelang) ? $this->tanggalhelper->convertToInputDate($penyerahan_hasil_lelang) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penetapan Perintah Eksekusi Riil</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penetapan_eksekusi_riil" name="tgl_penetapan_eksekusi_riil" value="<?php echo (!empty($penetapan_perintah_eksekusi_rill) ? $this->tanggalhelper->convertToInputDate($penetapan_perintah_eksekusi_rill) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Pelaksanaan Eksekusi Riil</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_pelaksanaan_eksekusi_riil" name="tgl_pelaksanaan_eksekusi_riil" value="<?php echo (!empty($pelaksanaan_eksekusi_rill) ? $this->tanggalhelper->convertToInputDate($pelaksanaan_eksekusi_rill) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Tanggal Penetapan Non-Eksekusi</td>
                            <td style="padding:0px;padding-left:5px;">
                                <input id="tgl_penetapan_non_eksekusi" name="tgl_penetapan_non_eksekusi" value="<?php echo (!empty($penetapan_noneksekusi) ? $this->tanggalhelper->convertToInputDate($penetapan_noneksekusi) : '');?>" class="datepicker" maxlength="10" placeholder="tgl/bln/tahun">
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Alasan Eksekusi</td>
                            <td style="background:white;" id="alasan_eksekusi_text">
                                <?php echo $this->ckeditor->editor("alasan_eksekusi",$alasan_eksekusi);?>
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor='#5FB85C'><font color='#fff'>Keterangan Lain</td>
                            <td style="padding:0px;padding-left:5px;">
                                <textarea id="catatan_eksekusi" name="catatan_eksekusi" class="standard-input" style="resize: none;margin: 0px; width: 600px; height: 60px;" ><?php echo (!empty($catatan_eksekusi) ? $catatan_eksekusi : '');?></textarea>                                
                            </td>
                        </tr>

                        <tr>
                            <td colspan="2" style="background:white;" align="center">
                            <?php
                            
                            ?>
                            <input type="hidden" id="htid" name="htid" value="<?php echo $ht_id;?>">
                            <input type="hidden" id="curr_date" name="curr_date" value="<?php echo $tgl_sekarang;?>">                            
                            <input type="button" id="kembali" value="Kembali" class="btn">
                            <?php
                            //if($this->authorization->isAuthorized('hakim_pn_edit',$AuthorizationForm)){
                            ?>
                                
                                <input type="submit" id="simpan" value="Simpan" class="btn">
                            <?php
                            //}
                            ?>
                        </td>
                        </tr>



                </tbody>
            </table>
        </form>
    </div>

<script type="text/javascript">

$('#kembali').click(function(){
    window.open("<?php echo $refresh;?>","_self");
});

$('#tgl_penetapan_teguran').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_pelaksanaan_teguran').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_penetapan_sita').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_pelaksanaan_eksekusi').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_penetapan_eksekusi_lelang').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_pelaksanaan_eksekusi_lelang').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_penyerahan_hasil_lelang').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_penetapan_eksekusi_riil').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});

$('#tgl_pelaksanaan_eksekusi_riil').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});



$('#tgl_penetapan_non_eksekusi').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            beforeShowDay:$.datepicker.noWeekends,
            onSelect: function(dateText, inst) {
                var error = 0;
                
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");
                if((new Date(tmp[2]+"-"+tmp[1]+"-"+tmp[0]+"T00:00:00").getTime() > new Date(tmp2[2]+"-"+tmp2[1]+"-"+tmp2[0]+"T00:00:00").getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }
                error = 0;
            }
});


$('#frm_edit_perdata_eksekusi_ht').SubmitHandling({
    refresh:'1',
    setRefresh:1,
    divRef:'#konten',
    clicked:1,
    btnClicked:'#kembali',
    whenStatus:1,
    isCKEdit:1,
    tdID:'alasan_eksekusi_text',
    textID:'alasan_eksekusi',
});


</script>