view paypal/lines_acrylic_clear.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>Clarity Series:<br> The Direct Kard.</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="Clarity Series: The Direct Kard">
29 <!-- -->
30 <input type="hidden" name="baseon0" value = "Line 1 (James Bond)">
31 <input type="hidden" name="baseos0">
32 <input type="hidden" name="baseon1" value = "Line 2 (Secret Agent)">
33 <input type="hidden" name="baseos1">
34 <input type="hidden" name="baseon2" value = "Line 3 (MI6)">
35 <input type="hidden" name="baseos2">
36 <input type="hidden" name="baseon3" value = "Line 4 (123.456.7890)">
37 <input type="hidden" name="baseos3">
38 <input type="hidden" name="baseon4" value = "Line 5 (jbond@domain.com)">
39 <input type="hidden" name="baseos4">
40 <input type="hidden" name="baseon5" value = "Line 6 (www.domain.com)">
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 @125.00" CHECKED
81 onclick = "ReadForm (this.form, false);"
82 onload = "ReadForm (this.form, false);" >
83 40 cards &mdash; $125
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 (James Bond):&nbsp;&nbsp;
106 <input type="text" id="Line 1 (James Bond)" 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 (Secret Agent):&nbsp;&nbsp;
136 <input type="text" id="Line 2 (Secret Agent)" name="line_2b" size="20" value = "Secret Agent" 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 (MI6):&nbsp;&nbsp;
166 <input type="text" id="Line 3 (MI6)" name="line_3b" size="20" value = "MI6" 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 (123.456.7890):&nbsp;&nbsp;
196 <input type="text" id="Line 4 (123.456.7890)" name="line_4b" size="20" value = "123.456.7890" 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>
224 <br>
225 Line 5 (jbond@domain.com):&nbsp;&nbsp;
226 <input type="text" id="Line 5 (jbond@domain.com)" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)"
227 onKeyUp="
228 tt.remove();
230 var font_size = 30;
232 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
233 tt.attr('stroke', '#f00');
234 tt.attr('fill', 'TRANSPARENT');
235 var c = tt.getBBox().width;
236 tt.translate((502 - c)/2,0);
243 //document.write( c );
249 "
251 >
252 <!-- -->
253 <br>
254 <br>
255 Line 6 (www.domain.com):&nbsp;&nbsp;
256 <input type="text" id="Line 6 (www.domain.com)" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this)"
257 onKeyUp="
258 tt.remove();
260 var font_size = 30;
262 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
263 tt.attr('stroke', '#f00');
264 tt.attr('fill', 'TRANSPARENT');
265 var c = tt.getBBox().width;
266 tt.translate((502 - c)/2,0);
273 //document.write( c );
279 "
281 >
282 <!-- -->
283 <br>
285 <!-- -->
287 <!-- End of Text Input Fields -->
290 <br>
291 Total Cost:&nbsp; &nbsp;
292 <input class="nbor" type="text" name="tot" size="8" value="$125.00">
293 <br>(Free Shipping)
294 <br><br>
295 <input name="accept" type="checkbox" value="0"><br>
296 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.
299 <br><br>
300 <div id = "buttoncon">
301 <div id="crush">
302 Sending Order.
303 </div>
305 <div id="vanish">
306 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">
307 </div>
310 &nbsp;
312 </div>
314 </form>
315 <!-- End of Form -->
318 </div>