0) { $AREA['subtitle']="".$info_group_array["rubrika_name"].""; $thismsg['theme_id']=$info_group_array["record_id"]; // $AREA['subtitle'].="(".$thismsg['theme_id'].")"; //отладочный код } if ($foundmsg_old==0) $txtarray[3]='Выбранное вами сообщение в БД не обнаружено'; $AREA['content'].="

".nl2br($thismsg['subjectname'])."
"; if (strlen($txtarray[1])>0) $AREA['content'].="".$txtarray[1].""; $AREA['content'].="


"; //отображаем строку для выбора нужной страницы $totpages=util_calulate_count_page($thismsg["msg_post_count"], $CONFIG['bb_post_per_page']); if ($totpages>1) $stranica_text="
Страница ".util_prepare_number_pages($thispagename."?r=".$info_razdel."&t=".$info_group."&m=".$info_msgid."&ord=".$post_order_direction, $totpages, $post_pagenumber)."

"; $AREA['content'].=$stranica_text; //теперь выводим наше сообщение while( ($currline=array_shift($thismsg["msg_body_by_post"]) ) ) { $AREA['content'].=nl2br($currline["post"]); $AREA['content'].="".$currline["date_post"]."

"; } if ($totpages>1) $AREA['content'].=$stranica_text; if (isset($thismsg["header"]["datecreate"]) ) $AREA['content'].="

Всего просмотров ".$thismsg["header"]["counter_view"]." (с ".$thismsg["header"]["datecreate"].")\n"; $AREA['content'].="
Всего сообщений в данной теме:".$thismsg["msg_post_count"].""; if ($info_razdel==5) //обратная сортировка доступна только для форумов (круглый стол) { //выводим приглашение для пересортировки постов $AREA['content'].="
"; if ($post_order_direction==0) $AREA['content'].="Отобразить общение в обратном порядке"; else $AREA['content'].="Отобразить общение в обычном порядке"; $AREA['content'].=""; } db_disconnect($dblink); //отключаемся от сервера БД... include_once($CONFIG['tmpl']); //подключаем файлик который будет выводить экран ?>