' . $EOL; $HEADERS .= 'Reply-To: "D3Tech.Net" ' . $EOL; $HEADERS .= 'Return-Path: "D3Tech.Net" ' . $EOL; $HEADERS .= "Message-ID: <".time()."-register@d3tech.net>".$EOL; $HEADERS .= "X-Mailer: PHP v".phpversion().$EOL; $sql = "SELECT * FROM reportregister WHERE id=$regId"; $sqlCmd = $objDBConn -> dbQuery($sql); $dRow = $objDBConn -> dataFetch($sqlCmd); $regId = $dRow['id']; $_POST['regInfo'] = "
"; foreach($dRow as $k=>$v) { if($v&&!is_numeric($k)) { $_POST['regInfo'] .= ""; } } $_POST['regInfo'] .= "
".$k.":$v
"; $courseStr = explode(",",$dRow['courseStr']); $attendeeStr = explode(",",$dRow['attendeeStr']); $_POST['attendeeInfo'] = ""; $_POST['classInfo'] = ""; foreach($courseStr as $id) { if($id) { $class++; $sql = "SELECT * FROM reportdetails WHERE crm_guid='$id'"; $sqlCmd = $objDBConn -> dbQuery($sql); $dRow = $objDBConn -> dataFetch($sqlCmd); $regId = $dRow['id']; $num++; $_POST['classInfo'] .= ""; $_POST['classInfo'] .= ""; foreach($dRow as $k=>$v) { if($v&&!is_numeric($k)) { $_POST['classInfo'] .= ""; } } $_POST['classInfo'] .= "

Class # $num
".$k.":$v
"; } } $num = 0; foreach($attendeeStr as $id) { if($id) { $sql = "SELECT * FROM reportattendees WHERE id=$id"; $sqlCmd = $objDBConn -> dbQuery($sql); $dRow = $objDBConn -> dataFetch($sqlCmd); $regId = $dRow['id']; $num++; $_POST['attendeeInfo'] .= ""; $_POST['attendeeInfo'] .= ""; foreach($dRow as $k=>$v) { if($v&&!is_numeric($k)) { $_POST['attendeeInfo'] .= ""; } } $_POST['attendeeInfo'] .= "

Attendee # $num
".$k.":$v
"; } } $TO = "register@d3tech.net"; $SUBJECT = "New Registration"; unset($MESSAGE); $MESSAGE = trim(getEmailTemplate("newRegistration")); $MESSAGE .= "
"; $MESSAGE .= date("l, F jS, Y") . "
"; $MESSAGE .= date("g:i:s A") . "
"; $MESSAGE .= "
"; if(!mail($TO,$SUBJECT,$MESSAGE,$HEADERS)) { echo "MAIL ERROR"; } echo $MESSAGE; } function getEmailTemplate($fileName) { $fileName.=".htm"; $file = file_get_contents("http://d3tech.net/includes/mailer/newRegistration.htm"); foreach($_POST as $key=>$value) { $file = str_replace("<<<$key>>>",stripslashes($value),$file); } foreach($_GET as $key=>$value) { $file = str_replace("<<<$key>>>",stripslashes($value),$file); } return $file; } ?>

Career Opportunities

If you feel you have what it takes to be a part of Team D3, send your resume to: Career Opportunities

Any D3 Office
Springfield, MO
  • Revit & BIM Application Specialist - Details
  • Implementation Consultant - Details
  • Inside Sales Representative - Details
  • Strategic Sales Rep - CAM Solutions
  • Technology Specialist Consultant - Details
Tulsa, OK
  • Implementation Consultant - Details
Little Rock, AR
Kansas City, MO
  • Revit & BIM Application Specialist - Details
Wichita, KS
St Louis, MO
Northglenn, CO
Dallas, TX