<?php
if($this->session->userdata('is_logged_in')===FALSE){
            redirect('login');
}
?>
<div class="templatepopcentering" >
    <div style="border: 1px solid #ffffff;">
        <div id='pop' style="padding:5px;">
            <form id="frm_pen_pp_pdt" name="frm_pen_pp_pdt" class="templatepopform" target="_self" method="POST" action="<?php echo base_url().'c_template_bas_eksekusi_agama/cetak_bas_eksekusi_agama';?>">
            <table style="padding:5px;">
            
                    <tr><td colspan="2" style="background:#5fb85c;padding:10px;color:#fff;text-align:center;">
            <?php 
                echo strtoupper($judul."<br/>Perkara ".$jnsperkara); 
                            
            ?>
                </td></tr>
                    <td class="templatepopleftcol">Pilih Surat <font color=red>*</font></td>
                    <td>
                        <span class="custom-dropdown custom-dropdown--emerald">
                            <select style='width:250px;'  name="blangko_bas_eksekusi" id="blangko_bas_eksekusi" class="custom-dropdown__select custom-dropdown__select--white">                                
                                <?php
                                    foreach($blangko_bas_eksekusi->result() as $data)
                                        {
                                            ?><option value='<?php echo $data->kode; ?>'><?php echo $this->templatehelper->ucname($data->kode); ?>-<?php echo $this->templatehelper->ucname($data->nama); ?></option><?php
                                        }
                                ?>
                            </select> 
                        </span>
                    </td> 
                </tr>
                

                <tr>


                    <td colspan="2" style="background:white;" align="center">
                       <input type="hidden" name="enc" id="enc" value="<?php echo $enc; ?>">
                        <input type="button" id="kembali" value="Kembali" class="btn">
                        <input type="submit" id="simpan_btn" value="Cetak" class="del_btn">
                    </td>
                </tr>
            </table>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
$('#kembali').closingFormWin();
</script>