<?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="form_pmh_pertama" name="frm_penetapan_majelis_pid"  class="templatepopform" target="_self" method="POST" action="<?php echo base_url().'c_template_penetapan_agama/cetak_penetapan_majelis_hakim';?>">
            <input type="hidden" name="ikrar" value="<?php echo $ikrar;?>">
            <input type="hidden" name="pmh" value="<?php echo $pmh;?>">
            <input type="hidden" name="enc" value="<?php echo $enc; ?>">
            <table style="padding:5px;">                
                <tr><td colspan="2" class="templatepoptitle">
                <?php 
                    echo strtoupper('Penetapan Majelis Hakim');
                ?>
                </td></tr>
                <tr>
                    <td class="templatepopleftcol">Pembuat Penetapan<font color=red>*</font></td>
                    <td style="">
                        <span class="custom-dropdown custom-dropdown--emerald">
                            <select style='width:250px;'  name="ditetapkanoleh" id="ditetapkanoleh" class="custom-dropdown__select custom-dropdown__select--white">
                                <option value='1'><?php echo $this->templatehelper->ucname("Ketua :: ".$penandatangan->row(0)->KetuaPNNama);?></option>
                                <option value='2'><?php echo $this->templatehelper->ucname("Wakil Ketua :: ".$penandatangan->row(0)->WakilKetuaPNNama);?></option>
								<?php if($plhKetua!=NULL){ ?>
									<option value='5'><?php echo $this->templatehelper->ucname("Plh Ketua :: ".$penandatangan->row(0)->PlhKetua);?></option>
								<?php	} ?>
								<?php if($pltKetua!=NULL){ ?>
									<option value='7'><?php echo $this->templatehelper->ucname("Plt Ketua :: ".$penandatangan->row(0)->PltKetua);?></option>
								<?php	} ?>
							</select>
                        </span>
                    </td> 
                </tr>
				<tr>
                    <td colspan="2" style="background:white;" align="center">
                        <input type="button" id="kembali" value="Kembali" class="btn">
                        <input type="submit" id="cetak_btn" value="Cetak" class="del_btn">
                    </td>
                </tr>
            </table>
			</form>
		</div>
	</div>
</div>
<script type="text/javascript">
$('#kembali').closingFormWin();
</script>