Документация CMSv4

Чат блок





<?php
        // чат комната
        $cChatRooms->ChatBlock(array(
                        'ROOM_ID' => 1,
                        'TEMPLATE_CHAT_BLOCK' => 'chat_block2',
                        'TEMPLATE_CHAT_BLOCK_PARAMS' => array(),
                        'TEMPLATE_ROOM_OPEN' => 'room_open',
                        'ACCESS_MESSAGE' => 'Только зарегистрированные пользователи',
                        'BANN_MESSAGE' => 'Чат комната закрыта на определённое время',
                        'OPEN_SUBMIT_NAME' => 'Войти в чат',
                        'INC_ROOM_BANNED' => '/banned.php',
                        'AJAX' => 'Y',
                        'HTML_FORM_ROOM_OPEN' => array(
                                                'FORM' => '',
                                                'USER_NIC' => '',
                                                'FORM_SUBMIT' => ' style="padding:7px;"'
                        )
        ));
?>







Комментарии