0 )
{
$thread = $ctrl->getThread( getInt( "thread" ) );
$title = " " . @$thread["TITLE"];
}
else
{
$title = " Форум.";
}
showHeader( $title, "" );
showBodyTag();
showBodyHeader( 5, 1 );
?>
|
0 )
{
$portrait = $memberCtrl->getMemberShortPortrait( @$memberId );
?>
Добро пожаловать, = $portrait["NICKNAME"] ?>. |
Последний визит: = convertDateFromMySQL( $portrait["LAST_LOGIN"], "d M Y H:i", true ) ?> |
|
|
">Вернуться к списку всех тем форума |
= str_replace( "\\\"", "", @$thread["TITLE"] ) ?>
|
Автор: ">= $db->getValue("SELECT NICKNAME FROM member WHERE ID=" . (int) $thread["MEMBER_ID"] . "") ?>
|
Отправлено: = convertDateFromMySQL( $thread["CREATE_DATE"], "d M Y в H:i", true ) ?>
|
= str_replace( "\\\"", "\"", $thread["DESCRIPTION"] ) ?> |
|
|
getThread( getInt( "thread" ) );
$messages = $ctrl->getThreadMessages( getInt( "thread" ) );
$messCount = sizeof( $messages );
if ( $messCount > $messOnPage )
{
$pages = $messCount / $messOnPage;
$start = criteria ( getInt( "page" ), 0, $pages );
if ( $pages > (int) $pages ) $pages = (int) $pages + 1; else $pages = (int) $pages;
?>
Всего страниц: = $pages ?>. Страница: |
"; $t2 = ""; } else { $t1 = $t2 = ""; }
echo "" . $t1 . ( $i + 1 ) . $t2 . " | ";
}
?>
|
|
getMemberShortPortrait( $thread["MEMBER_ID"] );
if ( valid_array( $messages ) )
foreach ( $messages as $message )
{
$col = ( @$col == "F0F0F0" ) ? "FAFAFA" : "F0F0F0";
# $author = $memberCtrl->getMemberShortPortrait( $message["MEMBER_ID"] );
$messPortrait = $memberCtrl->getMemberShortPortrait( $message["MEMBER_ID"] );
?>
">
= str_replace( "\\\"", "\"", @$message["TITLE"] ) ?>
|
Автор: ">= $messPortrait["NICKNAME"] ?>
|
Отправлено: = convertDateFromMySQL( $message["CREATE_DATE"], "d M Y в H:i", true ) ?>
|
= str_replace( "\n", " ", str_replace( "\\'", "'", str_replace( "\\\"", "\"", $message["BODY"] ) ) ) ?> |
|
">Вернуться к списку всех тем форума |
0 ) {
?>
|