Ответов: 23 Просмотров: 0
|
для board body не делал ещё, может в этом и причина, но он же вроде за статистику отвечает.
вот так выглядит
board data (Отобразить)CODE:<?php
$board_data_header = <<<DATA
<br />
<div class="tableborder" id="fc_{$in_cat}" style="display:none;">
<div class="maintitle"colspan="5">
<p class="expand"><a href="javascript:toggleblock({$in_cat}, 0);" title="{$fm->LANG['ToggleOn']}"><img src="./templates/InvisionExBBGR/im/exp_plus.gif" alt="{$fm->LANG['ToggleOn']}" /></a></p>
<p><img src="./templates/InvisionExBBGR/im/nav_m.gif" alt=">" /> <a href="index.php?c={$in_cat}">{$category}</a></p>
</div>
</div>
<div class="tableborder" id="fo_{$in_cat}" style="display:">
<div class="maintitle">
<p class="expand"><a href="javascript:toggleblock({$in_cat}, 1);" title="{$fm->LANG['ToggleOff']}"><img src="./templates/InvisionExBBGR/im/exp_minus.gif" alt="{$fm->LANG['ToggleOff']}" /></a></p>
<p><img src="./templates/InvisionExBBGR/im/nav_m.gif" alt=">" /> <a href="index.php?c={$in_cat}">{$category}</a></p>
</div>
<table class="tableborder" width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<th align="center" width="2%" class="titlemedium"><img src="./templates/InvisionExBB/im/spacer.gif" alt="" width="28" height="1" /></th>
<th align="left" width="59%" class="titlemedium">{$fm->LANG['ForumInfo']}</th>
<th align="center" width="7%" class="titlemedium">{$fm->LANG['TopicsTotal']}</th>
<th align="center" width="7%" class="titlemedium">{$fm->LANG['Replies']}</th>
<th align="left" width="25%" class="titlemedium">{$fm->LANG['Updates']}</th>
</tr>\n
DATA;
$board_data_footer = <<<DATA
<tr>
<td class="darkrow2" colspan="5"> </td>
</tr>
</table>
</div>\n
DATA;
$board_data .= ($catrow) ? $board_data_header: '';
$board_data .= <<<DATA
<tr>
<td class="row4" align="center">{$folderpicture}</td>
<td class="row4">
DATA;
if ($sponsor) {
$board_data .= <<<DATA
<div style="float: right">
{$sponsor}
</div>
DATA;
}
$board_data .= <<<DATA
<b>{$forumname}</b><i>{$viewing}</i>
<br />
<span class="desc">{$forumdescription}
<br />
{$fm->_Modoutput}
{$sub}</span>
</td>
<td class="row2" align="center">{$threads}</td>
<td class="row2" align="center">{$posts}</td>
<td class="row2">
{$fm->LANG['Date']} <b>{$LastTopicDate}</b>
<br />
{$LastTopicName}
<br />
{$LastPosterName}
</td>
</tr>\n
DATA;
$board_data .= ($last) ? $board_data_footer: '';
?> |