<html>
<style type="text/css">
<!--
.style1 {
	color: #FF0000;
	font-style: italic;
	font-weight: bold;
}
.style2 {color: #000000}
.style3 {font-weight: bold; color: #FF0000;}
-->
</style>
<body>
<h3 align="center" style="background-color:#00FF00"><a href="admin.php">:: F JPaket ::</a></h3>
<form method = post action ="inputjpaket.php" enctype="multipart/form-data">

<table border =0 align="center" width="1000" bgcolor="#FFFFCC">
<tr>
  <td colspan="2"><hr></td>
</tr>
<tr>
  <td>Kode Biaya</td>
<td>: <input type = text name="kd_byr"></td></tr>
<tr><td>Jenis Biaya</td>
<td>: <input type = text name="nm_byr" size="50"></td></tr>
<tr><td>Semester</td>
<td>: <select size="1"  name ="semester">
	<option selected></option>
	<option>1</option>
	<option>2</option>
    <option>3</option>
	<option>4</option>
	<option>5</option>
	<option>6</option>

  </select></td></tr>
<tr><td>Jumlah</td>
<td>: <input type = text name ="jum_byr" size="30"></td></tr>
<tr>
  <td>Jatuh Tempo </td>
  <td>: 
<input type="text" name="jtempo" id="jtempo" style="background-color:#CCFFFF "/>
<input type="button" value="" style="background-image:url(cal.gif); background-repeat:no-repeat; background-position:center; border:none;" onClick="pick('jtempo');" />
<script type="text/javascript" language="javascript">
<!--
function pick(tgt)
{
 window.open("kalender_pick.php?rand="+Math.random()+"&tgt="+tgt,"Kalender","width=500,height=400,alwaysRaised=yes,scrollbars=yes,directories=no,location=no,menubar=no,toolbar=no");
}
//-->
</script>
</td></tr>
<tr><td><input type=submit value ="Submit">
<input type=reset value="Reset"></td>
<td><span class="style1">Klik </span><span class="style3"><span class="style2">Jenis</span></span><span class="style1"> untuk input detail Jenis biaya..!! </span></td>
</tr>
</table>
</form>
<?
	include "connect.php";
	$tampil="select * from jns_byr order by kd_byr DESC";
	$hasil=mysql_query($tampil);
	$total= mysql_num_rows($hasil);
	include "rp.php";
	include "indo.php";
?>
<table align="center" width="1006" border="0">
			<tr bgcolor="#000000">
				<td width="133" align="center"><b><font face="verdana" size="2" color="#FFFFFF">Kode</font></b></td>
				<td width="369" align="center"><b><font face="verdana" size="2" color="#FFFFFF">Jenis</font></b></td>
				<td width="69" align="center"><b><font face="verdana" size="2" color="#FFFFFF">Smt</font></b></td>
				<td width="225" align="center"><b><font face="verdana" size="2" color="#FFFFFF">Jumlah</font></b></td>
				<td width="188" align="center"><b><font face="verdana" size="2" color="#FFFFFF">Jatuh Tempo</font></b></td>
			</tr>
	<?
	if ($total){
		while ($row=mysql_fetch_array($hasil))
		{
		?>
			<tr>
				<td valign="top"><font face="verdana" size="2"><? echo $row[0]; ?></font></td>
				<td valign="top"><font face="verdana" size="2"><a href="fdpaket.php?id=<? echo $row[0]; ?> " style="text-decoration:none"><font size="2" face="verdana"><? echo $row[1]; ?></font></a></td>
			    <td valign="top"><div align="center"><font face="verdana" size="2"><? echo $row[2]; ?></font></div></td>
			    <td valign="top"><div align="right"><font face="verdana" size="2"><? echo rp($row[3]); ?></font></div></td>
				<td valign="top"><div align="center"><font face="verdana" size="2"><? echo $ftgl=TanggalIndo($row[4]); ?></font></div></td>
			</tr>
		<?	
		} 
	}else{
		?><p align="center"><font color="#FF0000" face="verdana" size="2"><b>Data tidak ditemukan!!</b></font></p><?
	}
	?>

</table>

</body>
</html>

