<div class="centering" style="width:780px;margin-top: 1%;z-index:-100">
    <div id='grasi_militer' style="border: 1px solid #ffffff;">
        <div class="detil" style="padding: 2px;background-color: white;">
            <div style="font-size:14px;">
                <form id="frm_pop_grasi_mil" class="removeformbottomspace" method="post" 
                    action="<?php echo base_url().'c_template_mil_grasi/cetak_akta_grasi';?>">
                    <table>
                        <tbody>
                            <tr class="row_jenis_akta">
                                <td class="templatepopleftcol">Jenis Template<font color=red>*</font></td>
                                <td style="">
                                    <span class="custom-dropdown custom-dropdown--emerald">
                                        <select style='width:250px;' name="jenistemplate" id="jenistemplate" class="custom-dropdown__select custom-dropdown__select--white">
                                            <option value="650_1">Akta Permohonan Grasi</option>
                                            <option value="650_2">Akta Penolakan Permohonan Grasi</option>
                                            <option value="662_1">Akta Penerimaan Salinan Permohonan Grasi</option>
                                            <option value="690_1">Akta Pemberitahuan Isi Putusan Grasi kpd Terdakwa</option>
                                            <option value="690_2">Akta Pemberitahuan Isi Putusan Grasi kpd Oditur</option>
                                        </select>
                                    </span>
                                </td> 
                            </tr>
                            <tr>
                            <td class="templatepopleftcol">Terhadap Putusan<font color=red>*</font></td>
                                <td style="">
                                    <span class="custom-dropdown custom-dropdown--emerald">
                                        <select style='width:250px;'  name="putusan" id="putusan" class="custom-dropdown__select custom-dropdown__select--white">                                
                                            <?php 
                                                if($data_putusan != ''){
                                                    if($data_putusan->num_rows>0){
                                                        if($data_putusan->num_rows>1){
                                                            echo '<option value="-1">Silakan Pilih Terhadap Putusan</option>';
                                                        }foreach ($data_putusan->result() as $row) {
                                                            $idPut = base64_encode($this->encrypt->encode($row->idPut));
                                                            echo "<option value='".$idPut."'>". $this->templatehelper->standradnaming($row->tahapan) ."&nbsp;Nomor: ". $row->nomorPerkara .".&nbsp  Tgl Putus : ".$this->templatehelper->convertKeTglIndo($row->tglPutus) ." </option>";
                                                        }
                                                    }else{
                                                        echo '<option value="-1">Data Putusan Tidak Ada</option>';
                                                    }
                                                }else{
                                                    echo '<option value="-1">Data Putusan Tidak Ada</option>';
                                                }
                                            ?>
                                        </select>
                                    </span>
                                </td> 
                            </tr>
                            <tr>
                                <td class="templatepopleftcol">Penandatangan Akta<font color=red>*</font></td>
                                <td style="">
                                    <span class="custom-dropdown custom-dropdown--emerald">
                                        <select style='width:430px;'  name="penandatangan_id" id="penandatangan_id" class="custom-dropdown__select custom-dropdown__select--white">
                                            <option value='<?php echo $penandatangan->row(0)->id ?>'><?php echo $this->templatehelper->ucname("Kepala Panitera ".$penandatangan->row(0)->namaPengadilan." :: ".$penandatangan->row(0)->pw);?></option>
                                            <option value='<?php echo $penandatangan->row(1)->id ?>'><?php echo $this->templatehelper->ucname("Wakil Panitera ".$penandatangan->row(1)->namaPengadilan." :: ".$penandatangan->row(1)->pw);?></option>
                                        </select>
                                    </span>
                                </td> 
                            </tr>
                            <tr>
                                <td colspan="2" class="buttongroup">
                                    <input type="hidden" name="enc" value="<?php echo $enc ;?>" >
                                    <input type="hidden" name="enc_grasi" value="<?php echo $enc_grasi ;?>" >
                                    <input type="hidden" name="enc_terdakwa" value="<?php echo $enc_terdakwa ;?>" >
                                    <input type="hidden" name="enc_pemohon" value="<?php echo $enc_pemohon ;?>" >
                                    <input type="button" id="kembali" value="Kembali" class="btn">
                                    <input type="submit" id="simpan" value="Cetak" class="btn">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
$('#kembali').closingFormWin();
</script>   