<?php
/**
* XS2:
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @package XS2-MODCOM
* @subpackage proc-vacancies
* @version 1.XX
*/
if ($_POST) {
$subject = 'Новое резюме с сайта www.yoursite.com';
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=windows-1251\r\n";
$headers .= "From: www.yoursite.com\r\n";
$item = xs2GetNode(array('NodId'=>$_POST['Vacancy']));
$message = '<b>Вакансия/специальность:</b> '.$item['NName'].'<BR>';
$message .= '<b>ФИО:</b> '.$_POST['NName'].'<BR>';
$message .= '<b>Телефон:</b> '.$_POST['Phone'].'<BR>';
$message .= '<b>Email:</b> '.$_POST['Email'].'<BR>';
$message .= '<b>Образование:</b> '.$_POST['Education'].'<BR>';
$message .= '<b>Опыт работы:</b> '.$_POST['Experience'].'<BR>';
$message .= '<b>О себе:</b> '.$_POST['AboutYourself'];
mail('your@site.ru', $subject, $message, $headers);
}
?>
|
|