switch($mk)
{
case "Borland":
$biaya=100000;
$pert=10;
break;
case "Visual Basic":
$biaya=200000;
$pert=20;
break;
default:
$biaya=300000;
$pert=30;
break;
}
{
if (strcmp($tp,"Khusus(10siswa)")==0)
$adm=100000;
if (strcmp($tp,"Khusus(30siswa)")==0)
$adm=200000;
if (strcmp($tp,"Khusus(50siswa)")==0)
$adm=300000;
}
$bdx=0;
$bdy=0;
$bdz=0;
if($x){$bdx=50000;}
if($y){$bdx=100000;}
if($z){$bdx=200000;}
$tbd=$bdx+$bdy+$bdz;
$t=$tbd+$biaya+$adm;
echo"DAFTAR PENDAFTAR
";
echo"Tanggal Daftar :";
echo(Date("d/D-F-Y"));
echo"
";
echo"No Pendaftar :$no
";
echo"Nama Pendaftar : $nm
";
echo"Materi Kelas : $mk
";
echo"Biaya :RP.$biaya
";
echo"Pertemuan :$pert x
";
echo"Type kelas :$tp
";
echo"Administrasi :Rp.$adm
";
echo"Biaya Dosen :Rp.$tbd
";
echo"Total biaya :Rp.$t
";
echo"
";
echo(date("H:I:S"));
echo"
";
?>
112
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
No Coment No Spam!!!