Advertisement
CHaNStar

a3

Feb 19th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.29 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title></title>
  4. <style type="text/css">
  5.     body{
  6.         background-image: url(assets/exobg1.jpg);
  7.         background-attachment: fixed;
  8.         background-size: cover;
  9.     }
  10.     img{
  11.         width: 100px;
  12.         height: 150px;
  13.     }
  14.     fieldset{
  15.         width: 70%;
  16.         border: dashed white;
  17.         background-color: rgb(0, 0, 0, 0.5);
  18.     }
  19.     table{
  20.         color: white;
  21.         padding: 10px;
  22.     }
  23.     .logo{
  24.         width: 80px;
  25.         height: 90px;
  26.     }
  27. </style>
  28. </head>
  29. <?php
  30.  
  31. include 'Manusia.php';
  32.  
  33. $orang1 = new Manusia("Azka Zaki R", "Laki-laki", "22/05/2003", "Bandung", "Sushi", "05");
  34. $orang3 = new Manusia("Bama QyanDija D", "Laki-laki", "18/02/2003", "Bandung", "Segala", "06");
  35. $orang4 = new Manusia("Chandra Mukti G", "Laki-laki", "06/01/2003", "Bandung", "Kimchi", "07");
  36.  
  37. ?>
  38.  
  39. <center>
  40.     <form>
  41.         <fieldset><legend><img class="logo" src="images/F6 logo.png"></legend>
  42.         <center>
  43.             <table>
  44.                 <tr style="background-color: rgb(255, 250, 240, 0.8); color: black;">
  45.                     <th>Foto</th>
  46.                     <th>Nama</th>
  47.                     <th>Jenis Kelamin</th>
  48.                     <th>Tanggal Lahir</th>
  49.                     <th>Usia</th>
  50.                     <th>Kebangsaan</th>
  51.                     <th>Bahasa</th>
  52.                     <th>Nama Panggung</th>
  53.                     <th>Posisi</th>
  54.                     <th>Makanan Favorit</th>
  55.                     <th>Jenis Makanan</th>
  56.                     <th>Nomor Punggung</th>
  57.                 </tr>
  58.                 <tr align="center" style="background-color: rgb(211, 211, 211, 0.4);">
  59.                     <td><img src="images/azka.jpeg"></td>
  60.                     <td><?php echo $orang1->bersuara() ?></td>
  61.                     <td><?php echo $orang1->getJenis_kelamin() ?></td>
  62.                     <td><?php echo $orang1->getTanggalLahir() ?></td>
  63.                     <td><?php echo $orang1->usia() ?></td>
  64.                     <td><?php echo $orang1->getKebangsaan() ?></td>
  65.                     <td><?php echo $orang1->berbicara() ?></td>
  66.                     <td><?php echo $orang1->berjalan() ?></td>
  67.                     <td><?php echo $orang1->bernafas() ?></td>
  68.                     <td><?php echo $orang1->makan() ?></td>
  69.                     <td><?php echo $orang1->jenis() ?></td>
  70.                     <td><?php echo $orang1->getNomor() ?></td>
  71.                 </tr>
  72. <tr align="center" style="background-color: rgb(0, 0, 0, 0.5);">
  73.                     <td><img src="images/bama.jpeg"></td>
  74.                     <td><?php echo $orang3->bersuara() ?></td>
  75.                     <td><?php echo $orang3->getJenis_kelamin() ?></td>
  76.                     <td><?php echo $orang3->getTanggalLahir() ?></td>
  77.                     <td><?php echo $orang3->usia() ?></td>
  78.                     <td><?php echo $orang3->getKebangsaan() ?></td>
  79.                     <td><?php echo $orang3->berbicara() ?></td>
  80.                     <td><?php echo $orang3->berjalan() ?></td>
  81.                     <td><?php echo $orang3->bernafas() ?></td>
  82.                     <td><?php echo $orang3->makan() ?></td>
  83.                     <td><?php echo $orang3->jenis() ?></td>
  84.                     <td><?php echo $orang3->getNomor() ?></td>
  85.                 </tr>
  86.                 <tr align="center" style="background-color: rgb(211, 211, 211, 0.4);">
  87.                     <td><img src="images/chan.jpeg"></td>
  88.                     <td><?php echo $orang4->bersuara() ?></td>
  89.                     <td><?php echo $orang4->getJenis_kelamin() ?></td>
  90.                     <td><?php echo $orang4->getTanggalLahir() ?></td>
  91.                     <td><?php echo $orang4->usia() ?></td>
  92.                     <td><?php echo $orang4->getKebangsaan() ?></td>
  93.                     <td><?php echo $orang4->berbicara() ?></td>
  94.                     <td><?php echo $orang4->berjalan() ?></td>
  95.                     <td><?php echo $orang4->bernafas() ?></td>
  96.                     <td><?php echo $orang4->makan() ?></td>
  97.                     <td><?php echo $orang4->jenis() ?></td>
  98.                     <td><?php echo $orang4->getNomor() ?></td>
  99.                 </tr>
  100. </table>
  101.         </center>
  102.     </fieldset>
  103.     </form>
  104. </center>
  105.  
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement