index_body.html

Файл шаблона главной страницы форума. Для оптимизации содержания можно закрыть от ботов таблицы со статистикой и легендой форума.

<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP -->
  <div id="pageheader">
    <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
  </div>

  <br clear="all" /><br />
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->

<br clear="all" />


<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
  <br clear="all" />

  <table class="tablebg" width="100%" cellspacing="1">
  <tr>
    <td class="cat" colspan="2">
      <!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4>
    <!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4>
    <!-- ENDIF -->
  </td>
  </tr>
  <tr>
  <!-- IF LEGEND -->
    <td class="row1" rowspan="2" align="center" valign="middle">
      <img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" />
    </td>
  <!-- ELSE -->
    <td class="row1" align="center" valign="middle">
      <img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" />
    </td>
  <!-- ENDIF -->
    <td class="row1" width="100%">
      <span class="genmed">{TOTAL_USERS_ONLINE}
        ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}
      </span>
    </td>
  </tr>
  <!-- IF LEGEND -->
    <tr>
      <td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
    </tr>
  <!-- ENDIF -->
  </table>
  <!-- IF WHO_WAS_HERE_DISPLAY -->
<br clear="all" />

  <table class="tablebg" width="100%" cellspacing="1">
  <tr>
    <td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
  </tr>
  <tr>
    <td class="row1" align="center" valign="middle">
      <img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" />
    </td>
    <td class="row1" width="100%">
      <span class="genmed">
        <!-- IF WHO_WAS_HERE_LIST2 -->
          {WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}
        <!-- ELSE -->{L_WWH_UPDATE_NEED}
        <!-- ENDIF -->
      </span>
    </td>
  </tr>
  </table>
  <!-- ENDIF -->
<!-- ENDIF -->


<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
  <td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
  <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
  <td class="row1" width="100%" valign="middle">
    <p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p>
  </td>
</tr>
</table>


<br clear="all" />

<table class="legend">
<tr>
  <td width="20" align="center">{FORUM_NEW_IMG}</td>
  <td><span class="gensmall">{L_NEW_POSTS}</span></td>
  <td>&nbsp;&nbsp;</td>
  <td width="20" align="center">{FORUM_IMG}</td>
  <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
  <td>&nbsp;&nbsp;</td>
  <td width="20" align="center">{FORUM_LOCKED_IMG}</td>
  <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

Файлы шаблонов форума phpBB