diff buy.pl @ 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 0deeb2d5d1db
children 1ac1409ea68c
line wrap: on
line diff
     1.1 --- a/buy.pl	Mon Jan 18 15:52:33 2010 -0500
     1.2 +++ b/buy.pl	Sun Jan 24 09:37:47 2010 -0500
     1.3 @@ -89,19 +89,21 @@
     1.4  $materialcolor = $1;
     1.5  
     1.6  	
     1.7 -$r = "<div id = \"i_templates\"><div class = 'ttyl'> <titletron>Select Style.</titletron></div>
     1.8 +$r =  <<HERE;
     1.9 +<div id = "i_templates"><div class = 'ttyl'> <titletron>Select Style.</titletron></div>
    1.10  <div id = 'stupid'>
    1.11 -<input TYPE=\"image\" src = \"./images/templates/big_$materialcolor.jpg\" 	onmouseover=\"pokedex([\'args__big\'],[\'pokedex\']);\" 	onclick=\"display([\'template2\'], [\'display\']); inputbox([\'template2\'], [\'inputbox\']);material([\'template2\'], [\'materials\']);\" ID=\"template2\" NAME=\"template2\" VALUE=\"big_$materialcolor\"        > <br>
    1.12 +<input TYPE="image" src = "./images/templates/big_$materialcolor.jpg" 	onmouseover="pokedex(['args__big'],['pokedex']);" 	onclick="display(['template2'], ['display']); inputbox(['template2'], ['inputbox']);material(['template2'], ['materials']);" ID="template2" NAME="template2" VALUE="big_$materialcolor"        > <br>
    1.13    
    1.14 -<input TYPE=\"image\" src = \"./images/templates/basic_$materialcolor.jpg\"  onmouseover=\"pokedex([\'args__basic\'],['pokedex\']);\"	onclick=\"display([\'template3\'], [\'display\']); inputbox([\'template3\'], [\'inputbox\']);material([\'template3\'], [\'materials\']);\" ID=\"template3\" NAME=\"template3\" VALUE=\"basic_$materialcolor\"          ><br>
    1.15 +<input TYPE="image" src = "./images/templates/basic_$materialcolor.jpg"  onmouseover="pokedex(['args__basic'],['pokedex']);"	onclick="display(['template3'], ['display']); inputbox(['template3'], ['inputbox']);material(['template3'], ['materials']);" ID="template3" NAME="template3" VALUE="basic_$materialcolor"          ><br>
    1.16    
    1.17 -<input TYPE=\"image\" src = \"./images/templates/classic_$materialcolor.jpg\"  onmouseover=\"pokedex([\'args__classic\'],[\'pokedex\']);\"	onclick=\"display([\'template1\'], [\'display\']); inputbox([\'template1\'], [\'inputbox\']);material([\'template1\'], [\'materials\']);\" ID=\"template1\" NAME=\"template1\" VALUE=\"classic_$materialcolor\"    ><br>
    1.18 +<input TYPE="image" src = "./images/templates/classic_$materialcolor.jpg"  onmouseover="pokedex(['args__classic'],['pokedex']);"	onclick="display(['template1'], ['display']); inputbox(['template1'], ['inputbox']);material(['template1'], ['materials']);" ID="template1" NAME="template1" VALUE="classic_$materialcolor"    ><br>
    1.19   
    1.20 -<input TYPE=\"image\" src = \"./images/templates/lines_$materialcolor.jpg\"  onmouseover=\"pokedex([\'args__lines\'],[\'pokedex\']);\"	onclick=\"display([\'template4\'], [\'display\']); inputbox([\'template4\'], [\'inputbox\']);material([\'template4\'], [\'materials\']);\" ID=\"template4\" NAME=\"template4\" VALUE=\"lines_$materialcolor\"           > 
    1.21 +<input TYPE="image" src = "./images/templates/lines_$materialcolor.jpg"  onmouseover="pokedex(['args__lines'],['pokedex']);"	onclick="display(['template4'], ['display']); inputbox(['template4'], ['inputbox']);material(['template4'], ['materials']);" ID="template4" NAME="template4" VALUE="lines_$materialcolor"           > 
    1.22  	</div>
    1.23  	</div>
    1.24  
    1.25 -";
    1.26 +HERE
    1.27 +
    1.28  
    1.29  return $r;
    1.30  }