Advertisement
ali602

index.php

May 15th, 2024
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.91 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Pendaftaran Anggota Perpustakaan | SMK Gamelab Indonesia</title>
  5. </head>
  6.  
  7. <body>
  8.     <header>
  9.         <h3>Pendaftaran Anggota Perpus Baru</h3>
  10.         <h1>SMK Gamelab Indonesia</h1>
  11.     </header>
  12.    
  13.     <h4>Menu</h4>
  14.     <nav>
  15.         <ul>
  16.             <li><a href="form-daftar-anggota.php">Daftar Baru</a></li>
  17.             <li><a href="list-daftar-anggota.php">List Anggota Perpus</a></li>
  18.         </ul>
  19.     </nav>
  20.    
  21.    
  22.     <?php if(isset($_GET['status'])): ?>
  23.     <p>
  24.         <?php
  25.             if($_GET['status'] == 'sukses'){
  26.                 echo "<div style='border: 1px solid rgb(214,233,198);
  27.                background-color: rgb(223,240,216);color: rgb(70,136,71);'>Pendaftaran anggota baru berhasil!</div>";
  28.             } else {
  29.                 echo "<div style='border: 1px solid rgb(238,211,215);
  30.                background-color: rgb(242,222,222);color: rgb(185,74,72);'>Pendaftaran gagal!</div>";
  31.             }
  32.         ?>
  33.     </p>
  34.     <?php endif; ?>
  35.    
  36.     </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement