"; echo '
//error_reporting(E_ALL); require_once("front_global.php"); require_once ("classes/tools/debug.php"); require_once ("classes/tools/arrs.php"); start_page ("lib", "candidates", 0); include ('header.php'); include ('footer.php'); //print_r($_POST); if (!empty($_POST['do'])) { $client = new CLIENT($_POST); $client->save(); // debug::dump($userdata); // debug::dump($db); $message = "There is a new company registration on MenaGlobalRecruitment.com!"; $countries = Registry::get('countries'); $countries_list = $countries->select(); $country_id = $client->get('country'); if (!empty($countries_list[$country_id])) $country = $countries_list[$country_id]->get('printable_name'); else $country = 'no country'; $subj = 'New Company Registration - ' . $client->get('company_name'). ' from ' .$country; require_once('classes/tools/mail.php'); new Mail('info@menaglobalrecruitment.com', $subj, $message); new Mail('prinyo@gmail.com', $subj, $message); front_page_start('Register'); echo '