<?php
include "connect.php";
include"indo.php";
$id=$_GET['id'];
$view = "select * from cmhs where id_daf ='$id'";
$hasil = mysql_query($view);
$data=mysql_fetch_array($hasil);
$tgl_asli = $data[5];
$ftgl=TanggalIndo($tgl_asli);
				
echo"<table border =0 width=50% align=center bgcolor=#CCFFFF><strong>
<tr><td bgcolor=#99FF99 colspan=2 align=center><h3>::VIEW CMHS:: </h3></td></tr>
<tr><td>No Peserta </td>
<td>: $data[2]</td></tr>
<tr><td>Nama </td>
<td>: $data[3]</td></tr>
<tr><td>Tempat Lahir </td>
<td>: $data[4]</td></tr>
<tr><td>Tanggal Lahir</td>
<td>: $ftgl</td></tr>
<tr><td>Agama </td>
<td>: $data[6]</td></tr>
<tr><td>Jenis Kelamin </td>
<td>: $data[7]</td></tr>
<tr><td>Tinggi Badan </td>
<td>: $data[8]</td></tr>
<tr><td>Berat Badan </td>
<td>: $data[9]</td></tr>
<tr><td>Alamat</td>
<td>: $data[10]</td></tr>
<tr><td>Telpon/HP </td>
<td>: $data[11]</td></tr>
<tr><td>Sekolah Asal </td>
<td>: $data[12]</td></tr>
<tr><td>Rekomendasi </td>
<td>: $data[13]</td></tr>
<tr><td>Orang Tua/Wali</td>
<td>: $data[14]</td></tr>
<tr><td>Program Study </td>
<td>: $data[15]</td></tr>
<tr><td>TA. </td>
<td>: $data[17]</td></tr>
<tr><td>Gelombang </td>
<td>: $data[19]</td></tr>
<tr><td>Photo </td>
<td><img src=photo.php?id=$data[id_daf] width=150 /></td></tr>
<tr><td bgcolor=#99FF99 colspan=2 align=right><a href=cetakktu.php?id=$id >[Cetak KTPU]</a> | <a href=tampilcmhs.php>[ back ]</a></td></tr>
</strong> </table>";
?>
