', $errors); } else { $em = new Email(); $tpl = new Template(); if ($tpl->loadFile($dir ."class/tpl/contact.tpl")) { $tpl->addToken('date', date('l d/m/Y')); $tpl->addToken('Name', Filter::unMySQLEscape(Util::getIfSet(Name))); $tpl->addToken('Email', Filter::unMySQLEscape(Util::getIfSet(Email))); $tpl->addToken('Company', Filter::unMySQLEscape(Util::getIfSet(Company))); $re_info = Util::getIfSet(Receive_Information); if($re_info == '1') $re_info = "Yes, I would like to receive information about software upgrades and new product releases via email."; else $re_info = "Sorry, I don't want to receive information about software upgrades and new product releases via email."; $tpl->addToken('Receive_Information', $re_info); $tpl->addToken('Comments', Filter::unMySQLEscape(Util::getIfSet(Comments))); $tpl->parse(); $em->setBody($tpl->getContents()); } else { //safe fallback if the template didn't load $em->setBody(Util::postToTextEmailBody(22)); } $em->setFrom(Util::getIfSet('Email')); $em->setTo('demo@cispro.ca'); $em->setSubject("Download Info"); if ($em->sendTEXT()){ header("location: demodownload.html"); exit(); } else{ $errorMessage = 'There was an error submitting your message, please try again.'; header("location: downloads.php"); } } } ?>
![]() |
Point of Sale Software Designed with Your Business in Mind! |
| Home | Links | Site Map | |||||||||||
|
Downloads![]() CISPro trial version is fully functional and will work until *August 31st, 2010*. If you have already purchased a previous version of a product and would like to upgrade to the latest version, please contact us at 877-257-2896 or email to sales@cispro.ca |
|
TF: (888)243-1450
T: (778) 478-9559 Email: sales@cispro.ca Web: www.cispro.ca
© 2009 CISPro Systems Inc. All Rights Reserved. | Policies
|