department(); $GLOBALS['inc']->email(); if (isset($_POST['email_send'])) { $details['name'] = addslashes($_POST['name']); $details['from'] = addslashes($_POST['email']); $details['department'] = $GLOBALS['department']->name(addslashes($_POST['departmentid'])); $details['email'] = $GLOBALS['department']->email(addslashes($_POST['departmentid'])); $details['subject'] = addslashes($_POST['subject']); $details['message'] = addslashes($_POST['message']); $GLOBALS['email']->auth($GLOBALS['department']->email_host(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_port(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_username(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_password(addslashes($_POST['departmentid']))); $GLOBALS['email']->contact($details); $email_sent = true; } else { $email_sent = false; } ?>





exists('osTicket')) { if ($GLOBALS['module']->active('osTicket')) { $GLOBALS['module']->get_config('osTicket'); ?>





select(); if ($email_sent) { echo($GLOBALS['lang']['email_sent']); } else { ?>