|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: |
function Precruit() {
global $mainframe;
$db =& JFactory::getDBO();
// GET INFORMATION FROM THE FORM //////////////////////////////////////////////////////
$pfname = $db->getEscaped($_POST['pfname'], true );
$plname = $db->getEscaped($_POST['plname'], true);
$paddress = $db->getEscaped($_POST['paddress'], true);
$pcity = $db->getEscaped($_POST['pcity'], true);
$pstate = $db->getEscaped($_POST['pstate'], true);
$pzip = $db->getEscaped($_POST['pzip'], true);
$pemail = $db->getEscaped($_POST['pemail'], true);
$pphone1 = $db->getEscaped($_POST['pphone1'], true);
$contacttime = $db->getEscaped($_POST['contacttime'], true);
$availability = $db->getEscaped($_POST['availability'], true);
$bcertified = $db->getEscaped($_POST['bcertified'], true);
$beligible = $db->getEscaped($_POST['beligible'], true);
$apm = $db->getEscaped($_POST['apm'], true);
$availabilitydate = date('m-d-Y', strtotime($availability));
$anesthesia = $db->getEscaped($_POST['anesthesia'], true);
$dermatology = $db->getEscaped($_POST['dermatology'], true);
$earnosethroat = $db->getEscaped($_POST['earnosethroat'], true);
$familymedicine = $db->getEscaped($_POST['familymedicine'], true);
$generalsurgery = $db->getEscaped($_POST['generalsurgery'], true);
$hospitalist = $db->getEscaped($_POST['hospitalist'], true);
$internalmedicine = $db->getEscaped($_POST['internalmedicine'], true);
$obgyn = $db->getEscaped($_POST['obgyn'], true);
$orthopedics = $db->getEscaped($_POST['orthopedics'], true);
$pediatrics = $db->getEscaped($_POST['pediatrics'], true);
$other = $db->getEscaped($_POST['other'], true);
// GET INFORMATION FROM CONFIG TO SEND THE EMAIL ///////////////////////////////////////
$introList = getIntro();
$emailto = $db->getEscaped($introList->emailto, true);
$from = $introList->emailfrom;
$fromname = 'NO REPLY - Physician Recruitment Submission';
$recipient[] = $introList->emailto;
$subject = 'Physician Recruitment Submitted';
$body = '<font face=arial><p>'
.'<b>======================================</b><br />'
.'<b>PHYSICIAN INFORMATION</b><br />'
.'<b>======================================</b><br />'
.'<b>First Name:</b> ' . $pfname . '<br />'
.'<b>Last Name:</b> ' . $plname . '<br />'
.'<b>Address:</b> ' . $paddress . '<br />'
.'<b>City:</b> ' . $pcity . '<br />'
.'<b>State:</b> ' . $pstate . '<br />'
.'<b>Zip:</b> ' . $pzip . '<br />'
.'<b>Email:</b> ' . $pemail . '<p>'
.'<b>Best Contact Number:</b> ' . $pphone1 . '<br />'
.'<b>Best Contact Time:</b> ' . $contacttime .' '. $apm .'<br />'
.'<b>Availability:</b> ' . $availabilitydate . '<br />'
.'<b>Board Certified:</b> ' . $bcertified . '<br />'
.'<b>Board Eligible:</b> ' . $beligible . '<br />'
.'<b>======================================</b><br />'
.'<b>SPECIALITIES</b><br />'
.'<b>======================================</b><br />'
.'' . $anesthesia . '<br />'
.'' . $dermatology . '<br />'
.'' . $earnosethroat . '<br />'
.'' . $familymedicine . '<br />'
.'' . $generalsurgery . '<br />'
.'' . $hospitalist . '<br />'
.'' . $internalmedicine . '<br />'
.'' . $obgyn . '<br />'
.'' . $orthopedics . '<br />'
.'' . $pediatrics . '<br />'
.'' . $other . '<br />'
.'This is an automated email. Please do not reply to it.</font>';
$mode = 1;
JUtility::sendMail($from, $fromname, $recipient, $subject, $body, $mode);
$link = JRoute::_('index.php?option=com_precruit&task=sent');
$mainframe->redirect($link);
}
|
Advertisement
| Hall of Fame |