CODE:
<?php
/****************************************************************************
* ExBB v.1.1 *
* Copyright (c) 2002-20хх by Alexander Subhankulov aka Warlock *
* *
* http://www.exbb.net *
* email: admin@exbb.net *
* *
****************************************************************************/
/****************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
****************************************************************************/
if (!defined('IN_EXBB')) die('Hack attempt!');
$GLOBALS['fm']->_FcloseAll();
$totaltime = $GLOBALS['fm']->_TotalTime();
$_GZIP_STATUS = ($GLOBALS['fm']->_PageGziped === TRUE) ? 'Gzipped':'Gzip Disabled';
echo <<<FOOTER
<center>
<font color="#990000" size="1">
[Script Execution time: $totaltime] [ {$_GZIP_STATUS} ]</font
<br /><br />
</font>
</center>
</body>
</html>
FOOTER;
ob_end_flush();
unset($GLOBALS['fm'],$lang);
exit;
?>
/****************************************************************************
* ExBB v.1.1 *
* Copyright (c) 2002-20хх by Alexander Subhankulov aka Warlock *
* *
* http://www.exbb.net *
* email: admin@exbb.net *
* *
****************************************************************************/
/****************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
****************************************************************************/
if (!defined('IN_EXBB')) die('Hack attempt!');
$GLOBALS['fm']->_FcloseAll();
$totaltime = $GLOBALS['fm']->_TotalTime();
$_GZIP_STATUS = ($GLOBALS['fm']->_PageGziped === TRUE) ? 'Gzipped':'Gzip Disabled';
echo <<<FOOTER
<center>
<font color="#990000" size="1">
[Script Execution time: $totaltime] [ {$_GZIP_STATUS} ]</font
<br /><br />
</font>
</center>
</body>
</html>
FOOTER;
ob_end_flush();
unset($GLOBALS['fm'],$lang);
exit;
?>
и переносим следующие строки в файл footer.tpl
CODE:
<?php
$totaltime = $GLOBALS['fm']->_TotalTime();
$_GZIP_STATUS = ($GLOBALS['fm']->_PageGziped === TRUE) ? 'Gzipped':'Gzip Disabled';
echo <<<DATA
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center">{$GLOBALS['fm']->_Counters}<br />
<span class="copyright">
{$GLOBALS['fm']->LANG['Powered']} <a href="http://www.exbb.org/">ExBB</a><br />
ExBB FM {$GLOBALS['fm']->exbb['version']} by <a href="http://tvoyweb.ru/forums/" title="{$GLOBALS['fm']->LANG['Support']}">TvoyWeb.ru</a><br />
InvisionExBB Style converted by <a href="http://www.tvoyweb.ru/forums" target="_blank" class="copyright">Markus®</a>
</span><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<center>
<font color="#990000" size="1">
[Script Execution time: {$totaltime}] [ {$_GZIP_STATUS} ]
<br /><br />
</font>
</center>
</body>
</html>
DATA;
?>
$totaltime = $GLOBALS['fm']->_TotalTime();
$_GZIP_STATUS = ($GLOBALS['fm']->_PageGziped === TRUE) ? 'Gzipped':'Gzip Disabled';
echo <<<DATA
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center">{$GLOBALS['fm']->_Counters}<br />
<span class="copyright">
{$GLOBALS['fm']->LANG['Powered']} <a href="http://www.exbb.org/">ExBB</a><br />
ExBB FM {$GLOBALS['fm']->exbb['version']} by <a href="http://tvoyweb.ru/forums/" title="{$GLOBALS['fm']->LANG['Support']}">TvoyWeb.ru</a><br />
InvisionExBB Style converted by <a href="http://www.tvoyweb.ru/forums" target="_blank" class="copyright">Markus®</a>
</span><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<center>
<font color="#990000" size="1">
[Script Execution time: {$totaltime}] [ {$_GZIP_STATUS} ]
<br /><br />
</font>
</center>
</body>
</html>
DATA;
?>
в исходном файле остается :
CODE:
<?php
/****************************************************************************
* ExBB v.1.1 *
* Copyright (c) 2002-20хх by Alexander Subhankulov aka Warlock *
* *
* http://www.exbb.net *
* email: admin@exbb.net *
* *
****************************************************************************/
/****************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
****************************************************************************/
if (!defined('IN_EXBB')) die('Hack attempt!');
$GLOBALS['fm']->_FcloseAll();
ob_end_flush();
unset($GLOBALS['fm'],$lang);
exit;
?>
/****************************************************************************
* ExBB v.1.1 *
* Copyright (c) 2002-20хх by Alexander Subhankulov aka Warlock *
* *
* http://www.exbb.net *
* email: admin@exbb.net *
* *
****************************************************************************/
/****************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
****************************************************************************/
if (!defined('IN_EXBB')) die('Hack attempt!');
$GLOBALS['fm']->_FcloseAll();
ob_end_flush();
unset($GLOBALS['fm'],$lang);
exit;
?>
эту процедуру нужно проделать в каждом шаблоне который Вы используете.
в итоге имеем все файлы влияющие на шаблон в паке с шаблоном
что позволит задать общий стиль оформления для всего "низа" странички и оформлять эти строки согласно общего стиля для каждого шаблона отдельно.
и если кому не интересна информация о сжатии и генерации странички
CODE:
<?php
echo <<<DATA
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center">{$GLOBALS['fm']->_Counters}<br />
<span class="copyright">
{$GLOBALS['fm']->LANG['Powered']} <a href="http://www.exbb.org/">ExBB</a><br />
ExBB FM {$GLOBALS['fm']->exbb['version']} by <a href="http://tvoyweb.ru/forums/" title="{$GLOBALS['fm']->LANG['Support']}">TvoyWeb.ru</a><br />
InvisionExBB Style converted by <a href="http://www.tvoyweb.ru/forums" target="_blank" class="copyright">Markus®</a>
</span><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
DATA;
?>
echo <<<DATA
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center">{$GLOBALS['fm']->_Counters}<br />
<span class="copyright">
{$GLOBALS['fm']->LANG['Powered']} <a href="http://www.exbb.org/">ExBB</a><br />
ExBB FM {$GLOBALS['fm']->exbb['version']} by <a href="http://tvoyweb.ru/forums/" title="{$GLOBALS['fm']->LANG['Support']}">TvoyWeb.ru</a><br />
InvisionExBB Style converted by <a href="http://www.tvoyweb.ru/forums" target="_blank" class="copyright">Markus®</a>
</span><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
DATA;
?>