overall_header.html

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  <!-- IF S_CONTENT_DIRECTION != "ltr" --> dir="{S_CONTENT_DIRECTION}"<!-- ENDIF -->
  lang="<!-- IF S_USER_LANG == "ru-ru" -->ru<!-- ELSE -->{S_USER_LANG}<!-- ENDIF -->"
  xml:lang="<!-- IF S_USER_LANG == "ru-ru" -->ru<!-- ELSE -->{S_USER_LANG}<!-- ENDIF -->"
>
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<title>
  <!-- IF SCRIPT_NAME == "viewforum" -->{FORUM_NAME}
  <!-- ELSEIF SCRIPT_NAME == "viewtopic" -->{TOPIC_TITLE}
  <!-- ELSEIF SCRIPT_NAME == "index" -->Форум сайта-визитки
  <!-- ELSE -->{PAGE_TITLE}
  <!-- ENDIF -->
  <!-- IF S_IN_MCP --> {L_MCP} &bull;
  <!-- ELSEIF S_IN_UCP --> {L_UCP} &bull;
  <!-- ENDIF -->
</title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="задача, помощь, начертательная, геометрия" />
<meta name="description" content="Форум помощи студентам в решении задач по начертательной геометрии." />
{META}
<link rel="alternate" type="application/rss+xml" title="{SITENAME}" href="/rss.php" />
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- IF not S_IS_BOT -->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
  if ({S_NEW_PM})
  {
    popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
  }
<!-- ENDIF -->

function popup(url, width, height, name)
{
  if (!name)
  {
    name = '_popup';
  }

  window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
  return false;
}

function jumpto()
{
  var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
  var perpage = '{PER_PAGE}';
  var base_url = '{A_BASE_URL}';

  if (page !== null && !isNaN(page) && page > 0)
  {
    document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
  }
}

/**
* Find a member
*/
function find_username(url)
{
  popup(url, 760, 570, '_usersearch');
  return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
  var parent = document.getElementById(id);
  if (!parent)
  {
    eval('parent = document.' + id);
  }

  if (!parent)
  {
    return;
  }

  var rb = parent.getElementsByTagName('input');
  
  for (var r = 0; r < rb.length; r++)
  {
    if (rb[r].name.substr(0, name.length) == name)
    {
      rb[r].checked = state;
    }
  }
}

<!-- IF ._file -->

  /**
  * Play quicktime file by determining it's width/height
  * from the displayed rectangle area
  *
  * Only defined if there is a file block present.
  */
  function play_qt_file(obj)
  {
    var rectangle = obj.GetRectangle();

    if (rectangle)
    {
      rectangle = rectangle.split(',')
      var x1 = parseInt(rectangle[0]);
      var x2 = parseInt(rectangle[2]);
      var y1 = parseInt(rectangle[1]);
      var y2 = parseInt(rectangle[3]);

      var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
      var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
    }
    else
    {
      var width = 200;
      var height = 0;
    }

    obj.width = width;
    obj.height = height + 16;

    obj.SetControllerVisible(true);

    obj.Play();
  }
<!-- ENDIF -->

// ]]>
</script>
<!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">
<!-- IF not S_IS_BOT --><a name="top"></a><!-- ENDIF -->
<div id="wrapheader">

  <div id="logodesc">
    <table width="100%" cellspacing="0">
    <tr>
      <td><h1>{SITENAME}</h1></td>
      <td align="right" class="gen">{SITE_DESCRIPTION}</td>
    </tr>
    </table>
  </div>

<!-- IF not S_IS_BOT -->
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
  <div id="menubar">
    <table width="100%" cellspacing="0">
    <tr>
      <td class="genmed">
        <a href="{U_LOGIN_LOGOUT}">
          <img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}
        </a>&nbsp;
        <!-- IF U_RESTORE_PERMISSIONS --> &nbsp;
          <a href="{U_RESTORE_PERMISSIONS}">
            <img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" />
            {L_RESTORE_PERMISSIONS}
          </a>
        <!-- ENDIF -->
        <!-- IF S_USER_LOGGED_IN -->
          <!-- IF S_DISPLAY_PM --> &nbsp;
            <a href="{U_PRIVATEMSGS}">
              <img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" />
              {PRIVATE_MESSAGE_INFO}
              <!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF -->
            </a>
          <!-- ENDIF -->
        <!-- ELSE --> &nbsp;
          <a href="{U_REGISTER}">
            <img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}
          </a>
        <!-- ENDIF -->
      </td>
      <td class="genmed" align="{S_CONTENT_FLOW_END}">
        <!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;
          <a href="{U_SEARCH}">
            <img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" />
            {L_SEARCH}
          </a>
        <!-- ENDIF -->
        <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;
          <a href="{U_MEMBERLIST}">
            <img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}
          </a>
        <!-- ENDIF -->
        <!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;
          <a href="{U_PROFILE}">
            <img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}
          </a>
        <!-- ENDIF -->
      </td>
    </tr>
    </table>
  </div>
<!-- ENDIF -->
<!-- ELSE -->
<div>
  <strong>
    <a href="http://xn----7sbajzfbacq2eog.xn--p1ai/">
      &#1089;&#1072;&#1081;&#1090;-&#1074;&#1080;&#1079;&#1080;&#1090;&#1082;&#1072;
    </a>
  </strong>
</div>
<!-- ENDIF -->
</div>

<div id="wrapcentre">
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
<!-- IF not S_IS_BOT -->
  <!-- IF S_DISPLAY_SEARCH -->
  <p class="searchbar">
    <span style="float: {S_CONTENT_FLOW_BEGIN};">
      <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> |
      <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>
    </span>
    <!-- IF S_USER_LOGGED_IN -->
    <span style="float: {S_CONTENT_FLOW_END};">
      <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
    </span>
    <!-- ENDIF -->
  </p>
  <!-- ENDIF -->
  <br style="clear: both;" />
<!-- ENDIF -->
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->

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