Mercurial > laserkard
changeset 0:599d0315537d laserkard
[svn r1] initial import
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/about.php Wed Dec 30 02:01:25 2009 -0500 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 +<head> 1.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 1.8 +<link rel="stylesheet" href="./main.css" type="text/css" media="screen" /> 1.9 +<title>Laser Kard</title> 1.10 +</head> 1.11 +<body> 1.12 + 1.13 +<?php include("top_menu.include"); ?> 1.14 + 1.15 + 1.16 +</body> 1.17 +</html>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/buy.html Wed Dec 30 02:01:25 2009 -0500 2.3 @@ -0,0 +1,65 @@ 2.4 +<html> 2.5 +<head> 2.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 2.7 +<link href="./main.css" rel="stylesheet" type="text/css"/> 2.8 +<link href="./sexy.css" rel="stylesheet" type="text/css"/> 2.9 + 2.10 + 2.11 +<title>Laserkard | Design Studio</title> 2.12 + 2.13 +<script type="text/javascript" src="./buycode.js"></script> 2.14 + 2.15 +</head> 2.16 + 2.17 +<body> 2.18 + 2.19 + 2.20 + 2.21 +PERL-REPLACE::TOP_MENU 2.22 + 2.23 + 2.24 +<div id="materials"> 2.25 + <form id="radiobuttons"> 2.26 + <h3>PICK your Materials?: </h3> 2.27 + 2.28 + <div class = "Acrylic"> 2.29 + Acrylic: 2.30 + <input TYPE="radio" onclick="template(['radio1'], ['templates']); " ID="radio1" NAME="radio" VALUE="basic_acrylic_clear"><a href="#">Clear</a> 2.31 + <input TYPE="radio" onclick="template(['radio2'], ['templates']); " ID="radio2" NAME="radio" VALUE="basic_acrylic_blue" ><a href="#">Blue</a> 2.32 + <input TYPE="radio" onclick="template(['radio3'], ['templates']); " ID="radio3" NAME="radio" VALUE="basic_acrylic_green"><a href="#">Green</a> 2.33 + 2.34 + </div> 2.35 + 2.36 + <div class = "Aluminum"> 2.37 + Aluminum: 2.38 + <input TYPE="radio" onclick="template(['radio4'], ['templates']); " ID="radio4" NAME="radio" VALUE="basic_aluminum_red"><a href="#">Red</a> 2.39 + <input TYPE="radio" onclick="template(['radio5'], ['templates']); " ID="radio5" NAME="radio" VALUE="basic_aluminum_blue"><a href="#">Blue</a> 2.40 + <input TYPE="radio" onclick="template(['radio6'], ['templates']); " ID="radio6" NAME="radio" VALUE="basic_aluminum_green"><a href="#">Green</a> 2.41 + <input TYPE="radio" onclick="template(['radio7'], ['templates']); " ID="radio7" NAME="radio" VALUE="basic_aluminum_black"><a href="#">Black</a> 2.42 + 2.43 + </div> 2.44 + 2.45 + 2.46 + </form> 2.47 +</div> 2.48 + 2.49 + 2.50 + 2.51 +<div id="templates" > 2.52 +</div> 2.53 + 2.54 +<div id="inputbox"> 2.55 +</div> 2.56 + 2.57 + 2.58 + 2.59 +<div id="display"> 2.60 +</div> 2.61 + 2.62 + 2.63 + 2.64 +</body> 2.65 + 2.66 +</html> 2.67 + 2.68 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/buy.pl Wed Dec 30 02:01:25 2009 -0500 3.3 @@ -0,0 +1,172 @@ 3.4 +#!/usr/bin/perl 3.5 + 3.6 + 3.7 +use List::Util qw(first max maxstr min minstr reduce shuffle sum); 3.8 +use Storable; 3.9 +use CGI::Ajax; 3.10 +use CGI; 3.11 + 3.12 + 3.13 + 3.14 +my $q = new CGI; 3.15 + 3.16 + 3.17 + 3.18 +my %hash = ( 3.19 + 3.20 +'material' => \&material, 3.21 +'template' => \&template, 3.22 +'inputbox' => \&inputbox, 3.23 +'display' => \&display, 3.24 +'change_rules' => \&change_rules); 3.25 + 3.26 + 3.27 + 3.28 +my $pjx = CGI::Ajax->new(%hash); 3.29 +#$pjx->JSDEBUG(1); 3.30 +#$pjx->DEBUG(1); 3.31 + 3.32 +print $pjx->build_html($q,\&gen); # this outputs the html for the page 3.33 + 3.34 + 3.35 + 3.36 + 3.37 + 3.38 +sub material{ 3.39 + 3.40 + $newvar = shift; 3.41 + 3.42 + my $t = $newvar; 3.43 + 3.44 + $newvar =~ m/([^_]*)_/; 3.45 + $newvar = $1; 3.46 + 3.47 + #return (($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked'); 3.48 + 3.49 + #$y = "$t<br>".(($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked')." 3.50 + $y = ""." 3.51 + <form id=\"radiobuttons\"> 3.52 + <h3>PICK your Materials?: </h3> 3.53 + 3.54 + <div class = \"Acrylic\"> 3.55 + Acrylic: 3.56 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_clear\"".(($t =~ m/_acrylic_clear/) ? 'CHECKED' : '')."><a href=\"\#\">Clear</a> 3.57 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_blue\"".(($t =~ m/_acrylic_blue/) ? 'CHECKED' : '')."><a href=\"\#\">Blue</a> 3.58 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_green\"".(($t =~ m/_acrylic_green/) ? 'CHECKED' : '')."><a href=\"\#\">Green</a> 3.59 + </div> 3.60 + 3.61 + <div class = \"Aluminum\"> 3.62 + Aluminum: 3.63 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_red\"".(($t =~ m/_aluminum_red/) ? 'CHECKED' : '')."><a href=\"\#\">Red</a> 3.64 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_blue\"".(($t =~ m/_aluminum_blue/) ? 'CHECKED' : '')."><a href=\"\#\">Blue</a> 3.65 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_green\"".(($t =~ m/_aluminum_green/) ? 'CHECKED' : '')."><a href=\"\#\">Green</a> 3.66 + <input TYPE=\"radio\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); inputbox([\'radio1\'], [\'inputbox\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_black\"".(($t =~ m/_aluminum_black/) ? 'CHECKED' : '')."><a href=\"\#\">Black</a> 3.67 + </div> 3.68 + 3.69 + 3.70 + </form> 3.71 + "; 3.72 + 3.73 + return $y; 3.74 + 3.75 + 3.76 +} 3.77 + 3.78 + 3.79 + 3.80 +sub template 3.81 +{ 3.82 + 3.83 +$all = shift; 3.84 +$all =~ m/_(.*)/; 3.85 + 3.86 +$materialcolor = $1; 3.87 + 3.88 + 3.89 +$r = " 3.90 + <input TYPE=\"image\" src = \"./templates/thumbnails/classic_$materialcolor.jpg\" onclick=\"display([\'template1\'], [\'display\']); inputbox([\'template1\'], [\'inputbox\']);material([\'template1\'], [\'materials\']);\" ID=\"template1\" NAME=\"template1\" VALUE=\"classic_$materialcolor\"> 3.91 + <input TYPE=\"image\" src = \"./templates/thumbnails/big_$materialcolor.jpg\" onclick=\"display([\'template2\'], [\'display\']); inputbox([\'template2\'], [\'inputbox\']);material([\'template2\'], [\'materials\']);\" ID=\"template2\" NAME=\"template2\" VALUE=\"big_$materialcolor\"> 3.92 + <input TYPE=\"image\" src = \"./templates/thumbnails/basic_$materialcolor.jpg\" onclick=\"display([\'template3\'], [\'display\']); inputbox([\'template3\'], [\'inputbox\']);material([\'template3\'], [\'materials\']);\" ID=\"template3\" NAME=\"template3\" VALUE=\"basic_$materialcolor\"> 3.93 + <input TYPE=\"image\" src = \"./templates/thumbnails/lines_$materialcolor.jpg\" onclick=\"display([\'template4\'], [\'display\']); inputbox([\'template4\'], [\'inputbox\']);material([\'template4\'], [\'materials\']);\" ID=\"template4\" NAME=\"template4\" VALUE=\"lines_$materialcolor\"> 3.94 + 3.95 + 3.96 +"; 3.97 + 3.98 +return $r; 3.99 +} 3.100 + 3.101 + 3.102 + 3.103 + 3.104 +sub inputbox 3.105 +{ 3.106 + 3.107 +#grab the type of template we'll be using <<<< 3.108 + $type = shift; 3.109 +# return $type; 3.110 +# we have to care about both the type of template and the material and the color. these are stored in $type>>>> 3.111 + 3.112 +#Then, update with a special custon paypal form, taken from the paypal folder and specially designed for that particular template. 3.113 +#will probaly eventually create a script to automate the generation of these files. 3.114 + 3.115 + 3.116 +#take care of everythign but acrylic clear type 3.117 +if (not($type =~ m/acrylic_clear/)) 3.118 +{ 3.119 +return "comming soon!"; 3.120 +} 3.121 + 3.122 + 3.123 +#every type has it's own associated paylist file the contains the things we need 3.124 +open FILE, "<./paypal/$type.paylist"; 3.125 +return do { local $/; <FILE> }; 3.126 + 3.127 + 3.128 + 3.129 +} 3.130 + 3.131 + 3.132 + 3.133 + 3.134 + 3.135 + 3.136 + 3.137 + 3.138 +sub display 3.139 +{ 3.140 + $all = shift; 3.141 + 3.142 + 3.143 + 3.144 + $t ="$all 3.145 + <input TYPE=\"image\" src = \"./templates/display/$all.jpg\" onclick=\"template([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"temp1\" NAME=\"temp1\" VALUE=\"\"> 3.146 + "; 3.147 + return $t; 3.148 + 3.149 +} 3.150 + 3.151 + 3.152 + 3.153 + 3.154 +sub gen 3.155 +{ 3.156 + { 3.157 + local( $/, *FH ) ; 3.158 + open( FH, "<./buy.html" ) or die "sudden flaming death\n"; 3.159 + $a = <FH>; 3.160 + } 3.161 + 3.162 + { 3.163 + local( $/, *FH ) ; 3.164 + open( FH, "<./top_menu.include" ) or die "sudden flaming death\n"; 3.165 + $b = <FH>; 3.166 + } 3.167 + 3.168 +$a =~ s/PERL-REPLACE::TOP_MENU/$b/; #equivalent to <?php include("top_menu.html"); ?>, but in perl with more memory problems :) 3.169 + 3.170 +return $a 3.171 + 3.172 + 3.173 +}; 3.174 + 3.175 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/buycode.js Wed Dec 30 02:01:25 2009 -0500 4.3 @@ -0,0 +1,185 @@ 4.4 +function Dollar (val) { // force to valid dollar amount 4.5 +var str,pos,rnd=0; 4.6 + if (val < .995) rnd = 1; // for old Netscape browsers 4.7 + str = escape (val*1.0 + 0.005001 + rnd); // float, round, escape 4.8 + pos = str.indexOf ("."); 4.9 + if (pos > 0) str = str.substring (rnd, pos + 3); 4.10 + return str; 4.11 +} 4.12 + 4.13 +var amt,des,obj,val,op1a,op1b,op2a,op2b,op3a,op3b,op4a,op4b,op5a,op5b,op6a,op6b,op7a,op7b,op8a,op8b,op9a,op9b,itmn; 4.14 + 4.15 +function ChkTok (obj1) { 4.16 +var j,tok,ary=new Array (); // where we parse 4.17 + ary = val.split (" "); // break apart 4.18 + for (j=0; j<ary.length; j++) { // look at all items 4.19 +// first we do single character tokens... 4.20 + if (ary[j].length < 2) continue; 4.21 + tok = ary[j].substring (0,1); // first character 4.22 + val = ary[j].substring (1); // get data 4.23 + if (tok == "@") amt = val * 1.0; 4.24 + if (tok == "+") amt = amt + val*1.0; 4.25 + if (tok == "%") amt = amt + (amt * val/100.0); 4.26 + if (tok == "-") amt = amt - val*1.0; 4.27 + if (tok == "#") { // record item number 4.28 + if (obj1.item_number) obj1.item_number.value = val; 4.29 + ary[j] = ""; // zap this array element 4.30 + } 4.31 +// Now we do 3-character tokens... 4.32 + if (ary[j].length < 4) continue; 4.33 + tok = ary[j].substring (0,3); // first 3 chars 4.34 + val = ary[j].substring (3); // get data 4.35 + if (tok == "s1=") { // value for shipping 4.36 + if (obj1.shipping) obj1.shipping.value = val; 4.37 + ary[j] = ""; // clear it out 4.38 + } 4.39 + if (tok == "s2=") { // value for shipping2 4.40 + if (obj1.shipping2) obj1.shipping2.value = val; 4.41 + ary[j] = ""; // clear it out 4.42 + } 4.43 + } 4.44 + val = ary.join (" "); // rebuild val with what's left 4.45 +} 4.46 + 4.47 +function StorVal () { 4.48 +var tag; 4.49 + tag = obj.name.substring (obj.name.length-2); // get flag 4.50 + if (tag == "1a") op1a = op1a + " " + val; 4.51 + else if (tag == "1b") op1b = op1b + " " + val; 4.52 + else if (tag == "2a") op2a = op2a + " " + val; 4.53 + else if (tag == "2b") op2b = op2b + " " + val; 4.54 + else if (tag == "3a") op3a = op3a + " " + val; 4.55 + else if (tag == "3b") op3b = op3b + " " + val; 4.56 + else if (tag == "4a") op4a = op4a + " " + val; 4.57 + else if (tag == "4b") op4b = op4b + " " + val; 4.58 + else if (tag == "5a") op5a = op5a + " " + val; 4.59 + else if (tag == "5b") op5b = op5b + " " + val; 4.60 + else if (tag == "6a") op6a = op6a + " " + val; 4.61 + else if (tag == "6b") op6b = op6b + " " + val; 4.62 + else if (tag == "7a") op7a = op7a + " " + val; 4.63 + else if (tag == "7b") op7b = op7b + " " + val; 4.64 + else if (tag == "8a") op8a = op8a + " " + val; 4.65 + else if (tag == "8b") op8b = op8b + " " + val; 4.66 + else if (tag == "9a") op9a = op9a + " " + val; 4.67 + else if (tag == "9b") op9b = op9b + " " + val; 4.68 + else if (tag == "3i") itmn = itmn + " " + val; 4.69 + else if (des.length == 0) des = val; 4.70 + else des = des + ", " + val; 4.71 +} 4.72 + 4.73 +function ReadForm (obj1, tst) { // Read the user form 4.74 +var i,j,pos; 4.75 + amt=0;des="";op1a="";op1b="";op2a="";op2b="";op3a="";op3b="";op4a="";op4b="";op5a="";op5b="";op6a="";op6b="";op7a="";op7b="";op8a="";op8b="";op9a="";op9b="";itmn=""; 4.76 + if (obj1.baseamt) amt = obj1.baseamt.value*1.0; // base amount 4.77 + if (obj1.basedes) des = obj1.basedes.value; // base description 4.78 + if (obj1.baseon0) op1a = obj1.baseon0.value; // base options 4.79 + if (obj1.baseos0) op1b = obj1.baseos0.value; 4.80 + if (obj1.baseon1) op2a = obj1.baseon1.value; 4.81 + if (obj1.baseos1) op2b = obj1.baseos1.value; 4.82 + if (obj1.baseon2) op3a = obj1.baseon2.value; 4.83 + if (obj1.baseos2) op3b = obj1.baseos2.value; 4.84 + if (obj1.baseon3) op4a = obj1.baseon3.value; 4.85 + if (obj1.baseos3) op4b = obj1.baseos3.value; 4.86 + if (obj1.baseon4) op5a = obj1.baseon4.value; 4.87 + if (obj1.baseos4) op5b = obj1.baseos4.value; 4.88 + if (obj1.baseon5) op6a = obj1.baseon5.value; 4.89 + if (obj1.baseos5) op6b = obj1.baseos5.value; 4.90 + if (obj1.baseon6) op7a = obj1.baseon6.value; 4.91 + if (obj1.baseos6) op7b = obj1.baseos6.value; 4.92 + if (obj1.baseon7) op8a = obj1.baseon7.value; 4.93 + if (obj1.baseos7) op8b = obj1.baseos7.value; 4.94 + if (obj1.baseon8) op9a = obj1.baseon8.value; 4.95 + if (obj1.baseos8) op9b = obj1.baseos8.value; 4.96 + if (obj1.baseitn) itmn = obj1.baseitn.value; 4.97 + for (i=0; i<obj1.length; i++) { // run entire form 4.98 + obj = obj1.elements[i]; // a form element 4.99 + 4.100 + 4.101 + 4.102 + 4.103 + 4.104 + if (obj.type == "select-one") { // just selects 4.105 + if (obj.name == "quantity" || 4.106 + obj.name == "amount") continue; 4.107 + pos = obj.selectedIndex; // which option selected 4.108 + val = obj.options[pos].value; // selected value 4.109 + ChkTok (obj1); // check for any specials 4.110 + 4.111 + if (obj.name == "on0" || // let this go where it wants 4.112 + obj.name == "os0" || 4.113 + obj.name == "on1" || 4.114 + obj.name == "os1" || 4.115 + obj.name == "on2" || 4.116 + obj.name == "os2" || 4.117 + obj.name == "on3" || 4.118 + obj.name == "os3" || 4.119 + obj.name == "on4" || 4.120 + obj.name == "os4" || 4.121 + obj.name == "on5" || 4.122 + obj.name == "os5" || 4.123 + obj.name == "on6" || 4.124 + obj.name == "os6" || 4.125 + obj.name == "on7" || 4.126 + obj.name == "os7" || 4.127 + obj.name == "on8" || 4.128 + obj.name == "os8" || 4.129 + obj.name == "on9" || 4.130 + obj.name == "os9") continue; 4.131 + 4.132 + StorVal (); 4.133 + 4.134 + } else 4.135 + if (obj.type == "checkbox" || // just get checkboxex 4.136 + obj.type == "radio") { // and radios 4.137 + if (obj.checked) { 4.138 + val = obj.value; // the value of the selection 4.139 + ChkTok (obj1); 4.140 + StorVal (); 4.141 + } 4.142 + } else 4.143 + if (obj.type == "select-multiple") { //one or more 4.144 + for (j=0; j<obj.options.length; j++) { // run all options 4.145 + if (obj.options[j].selected) { 4.146 + val = obj.options[j].value; // selected value (default) 4.147 + ChkTok (obj1); 4.148 + StorVal (); 4.149 + } 4.150 + } 4.151 + } else 4.152 + if ((obj.type == "text" || // just read text, 4.153 + obj.type == "textarea") && 4.154 + obj.name != "tot" && // but not from here 4.155 + obj.name != "quantity") { 4.156 + val = obj.value; // get the data 4.157 + //if (val == "" && tst) 4.158 + //{ // force an entry 4.159 + // alert ("Enter data for " + obj.id); 4.160 + // return false; 4.161 + //} 4.162 + StorVal (); 4.163 + } 4.164 + } 4.165 +// Now summarize stuff we just processed, above 4.166 + if (op1a.length > 0) obj1.on0.value = op1a; 4.167 + if (op1b.length > 0) obj1.os0.value = op1b; 4.168 + if (op2a.length > 0) obj1.on1.value = op2a; 4.169 + if (op2b.length > 0) obj1.os1.value = op2b; 4.170 + if (op3a.length > 0) obj1.on2.value = op3a; 4.171 + if (op3b.length > 0) obj1.os2.value = op3b; 4.172 + if (op4a.length > 0) obj1.on3.value = op4a; 4.173 + if (op4b.length > 0) obj1.os3.value = op4b; 4.174 + if (op5a.length > 0) obj1.on4.value = op5a; 4.175 + if (op5b.length > 0) obj1.os4.value = op5b; 4.176 + if (op6a.length > 0) obj1.on5.value = op6a; 4.177 + if (op6b.length > 0) obj1.os5.value = op6b; 4.178 + if (op7a.length > 0) obj1.on6.value = op7a; 4.179 + if (op7b.length > 0) obj1.os6.value = op7b; 4.180 + if (op8a.length > 0) obj1.on7.value = op8a; 4.181 + if (op8b.length > 0) obj1.os7.value = op8b; 4.182 + if (op9a.length > 0) obj1.on8.value = op9a; 4.183 + if (op9b.length > 0) obj1.os8.value = op9b; 4.184 + if (itmn.length > 0) obj1.item_number.value = itmn; 4.185 + obj1.item_name.value = des; 4.186 + obj1.amount.value = Dollar (amt); 4.187 + if (obj1.tot) obj1.tot.value = "$" + Dollar (amt); 4.188 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/cgi-bin/.htaccess Wed Dec 30 02:01:25 2009 -0500 5.3 @@ -0,0 +1,2 @@ 5.4 +Options +ExecCGI 5.5 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/contact.php Wed Dec 30 02:01:25 2009 -0500 6.3 @@ -0,0 +1,28 @@ 6.4 +<html> 6.5 +<head> 6.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6.7 + 6.8 + 6.9 +<STYLE TYPE="text/css" > 6.10 +<!-- 6.11 + @import url(./main.css); 6.12 + @import url(./sexy.css); 6.13 + DT { background: yellow; color: black } 6.14 +--> 6.15 +</STYLE> 6.16 + 6.17 + 6.18 +<title>Contact</title> 6.19 +</head> 6.20 + 6.21 +<body> 6.22 + 6.23 + 6.24 + 6.25 +<?php include("./top_menu.include"); ?> 6.26 + 6.27 + 6.28 + 6.29 +</body> 6.30 +</html> 6.31 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/dylan/badindex.html Wed Dec 30 02:01:25 2009 -0500 7.3 @@ -0,0 +1,33 @@ 7.4 +<html> 7.5 + 7.6 +<head> 7.7 + 7.8 +<link href="laserkard.css" rel="stylesheet" type="text/css" /> 7.9 +<script type="text/javascript"> 7.10 + 7.11 +</script> 7.12 +<title> laserkard personal branding service </title> 7.13 + 7.14 +</head> 7.15 + 7.16 + 7.17 +<body> 7.18 + 7.19 +<div class="main"> 7.20 +<h1 class="laser">LaserKard</h1> 7.21 +</div> 7.22 + 7.23 + 7.24 +<div class = "cards"> 7.25 +<br><br><br><br><br><br><br> 7.26 +<h2 class="buy">Buy</h2> 7.27 +<a href="./contact.html"><h2 class="contact">Contact</h2></a> 7.28 +<h2 class="about">About Us</h2> 7.29 +</div> 7.30 + 7.31 + 7.32 + 7.33 +</body> 7.34 + 7.35 + 7.36 +</html> 7.37 \ No newline at end of file
8.1 Binary file dylan/clr_000.jpg has changed
9.1 Binary file dylan/clr_001.jpg has changed
10.1 Binary file dylan/clr_002.jpg has changed
11.1 Binary file dylan/clr_003.jpg has changed
12.1 Binary file dylan/dot.jpg has changed
13.1 Binary file dylan/glow.gif has changed
14.1 Binary file dylan/glow.jpg has changed
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/dylan/goodindex.html Wed Dec 30 02:01:25 2009 -0500 15.3 @@ -0,0 +1,38 @@ 15.4 +<html> 15.5 + 15.6 +<head> 15.7 + 15.8 +<link href="laserkard.css" rel="stylesheet" type="text/css" /> 15.9 +<script type="text/javascript"> 15.10 +var n = 0; 15.11 +var a = new Array("#f00","#0f0","#00f") 15.12 +function pory() { 15.13 + var u = a[n%a.length] 15.14 + var v = a[(n+1)%a.length] 15.15 + document.body.style.backgroundColor = u; 15.16 + document.body.style.color = v; 15.17 + n++; 15.18 + setTimeout("pory()",50); 15.19 +} 15.20 +</script> 15.21 +<title> laserkard personal branding service </title> 15.22 + 15.23 +</head> 15.24 + 15.25 + 15.26 +<body onLoad="pory()"> 15.27 + 15.28 + 15.29 +<h1 class="laser">LaserKard</h1> 15.30 + 15.31 +<h2 class="buy">Buy</h2> 15.32 +<h2 class="contact">Contact</h2> 15.33 +<h2 class="about">About Us</h2> 15.34 + 15.35 + 15.36 + 15.37 + 15.38 +</body> 15.39 + 15.40 + 15.41 +</html> 15.42 \ No newline at end of file
16.1 Binary file dylan/grace.jpg has changed
17.1 Binary file dylan/grace_000.jpg has changed
18.1 Binary file dylan/grace_001.jpg has changed
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/dylan/index.html Wed Dec 30 02:01:25 2009 -0500 19.3 @@ -0,0 +1,34 @@ 19.4 +<html> 19.5 +<head> 19.6 +<link href="laserkard_dark.css" rel="stylesheet" type="text/css" /> 19.7 + <title>Laserkard | Personal branding service </title> 19.8 +</head> 19.9 +<body> 19.10 + 19.11 +<div class="case"> 19.12 +<div class="main"> 19.13 + 19.14 + <div class="logo"> 19.15 + <p class="slim">Personal Branding Service</p> 19.16 + </div> 19.17 + 19.18 + <div class = "lynx"> 19.19 + <a href="./buy.html">Our Portfolio</a> 19.20 + <a href="./about.html">About Us</a> 19.21 + </div> 19.22 + 19.23 +</div> 19.24 +</div> 19.25 + 19.26 + 19.27 + <p class="slim"> 19.28 + <ul class="contact"> 19.29 + <li><b>ph:</b> 580.716.7930</li> 19.30 + <li><b>e:</b> service@laserkard.com</li> 19.31 + </ul> 19.32 + </p> 19.33 + 19.34 +</body> 19.35 + 19.36 + 19.37 +</html> 19.38 \ No newline at end of file
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/dylan/laserkard.css Wed Dec 30 02:01:25 2009 -0500 20.3 @@ -0,0 +1,93 @@ 20.4 + 20.5 +p {margin-left:20px} 20.6 +body {} 20.7 +body 20.8 +{ 20.9 + 20.10 +margin:0; 20.11 +padding:0; 20.12 +background-color:red 20.13 +} 20.14 + 20.15 +.main 20.16 +{ 20.17 +position:relative; 20.18 +margin-left: auto ; 20.19 +margin-right: auto ; 20.20 +background-color:blue; 20.21 +width: 300px ; 20.22 +} 20.23 + 20.24 + 20.25 +.cards 20.26 +{ 20.27 +position:relative; 20.28 +width: 700px ; 20.29 +height: 300px; 20.30 +margin-left: auto; 20.31 +margin-right: auto; 20.32 +background-color:#00ff00; 20.33 + 20.34 +} 20.35 + 20.36 + 20.37 +h1 20.38 +{ 20.39 +width:250px; 20.40 +padding:10px; 20.41 +border:5px solid gray; 20.42 +margin:10px; 20.43 +min-width: 200px; 20.44 +min-height: 200px; 20.45 + 20.46 + 20.47 +} 20.48 + 20.49 + 20.50 +.contact 20.51 +{ 20.52 +position:absolute; 20.53 +left:10px; 20.54 +top:5px; 20.55 +background-color:#FEE2F9; 20.56 +min-width: 245px; 20.57 +min-height: 140px; 20.58 + 20.59 + 20.60 + 20.61 + 20.62 +} 20.63 +a:link {color:#FF0000} /* unvisited link */ 20.64 +a:visited {color:#00FF00} /* visited link */ 20.65 +a:hover {color:#FF00FF} /* mouse over link */ 20.66 +a:active {color:#0000FF} /* selected link */ 20.67 + 20.68 + 20.69 + 20.70 + 20.71 +.buy 20.72 +{ 20.73 +position:absolute; 20.74 +left:100px; 20.75 +top:300px; 20.76 +background-color:#423333; 20.77 +} 20.78 + 20.79 + 20.80 + 20.81 + 20.82 + 20.83 + 20.84 +.about 20.85 +{ 20.86 +position:absolute; 20.87 +left:100px; 20.88 +top:300px; 20.89 +background-color:#9373fa; 20.90 +} 20.91 + 20.92 + 20.93 + 20.94 + 20.95 + 20.96 +
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/dylan/laserkard_dark.css Wed Dec 30 02:01:25 2009 -0500 21.3 @@ -0,0 +1,60 @@ 21.4 +html,body,p{padding:0px;margin:0px;} 21.5 + 21.6 +h1,h2,h3,h4,h5,h6{margin:4px;padding:0px;} 21.7 +ul,li{list-style-type:none;} 21.8 +li{display:inline;padding:0px 1em;} 21.9 + 21.10 +body{ 21.11 + padding:48px; 21.12 + font:14px "Palatino Linotype","Times New Roman",serif; 21.13 + font-family:"Lucida Grande","UI Genoe",Arial,Helvetica,Verdana,sans-serif; 21.14 + background:#000; 21.15 + color:#fff; 21.16 + text-align:center; 21.17 + 21.18 +} 21.19 + 21.20 +a{color:#0af;text-decoration:none;margin:0px 1.5em;font-size:115%!important;} 21.21 +a:hover{text-decoration:underline;} 21.22 + 21.23 + 21.24 +div.case{ 21.25 + border:1px solid #333; 21.26 + width:600px; 21.27 + padding:4px; 21.28 + margin:8% auto; 21.29 +} 21.30 +div.main { 21.31 + border:1px solid #333;border:none; 21.32 + text-align:center; 21.33 + padding:64px; 21.34 + padding-bottom:24px; 21.35 + background:#000 url("grace_000.jpg") no-repeat; 21.36 + background-position:96% center; 21.37 + background:#000; 21.38 +} 21.39 + 21.40 +div.lynx{margin:2em 0px;} 21.41 + 21.42 + 21.43 +.logo{ 21.44 + background:transparent url("logo.jpg") no-repeat; 21.45 + background-position:top center; 21.46 + display:block; 21.47 + width:360px; 21.48 + padding-top:75px; 21.49 + margin:2px auto;margin-bottom:2em; 21.50 +} 21.51 + 21.52 +.slim, .contact li{ 21.53 + font-size:14px; 21.54 + color:#ccc; 21.55 + letter-spacing:2px; 21.56 + word-spacing:.5em; 21.57 +} 21.58 + 21.59 + 21.60 +.contact li { font-size:12px;color:#666;} 21.61 +.contact li b{color:#888;} 21.62 + 21.63 +
22.1 Binary file dylan/logo.jpg has changed
23.1 Binary file dylan/logo_000.jpg has changed
24.1 Binary file dylan/logo_001.jpg has changed
25.1 Binary file dylan/logo_002.jpg has changed
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/filter.pm Wed Dec 30 02:01:25 2009 -0500 26.3 @@ -0,0 +1,26 @@ 26.4 +package Filter; 26.5 +use base 'Exporter'; 26.6 +our @EXPORT = ('filter'); 26.7 + 26.8 + 26.9 +sub filter 26.10 +{ 26.11 + 26.12 + $ref = shift; 26.13 + @list = @_; 26.14 + my @ret = (); 26.15 + 26.16 + for $element(@list) 26.17 + { 26.18 + if ($ref->($element)) 26.19 + { 26.20 + push @ret, $element; 26.21 + } 26.22 + } 26.23 + 26.24 + return @ret 26.25 + 26.26 +} 26.27 + 26.28 + 26.29 +1; 26.30 \ No newline at end of file
27.1 Binary file images/Website Pic Edit Clean2.jpg has changed
28.1 Binary file images/asdswt_sm.jpg has changed
29.1 Binary file images/bl_sm.jpg has changed
30.1 Binary file images/gr_sm.jpg has changed
31.1 Binary file images/kkwt_sm.jpg has changed
32.1 Binary file images/oldbl_sm.jpg has changed
33.1 Binary file images/oldgr_sm.jpg has changed
34.1 Binary file images/oldor_sm.jpg has changed
35.1 Binary file images/or_sm.jpg has changed
36.1 Binary file images/topbar.png has changed
37.1 Binary file images/wt_sm.jpg has changed
38.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 38.2 +++ b/index.php Wed Dec 30 02:01:25 2009 -0500 38.3 @@ -0,0 +1,30 @@ 38.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 38.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 38.6 +<head> 38.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 38.8 +<link rel="stylesheet" href="main.css" type="text/css" media="screen" /> 38.9 +<title>Laser Kard</title> 38.10 +</head> 38.11 +<body> 38.12 + 38.13 + 38.14 + 38.15 +<?php include("top_menu.include"); ?> 38.16 + 38.17 + 38.18 + 38.19 +<div class="center"> 38.20 + <a href="."><img src="./images/wt_sm.jpg" name="but" border="0"></a> 38.21 +<div class="text"> 38.22 + <p>Competition is tough. Everyone wants that next job, that next opportunity.<br> 38.23 + Everyone looks the same. <br /> 38.24 + Same suit, same hair, same business card.</p> 38.25 + <p>But not you &mdash laserkard is a unique way to make an impact when it counts.</p> 38.26 +</div> 38.27 + 38.28 +</div> 38.29 + 38.30 + 38.31 + 38.32 +</body> 38.33 +</html>
39.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 39.2 +++ b/main.css Wed Dec 30 02:01:25 2009 -0500 39.3 @@ -0,0 +1,139 @@ 39.4 +@charset "UTF-8"; 39.5 +/* CSS Document */ 39.6 +body 39.7 +{ 39.8 + background-color:#000; 39.9 + margin:0; 39.10 + margin-top:-4px; 39.11 + padding:0; 39.12 + 39.13 + 39.14 + 39.15 + 39.16 +} 39.17 +div.topbar 39.18 +{ 39.19 + background-repeat:repeat-x; 39.20 + height:60px; 39.21 + margin-top:2px; 39.22 +} 39.23 +div.headlinks 39.24 +{ 39.25 + font-family: Helvetica, sans-serif, Arial; 39.26 + text-transform:uppercase; 39.27 + font-weight:bold; 39.28 + text-align:center; 39.29 + color:#000; 39.30 + padding-top:1px; 39.31 + margin-top:0px; 39.32 + margin-left:-30px; 39.33 +} 39.34 +div.headlinks a 39.35 +{ 39.36 + text-decoration:none; 39.37 + color:#666; 39.38 + text-shadow:#555 0px 0px 5px; 39.39 +} 39.40 +div.headlinks a:hover 39.41 +{ 39.42 + text-decoration:none; 39.43 + color:#333; 39.44 + text-shadow:#222 0px 0px 8px; 39.45 +} 39.46 +div.headlinks ul 39.47 +{ 39.48 + margin-top:10px; 39.49 +} 39.50 +div.headlinks ul li 39.51 +{ 39.52 + text-align:center; 39.53 + display: inline; 39.54 + list-style-type: none; 39.55 + padding-left: 90px; 39.56 + padding-right: 90px; 39.57 +} 39.58 +attn 39.59 +{ 39.60 + color:#777; 39.61 +} 39.62 +attn:hover 39.63 +{ 39.64 + color:#444; 39.65 +} 39.66 +div.center 39.67 +{ 39.68 + display:block; 39.69 + width:425px; 39.70 + height:244px; 39.71 + background-color:#939; 39.72 + margin-left:auto; 39.73 + margin-right:auto; 39.74 + margin-top:100px; 39.75 + margin-bottom:auto; 39.76 + padding:0px; 39.77 +} 39.78 +div.text 39.79 +{ 39.80 + color:#888; 39.81 + font-family:Helvetica, sans-serif, Arial; 39.82 + font-size:11px; 39.83 + margin-top:80px; 39.84 + margin-bottom:30px; 39.85 +} 39.86 +div.leftslab 39.87 +{ 39.88 + float:left; 39.89 + width:400px; 39.90 + position:relative; 39.91 + left:50%; 39.92 + margin-left:-200px; 39.93 +} 39.94 +div.templates 39.95 +{ 39.96 + margin-left:auto; 39.97 + margin-right:auto; 39.98 + width:300px; 39.99 + background-color:#333; 39.100 + border:thin; 39.101 + border-color:#FFF; 39.102 + color:#FFF; 39.103 + font-family:Arial, Helvetica, sans-serif; 39.104 + font-size:11px; 39.105 +} 39.106 +div.materials 39.107 +{ 39.108 + margin-left:auto; 39.109 + margin-right:auto; 39.110 + width:300px; 39.111 + background-color:#333; 39.112 + border:thin; 39.113 + border-color:#FFF; 39.114 + color:#FFF; 39.115 + font-family:Arial, Helvetica, sans-serif; 39.116 + font-size:11px; 39.117 +} 39.118 +div.inputbox 39.119 +{ 39.120 + margin-left:auto; 39.121 + margin-right:auto; 39.122 + width:300px; 39.123 + background-color:#333; 39.124 + border:thin; 39.125 + border-color:#FFF; 39.126 + color:#FFF; 39.127 + font-family:Arial, Helvetica, sans-serif; 39.128 + font-size:11px; 39.129 +} 39.130 +div.rightslab 39.131 +{ 39.132 + float:left; 39.133 + width:400px; 39.134 + position:relative; 39.135 + left:50%; 39.136 + margin-left:0; 39.137 +} 39.138 +img 39.139 +{ 39.140 + margin:0; 39.141 + padding:0; 39.142 +}
40.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 40.2 +++ b/not-used/about.html Wed Dec 30 02:01:25 2009 -0500 40.3 @@ -0,0 +1,23 @@ 40.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 40.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 40.6 +<head> 40.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 40.8 +<link rel="stylesheet" href="../main.css" type="text/css" media="screen" /> 40.9 +<title>Laser Kard</title> 40.10 +</head> 40.11 +<body> 40.12 + 40.13 +<div class="topbar"> 40.14 +<div class="headlinks"> 40.15 + <ul> 40.16 + <li><a href="./about.pl" onmouseover="document.but.src='images/bl_sm.jpg'">About</a></li> 40.17 + <li><a href="./buy.pl" onmouseover="document.but.src='images/gr_sm.jpg'">Buy</a></li> 40.18 + <li><a href="GHI" onmouseover="document.but.src='images/or_sm.jpg'">Contact</a></li> 40.19 + </ul> 40.20 +</div> 40.21 +</div> 40.22 + 40.23 + 40.24 + 40.25 +</body> 40.26 +</html>
41.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 41.2 +++ b/not-used/about.pl Wed Dec 30 02:01:25 2009 -0500 41.3 @@ -0,0 +1,16 @@ 41.4 +#!/usr/bin/perl 41.5 + 41.6 + 41.7 +sub gen 41.8 +{ 41.9 +open FILE, "<./about.php"; 41.10 +return do { local $/; <FILE> }; 41.11 + 41.12 +}; 41.13 + 41.14 +print "Content-type: text/html\n\n"; 41.15 + 41.16 +$rr = &gen(); 41.17 +print "\n"; 41.18 +print $rr; 41.19 +print "\n";
42.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 42.2 +++ b/not-used/buy.php Wed Dec 30 02:01:25 2009 -0500 42.3 @@ -0,0 +1,77 @@ 42.4 +<html> 42.5 +<head> 42.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 42.7 + 42.8 + 42.9 +<STYLE TYPE="text/css" > 42.10 +<!-- 42.11 + @import url(./main.css); 42.12 + @import url(./sexy.css); 42.13 + DT { background: yellow; color: black } 42.14 +--> 42.15 +</STYLE> 42.16 + 42.17 + 42.18 + 42.19 +<title>BUY LASERKARDS!!!</title> 42.20 + 42.21 +<script type="text/javascript" src="./buycode.js"></script> 42.22 + 42.23 +</head> 42.24 + 42.25 +<body> 42.26 + 42.27 + 42.28 + 42.29 + 42.30 +<?php include("top_menu.html"); ?> 42.31 + 42.32 + 42.33 +<div id="materials"> 42.34 + 42.35 + 42.36 + 42.37 + <form id="radiobuttons"> 42.38 + <h3>PICK your Materials?: </h3> 42.39 + 42.40 + <div class = "Acrylic"> 42.41 + Acrylic: 42.42 + <input TYPE="radio" onclick="template(['radio1'], ['templates']); " ID="radio1" NAME="radio" VALUE="basic_acrylic_clear"><a href="#">Clear</a> 42.43 + <input TYPE="radio" onclick="template(['radio2'], ['templates']); " ID="radio2" NAME="radio" VALUE="basic_acrylic_blue" ><a href="#">Blue</a> 42.44 + <input TYPE="radio" onclick="template(['radio3'], ['templates']); " ID="radio3" NAME="radio" VALUE="basic_acrylic_green"><a href="#">Green</a> 42.45 + 42.46 + </div> 42.47 + 42.48 + <div class = "Aluminum"> 42.49 + Aluminum: 42.50 + <input TYPE="radio" onclick="template(['radio4'], ['templates']); " ID="radio4" NAME="radio" VALUE="basic_aluminum_red"><a href="#">Red</a> 42.51 + <input TYPE="radio" onclick="template(['radio5'], ['templates']); " ID="radio5" NAME="radio" VALUE="basic_aluminum_blue"><a href="#">Blue</a> 42.52 + <input TYPE="radio" onclick="template(['radio6'], ['templates']); " ID="radio6" NAME="radio" VALUE="basic_aluminum_green"><a href="#">Green</a> 42.53 + <input TYPE="radio" onclick="template(['radio7'], ['templates']); " ID="radio7" NAME="radio" VALUE="basic_aluminum_black"><a href="#">Black</a> 42.54 + 42.55 + </div> 42.56 + 42.57 + 42.58 + </form> 42.59 +</div> 42.60 + 42.61 + 42.62 + 42.63 +<div id="templates" > 42.64 +</div> 42.65 + 42.66 +<div id="inputbox"> 42.67 +</div> 42.68 + 42.69 + 42.70 + 42.71 +<div id="display"> 42.72 +</div> 42.73 + 42.74 + 42.75 + 42.76 +</body> 42.77 + 42.78 +</html> 42.79 + 42.80 +
43.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 43.2 +++ b/not-used/buy2.html Wed Dec 30 02:01:25 2009 -0500 43.3 @@ -0,0 +1,77 @@ 43.4 +<html> 43.5 +<head> 43.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 43.7 +<link rel="stylesheet" href="../akward.css" type="text/css" media="screen" /> 43.8 +<title>BUY LASERKARDS!!!</title> 43.9 +</head> 43.10 + 43.11 +<body> 43.12 + 43.13 + 43.14 + 43.15 + 43.16 +<div class="leftslab"> 43.17 + <div id="materials"> 43.18 + 43.19 + 43.20 + 43.21 + <form id="radiobuttons"> 43.22 + <h3>PICK your Materials?: </h3> 43.23 + 43.24 + <div class = "Acrylic"> 43.25 + Acrylic: 43.26 + <input TYPE="radio" onclick="template_material(['radio1'], ['templates']);display(['radio1'], ['display']); " ID="radio1" NAME="radio" VALUE="basic_acrylic_clear"><a href="#">Clear</a> 43.27 + <input TYPE="radio" onclick="template_material(['radio2'], ['templates']);display(['radio2'], ['display']); " ID="radio2" NAME="radio" VALUE="basic_acrylic_blue" CHECKED ><a href="#">Blue</a> 43.28 + <input TYPE="radio" onclick="template_material(['radio3'], ['templates']);display(['radio3'], ['display']); " ID="radio3" NAME="radio" VALUE="basic_acrylic_green"><a href="#">Green</a> 43.29 + 43.30 + </div> 43.31 + 43.32 + <div class = "Aluminum"> 43.33 + Aluminum: 43.34 + <input TYPE="radio" onclick="template_material(['radio4'], ['templates']);display(['radio4'], ['display']); " ID="radio4" NAME="radio" VALUE="basic_aluminum_red"><a href="#">Red</a> 43.35 + <input TYPE="radio" onclick="template_material(['radio5'], ['templates']);display(['radio5'], ['display']); " ID="radio5" NAME="radio" VALUE="basic_aluminum_blue"><a href="#">Blue</a> 43.36 + <input TYPE="radio" onclick="template_material(['radio6'], ['templates']);display(['radio6'], ['display']); " ID="radio6" NAME="radio" VALUE="basic_aluminum_green"><a href="#">Green</a> 43.37 + <input TYPE="radio" onclick="template_material(['radio7'], ['templates']);display(['radio7'], ['display']); " ID="radio7" NAME="radio" VALUE="basic_aluminum_black"><a href="#">Black</a> 43.38 + 43.39 + </div> 43.40 + 43.41 + 43.42 + </form> 43.43 + </div> 43.44 + 43.45 + <div id="templates"> 43.46 + 43.47 + <input TYPE="image" src = "./templates/thumbnails/classic_acrylic_blue.jpg" onclick="display(['template1'], ['display']); inputbox_template(['template1'], ['inputbox']);materials_template(['template1'], ['materials']);" ID="template1" NAME="template1" VALUE="classic_acrylic_blue"> 43.48 + <input TYPE="image" src = "./templates/thumbnails/big_acrylic_blue.jpg" onclick="display(['template2'], ['display']); inputbox_template(['template2'], ['inputbox']);materials_template(['template2'], ['materials']);" ID="template2" NAME="template2" VALUE="big_acrylic_blue"> 43.49 + <input TYPE="image" src = "./templates/thumbnails/basic_acrylic_blue.jpg" onclick="display(['template3'], ['display']); inputbox_template(['template3'], ['inputbox']);materials_template(['template3'], ['materials']);" ID="template3" NAME="template3" VALUE="basic_acrylic_blue"> 43.50 + <input TYPE="image" src = "./templates/thumbnails/lines_acrylic_blue.jpg" onclick="display(['template4'], ['display']); inputbox_template(['template4'], ['inputbox']);materials_template(['template4'], ['materials']);" ID="template4" NAME="template4" VALUE="lines_acrylic_blue"> 43.51 + </div> 43.52 + 43.53 + 43.54 + 43.55 + 43.56 + 43.57 + <div id="inputbox"> 43.58 + 43.59 + 43.60 + custom form for the card<br> 43.61 + <input type="button" id="b2" value="buy the stuff!"> 43.62 + </div> 43.63 + 43.64 +</div> 43.65 + 43.66 + 43.67 +<div class="rightslab"> 43.68 + <div id="display"> 43.69 + <input TYPE="image" src = "./templates/display/basic_acrylic_blue.jpg" ID="temp1" NAME="temp1" VALUE="aluminum_black"> 43.70 + 43.71 + </div> 43.72 +</div> 43.73 + 43.74 + 43.75 +</body> 43.76 + 43.77 +</html> 43.78 + 43.79 + 43.80 +
44.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 44.2 +++ b/not-used/buy2.pl Wed Dec 30 02:01:25 2009 -0500 44.3 @@ -0,0 +1,142 @@ 44.4 +#!/usr/bin/perl 44.5 + 44.6 + 44.7 +use List::Util qw(first max maxstr min minstr reduce shuffle sum); 44.8 +use Storable; 44.9 +use CGI::Ajax; 44.10 +use CGI; 44.11 + 44.12 + 44.13 + 44.14 +my $q = new CGI; 44.15 + 44.16 + 44.17 + 44.18 +my %hash = ( 44.19 +'template_material' => \&template_material, 44.20 + 44.21 + 44.22 + 44.23 +'materials_template' => \&materials_template, 44.24 +'display' => \&display, 44.25 +'inputbox_template' => \&inputbox_template, 44.26 + 44.27 + 44.28 + 'change_rules' => \&change_rules); 44.29 + 44.30 + 44.31 + 44.32 +my $pjx = CGI::Ajax->new(%hash); 44.33 +#$pjx->JSDEBUG(1); 44.34 +#$pjx->DEBUG(1); 44.35 + 44.36 +print $pjx->build_html($q,\&gen); # this outputs the html for the page 44.37 + 44.38 + 44.39 + 44.40 + 44.41 + 44.42 + 44.43 +sub template_material 44.44 +{ 44.45 + 44.46 +$all = shift; 44.47 +$all =~ m/_(.*)/; 44.48 + 44.49 +$materialcolor = $1; 44.50 + 44.51 + 44.52 +$r = "$materialcolor 44.53 + <input TYPE=\"image\" src = \"./templates/thumbnails/classic_$materialcolor.jpg\" onclick=\"display([\'template1\'], [\'display\']); inputbox_template([\'template1\'], [\'inputbox\']);materials_template([\'template1\'], [\'materials\']);\" ID=\"template1\" NAME=\"template1\" VALUE=\"classic_$materialcolor\"> 44.54 + <input TYPE=\"image\" src = \"./templates/thumbnails/big_$materialcolor.jpg\" onclick=\"display([\'template2\'], [\'display\']); inputbox_template([\'template2\'], [\'inputbox\']);materials_template([\'template2\'], [\'materials\']);\" ID=\"template2\" NAME=\"template2\" VALUE=\"big_$materialcolor\"> 44.55 + <input TYPE=\"image\" src = \"./templates/thumbnails/basic_$materialcolor.jpg\" onclick=\"display([\'template3\'], [\'display\']); inputbox_template([\'template3\'], [\'inputbox\']);materials_template([\'template3\'], [\'materials\']);\" ID=\"template3\" NAME=\"template3\" VALUE=\"basic_$materialcolor\"> 44.56 + <input TYPE=\"image\" src = \"./templates/thumbnails/lines_$materialcolor.jpg\" onclick=\"display([\'template4\'], [\'display\']); inputbox_template([\'template4\'], [\'inputbox\']);materials_template([\'template4\'], [\'materials\']);\" ID=\"template4\" NAME=\"template4\" VALUE=\"lines_$materialcolor\"> 44.57 + 44.58 + 44.59 +"; 44.60 + 44.61 +return $r; 44.62 +} 44.63 + 44.64 + 44.65 + 44.66 +sub display 44.67 +{ 44.68 + $all = shift; 44.69 + 44.70 + 44.71 + 44.72 + $t ="$all 44.73 + <input TYPE=\"image\" src = \"./templates/display/$all.jpg\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"temp1\" NAME=\"temp1\" VALUE=\"\"> 44.74 + "; 44.75 + return $t; 44.76 + 44.77 +} 44.78 + 44.79 + 44.80 + 44.81 + 44.82 +sub materials_template{ 44.83 + 44.84 + $newvar = shift; 44.85 + 44.86 + my $t = $newvar; 44.87 + 44.88 + $newvar =~ m/([^_]*)_/; 44.89 + $newvar = $1; 44.90 + 44.91 + #return (($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked'); 44.92 + 44.93 + $y = "$t<br>".(($t =~ m/_acrylic_green/) ? 'CHECKED' : 'notchecked')." 44.94 + <form id=\"radiobuttons\"> 44.95 + <h3>PICK your Materials?: </h3> 44.96 + 44.97 + <div class = \"Acrylic\"> 44.98 + Acrylic: 44.99 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_clear\"".(($t =~ m/_acrylic_clear/) ? 'CHECKED' : '')."><a href=\"\#\">Clear</a> 44.100 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_blue\"".(($t =~ m/_acrylic_blue/) ? 'CHECKED' : '')."><a href=\"\#\">Blue</a> 44.101 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_acrylic_green\"".(($t =~ m/_acrylic_green/) ? 'CHECKED' : '')."><a href=\"\#\">Green</a> 44.102 + </div> 44.103 + 44.104 + <div class = \"Aluminum\"> 44.105 + Aluminum: 44.106 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_red\"".(($t =~ m/_aluminum_red/) ? 'CHECKED' : '')."><a href=\"\#\">Red</a> 44.107 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_blue\"".(($t =~ m/_aluminum_blue/) ? 'CHECKED' : '')."><a href=\"\#\">Blue</a> 44.108 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_green\"".(($t =~ m/_aluminum_green/) ? 'CHECKED' : '')."><a href=\"\#\">Green</a> 44.109 + <input TYPE=\"radio\" onclick=\"template_material([\'radio1\'], [\'templates\']);display([\'radio1\'], [\'display\']); \" ID=\"radio1\" NAME=\"radio1\" VALUE=\"".$newvar."_aluminum_black\"".(($t =~ m/_aluminum_black/) ? 'CHECKED' : '')."><a href=\"\#\">Black</a> 44.110 + </div> 44.111 + 44.112 + 44.113 + </form> 44.114 + "; 44.115 + 44.116 + 44.117 + 44.118 + 44.119 +} 44.120 + 44.121 +sub inputbox_template 44.122 +{ 44.123 + $all = shift; 44.124 + return $all; 44.125 +} 44.126 + 44.127 + 44.128 + 44.129 + 44.130 + 44.131 + 44.132 + 44.133 + 44.134 + 44.135 + 44.136 + 44.137 + 44.138 +sub gen 44.139 +{ 44.140 +open FILE, "<./buy2.html"; 44.141 +return do { local $/; <FILE> }; 44.142 + 44.143 +}; 44.144 + 44.145 +
45.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 45.2 +++ b/not-used/buy3.html Wed Dec 30 02:01:25 2009 -0500 45.3 @@ -0,0 +1,69 @@ 45.4 + 45.5 +<html> 45.6 +<head> 45.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 45.8 +<link rel="stylesheet" href="../celegans.css" type="text/css" media="screen" /> 45.9 +<title>Laserkard | Design Studio</title> 45.10 +</head> 45.11 + 45.12 +<body> 45.13 + 45.14 + 45.15 + 45.16 + 45.17 +<div class="leftslab"> 45.18 + <div id="materials"> 45.19 + <form id="radiobuttons"> 45.20 + <h3><em>1</em>Select a material</h3> 45.21 + <table> 45.22 + <tr><td><div class = "select_material" id="acrylic"> 45.23 + <h4>Acrylic series:</h4> 45.24 + <input TYPE="radio" checked onclick="template(['radio1'], ['templates']); " ID="radio1" NAME="radio" VALUE="basic_acrylic_clear"><a href="#">Clear</a> 45.25 + <input TYPE="radio" onclick="template(['radio2'], ['templates']); " ID="radio2" NAME="radio" VALUE="basic_acrylic_blue" ><a href="#">Blue</a> 45.26 + <input TYPE="radio" onclick="template(['radio3'], ['templates']); " ID="radio3" NAME="radio" VALUE="basic_acrylic_green"><a href="#">Green</a> 45.27 + </div></td> 45.28 + 45.29 + <td><div class = "select_material" id="aluminum"> 45.30 + <h4>Aluminum series:</h4> 45.31 + <input TYPE="radio" onclick="template(['radio4'], ['templates']); " ID="radio4" NAME="radio" VALUE="basic_aluminum_red"><a href="#">Red</a> 45.32 + <input TYPE="radio" onclick="template(['radio5'], ['templates']); " ID="radio5" NAME="radio" VALUE="basic_aluminum_blue"><a href="#">Blue</a> 45.33 + <input TYPE="radio" onclick="template(['radio6'], ['templates']); " ID="radio6" NAME="radio" VALUE="basic_aluminum_green"><a href="#">Green</a> 45.34 + <input TYPE="radio" onclick="template(['radio7'], ['templates']); " ID="radio7" NAME="radio" VALUE="basic_aluminum_black"><a href="#">Black</a> 45.35 + </div></td></tr></table> 45.36 + </form> 45.37 + <form id="radiobuttons2"> 45.38 + <h3><em>2</em>Select a layout</h3> 45.39 + <img src="../templates/thumbnails/classic_acrylic_clear.jpg"/> 45.40 + <img src="../templates/thumbnails/big_acrylic_clear.jpg"/> 45.41 + <img src="../templates/thumbnails/basic_acrylic_clear.jpg"/> 45.42 + <img src="../templates/thumbnails/lines_acrylic_clear.jpg"/> 45.43 + </form> 45.44 + </div> 45.45 + 45.46 + 45.47 + 45.48 + <div id="templates"> 45.49 + 45.50 + 45.51 + </div> 45.52 + 45.53 + 45.54 + 45.55 + 45.56 + <div id="inputbox"> 45.57 + </div> 45.58 + 45.59 +</div> 45.60 + 45.61 + 45.62 +<div class="rightslab"> 45.63 + <div id="display"> 45.64 + </div> 45.65 +</div> 45.66 + 45.67 + 45.68 +</body> 45.69 + 45.70 +</html> 45.71 + 45.72 +
46.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 46.2 +++ b/not-used/buybkup.html Wed Dec 30 02:01:25 2009 -0500 46.3 @@ -0,0 +1,63 @@ 46.4 +<html> 46.5 +<head> 46.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 46.7 +<link rel="stylesheet" href="../akward.css" type="text/css" media="screen" /> 46.8 +<title>BUY LASERKARDS!!!</title> 46.9 + 46.10 +<script type="text/javascript" src="./buycode.js"></script> 46.11 + 46.12 +</head> 46.13 + 46.14 +<body> 46.15 + 46.16 + 46.17 + 46.18 + 46.19 +<div id="materials"> 46.20 + 46.21 + 46.22 + 46.23 + <form id="radiobuttons"> 46.24 + <h3>PICK your Materials?: </h3> 46.25 + 46.26 + <div class = "Acrylic"> 46.27 + Acrylic: 46.28 + <input TYPE="radio" onclick="template(['radio1'], ['templates']); " ID="radio1" NAME="radio" VALUE="basic_acrylic_clear"><a href="#">Clear</a> 46.29 + <input TYPE="radio" onclick="template(['radio2'], ['templates']); " ID="radio2" NAME="radio" VALUE="basic_acrylic_blue" ><a href="#">Blue</a> 46.30 + <input TYPE="radio" onclick="template(['radio3'], ['templates']); " ID="radio3" NAME="radio" VALUE="basic_acrylic_green"><a href="#">Green</a> 46.31 + 46.32 + </div> 46.33 + 46.34 + <div class = "Aluminum"> 46.35 + Aluminum: 46.36 + <input TYPE="radio" onclick="template(['radio4'], ['templates']); " ID="radio4" NAME="radio" VALUE="basic_aluminum_red"><a href="#">Red</a> 46.37 + <input TYPE="radio" onclick="template(['radio5'], ['templates']); " ID="radio5" NAME="radio" VALUE="basic_aluminum_blue"><a href="#">Blue</a> 46.38 + <input TYPE="radio" onclick="template(['radio6'], ['templates']); " ID="radio6" NAME="radio" VALUE="basic_aluminum_green"><a href="#">Green</a> 46.39 + <input TYPE="radio" onclick="template(['radio7'], ['templates']); " ID="radio7" NAME="radio" VALUE="basic_aluminum_black"><a href="#">Black</a> 46.40 + 46.41 + </div> 46.42 + 46.43 + 46.44 + </form> 46.45 +</div> 46.46 + 46.47 + 46.48 + 46.49 +<div id="templates" > 46.50 +</div> 46.51 + 46.52 +<div id="inputbox"> 46.53 +</div> 46.54 + 46.55 + 46.56 + 46.57 +<div id="display"> 46.58 +</div> 46.59 + 46.60 + 46.61 + 46.62 +</body> 46.63 + 46.64 +</html> 46.65 + 46.66 +
47.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 47.2 +++ b/not-used/celegans.css Wed Dec 30 02:01:25 2009 -0500 47.3 @@ -0,0 +1,48 @@ 47.4 +html,body,table{ font:12px Helvetica,Arial,sans-serif;color:#fff;margin:0px;padding:0px;} 47.5 +body{ 47.6 + background:#000; 47.7 + margin:0px; 47.8 + padding:12px; 47.9 +} 47.10 + 47.11 + 47.12 +.leftslab form{margin-bottom:4em;} 47.13 + 47.14 + 47.15 +div.leftslab{ 47.16 + float:left; 47.17 + width:520px; 47.18 + border:1px solid #888; 47.19 + padding:16px; 47.20 + padding-top:30px; 47.21 + 47.22 + margin-left:24px; 47.23 + background:#000; 47.24 +} 47.25 + 47.26 + 47.27 +h3{font:20px Palatino,"Palatino Linotype","Times New Roman",serif;} 47.28 + 47.29 +.leftslab td{padding-right:2.6em;} 47.30 +.leftslab h3{margin:0px;margin-bottom:1em;font-weight:normal;} 47.31 +.leftslab h3 em {font-size:120%;padding-right:1.2em;display:none;} 47.32 +.leftslab h4{margin:0px 4px;} 47.33 + 47.34 +.leftslab a { 47.35 + color:#48f; 47.36 + text-decoration:none; 47.37 + cursor:default; 47.38 +} 47.39 + 47.40 +#radiobuttons2 img{ 47.41 + width:120px; 47.42 + padding-right:4px; 47.43 + border:1px solid transparent; 47.44 + cursor:pointer; 47.45 + cursor:hand; 47.46 +} 47.47 +#radiobuttons2 img:hover{border:1px solid #fc8;} 47.48 + 47.49 +#templates{display:none;} 47.50 +/*.leftslab *{vertical-align:middle;}*/ 47.51 +
48.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 48.2 +++ b/not-used/contact.shtml Wed Dec 30 02:01:25 2009 -0500 48.3 @@ -0,0 +1,31 @@ 48.4 +<html> 48.5 +<head> 48.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 48.7 + 48.8 + 48.9 +<STYLE TYPE="text/css" > 48.10 +<!-- 48.11 + @import url(./main.css); 48.12 + @import url(./sexy.css); 48.13 + DT { background: yellow; color: black } 48.14 +--> 48.15 +</STYLE> 48.16 + 48.17 + 48.18 + 48.19 +<title>Contact</title> 48.20 + 48.21 +<script type="text/javascript" src="./buycode.js"></script> 48.22 + 48.23 +</head> 48.24 + 48.25 +<body> 48.26 + 48.27 + 48.28 +<!--#include virtual="./top_menu.html" --> 48.29 + 48.30 + 48.31 + 48.32 +</body> 48.33 +</html> 48.34 +
49.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 49.2 +++ b/not-used/index.html Wed Dec 30 02:01:25 2009 -0500 49.3 @@ -0,0 +1,36 @@ 49.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 49.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 49.6 +<head> 49.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 49.8 +<link rel="stylesheet" href="main.css" type="text/css" media="screen" /> 49.9 +<title>Laser Kard</title> 49.10 +</head> 49.11 +<body> 49.12 + 49.13 + 49.14 + 49.15 +<div class="topbar"> 49.16 +<div class="headlinks"> 49.17 + <ul> 49.18 + <li><a href="./about.pl" onmouseover="document.but.src='images/bl_sm.jpg'">About</a></li> 49.19 + <li><a href="./buy.pl" onmouseover="document.but.src='images/gr_sm.jpg'"><attn>Buy</attn></a></li> 49.20 + 49.21 + <li><a href="./contact.html" onmouseover="document.but.src='images/or_sm.jpg'">Contact</a></li> 49.22 + </ul> 49.23 +</div> 49.24 +</div> 49.25 + 49.26 +<div class="center"> 49.27 + <a href="."><img src="./images/wt_sm.jpg" name="but" border="0"></a> 49.28 +<div class="text"> 49.29 + <p>Competition is tough. Everyone wants that next job, that next opportunity.<br> And most of all, everyone looks the same. <br /> 49.30 + Same suit, same hair, same business card.</p> 49.31 + <p>But not you &mdash laserkard is a unique way to make an impact when it counts.</p> 49.32 +</div> 49.33 + 49.34 +</div> 49.35 + 49.36 + 49.37 + 49.38 +</body> 49.39 +</html>
50.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 50.2 +++ b/paypal/classic.html Wed Dec 30 02:01:25 2009 -0500 50.3 @@ -0,0 +1,354 @@ 50.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 50.5 +<html> 50.6 + 50.7 +<head> 50.8 +<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 50.9 +<title></title> 50.10 + 50.11 + 50.12 +<!-- Start of Script --> 50.13 +<script type="text/javascript"> 50.14 +<!-- 50.15 +// 50.16 +function Dollar (val) { // force to valid dollar amount 50.17 +var str,pos,rnd=0; 50.18 + if (val < .995) rnd = 1; // for old Netscape browsers 50.19 + str = escape (val*1.0 + 0.005001 + rnd); // float, round, escape 50.20 + pos = str.indexOf ("."); 50.21 + if (pos > 0) str = str.substring (rnd, pos + 3); 50.22 + return str; 50.23 +} 50.24 + 50.25 +var amt,des,obj,val,op1a,op1b,op2a,op2b,op3a,op3b,op4a,op4b,op5a,op5b,op6a,op6b,op7a,op7b,op8a,op8b,op9a,op9b,itmn; 50.26 + 50.27 +function ChkTok (obj1) { 50.28 +var j,tok,ary=new Array (); // where we parse 50.29 + ary = val.split (" "); // break apart 50.30 + for (j=0; j<ary.length; j++) { // look at all items 50.31 +// first we do single character tokens... 50.32 + if (ary[j].length < 2) continue; 50.33 + tok = ary[j].substring (0,1); // first character 50.34 + val = ary[j].substring (1); // get data 50.35 + if (tok == "@") amt = val * 1.0; 50.36 + if (tok == "+") amt = amt + val*1.0; 50.37 + if (tok == "%") amt = amt + (amt * val/100.0); 50.38 + if (tok == "-") amt = amt - val*1.0; 50.39 + if (tok == "#") { // record item number 50.40 + if (obj1.item_number) obj1.item_number.value = val; 50.41 + ary[j] = ""; // zap this array element 50.42 + } 50.43 +// Now we do 3-character tokens... 50.44 + if (ary[j].length < 4) continue; 50.45 + tok = ary[j].substring (0,3); // first 3 chars 50.46 + val = ary[j].substring (3); // get data 50.47 + if (tok == "s1=") { // value for shipping 50.48 + if (obj1.shipping) obj1.shipping.value = val; 50.49 + ary[j] = ""; // clear it out 50.50 + } 50.51 + if (tok == "s2=") { // value for shipping2 50.52 + if (obj1.shipping2) obj1.shipping2.value = val; 50.53 + ary[j] = ""; // clear it out 50.54 + } 50.55 + } 50.56 + val = ary.join (" "); // rebuild val with what's left 50.57 +} 50.58 + 50.59 +function StorVal () { 50.60 +var tag; 50.61 + tag = obj.name.substring (obj.name.length-2); // get flag 50.62 + if (tag == "1a") op1a = op1a + " " + val; 50.63 + else if (tag == "1b") op1b = op1b + " " + val; 50.64 + else if (tag == "2a") op2a = op2a + " " + val; 50.65 + else if (tag == "2b") op2b = op2b + " " + val; 50.66 + else if (tag == "3a") op3a = op3a + " " + val; 50.67 + else if (tag == "3b") op3b = op3b + " " + val; 50.68 + else if (tag == "4a") op4a = op4a + " " + val; 50.69 + else if (tag == "4b") op4b = op4b + " " + val; 50.70 + else if (tag == "5a") op5a = op5a + " " + val; 50.71 + else if (tag == "5b") op5b = op5b + " " + val; 50.72 + else if (tag == "6a") op6a = op6a + " " + val; 50.73 + else if (tag == "6b") op6b = op6b + " " + val; 50.74 + else if (tag == "7a") op7a = op7a + " " + val; 50.75 + else if (tag == "7b") op7b = op7b + " " + val; 50.76 + else if (tag == "8a") op8a = op8a + " " + val; 50.77 + else if (tag == "8b") op8b = op8b + " " + val; 50.78 + else if (tag == "9a") op9a = op9a + " " + val; 50.79 + else if (tag == "9b") op9b = op9b + " " + val; 50.80 + else if (tag == "3i") itmn = itmn + " " + val; 50.81 + else if (des.length == 0) des = val; 50.82 + else des = des + ", " + val; 50.83 +} 50.84 + 50.85 +function ReadForm (obj1, tst) { // Read the user form 50.86 +var i,j,pos; 50.87 + amt=0;des="";op1a="";op1b="";op2a="";op2b="";op3a="";op3b="";op4a="";op4b="";op5a="";op5b="";op6a="";op6b="";op7a="";op7b="";op8a="";op8b="";op9a="";op9b="";itmn=""; 50.88 + if (obj1.baseamt) amt = obj1.baseamt.value*1.0; // base amount 50.89 + if (obj1.basedes) des = obj1.basedes.value; // base description 50.90 + if (obj1.baseon0) op1a = obj1.baseon0.value; // base options 50.91 + if (obj1.baseos0) op1b = obj1.baseos0.value; 50.92 + if (obj1.baseon1) op2a = obj1.baseon1.value; 50.93 + if (obj1.baseos1) op2b = obj1.baseos1.value; 50.94 + if (obj1.baseon2) op3a = obj1.baseon2.value; 50.95 + if (obj1.baseos2) op3b = obj1.baseos2.value; 50.96 + if (obj1.baseon3) op4a = obj1.baseon3.value; 50.97 + if (obj1.baseos3) op4b = obj1.baseos3.value; 50.98 + if (obj1.baseon4) op5a = obj1.baseon4.value; 50.99 + if (obj1.baseos4) op5b = obj1.baseos4.value; 50.100 + if (obj1.baseon5) op6a = obj1.baseon5.value; 50.101 + if (obj1.baseos5) op6b = obj1.baseos5.value; 50.102 + if (obj1.baseon6) op7a = obj1.baseon6.value; 50.103 + if (obj1.baseos6) op7b = obj1.baseos6.value; 50.104 + if (obj1.baseon7) op8a = obj1.baseon7.value; 50.105 + if (obj1.baseos7) op8b = obj1.baseos7.value; 50.106 + if (obj1.baseon8) op9a = obj1.baseon8.value; 50.107 + if (obj1.baseos8) op9b = obj1.baseos8.value; 50.108 + if (obj1.baseitn) itmn = obj1.baseitn.value; 50.109 + for (i=0; i<obj1.length; i++) { // run entire form 50.110 + obj = obj1.elements[i]; // a form element 50.111 + if (obj.type == "select-one") { // just selects 50.112 + if (obj.name == "quantity" || 50.113 + obj.name == "amount") continue; 50.114 + pos = obj.selectedIndex; // which option selected 50.115 + val = obj.options[pos].value; // selected value 50.116 + ChkTok (obj1); // check for any specials 50.117 + 50.118 + if (obj.name == "on0" || // let this go where it wants 50.119 + obj.name == "os0" || 50.120 + obj.name == "on1" || 50.121 + obj.name == "os1" || 50.122 + obj.name == "on2" || 50.123 + obj.name == "os2" || 50.124 + obj.name == "on3" || 50.125 + obj.name == "os3" || 50.126 + obj.name == "on4" || 50.127 + obj.name == "os4" || 50.128 + obj.name == "on5" || 50.129 + obj.name == "os5" || 50.130 + obj.name == "on6" || 50.131 + obj.name == "os6" || 50.132 + obj.name == "on7" || 50.133 + obj.name == "os7" || 50.134 + obj.name == "on8" || 50.135 + obj.name == "os8" || 50.136 + obj.name == "on9" || 50.137 + obj.name == "os9") continue; 50.138 + 50.139 + StorVal (); 50.140 + 50.141 + } else 50.142 + if (obj.type == "checkbox" || // just get checkboxex 50.143 + obj.type == "radio") { // and radios 50.144 + if (obj.checked) { 50.145 + val = obj.value; // the value of the selection 50.146 + ChkTok (obj1); 50.147 + StorVal (); 50.148 + } 50.149 + } else 50.150 + if (obj.type == "select-multiple") { //one or more 50.151 + for (j=0; j<obj.options.length; j++) { // run all options 50.152 + if (obj.options[j].selected) { 50.153 + val = obj.options[j].value; // selected value (default) 50.154 + ChkTok (obj1); 50.155 + StorVal (); 50.156 + } 50.157 + } 50.158 + } else 50.159 + if ((obj.type == "text" || // just read text, 50.160 + obj.type == "textarea") && 50.161 + obj.name != "tot" && // but not from here 50.162 + obj.name != "quantity") { 50.163 + val = obj.value; // get the data 50.164 + if (val == "" && tst) { // force an entry 50.165 + alert ("Enter data for " + obj.id); 50.166 + return false; 50.167 + } 50.168 + StorVal (); 50.169 + } 50.170 + } 50.171 +// Now summarize stuff we just processed, above 50.172 + if (op1a.length > 0) obj1.on0.value = op1a; 50.173 + if (op1b.length > 0) obj1.os0.value = op1b; 50.174 + if (op2a.length > 0) obj1.on1.value = op2a; 50.175 + if (op2b.length > 0) obj1.os1.value = op2b; 50.176 + if (op3a.length > 0) obj1.on2.value = op3a; 50.177 + if (op3b.length > 0) obj1.os2.value = op3b; 50.178 + if (op4a.length > 0) obj1.on3.value = op4a; 50.179 + if (op4b.length > 0) obj1.os3.value = op4b; 50.180 + if (op5a.length > 0) obj1.on4.value = op5a; 50.181 + if (op5b.length > 0) obj1.os4.value = op5b; 50.182 + if (op6a.length > 0) obj1.on5.value = op6a; 50.183 + if (op6b.length > 0) obj1.os5.value = op6b; 50.184 + if (op7a.length > 0) obj1.on6.value = op7a; 50.185 + if (op7b.length > 0) obj1.os6.value = op7b; 50.186 + if (op8a.length > 0) obj1.on7.value = op8a; 50.187 + if (op8b.length > 0) obj1.os7.value = op8b; 50.188 + if (op9a.length > 0) obj1.on8.value = op9a; 50.189 + if (op9b.length > 0) obj1.os8.value = op9b; 50.190 + if (itmn.length > 0) obj1.item_number.value = itmn; 50.191 + obj1.item_name.value = des; 50.192 + obj1.amount.value = Dollar (amt); 50.193 + if (obj1.tot) obj1.tot.value = "$" + Dollar (amt); 50.194 +} 50.195 +//--> 50.196 +</script> 50.197 +<!-- End of Script --> 50.198 +</head> 50.199 + 50.200 + 50.201 + 50.202 +<body> 50.203 + 50.204 +Widget Flower Bouquet 50.205 +<!-- Start of Form --> 50.206 +<!-- Note: target="paypal" was replaced with the variable target="_self" --> 50.207 +<!-- Note: shopping_url also added to code --> 50.208 +<!-- These two changes allow better functionality with IE and Firefox --> 50.209 +<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);"> 50.210 +<input type="hidden" name="add" value="1"> 50.211 +<input type="hidden" name="cmd" value="_cart"> 50.212 +<!--your email address goes here --> 50.213 +<input type="hidden" name="business" value="youremail@youremail.com"> 50.214 +<input type="hidden" name="item_name"> 50.215 +<input type="hidden" name="item_number" "WFB-1001"> 50.216 +<input type="hidden" name="amount"> 50.217 +<input type="hidden" name="currency_code" value="USD"> 50.218 +<input type="hidden" name="lc" value="US"> 50.219 +<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/your_page.html"> 50.220 +<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html"> 50.221 +<input type="hidden" name="return" value="http://www.yourwebsite.com"> 50.222 +<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted"> 50.223 + 50.224 + 50.225 +<!-- --> 50.226 +<input type="hidden" name="baseamt" value="00"> 50.227 +<input type="hidden" name="basedes" value="Widget Flower Bouquet"> 50.228 +<!-- --> 50.229 +<input type="hidden" name="baseon0" value="Requested Delivery Date"> 50.230 +<input type="hidden" name="baseos0"> 50.231 +<input type="hidden" name="baseon1" value="Deliver To"> 50.232 +<input type="hidden" name="baseos1"> 50.233 +<input type="hidden" name="baseon2" value="Phone"> 50.234 +<input type="hidden" name="baseos2"> 50.235 +<input type="hidden" name="baseon3" value="Address"> 50.236 +<input type="hidden" name="baseos3"> 50.237 +<input type="hidden" name="baseon4" value="Town/City"> 50.238 +<input type="hidden" name="baseos4"> 50.239 +<input type="hidden" name="baseon5" value="From"> 50.240 +<input type="hidden" name="baseos5"> 50.241 +<input type="hidden" name="baseon6" value="Sender Email"> 50.242 +<input type="hidden" name="baseos6"> 50.243 +<input type="hidden" name="baseon7" value="Sender Phone"> 50.244 +<input type="hidden" name="baseos7"> 50.245 +<input type="hidden" name="baseon8" value="Message"> 50.246 +<input type="hidden" name="baseos8"> 50.247 +<input type="hidden" name="baseitn"> 50.248 +<!-- --> 50.249 +<input type="hidden" name="on0"> 50.250 +<input type="hidden" name="os0"> 50.251 +<input type="hidden" name="on1"> 50.252 +<input type="hidden" name="os1"> 50.253 +<input type="hidden" name="on2"> 50.254 +<input type="hidden" name="os2"> 50.255 +<input type="hidden" name="on3"> 50.256 +<input type="hidden" name="os3"> 50.257 +<input type="hidden" name="on4"> 50.258 +<input type="hidden" name="os4"> 50.259 +<input type="hidden" name="on5"> 50.260 +<input type="hidden" name="os5"> 50.261 +<input type="hidden" name="on6"> 50.262 +<input type="hidden" name="os6"> 50.263 +<input type="hidden" name="on7"> 50.264 +<input type="hidden" name="os7"> 50.265 +<input type="hidden" name="on8"> 50.266 +<input type="hidden" name="os8"> 50.267 +<input type="hidden" name="on9"> 50.268 +<input type="hidden" name="os9"> 50.269 +<!-- --> 50.270 + 50.271 +<!-- --> 50.272 +Select Size: 50.273 +<select name="Size" onchange="ReadForm (this.form, false);"> 50.274 + <option value="Please Choose" selected>Please Choose</option> 50.275 + <option value="Small @25.00">Small - $25.00</option> 50.276 + <option value="Medium @30.00">Medium - $30.00</option> 50.277 + <option value="Large @35.00">Large - $35.00</option> 50.278 + </select> 50.279 +<!-- --> 50.280 +<br><br> 50.281 + 50.282 +<!-- Start of Options --> 50.283 +Extras: 50.284 +<br><br> 50.285 +<input type = "checkbox" 50.286 + onclick = "ReadForm (this.form, false);" 50.287 + value = "Wrapper Package +5.00"> 50.288 +Hand Tied Ribbon and Bow Wrapper Package - $5.00 50.289 + 50.290 +<br><br> 50.291 +<input type = "checkbox" 50.292 + onclick = "ReadForm (this.form, false);" 50.293 + value = "Chocolates Bites +9.00"> 50.294 +1 Lb Box Homemade Dark Chocolates Bites - $9.00 50.295 + 50.296 +<!-- End of Options --> 50.297 + 50.298 +<!-- Start of Text Input Fields --> 50.299 +<br><br> 50.300 +Requested Delivery Date: 50.301 +<input type="text" id="Requested Delivery Date" name="deliverydate_1b" size="10"> 50.302 +<!-- --> 50.303 +<br><br> 50.304 +Deliver To: 50.305 +<input type="text" id="Deliver To" name="deliverto_2b" size="20"> 50.306 +<!-- --> 50.307 +<br><br> 50.308 +Phone: 50.309 +<input type="text" id="Phone" name="phone_3b" size="12"> 50.310 +<!-- --> 50.311 +<br><br> 50.312 +Address: 50.313 +<input type="text" id="Address" name="address_4b" size="20"> 50.314 +<!-- --> 50.315 +<br><br> 50.316 +Town/City: 50.317 +<input type="text" id="Town/City" name="towncity_5b" size="20"> 50.318 +<!-- --> 50.319 +<br><br> 50.320 +From: 50.321 +<input type="text" id="From" name="from_6b" size="20"> 50.322 +<!-- --> 50.323 +<br><br> 50.324 +Your Email: 50.325 +<input type="text" id="Your Email" name="semail_7b" size="20"> 50.326 +<!-- --> 50.327 +<br><br> 50.328 +Your Phone: 50.329 +<input type="text" id="Your Phone" name="sphone_8b" size="12"> 50.330 +<!-- --> 50.331 +<br><br> 50.332 +Message: 50.333 +<input type="text" id="Message" name="message_9b" size="30"> 50.334 +<!-- End of Text Input Fields --> 50.335 + 50.336 + 50.337 +<br><br><br> 50.338 + 50.339 +Total Cost: 50.340 +<input class="nbor" type="text" name="tot" size="8" value="$0.00"> 50.341 + 50.342 +<br><br> 50.343 + 50.344 +<input type = "button" 50.345 + value = "Reset FORM" 50.346 + onclick = "this.form.reset();"> 50.347 + 50.348 +<br><br> 50.349 + 50.350 + 50.351 + 50.352 +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add"> 50.353 +</form> 50.354 +<!-- End of Form --> 50.355 + 50.356 +</body> 50.357 +</html>
51.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 51.2 +++ b/paypal/classic_acrylic_clear.code Wed Dec 30 02:01:25 2009 -0500 51.3 @@ -0,0 +1,186 @@ 51.4 +<!-- Start of Script --> 51.5 +<script type="text/javascript"> 51.6 +<!-- 51.7 +// 51.8 +function Dollar (val) { // force to valid dollar amount 51.9 +var str,pos,rnd=0; 51.10 + if (val < .995) rnd = 1; // for old Netscape browsers 51.11 + str = escape (val*1.0 + 0.005001 + rnd); // float, round, escape 51.12 + pos = str.indexOf ("."); 51.13 + if (pos > 0) str = str.substring (rnd, pos + 3); 51.14 + return str; 51.15 +} 51.16 + 51.17 +var amt,des,obj,val,op1a,op1b,op2a,op2b,op3a,op3b,op4a,op4b,op5a,op5b,op6a,op6b,op7a,op7b,op8a,op8b,op9a,op9b,itmn; 51.18 + 51.19 +function ChkTok (obj1) { 51.20 +var j,tok,ary=new Array (); // where we parse 51.21 + ary = val.split (" "); // break apart 51.22 + for (j=0; j<ary.length; j++) { // look at all items 51.23 +// first we do single character tokens... 51.24 + if (ary[j].length < 2) continue; 51.25 + tok = ary[j].substring (0,1); // first character 51.26 + val = ary[j].substring (1); // get data 51.27 + if (tok == "@") amt = val * 1.0; 51.28 + if (tok == "+") amt = amt + val*1.0; 51.29 + if (tok == "%") amt = amt + (amt * val/100.0); 51.30 + if (tok == "-") amt = amt - val*1.0; 51.31 + if (tok == "#") { // record item number 51.32 + if (obj1.item_number) obj1.item_number.value = val; 51.33 + ary[j] = ""; // zap this array element 51.34 + } 51.35 +// Now we do 3-character tokens... 51.36 + if (ary[j].length < 4) continue; 51.37 + tok = ary[j].substring (0,3); // first 3 chars 51.38 + val = ary[j].substring (3); // get data 51.39 + if (tok == "s1=") { // value for shipping 51.40 + if (obj1.shipping) obj1.shipping.value = val; 51.41 + ary[j] = ""; // clear it out 51.42 + } 51.43 + if (tok == "s2=") { // value for shipping2 51.44 + if (obj1.shipping2) obj1.shipping2.value = val; 51.45 + ary[j] = ""; // clear it out 51.46 + } 51.47 + } 51.48 + val = ary.join (" "); // rebuild val with what's left 51.49 +} 51.50 + 51.51 +function StorVal () { 51.52 +var tag; 51.53 + tag = obj.name.substring (obj.name.length-2); // get flag 51.54 + if (tag == "1a") op1a = op1a + " " + val; 51.55 + else if (tag == "1b") op1b = op1b + " " + val; 51.56 + else if (tag == "2a") op2a = op2a + " " + val; 51.57 + else if (tag == "2b") op2b = op2b + " " + val; 51.58 + else if (tag == "3a") op3a = op3a + " " + val; 51.59 + else if (tag == "3b") op3b = op3b + " " + val; 51.60 + else if (tag == "4a") op4a = op4a + " " + val; 51.61 + else if (tag == "4b") op4b = op4b + " " + val; 51.62 + else if (tag == "5a") op5a = op5a + " " + val; 51.63 + else if (tag == "5b") op5b = op5b + " " + val; 51.64 + else if (tag == "6a") op6a = op6a + " " + val; 51.65 + else if (tag == "6b") op6b = op6b + " " + val; 51.66 + else if (tag == "7a") op7a = op7a + " " + val; 51.67 + else if (tag == "7b") op7b = op7b + " " + val; 51.68 + else if (tag == "8a") op8a = op8a + " " + val; 51.69 + else if (tag == "8b") op8b = op8b + " " + val; 51.70 + else if (tag == "9a") op9a = op9a + " " + val; 51.71 + else if (tag == "9b") op9b = op9b + " " + val; 51.72 + else if (tag == "3i") itmn = itmn + " " + val; 51.73 + else if (des.length == 0) des = val; 51.74 + else des = des + ", " + val; 51.75 +} 51.76 + 51.77 +function ReadForm (obj1, tst) { // Read the user form 51.78 +var i,j,pos; 51.79 + amt=0;des="";op1a="";op1b="";op2a="";op2b="";op3a="";op3b="";op4a="";op4b="";op5a="";op5b="";op6a="";op6b="";op7a="";op7b="";op8a="";op8b="";op9a="";op9b="";itmn=""; 51.80 + if (obj1.baseamt) amt = obj1.baseamt.value*1.0; // base amount 51.81 + if (obj1.basedes) des = obj1.basedes.value; // base description 51.82 + if (obj1.baseon0) op1a = obj1.baseon0.value; // base options 51.83 + if (obj1.baseos0) op1b = obj1.baseos0.value; 51.84 + if (obj1.baseon1) op2a = obj1.baseon1.value; 51.85 + if (obj1.baseos1) op2b = obj1.baseos1.value; 51.86 + if (obj1.baseon2) op3a = obj1.baseon2.value; 51.87 + if (obj1.baseos2) op3b = obj1.baseos2.value; 51.88 + if (obj1.baseon3) op4a = obj1.baseon3.value; 51.89 + if (obj1.baseos3) op4b = obj1.baseos3.value; 51.90 + if (obj1.baseon4) op5a = obj1.baseon4.value; 51.91 + if (obj1.baseos4) op5b = obj1.baseos4.value; 51.92 + if (obj1.baseon5) op6a = obj1.baseon5.value; 51.93 + if (obj1.baseos5) op6b = obj1.baseos5.value; 51.94 + if (obj1.baseon6) op7a = obj1.baseon6.value; 51.95 + if (obj1.baseos6) op7b = obj1.baseos6.value; 51.96 + if (obj1.baseon7) op8a = obj1.baseon7.value; 51.97 + if (obj1.baseos7) op8b = obj1.baseos7.value; 51.98 + if (obj1.baseon8) op9a = obj1.baseon8.value; 51.99 + if (obj1.baseos8) op9b = obj1.baseos8.value; 51.100 + if (obj1.baseitn) itmn = obj1.baseitn.value; 51.101 + for (i=0; i<obj1.length; i++) { // run entire form 51.102 + obj = obj1.elements[i]; // a form element 51.103 + if (obj.type == "select-one") { // just selects 51.104 + if (obj.name == "quantity" || 51.105 + obj.name == "amount") continue; 51.106 + pos = obj.selectedIndex; // which option selected 51.107 + val = obj.options[pos].value; // selected value 51.108 + ChkTok (obj1); // check for any specials 51.109 + 51.110 + if (obj.name == "on0" || // let this go where it wants 51.111 + obj.name == "os0" || 51.112 + obj.name == "on1" || 51.113 + obj.name == "os1" || 51.114 + obj.name == "on2" || 51.115 + obj.name == "os2" || 51.116 + obj.name == "on3" || 51.117 + obj.name == "os3" || 51.118 + obj.name == "on4" || 51.119 + obj.name == "os4" || 51.120 + obj.name == "on5" || 51.121 + obj.name == "os5" || 51.122 + obj.name == "on6" || 51.123 + obj.name == "os6" || 51.124 + obj.name == "on7" || 51.125 + obj.name == "os7" || 51.126 + obj.name == "on8" || 51.127 + obj.name == "os8" || 51.128 + obj.name == "on9" || 51.129 + obj.name == "os9") continue; 51.130 + 51.131 + StorVal (); 51.132 + 51.133 + } else 51.134 + if (obj.type == "checkbox" || // just get checkboxex 51.135 + obj.type == "radio") { // and radios 51.136 + if (obj.checked) { 51.137 + val = obj.value; // the value of the selection 51.138 + ChkTok (obj1); 51.139 + StorVal (); 51.140 + } 51.141 + } else 51.142 + if (obj.type == "select-multiple") { //one or more 51.143 + for (j=0; j<obj.options.length; j++) { // run all options 51.144 + if (obj.options[j].selected) { 51.145 + val = obj.options[j].value; // selected value (default) 51.146 + ChkTok (obj1); 51.147 + StorVal (); 51.148 + } 51.149 + } 51.150 + } else 51.151 + if ((obj.type == "text" || // just read text, 51.152 + obj.type == "textarea") && 51.153 + obj.name != "tot" && // but not from here 51.154 + obj.name != "quantity") { 51.155 + val = obj.value; // get the data 51.156 + if (val == "" && tst) { // force an entry 51.157 + alert ("Enter data for " + obj.id); 51.158 + return false; 51.159 + } 51.160 + StorVal (); 51.161 + } 51.162 + } 51.163 +// Now summarize stuff we just processed, above 51.164 + if (op1a.length > 0) obj1.on0.value = op1a; 51.165 + if (op1b.length > 0) obj1.os0.value = op1b; 51.166 + if (op2a.length > 0) obj1.on1.value = op2a; 51.167 + if (op2b.length > 0) obj1.os1.value = op2b; 51.168 + if (op3a.length > 0) obj1.on2.value = op3a; 51.169 + if (op3b.length > 0) obj1.os2.value = op3b; 51.170 + if (op4a.length > 0) obj1.on3.value = op4a; 51.171 + if (op4b.length > 0) obj1.os3.value = op4b; 51.172 + if (op5a.length > 0) obj1.on4.value = op5a; 51.173 + if (op5b.length > 0) obj1.os4.value = op5b; 51.174 + if (op6a.length > 0) obj1.on5.value = op6a; 51.175 + if (op6b.length > 0) obj1.os5.value = op6b; 51.176 + if (op7a.length > 0) obj1.on6.value = op7a; 51.177 + if (op7b.length > 0) obj1.os6.value = op7b; 51.178 + if (op8a.length > 0) obj1.on7.value = op8a; 51.179 + if (op8b.length > 0) obj1.os7.value = op8b; 51.180 + if (op9a.length > 0) obj1.on8.value = op9a; 51.181 + if (op9b.length > 0) obj1.os8.value = op9b; 51.182 + if (itmn.length > 0) obj1.item_number.value = itmn; 51.183 + obj1.item_name.value = des; 51.184 + obj1.amount.value = Dollar (amt); 51.185 + if (obj1.tot) obj1.tot.value = "$" + Dollar (amt); 51.186 +} 51.187 +//--> 51.188 +</script> 51.189 +<!-- End of Script --> 51.190 \ No newline at end of file
52.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 52.2 +++ b/paypal/classic_acrylic_clear.paylist Wed Dec 30 02:01:25 2009 -0500 52.3 @@ -0,0 +1,153 @@ 52.4 + 52.5 + 52.6 +Clarity LaserKard --- Classic Style 52.7 +<!-- Start of Form --> 52.8 +<!-- Note: target="paypal" was replaced with the variable target="_self" --> 52.9 +<!-- Note: shopping_url also added to code --> 52.10 +<!-- These two changes allow better functionality with IE and Firefox --> 52.11 +<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);"> 52.12 +<input type="hidden" name="add" value="1"> 52.13 +<input type="hidden" name="cmd" value="_cart"> 52.14 +<!--your email address goes here --> 52.15 +<input type="hidden" name="business" value="laserkards@mit.edu"> 52.16 +<input type="hidden" name="item_name"> 52.17 +<input type="hidden" name="item_number" "WFB-1001"> 52.18 +<input type="hidden" name="amount"> 52.19 +<input type="hidden" name="currency_code" value="USD"> 52.20 +<input type="hidden" name="lc" value="US"> 52.21 +<input type="hidden" name="shopping_url" value="http://www.laserkard.com/buy.pl"> 52.22 +<input type="hidden" name="cancel_return" value="http://www.laserkard.com"> 52.23 +<input type="hidden" name="return" value="http://www.laserkard.com"> 52.24 +<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted"> 52.25 + 52.26 + 52.27 +<!-- --> 52.28 +<input type="hidden" name="baseamt" value="00"> 52.29 +<input type="hidden" name="basedes" value="Clarity LaserKard --- Classic Style"> 52.30 +<!-- --> 52.31 +<input type="hidden" name="baseon0" value="Line 1"> 52.32 +<input type="hidden" name="baseos0"> 52.33 +<input type="hidden" name="baseon1" value="Line 2"> 52.34 +<input type="hidden" name="baseos1"> 52.35 +<input type="hidden" name="baseon2" value="Line 3"> 52.36 +<input type="hidden" name="baseos2"> 52.37 +<input type="hidden" name="baseon3" value="Line 4"> 52.38 +<input type="hidden" name="baseos3"> 52.39 +<input type="hidden" name="baseon4" value="Line 5"> 52.40 +<input type="hidden" name="baseos4"> 52.41 +<input type="hidden" name="baseon5" value="Side"> 52.42 +<input type="hidden" name="baseos5"> 52.43 + 52.44 +<input type="hidden" name="baseitn"> 52.45 +<!-- --> 52.46 +<input type="hidden" name="on0"> 52.47 +<input type="hidden" name="os0"> 52.48 +<input type="hidden" name="on1"> 52.49 +<input type="hidden" name="os1"> 52.50 +<input type="hidden" name="on2"> 52.51 +<input type="hidden" name="os2"> 52.52 +<input type="hidden" name="on3"> 52.53 +<input type="hidden" name="os3"> 52.54 +<input type="hidden" name="on4"> 52.55 +<input type="hidden" name="os4"> 52.56 +<input type="hidden" name="on5"> 52.57 +<input type="hidden" name="os5"> 52.58 +<input type="hidden" name="on6"> 52.59 +<input type="hidden" name="os6"> 52.60 +<input type="hidden" name="on7"> 52.61 +<input type="hidden" name="os7"> 52.62 +<input type="hidden" name="on8"> 52.63 +<input type="hidden" name="os8"> 52.64 +<input type="hidden" name="on9"> 52.65 +<input type="hidden" name="os9"> 52.66 +<!-- --> 52.67 + 52.68 +<!-- 52.69 +Select Size: 52.70 +<select name="Size" onchange="ReadForm (this.form, false);"> 52.71 + <option value="Please Choose" selected>Please Choose</option> 52.72 + <option value="Small @25.00">Small - $25.00</option> 52.73 + <option value="Medium @30.00">Medium - $30.00</option> 52.74 + <option value="Large @35.00">Large - $35.00</option> 52.75 + </select> 52.76 +<!-- --> 52.77 +<br><br> 52.78 + 52.79 +<!-- Start of Options --> 52.80 + 52.81 +<input type="radio" name = "whatev" 52.82 + 52.83 + value="30 cards @120.00" 52.84 + onclick = "ReadForm (this.form, false);" 52.85 + onload = "ReadForm (this.form, false);" > 52.86 + 52.87 + 30 cards -- $120 52.88 + 52.89 + <br> 52.90 + 52.91 +<input type="radio" name = "whatev" 52.92 + 52.93 + value="40 cards @150.00" 52.94 + onclick = "ReadForm (this.form, false);" > 52.95 + 52.96 + 40 cards -- $150 52.97 +<br><br> 52.98 +<!-- 52.99 +<input type = "checkbox" 52.100 + onclick = "ReadForm (this.form, false);" 52.101 + value = "30 cards @120.00" checked> 52.102 +30 LaserKards -- $120 52.103 + 52.104 + 52.105 +--> 52.106 + 52.107 + 52.108 +<!-- End of Options --> 52.109 + 52.110 +<!-- Start of Text Input Fields --> 52.111 +<br> 52.112 +Line 1: 52.113 +<input type="text" id="Line 1" name="line_1b" size="20"> 52.114 +<!-- --> 52.115 +<br><br> 52.116 +Line 2: 52.117 +<input type="text" id="Line 2" name="line_2b" size="20"> 52.118 +<!-- --> 52.119 +<br><br> 52.120 +Line 3: 52.121 +<input type="text" id="Line 3" name="line_3b" size="20"> 52.122 +<!-- --> 52.123 +<br><br> 52.124 +Line 4: 52.125 +<input type="text" id="Line 4" name="line_4b" size="20"> 52.126 +<!-- --> 52.127 +<br><br> 52.128 +Line 5: 52.129 +<input type="text" id="Line 5" name="line_5b" size="20"> 52.130 +<!-- --> 52.131 +<br><br> 52.132 +Side: 52.133 +<input type="text" id="Side" name="line_6b" size="20"> 52.134 +<!-- --> 52.135 + 52.136 +<!-- End of Text Input Fields --> 52.137 + 52.138 + 52.139 +<br><br> 52.140 + 52.141 +<input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )"> 52.142 +Add a penny! ^__^ 52.143 +<br><br> 52.144 + 52.145 +Total Cost: 52.146 +<input class="nbor" type="text" name="tot" size="8" value="$120.00"> 52.147 + 52.148 +<br><br> 52.149 + 52.150 + 52.151 + 52.152 +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add"> 52.153 +</form> 52.154 +<!-- End of Form --> 52.155 + 52.156 +
53.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 53.2 +++ b/paypal/classic_aluminum.paylist Wed Dec 30 02:01:25 2009 -0500 53.3 @@ -0,0 +1,1 @@ 53.4 +hi! :)
54.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 54.2 +++ b/paypal/classic_aluminum_black.paylist Wed Dec 30 02:01:25 2009 -0500 54.3 @@ -0,0 +1,1 @@ 54.4 +Comming Soon!
55.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 55.2 +++ b/paypal/comming_soon.paylist Wed Dec 30 02:01:25 2009 -0500 55.3 @@ -0,0 +1,2 @@ 55.4 + 55.5 +Comming Soon
56.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 56.2 +++ b/sexy.css Wed Dec 30 02:01:25 2009 -0500 56.3 @@ -0,0 +1,41 @@ 56.4 + 56.5 + 56.6 + 56.7 +div#materials 56.8 +{ 56.9 +position:absolute; 56.10 +left:2%; 56.11 +top:20px; 56.12 +background-color:#F0A35F; 56.13 +} 56.14 + 56.15 +div#templates 56.16 +{ 56.17 +position:absolute; 56.18 +left:0%; 56.19 +top:70%; 56.20 +background-color:#96F99C; 56.21 +} 56.22 + 56.23 + 56.24 + 56.25 +div#display 56.26 +{ 56.27 +position:absolute; 56.28 +left:30%; 56.29 +top:20px; 56.30 +background-color:#FEE2F9; 56.31 +} 56.32 + 56.33 + 56.34 + 56.35 + 56.36 +div#inputbox 56.37 +{ 56.38 +position:absolute; 56.39 +left:10%; 56.40 +top:20%; 56.41 +background-color:#B3DFFF; 56.42 +} 56.43 + 56.44 +
57.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 57.2 +++ b/shadowbar.css Wed Dec 30 02:01:25 2009 -0500 57.3 @@ -0,0 +1,68 @@ 57.4 +@charset "UTF-8"; 57.5 +/* CSS Document */ 57.6 +body 57.7 +{ 57.8 + background-color:#000; 57.9 + margin:0; 57.10 + margin-top:-4px; 57.11 + padding:0; 57.12 +} 57.13 +div.topbar 57.14 +{ 57.15 + background-image:url(images/topbar.png); 57.16 + background-repeat:repeat-x; 57.17 + height:60px; 57.18 + margin-top:2px; 57.19 +} 57.20 +div.headlinks 57.21 +{ 57.22 + font-family: Helvetica, sans-serif, Arial; 57.23 + text-transform:uppercase; 57.24 + font-weight:bold; 57.25 + text-align:center; 57.26 + color:#000; 57.27 + padding-top:1px; 57.28 + margin-top:0px; 57.29 + margin-left:-30px; 57.30 +} 57.31 +div.headlinks a 57.32 +{ 57.33 + text-decoration:none; 57.34 + color:#000; 57.35 + text-shadow:#555 0px 1px 0.5px; 57.36 +} 57.37 +div.headlinks a:hover 57.38 +{ 57.39 + text-decoration:none; 57.40 + color:#555; 57.41 + text-shadow:#000 0px 0px 50px, #000 0px 0px 20px, #111 0px 1px 0.5px; 57.42 +} 57.43 +div.headlinks ul 57.44 +{ 57.45 + margin-top:7px; 57.46 +} 57.47 +div.headlinks ul li 57.48 +{ 57.49 + text-align:center; 57.50 + display: inline; 57.51 + list-style-type: none; 57.52 + padding-left: 90px; 57.53 + padding-right: 90px; 57.54 +} 57.55 +div.center 57.56 +{ 57.57 + display:block; 57.58 + width:425px; 57.59 + height:244px; 57.60 + background-color:#939; 57.61 + margin-left:auto; 57.62 + margin-right:auto; 57.63 + margin-top:170px; 57.64 + margin-bottom:auto; 57.65 + padding:0px; 57.66 +} 57.67 +img 57.68 +{ 57.69 + margin:0; 57.70 + padding:0; 57.71 +} 57.72 \ No newline at end of file
58.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 58.2 +++ b/templates/akward.css Wed Dec 30 02:01:25 2009 -0500 58.3 @@ -0,0 +1,39 @@ 58.4 +div#display 58.5 +{ 58.6 +position:absolute; 58.7 +left:30%; 58.8 +top:20px; 58.9 +background-color:#FEE2F9; 58.10 +} 58.11 + 58.12 + 58.13 + 58.14 +div#inputbox 58.15 +{ 58.16 +position:absolute; 58.17 +left:10%; 58.18 +top:20%; 58.19 +background-color:#B3DFFF; 58.20 +} 58.21 + 58.22 + 58.23 + 58.24 + 58.25 +div#templates 58.26 +{ 58.27 +position:absolute; 58.28 +left:0%; 58.29 +top:70%; 58.30 +background-color:#96F99C; 58.31 +} 58.32 + 58.33 + 58.34 + 58.35 + 58.36 +div#materials 58.37 +{ 58.38 +position:absolute; 58.39 +left:2%; 58.40 +top:20px; 58.41 +background-color:#F0A35F; 58.42 +} 58.43 \ No newline at end of file
59.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 59.2 +++ b/templates/contact.html Wed Dec 30 02:01:25 2009 -0500 59.3 @@ -0,0 +1,42 @@ 59.4 +<html> 59.5 +<head> 59.6 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 59.7 + 59.8 + 59.9 +<STYLE TYPE="text/css" > 59.10 +<!-- 59.11 + @import url(./main.css); 59.12 + @import url(./sexy.css); 59.13 + DT { background: yellow; color: black } 59.14 +--> 59.15 +</STYLE> 59.16 + 59.17 + 59.18 + 59.19 +<title>Contact</title> 59.20 + 59.21 +<script type="text/javascript" src="./buycode.js"></script> 59.22 + 59.23 +</head> 59.24 + 59.25 +<body> 59.26 + 59.27 + 59.28 + 59.29 +<?php include("./top_menu.html"); ?> 59.30 + 59.31 +<div class="topbar"> 59.32 +<div class="headlinks"> 59.33 + <ul> 59.34 + <li><a href="./about.pl" onmouseover="document.but.src='images/bl_sm.jpg'">About</a></li> 59.35 + <li><a href="./buy.pl" onmouseover="document.but.src='images/gr_sm.jpg'"><attn>Buy</attn></a></li> 59.36 + 59.37 + <li><a href="./contact.html" onmouseover="document.but.src='images/or_sm.jpg'">Contact</a></li> 59.38 + </ul> 59.39 +</div> 59.40 +</div> 59.41 + 59.42 + 59.43 +</body> 59.44 +</html> 59.45 +
60.1 Binary file templates/display/basic_acrylic_blue.jpg has changed
61.1 Binary file templates/display/basic_acrylic_clear.jpg has changed
62.1 Binary file templates/display/basic_acrylic_green.jpg has changed
63.1 Binary file templates/display/basic_acrylic_orange.jpg has changed
64.1 Binary file templates/display/basic_acrylic_pink.jpg has changed
65.1 Binary file templates/display/basic_acrylic_red.jpg has changed
66.1 Binary file templates/display/basic_acrylic_yellow.jpg has changed
67.1 Binary file templates/display/basic_aluminum_black.jpg has changed
68.1 Binary file templates/display/basic_aluminum_blue.jpg has changed
69.1 Binary file templates/display/basic_aluminum_green.jpg has changed
70.1 Binary file templates/display/basic_aluminum_red.jpg has changed
71.1 Binary file templates/display/big_acrylic_blue.jpg has changed
72.1 Binary file templates/display/big_acrylic_clear.jpg has changed
73.1 Binary file templates/display/big_acrylic_green.jpg has changed
74.1 Binary file templates/display/big_acrylic_orange.jpg has changed
75.1 Binary file templates/display/big_acrylic_pink.jpg has changed
76.1 Binary file templates/display/big_acrylic_red.jpg has changed
77.1 Binary file templates/display/big_acrylic_yellow.jpg has changed
78.1 Binary file templates/display/big_aluminum_black.jpg has changed
79.1 Binary file templates/display/big_aluminum_blue.jpg has changed
80.1 Binary file templates/display/big_aluminum_green.jpg has changed
81.1 Binary file templates/display/big_aluminum_red.jpg has changed
82.1 Binary file templates/display/classic_acrylic_blue.jpg has changed
83.1 Binary file templates/display/classic_acrylic_clear.jpg has changed
84.1 Binary file templates/display/classic_acrylic_green.jpg has changed
85.1 Binary file templates/display/classic_acrylic_orange.jpg has changed
86.1 Binary file templates/display/classic_acrylic_pink.jpg has changed
87.1 Binary file templates/display/classic_acrylic_red.jpg has changed
88.1 Binary file templates/display/classic_acrylic_yellow.jpg has changed
89.1 Binary file templates/display/classic_aluminum_black.jpg has changed
90.1 Binary file templates/display/classic_aluminum_blue.jpg has changed
91.1 Binary file templates/display/classic_aluminum_green.jpg has changed
92.1 Binary file templates/display/classic_aluminum_red.jpg has changed
93.1 Binary file templates/display/lines_acrylic_blue.jpg has changed
94.1 Binary file templates/display/lines_acrylic_clear.jpg has changed
95.1 Binary file templates/display/lines_acrylic_green.jpg has changed
96.1 Binary file templates/display/lines_acrylic_orange.jpg has changed
97.1 Binary file templates/display/lines_acrylic_pink.jpg has changed
98.1 Binary file templates/display/lines_acrylic_red.jpg has changed
99.1 Binary file templates/display/lines_acrylic_yellow.jpg has changed
100.1 Binary file templates/display/lines_aluminum_black.jpg has changed
101.1 Binary file templates/display/lines_aluminum_blue.jpg has changed
102.1 Binary file templates/display/lines_aluminum_green.jpg has changed
103.1 Binary file templates/display/lines_aluminum_red.jpg has changed
104.1 Binary file templates/thumbnails/basic_acrylic_blue.jpg has changed
105.1 Binary file templates/thumbnails/basic_acrylic_clear.jpg has changed
106.1 Binary file templates/thumbnails/basic_acrylic_green.jpg has changed
107.1 Binary file templates/thumbnails/basic_acrylic_orange.jpg has changed
108.1 Binary file templates/thumbnails/basic_acrylic_pink.jpg has changed
109.1 Binary file templates/thumbnails/basic_acrylic_red.jpg has changed
110.1 Binary file templates/thumbnails/basic_acrylic_yellow.jpg has changed
111.1 Binary file templates/thumbnails/basic_aluminum_black.jpg has changed
112.1 Binary file templates/thumbnails/basic_aluminum_blue.jpg has changed
113.1 Binary file templates/thumbnails/basic_aluminum_green.jpg has changed
114.1 Binary file templates/thumbnails/basic_aluminum_red.jpg has changed
115.1 Binary file templates/thumbnails/big_acrylic_blue.jpg has changed
116.1 Binary file templates/thumbnails/big_acrylic_clear.jpg has changed
117.1 Binary file templates/thumbnails/big_acrylic_green.jpg has changed
118.1 Binary file templates/thumbnails/big_acrylic_orange.jpg has changed
119.1 Binary file templates/thumbnails/big_acrylic_pink.jpg has changed
120.1 Binary file templates/thumbnails/big_acrylic_red.jpg has changed
121.1 Binary file templates/thumbnails/big_acrylic_yellow.jpg has changed
122.1 Binary file templates/thumbnails/big_aluminum_black.jpg has changed
123.1 Binary file templates/thumbnails/big_aluminum_blue.jpg has changed
124.1 Binary file templates/thumbnails/big_aluminum_green.jpg has changed
125.1 Binary file templates/thumbnails/big_aluminum_red.jpg has changed
126.1 Binary file templates/thumbnails/classic_acrylic_blue.jpg has changed
127.1 Binary file templates/thumbnails/classic_acrylic_clear.jpg has changed
128.1 Binary file templates/thumbnails/classic_acrylic_green.jpg has changed
129.1 Binary file templates/thumbnails/classic_acrylic_orange.jpg has changed
130.1 Binary file templates/thumbnails/classic_acrylic_pink.jpg has changed
131.1 Binary file templates/thumbnails/classic_acrylic_red.jpg has changed
132.1 Binary file templates/thumbnails/classic_acrylic_yellow.jpg has changed
133.1 Binary file templates/thumbnails/classic_aluminum_black.jpg has changed
134.1 Binary file templates/thumbnails/classic_aluminum_blue.jpg has changed
135.1 Binary file templates/thumbnails/classic_aluminum_green.jpg has changed
136.1 Binary file templates/thumbnails/classic_aluminum_red.jpg has changed
137.1 Binary file templates/thumbnails/clr_002.jpg has changed
138.1 Binary file templates/thumbnails/lines_acrylic_blue.jpg has changed
139.1 Binary file templates/thumbnails/lines_acrylic_clear.jpg has changed
140.1 Binary file templates/thumbnails/lines_acrylic_green.jpg has changed
141.1 Binary file templates/thumbnails/lines_acrylic_orange.jpg has changed
142.1 Binary file templates/thumbnails/lines_acrylic_pink.jpg has changed
143.1 Binary file templates/thumbnails/lines_acrylic_red.jpg has changed
144.1 Binary file templates/thumbnails/lines_acrylic_yellow.jpg has changed
145.1 Binary file templates/thumbnails/lines_aluminum_black.jpg has changed
146.1 Binary file templates/thumbnails/lines_aluminum_blue.jpg has changed
147.1 Binary file templates/thumbnails/lines_aluminum_green.jpg has changed
148.1 Binary file templates/thumbnails/lines_aluminum_red.jpg has changed
149.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 149.2 +++ b/top_menu.include Wed Dec 30 02:01:25 2009 -0500 149.3 @@ -0,0 +1,17 @@ 149.4 + 149.5 +<div class="topbar"> 149.6 +<div class="headlinks"> 149.7 + <ul> 149.8 + <li><a href="." onmouseover="document.but.src='images/or_sm.jpg'">Home</a></li> 149.9 + 149.10 + <li><a href="./buy.pl" onmouseover="document.but.src='images/gr_sm.jpg'"><attn>Buy</attn></a></li> 149.11 + 149.12 + <li><a href="./contact.php" onmouseover="document.but.src='images/or_sm.jpg'">Contact</a></li> 149.13 + 149.14 + <li><a href="./about.php" onmouseover="document.but.src='images/bl_sm.jpg'">About</a></li> 149.15 + 149.16 + </ul> 149.17 +</div> 149.18 +</div> 149.19 + 149.20 +