view paypal/basic_acrylic_green.paylist @ 37:021a9ab1ed5b laserkard

[svn r38] added echo.pl, a test program for the backend of the website
author rlm
date Sun, 24 Jan 2010 09:37:47 -0500
parents ae22c2d59891
children 1ac1409ea68c
line wrap: on
line source
1 <div id = "i_inputbox">
3 <div class = "ttyls"> <titletron>Vitality LaserKard Basic Style</titletron></div><br>
4 <div class = "descript"> Laser-Etched Clear Acrylic </div>
6 <!-- Start of Form -->
7 <!-- Note: target="paypal" was replaced with the variable target="_self" -->
8 <!-- Note: shopping_url also added to code -->
9 <!-- These two changes allow better functionality with IE and Firefox -->
10 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
11 <input type="hidden" name="add" value="1">
12 <input type="hidden" name="cmd" value="_cart">
13 <!--your email address goes here -->
14 <input type="hidden" name="business" value="laserkards@mit.edu">
15 <input type="hidden" name="item_name">
16 <input type="hidden" name="item_number">
17 <input type="hidden" name="amount">
18 <input type="hidden" name="currency_code" value="USD">
19 <input type="hidden" name="lc" value="US">
20 <input type="hidden" name="shopping_url" value="http://www.laserkard.com/buy.pl">
21 <input type="hidden" name="cancel_return" value="http://www.laserkard.com">
22 <input type="hidden" name="return" value="http://www.laserkard.com">
23 <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
26 <!-- -->
27 <input type="hidden" name="baseamt" value="00">
28 <input type="hidden" name="basedes" value="">
29 <!-- -->
30 <input type="hidden" name="baseon0" value = "Line 1">
31 <input type="hidden" name="baseos0">
32 <input type="hidden" name="baseon1" value = "Line 2">
33 <input type="hidden" name="baseos1">
34 <input type="hidden" name="baseon2" value = "Line 3">
35 <input type="hidden" name="baseos2">
36 <input type="hidden" name="baseon3" value = "Line 4">
37 <input type="hidden" name="baseos3">
38 <input type="hidden" name="baseon4" >
39 <input type="hidden" name="baseos4">
40 <input type="hidden" name="baseon5" >
41 <input type="hidden" name="baseos5">
42 <input type="hidden" name="baseon6" >
43 <input type="hidden" name="baseos6">
44 <input type="hidden" name="baseon7" >
45 <input type="hidden" name="baseos7">
46 <input type="hidden" name="baseon8" >
47 <input type="hidden" name="baseos8">
48 <input type="hidden" name="baseon9" >
49 <input type="hidden" name="baseos9">
50 <input type="hidden" name="baseitn">
51 <!-- -->
52 <input type="hidden" name="on0">
53 <input type="hidden" name="os0">
54 <input type="hidden" name="on1">
55 <input type="hidden" name="os1">
56 <input type="hidden" name="on2">
57 <input type="hidden" name="os2">
58 <input type="hidden" name="on3">
59 <input type="hidden" name="os3">
60 <input type="hidden" name="on4">
61 <input type="hidden" name="os4">
62 <input type="hidden" name="on5">
63 <input type="hidden" name="os5">
64 <input type="hidden" name="on6">
65 <input type="hidden" name="os6">
66 <input type="hidden" name="on7">
67 <input type="hidden" name="os7">
68 <input type="hidden" name="on8">
69 <input type="hidden" name="os8">
70 <input type="hidden" name="on9">
71 <input type="hidden" name="os9">
72 <!-- -->
75 <!-- Start of Options -->
78 <input type="radio" name = "whatev"
80 value="40 cards @135.00" CHECKED
81 onclick = "ReadForm (this.form, false);"
82 onload = "ReadForm (this.form, false);" >
83 40 cards &mdash; $135
85 <br>
88 <input type="radio" name = "whatev"
90 value="4 cards @30.00"
91 onclick = "ReadForm (this.form, false);"
92 onload = "ReadForm (this.form, false);" >
93 4 cards &mdash; $30
95 <br>
100 &nbsp;
101 <!-- End of Options -->
103 <!-- Start of Text Input Fields -->
104 <br>
105 Line 1:&nbsp;&nbsp;
106 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)"
107 onKeyUp="
108 tt.remove();
110 var font_size = 30;
112 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
113 tt.attr('stroke', '#f00');
114 tt.attr('fill', 'TRANSPARENT');
115 var c = tt.getBBox().width;
116 tt.translate((502 - c)/2,0);
123 //document.write( c );
129 "
131 >
132 <!-- -->
133 <br>
134 <br>
135 Line 2:&nbsp;&nbsp;
136 <input type="text" id="Line 2" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this)"
137 onKeyUp="
138 tt.remove();
140 var font_size = 30;
142 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
143 tt.attr('stroke', '#f00');
144 tt.attr('fill', 'TRANSPARENT');
145 var c = tt.getBBox().width;
146 tt.translate((502 - c)/2,0);
153 //document.write( c );
159 "
161 >
162 <!-- -->
163 <br>
164 <br>
165 Line 3:&nbsp;&nbsp;
166 <input type="text" id="Line 3" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)"
167 onKeyUp="
168 tt.remove();
170 var font_size = 30;
172 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
173 tt.attr('stroke', '#f00');
174 tt.attr('fill', 'TRANSPARENT');
175 var c = tt.getBBox().width;
176 tt.translate((502 - c)/2,0);
183 //document.write( c );
189 "
191 >
192 <!-- -->
193 <br>
194 <br>
195 Line 4:&nbsp;&nbsp;
196 <input type="text" id="Line 4" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)"
197 onKeyUp="
198 tt.remove();
200 var font_size = 30;
202 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
203 tt.attr('stroke', '#f00');
204 tt.attr('fill', 'TRANSPARENT');
205 var c = tt.getBBox().width;
206 tt.translate((502 - c)/2,0);
213 //document.write( c );
219 "
221 >
222 <!-- -->
223 <br>
225 <!-- -->
227 <!-- End of Text Input Fields -->
230 <br>
231 Total Cost:&nbsp; &nbsp;
232 <input class="nbor" type="text" name="tot" size="8" value="$135.00">
233 <br>(Free Shipping)
234 <br><br>
235 <input name="accept" type="checkbox" value="0"><br>
236 I approve this design. I understand that my card will appear exactly as it appears on the screen and agree that spelling and content are correct.
239 <br><br>
240 <div id = "buttoncon">
241 <div id="crush">
242 Sending Order.
243 </div>
245 <div id="vanish">
246 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">
247 </div>
250 &nbsp;
252 </div>
254 </form>
255 <!-- End of Form -->
258 </div>