Mercurial > laserkard
view paypal/big_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 BIG 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" >35 <input type="hidden" name="baseos2">36 <input type="hidden" name="baseon3" >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" CHECKED81 onclick = "ReadForm (this.form, false);"82 onload = "ReadForm (this.form, false);" >83 40 cards — $13585 <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 — $3095 <br>100 101 <!-- End of Options -->103 <!-- Start of Text Input Fields -->104 <br>105 Line 1: 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: 136 <input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" 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>165 <!-- -->167 <!-- End of Text Input Fields -->169 <br>170 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">171 Add a penny! ^__^172 <br>174 <br>175 Total Cost: 176 <input class="nbor" type="text" name="tot" size="8" value="$135.00">177 <br>(Free Shipping)178 <br><br>179 <input name="accept" type="checkbox" value="0"><br>180 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.183 <br><br>184 <div id = "buttoncon">185 <div id="crush">186 Sending Order.187 </div>189 <div id="vanish">190 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">191 </div>194 196 </div>198 </form>199 <!-- End of Form -->202 </div>