yura3d пишет:yura3d пишет:
Конкретнее, в какое именно место шаблона board_body.tpl вставляется код?
Первый вариант, после
CODE:LOGINS;
/*
Chat informer
*/
$chat_informer = '';
if ($fm->exbb['chat'])
$chat_informer = <<<DATA
<div align="center" id="chat_informer"><br /><br /></div>
<script language="JavaScript" src="modules/chat/javascript/informer.js"></script>
DATA;
/*
Board body
*/
echo <<<DATA
<br />
Второй вариант, после
CODE:<tr>
<td class="row2" width="5%" align="center" valign="middle"><img src="./templates/InvisionExBB/im/stats.gif" border="0" alt="Board Stats" /></td>
<td class="row4" width="95%" align="left">
{$fm->LANG['NewUser']} <a href="profile.php?action=show&member={$fm->_Stats['last_id']}" title="{$fm->_Stats['lastreg']}">{$fm->_Stats['lastreg']}</a>
<br />
{$fm->LANG['UsersTotal']} <b>{$fm->_Stats['totalmembers']}</b>
<br />
{$fm->LANG['PostsTotal']} <b>{$fm->_Stats['totalposts']}</b>
<br />
{$fm->LANG['TopicsTotal']}: <b>{$fm->_Stats['totalthreads']}</b>
<br />{$maximum}
</td>
</tr>
</table>
<br />
|