set_filenames(array( 'text' => 'a-index.tpl' )); $manager_img = '
'; $mstorytext = $mobj->message_to_view(str_replace($ma_data[0], $ma_data[1], $m_data['m_story']), 0, $m_data['bbcode_uid']); if (strlen($mstorytext) > 200) { $manager_img .= ''; } else { $manager_img .= ''; } $manager_img .= ''; $manager_img .= '
С верой в ваш успех,
'.$m_data['m_name'].'
С верой в ваш успех,
'.$m_data['m_name'].'
'.$mobj->get_photo($id).'
'; $template->assign_vars(array( 'MANAGER_ID' => $m_data['m_id'], 'MANAGER_NAME' => $m_data['m_name'], 'MANAGER_PHOTO_ETC' => $manager_img, 'MAIL_FORM' => $mail_form )); $template->pparse('text'); // вывод меню и окончания include($GLOBAL_INC_OUT_PATH.'/footer.inc'); ?>