view paypal/backup @ 99:9649b14f3b38 laserkard

made main drawing function capable of rendering style selection boxes. no more pics needed
author Robert McIntyre <rlm@mit.edu>
date Tue, 27 Jul 2010 07:56:22 -0400
parents c96cb4e773e5
children
line wrap: on
line source


3 Clarity LaserKard --- Classic Style
4 <!-- Start of Form -->
5 <!-- Note: target="paypal" was replaced with the variable target="_self" -->
6 <!-- Note: shopping_url also added to code -->
7 <!-- These two changes allow better functionality with IE and Firefox -->
8 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
9 <input type="hidden" name="add" value="1">
10 <input type="hidden" name="cmd" value="_cart">
11 <!--your email address goes here -->
12 <input type="hidden" name="business" value="laserkards@mit.edu">
13 <input type="hidden" name="item_name">
14 <input type="hidden" name="item_number" "WFB-1001">
15 <input type="hidden" name="amount">
16 <input type="hidden" name="currency_code" value="USD">
17 <input type="hidden" name="lc" value="US">
18 <input type="hidden" name="shopping_url" value="http://www.laserkard.com/buy.pl">
19 <input type="hidden" name="cancel_return" value="http://www.laserkard.com">
20 <input type="hidden" name="return" value="http://www.laserkard.com">
21 <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
24 <!-- -->
25 <input type="hidden" name="baseamt" value="00">
26 <input type="hidden" name="basedes" value="Clarity LaserKard --- Classic Style">
27 <!-- -->
28 <input type="hidden" name="baseon0" value="Line 1">
29 <input type="hidden" name="baseos0">
30 <input type="hidden" name="baseon1" value="Line 2">
31 <input type="hidden" name="baseos1">
32 <input type="hidden" name="baseon2" value="Line 3">
33 <input type="hidden" name="baseos2">
34 <input type="hidden" name="baseon3" value="Line 4">
35 <input type="hidden" name="baseos3">
36 <input type="hidden" name="baseon4" value="Line 5">
37 <input type="hidden" name="baseos4">
38 <input type="hidden" name="baseon5" value="Side">
39 <input type="hidden" name="baseos5">
40 <input type="hidden" name="baseon6">
41 <input type="hidden" name="baseos6">
42 <input type="hidden" name="baseitn">
43 <!-- -->
44 <input type="hidden" name="on0">
45 <input type="hidden" name="os0">
46 <input type="hidden" name="on1">
47 <input type="hidden" name="os1">
48 <input type="hidden" name="on2">
49 <input type="hidden" name="os2">
50 <input type="hidden" name="on3">
51 <input type="hidden" name="os3">
52 <input type="hidden" name="on4">
53 <input type="hidden" name="os4">
54 <input type="hidden" name="on5">
55 <input type="hidden" name="os5">
56 <input type="hidden" name="on6">
57 <input type="hidden" name="os6">
58 <input type="hidden" name="on7">
59 <input type="hidden" name="os7">
60 <input type="hidden" name="on8">
61 <input type="hidden" name="os8">
62 <input type="hidden" name="on9">
63 <input type="hidden" name="os9">
64 <!-- -->
66 <!--
67 Select Size:&nbsp;&nbsp;
68 <select name="Size" onchange="ReadForm (this.form, false);">
69 <option value="Please Choose" selected>Please Choose</option>
70 <option value="Small @25.00">Small - $25.00</option>
71 <option value="Medium @30.00">Medium - $30.00</option>
72 <option value="Large @35.00">Large - $35.00</option>
73 </select>
74 <!-- -->
75 <br><br>
77 <!-- Start of Options -->
79 <input type="radio" name = "whatev"
81 value="30 cards @120.00"
82 onclick = "ReadForm (this.form, false);"
83 onload = "ReadForm (this.form, false);" >
85 30 cards -- $120
87 <br>
89 <input type="radio" name = "whatev"
91 value="40 cards @150.00"
92 onclick = "ReadForm (this.form, false);" >
94 40 cards -- $150
95 <br><br>
96 <!--
97 <input type = "checkbox"
98 onclick = "ReadForm (this.form, false);"
99 value = "30 cards @120.00" checked>
100 30 LaserKards -- $120
101 &nbsp;
103 -->
105 &nbsp;
106 <!-- End of Options -->
108 <!-- Start of Text Input Fields -->
109 <br>
110 Line 1:&nbsp;&nbsp;
111 <input type="text" id="Line 1" name="line_1b" size="20">
112 <!-- -->
113 <br><br>
114 Line 2:&nbsp;&nbsp;
115 <input type="text" id="Line 2" name="line_2b" size="20">
116 <!-- -->
117 <br><br>
118 Line 3:&nbsp;&nbsp;
119 <input type="text" id="Line 3" name="line_3b" size="20">
120 <!-- -->
121 <br><br>
122 Line 4:&nbsp;&nbsp;
123 <input type="text" id="Line 4" name="line_4b" size="20">
124 <!-- -->
125 <br><br>
126 Line 5:&nbsp;&nbsp;
127 <input type="text" id="Line 5" name="line_5b" size="20">
128 <!-- -->
129 <br><br>
130 Side:&nbsp;&nbsp;
131 <input type="text" id="Side" name="line_6b" size="20">
132 <!-- -->
134 <!-- End of Text Input Fields -->
137 <br><br>
139 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">
140 Add a penny! ^__^
141 <br><br>
143 Total Cost:&nbsp; &nbsp;
144 <input class="nbor" type="text" name="tot" size="8" value="$120.00">
146 <br><br>
150 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">
151 </form>
152 <!-- End of Form -->