|
|
@ -76,7 +76,7 @@ class ContactsNew |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Конструктор |
|
|
|
* Конструктор |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function __construct ($email) |
|
|
|
function __construct () |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->fields_main = array_keys($this->fields_main_data); |
|
|
|
$this->fields_main = array_keys($this->fields_main_data); |
|
|
|
$this->fields_main_in_string = "'" . implode("','",$this->fields_main) . "'"; |
|
|
|
$this->fields_main_in_string = "'" . implode("','",$this->fields_main) . "'"; |
|
|
@ -976,7 +976,7 @@ class ContactsNew |
|
|
|
// парсим теги полей и названий |
|
|
|
// парсим теги полей и названий |
|
|
|
$tpl = preg_replace_callback('/\[tag:fld:(\d+)]/', array($this,'_parse_tag_fld_form'), $tpl); |
|
|
|
$tpl = preg_replace_callback('/\[tag:fld:(\d+)]/', array($this,'_parse_tag_fld_form'), $tpl); |
|
|
|
$tpl = preg_replace_callback('/\[tag:title:([A-Za-z0-9-_]+)]/', array($this,'_parse_tag_title'),$tpl); |
|
|
|
$tpl = preg_replace_callback('/\[tag:title:([A-Za-z0-9-_]+)]/', array($this,'_parse_tag_title'),$tpl); |
|
|
|
unset($_SESSION['captcha_keystring']); |
|
|
|
|
|
|
|
// выполняем код после валидации |
|
|
|
// выполняем код после валидации |
|
|
|
eval('?>' . $this->form['code_onvalidate'] . '<?'); |
|
|
|
eval('?>' . $this->form['code_onvalidate'] . '<?'); |
|
|
|
|
|
|
|
|
|
|
|