<html>
<head>
<title>Cetak KTPU</title>
</head>

<body leftmargin="center">
<?php
	include "connect.php";
	include"indo2.php";
	$id=$_GET['id'];
	$cetak = "select * from cmhs where id_daf ='$id'";
	$hasil = mysql_query($cetak);
	$print=mysql_fetch_array($hasil);
	$inst=$print[15];
	if ($inst=='AKPER')
	{
		$temp= 'AKADEMI KEPERAWATAN BHAKTI HUSADA';
		$temp2= 'JL. RE Martadinata (By Pass) Cikarang-Bekasi 17530 Telp.021 8902577 Fax.021 8900570';
		$pic= 'picture/akper.jpg';
		$pic1= 'picture/ttd.jpg';
	}else{
		$temp= 'AKADEMI KEBIDANAN BHAKTI HUSADA';
		$temp2= 'JL. Ki Hajar Dewantara No.14 Cikarang-Bekasi Telp.021 89108955 Fax.021 8900570';
		$pic= 'picture/akbid.jpg';
		$pic1= 'picture/ttd.jpg';
	}
	
	$idset=1;
	$cset="select * from tset where idset='$idset'";
	$hset=mysql_query($cset);
	$pset=mysql_fetch_array($hset);
?>
<div align="center">
  <table width="764" border="0">
    <tr>
      <td width="72"rowspan="4"><div align="center"><img src="<? echo $pic; ?>" width="72"></div></td>
      <td colspan="4"><div align="center"><strong><? echo $temp; ?></strong><br>
      </div></td>
    </tr>
    <tr>
      <td colspan="4"><div align="center"><strong>Seleksi Penerimaan Mahasiswa Baru (SPMB)</strong></div></td>
    </tr>
    <tr>
      <td colspan="4"><div align="center"><? echo $temp2; ?></div></td>
    </tr>
    <tr>
      <td colspan="4"><div align="center"><strong>TA. <? echo $pset[1]; ?></strong></div></td>
    </tr>
    <tr>
      <td height="17" colspan="5"><div align="center">
        <hr>
      </div></td>
    </tr>
    <tr>
      <td colspan="4"><strong>KARTU TANDA PESERTA UJIAN</strong></td>
      <td rowspan="5"><div align="right"><? echo "<img src=photo.php?id=$print[id_daf] width=80 />"; ?></div></td>
    </tr>
    <tr>
      <td colspan="3" align="center" valign="top"><div align="left">No. Peserta </div></td>
      <td><? echo $print[2]; ?></td>
    </tr>
    <tr>
      <td colspan="3" align="center" valign="top"><div align="left">Nama</div></td>
      <td><? echo $print[3]; ?></td>
    </tr>
    <tr>
      <td colspan="4" align="center" valign="top"><div align="left"></div></td>
    </tr>
    <tr>
      <td colspan="4" align="center" valign="top"><div align="left">Jadwal Ujian</div></td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top" bgcolor="#D5E9FF"><div align="center"><strong>No</strong></div></td>
      <td width="103" bgcolor="#D5E9FF"><div align="left"><strong>Kegiatan</strong></div></td>
      <td width="360" bgcolor="#D5E9FF"><strong>Waktu</strong></td>
      <td width="209" bgcolor="#D5E9FF"><strong>Paraf Pengawas</strong></td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top"><div align="center">1</div></td>
      <td><div align="left">Ujian Tulis </div></td>
      <td><? echo $pset[3]; ?></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top" bgcolor="#D5E9FF"><div align="center">2</div></td>
      <td bgcolor="#D5E9FF"><div align="left">Test Kesehatan </div></td>
      <td bgcolor="#D5E9FF"><? echo $pset[4]; ?></td>
      <td bgcolor="#D5E9FF">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top"><div align="center">3</div></td>
      <td><div align="left">Psikotest</div></td>
      <td><? echo $pset[5]; ?></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top" bgcolor="#D5E9FF"><div align="center">4</div></td>
      <td bgcolor="#D5E9FF"><div align="left">Wawancara</div></td>
      <td bgcolor="#D5E9FF"><? echo $pset[6]; ?></td>
      <td bgcolor="#D5E9FF">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="5" align="center" valign="top"><div align="left"><strong>Pengumuman Hasil Ujian : <? echo $pset[7]; ?></strong></div></td>
    </tr>
    <tr>
      <td colspan="4" align="center" valign="top"><div align="left"><em>Catatan</br>
            </em>        
          <ul><li class="style5">Pakaian bebas sopan (tidak memakai kaos &amp; jeans)</li>
              <li class="style5">
                Memakai sepatu tertutup</li>
              <li class="style5">
                Membawa pensil 2B dan peralatan tulis</li>
              <li class="style5">
                Membawa Kartu Tanda Peserta Ujian </li>
              <li class="style5">Wawancara orang tua dilaksanakan saat ujian tulis </li>
          </ul>
      </div></td>
      <td><div align="center">
        <div align="center">
          Bekasi, <? echo " $tgl $bln $thn"; ?> <br>
    Panitia SPMB &amp; Promosi <br>
    Ketua Umum </br>
          <img src="<? echo $pic1; ?>" width="200"> </br>
        </div>
        <u><? echo $pset[8]; ?></u></br>
      </div></td>
    </tr>
  </table>
</div>
</body>
</html>
