set_filenames(array( 'text' => 'text_sender.tpl' )); $template->assign_vars(array( 'MANAGER_ID' => $m_data['m_id'], 'MANAGER_NAME' => $m_data['m_name'], 'MANAGER_MAIL' => $m_data['m_mail'], 'MANAGER_MAIL_KEY' => md5(substr($m_data['m_mail'], 0, 5) + 'gHo77vBd3') )); $template->pparse('text'); include($GLOBAL_INC_OUT_PATH.'/footer.inc'); ?>