0 ) { $page['formname'] = topage($visitor_name); $page['formemail'] = $email; $page['formmessage'] = topage($message); $page['showcaptcha'] = $settings["enablecaptcha"] == "1" ? "1" : ""; $page['info'] = topage($info); setup_logo(); expand("styles", getchatstyle(), "leavemessage.tpl"); exit; } $message_locale = $settings['left_messages_locale']; if(!locale_exists($message_locale)) { $message_locale = $home_locale; } store_message($visitor_name, $email, $info, $message); $subject = getstring2_("leavemail.subject", array($visitor_name), $message_locale); $body = getstring2_("leavemail.body", array($visitor_name,$email,$message,$info ? "$info\n" : ""), $message_locale); $inbox_mail = $settings['email']; if($inbox_mail) { webim_mail($inbox_mail, $email, $subject, $body); } setup_logo(); expand("styles", getchatstyle(), "leavemessagesent.tpl"); ?>