setMyMailVars($_POST); // get errors $errors = $send_mail->getErrors(); if($errors) { $title = 'radoll.com | There seems to be a problem.'; $include = 'contact_errors.php'; } else { if($send_mail->updates == 'Yes'){ $add = $send_mail->addToSub(); } $send_mail->sendMail(); $title = 'radoll.com | Your Message has been sent.'; $include = 'contact_sent.php'; } break; case 'maillist': // call to class, set up error checking $send_mail = new MyMail; // pass the POST variables $send_mail->setMySubVars($_POST); // get errors $errors = $send_mail->ckEmail(); $title = 'radoll.com | Sign Up for Updates'; $include = 'subscribe.php'; break; case 'subscribe': // call to class, set up error checking $send_mail = new MyMail; // pass the POST variables $send_mail->setMySubVars($_POST); // get errors $errors = $send_mail->getErrors(); if($errors) { $title = 'radoll.com | There seems to be a problem.'; $include = 'subscribe_errors.php'; } else { $send_mail->addToSub(); $title = 'radoll.com | You have been added to our mailing list.'; $include = 'subscribe_success.php'; } break; default: // get the return page info for any forms... if(empty($_SERVER["HTTP_REFERER"])){ $first_page = 'http://www.radoll.com/'; } else { $first_page = $_SERVER["HTTP_REFERER"]; } $title = 'radoll.com | Contact Radoll'; $include = 'contact.php'; } $cpright = '1994-2007 Radoll Designs '; $description = 'Radoll Designs has been supplying printed circuit board manufacturers with quality machine tools for 18 years such as: scoring, gold finger beveling, edge finishing, and de-paneling machines. Radoll Designs has been supplying printed circuit board manufacturers with quality machine tools for 18 years such as: scoring, gold finger beveling, edge finishing, and de-paneling machines.'; $keywords = 'Radoll, Radoll Designs, scoring, edge finishing, gold finger beveling, depaneling, de_paneling, singulation, ScoreToBreak, MiniScore, BevelMate, BevelMaster, BevelStation, ThinMate, MiniFinish, EdgeMate, EdgeMateII, EdgeMaster, PanelMaster, PanelMasterMulti, AftaScore, In-Line System, Cutter Centering Device, Score Depth Indicator, WorkAbout,tools for scoring, scoring tools, finishing circuit board edges, beveling gold fingers, printed circuit board fabrication, nepcon, machine tools, machine shop, production machines, pc boards, circuit board manufacturers, circuit board panels, circuit board design, fabrication of circuit boards, tools for machinery, shop for machinery, machines for production, electronic pc boards, circuit board design, manufacturers of circuit boards, We design machinery to clean up circuit boards, NEPCON, IPC, custom machines, edge finishers, tools, international business, machine shop, carbide, carbide tools, cutting tools, cutters, carbide cutters, fabrication equipment'; $reply = 'radoll@radoll.com'; $bgcolor = '#003399'; $txtcolor = '#990000'; $linkcolor = '#0000CC'; $vlinkcolor = '#0000CC'; $alinkcolor = '#cc0000'; $css = 'product'; // pass the page data - $page, $user, $group_id, $referer, $type $logpage->setPagevars($_SERVER["PHP_SELF"], $_SERVER["HTTP_USER_AGENT"], $_SERVER["HTTP_REFERER"]); // sets the browser info for logging. $logpage->setBrowserInfo(); // log the page $logpage->logPage(); // set up the agent and platform vars for css_site $brow_agent = $logpage->getBrowserAgent(); $brow_plat = $logpage->getBrowserPlat(); // close the db connection $logpage->dbClose(); include("$PAGEVARS->htmldir/product_html_header.php"); include("$PAGEVARS->htmldir/product_header.php"); // product body table. include("$PAGEVARS->htmldir/$include"); include("$PAGEVARS->htmldir/product_link_footer.php"); ?>