SHARE
TWEET

Untitled

dysphafiz_ Sep 22nd, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Studi Kasus 2 (M. Hafidz Fadillah - XI RPL 2)</title>
  5.     <style type="text/css">
  6.         body {
  7.             background-image: url(gambar/21.jpg);
  8.             background-size: 100%;
  9.             font-family: verdana;
  10.             font-size: 18px;
  11.         }
  12.         form {
  13.             text-align: center;
  14.             width: 550px;
  15.             margin-top: auto;
  16.             margin-bottom: auto;
  17.             margin-right: auto;
  18.             margin-left: auto;
  19.             background-image: url(gambar/23.jpg);
  20.             border: 3px outset darkgray;
  21.         }
  22.         input.button{
  23.             color: black;
  24.             background: white;
  25.             border: 2px darkgray outset;
  26.             padding: 5px 20px;
  27.             font-size: 14px;
  28.         }
  29.         input.button:hover{
  30.             color: white;
  31.             background: black;
  32.         }
  33.     </style>
  34. </head>
  35. <body>
  36.     <form name="berita" id="berita" method="post" action="ViewPost.php">
  37.             <p>Penulis</p>
  38.             <p><input type="text" name="penulis" id="penulis" size="20"></p>
  39.             <p>Tanggal dan Waktu (Otomatis)</p>
  40.             <?php
  41.                 date_default_timezone_set("Asia/Jakarta");
  42.                 $jam = date("l, d/m/Y h:ia");
  43.             ?>
  44.             <p>
  45.                 <input type="hidden" name="jam" value="<?= $jam ?>">
  46.             </p>
  47.             <p>Judul Berita</p>
  48.             <p><input type="text" name="judul"></p>
  49.             <p>Isi Berita</p>
  50.             <p><textarea name="isi" cols="60" rows="20" required=""></textarea></p>
  51.             <p><input class="button" type="submit" name="button" id="button" value="Kirim"></p>
  52.     </form>
  53. </body>
  54. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top