SHARE
TWEET

Untitled

Rofihimam Oct 9th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <link href="https://fonts.googleapis.com/css?family=Bree+Serif&display=swap" rel="stylesheet">
  2. <style type="text/css">
  3.     h1, h2{
  4.         font-family: 'Bree Serif', serif;
  5.         font-size: 40px;
  6.         color: blue;
  7.     }
  8.     table{
  9.         border: 5px outset darkblue;
  10.         background: linear-gradient(to right, #0033cc 0%, #ff0066 100%);
  11.     }
  12.     th{
  13.         font-family: 'Bree Serif', serif;
  14.         font-size: 20px;
  15.     }
  16.     td, p{
  17.         font-family: 'Bree Serif', serif;
  18.         font-size: 16px;
  19.     }
  20.     input{
  21.         border: 2px inset black;
  22.         background-color: silver;
  23.         font-family: 'Bree Serif', serif;
  24.         font-size: 15px;
  25.         border-radius: 50px;
  26.         text-align: center;
  27.         width: 200px;
  28.     }
  29.     input#button{
  30.         border: 3px outset blue;
  31.         background-color: silver;
  32.         font-family: 'Bree Serif', serif;
  33.         transition-duration: 0.5s;
  34.         font-size: 15px;
  35.         border-radius: 50px;
  36.         width: 100px;
  37.     }
  38.     input#button:hover{
  39.         border: 3px outset blue;
  40.         background: linear-gradient(to bottom, #0033cc 0%, #ff0066 100%);
  41.         font-family: 'Bree Serif', serif;
  42.         font-size: 17px;
  43.         border-radius: 50px;
  44.         color: white;
  45.         width: 100px;
  46.     }
  47.     select{
  48.         border: 2px inset black;
  49.         background-color: silver;
  50.         font-family: 'Bree Serif', serif;
  51.         font-size: 15px;
  52.         border-radius: 50px;
  53.         text-align: center;
  54.     }
  55. </style>
  56.  
  57. <center>
  58.     <h1>MONEY CHANGER</h1>
  59.     <table border="1">
  60.         <tr>
  61.             <th>Mata Uang Asing</th>
  62.             <th>Mata Uang Indonesia</th>
  63.         </tr>
  64.         <tr>
  65.             <td>Dollar Amerika</td>
  66.             <td>12000</td>
  67.         </tr>
  68.         <tr>
  69.             <td>Dollae Singapour</td>
  70.             <td>7000</td>
  71.         </tr>
  72.         <tr>
  73.             <td>Yen</td>
  74.             <td>4000</td>
  75.         </tr>
  76.         <tr>
  77.             <td>Won</td>
  78.             <td>11</td>
  79.         </tr>
  80.     </table>
  81.  
  82.     <h2>TRANSAKSI</h2>
  83.     <form method="post">   
  84.         <p>
  85.             Uang Dalam Rupiah Rp.
  86.             <input type="number" name="uang" required="" autocomplete="off">
  87.             <select name="mata_uang">
  88.                 <option value="DollarAmerika">Dollar Amerika</option>
  89.                 <option value="DollarSingapour">Dollar Singapour</option>
  90.                 <option value="Yen">Yen</option>
  91.                 <option value="Won">Won</option>
  92.             </select>
  93.             <input type="submit" name="button" id="button" value="Konversi">
  94.         </p>
  95.     </form>
  96.  
  97.     <p>
  98.         <?php
  99.             include 'changer.php';
  100.  
  101.             if (isset($hasil)) {
  102.                 echo 'Rp. '.$uang.' = '.$hasil.' '.$mata_uang;
  103.             }
  104.         ?>
  105.     </p>
  106. </center>
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