".chr(13).chr(10); $FromName = '=?koi8-r?B?'.base64_encode(convert_cyr_string($manlix['other']['FromName'], "w","k")).'?='; //$headers.="From: ".$manlix['other']['FromName']." <".$manlix['other']['FromMail'].">".chr(13).chr(10); $headers.="From: ".$FromName." <".$manlix['other']['FromMail'].">".chr(13).chr(10); $headers.="X-Mailer: biletvnebo.ru".chr(13).chr(10); $headers.="MIME-Version: 1.0".chr(13).chr(10); $headers.="Content-Type: ".$manlix['my']['ContentType']."; charset=".$manlix['my']['charset'].chr(13).chr(10); $headers.="Content-Transfer-Encoding: 8bit".chr(13).chr(10); $headers.="Reply-To: ".$manlix['other']['FromName']." <".$manlix['other']['FromMail'].">".chr(13).chr(10); $headers.="To: ".$manlix['my']['name']." <".$manlix['my']['mail'].">"; $subject = '=?koi8-r?B?'.base64_encode(convert_cyr_string("biletvnebo.ru: ".$manlix['my']['subject'], "w","k")).'?='; //mail($manlix['my']['mail'],$manlix['my']['subject'],$manlix['other']['FromMessage'],$headers); mail($manlix['my']['mail'],$subject,$manlix['other']['FromMessage'],$headers); } if(isset($manlix['error'])) { reset($_POST); while(list($key,$value)=each($_POST)) $manlix['other'][$key]=htmlspecialchars(manlix_stripslashes($value)); } } ParseTemplate($manlix['templates']['top']); if(!isset($manlix['okay'])) ParseTemplate($manlix['templates']['form']); else ParseTemplate($manlix['templates']['okay']); ParseTemplate($manlix['templates']['bottom']); include "../includes/sape.php"; ParseTemplate($manlix['templates']['footer']); ?>