Advertisement
Guest User

Untitled

a guest
Sep 1st, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.     <head>
  3.         <title>Donate</title>
  4.     </head
  5.     <body bgcolor ="#900020" text="white">
  6.         <h1><center><b><u>Donate</u></b></center></h1>
  7.         <br/>
  8.         <p>
  9.             <u>Donation:</u>
  10.             <br/>
  11.             <select id="ddlDonate">
  12.             <option value="3.00" selected="selected">3 EUR - an attack of your choice</option>
  13.             <option value="5.00">5 EUR - 5 data <u>OR</u> an unique gem</option>
  14.             <option value="10.00">10 EUR - 6.5 data <u>and</u> an unique gem</option>
  15.             <option value="15.00">15 EUR - 9 data, an unique gem and a special "Donator" tag in the "Who"</option>
  16.             </select>
  17.             <script>
  18.             function GetData()
  19.             {
  20.             var e = document.getElementById("ddlDonate");
  21.             var amount = e.options[e.selectedIndex].value;
  22.             var item = e.options[e.selectedIndex].text;
  23.             document.getElementById("item_name").value = item
  24.             document.getElementById("amount").value = amount
  25.                     }
  26.             </script>
  27.             <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  28.             <input type="hidden" name="cmd" value="_donations">
  29.             <input type="hidden" name="business" value="joshadr@hotmail.com">
  30.             <input type="hidden" name="lc" value="BE">
  31.             <input type="hidden" name="no_note" value="0">
  32.             <input type="hidden" id="item_name" name="item_name">
  33.             <input type="hidden" id="amount" name="amount">
  34.             <input type="hidden" name="currency_code" value="EUR">
  35.             <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
  36.             <input type="image" name="submit" border="0" src="https://www.paypalobjects.com/en_US/BE/i/btn/btn_donateCC_LG.gif" alt="PayPal - The safer, easier way to pay online" onclick="GetData()">
  37.             <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
  38.             </form>
  39.         </p>
  40.     </body>
  41. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement