Advertisement
Guest User

overall_header

a guest
Sep 28th, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | Photo | 0 0
  1. <!DOCTYPE html>
  2. <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1" />
  7. {META}
  8. <title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
  9.  
  10. <!-- IF not S_IS_BOT --><script>
  11. // START MANDATORY CHANGES
  12. var wordpress_url_page_f = 'https://knigi-igri.net/board'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page
  13. var w3all_custom_wp_w3fancyurl = 'w3' // MANDATORY! If you changed w3 to have 'fancy URL' query string for the WP page forum, then change this value to match what your fancy URL setting is after you changed it on plugin admin page
  14. // END MANDATORY CHANGES
  15.  
  16. function w3all0Normalize_phpBBUrl(u){
  17. var bu = "{BOARD_URL}";
  18. w3allappend = "{BOARD_URL}";
  19. if ( /^https?/ig.exec(u) !== null ){
  20. phpbburl = u.split(bu);
  21. w3allappend = phpbburl[1];
  22. }
  23. if(/^\W/ig.exec(w3allappend) !== null){
  24. w3allappend = w3allappend.split(/^.+?(\w+.+)$/);
  25. if(w3allappend[1]){
  26. w3allappend = w3allappend[1];
  27. }
  28. if ( w3allappend[1] && w3allappend[1].charAt(0) == '/' ){
  29. w3allappend = w3allappend[1].substr(1);
  30. }
  31. }
  32. return w3allappend;
  33. }
  34.  
  35. if ((window.self !== window.top) != true) {
  36. if(/adm\//ig.exec(window.location.href) === null){ // avoid x ACP
  37. var w3all_r = window.location.href.replace(/sid=.+/gi, '');
  38. w3all_r = w3all0Normalize_phpBBUrl(w3all_r);
  39. if(/adm\/index\.php/ig.exec(w3all_r) == null){
  40. hrefEnc = window.btoa(unescape(encodeURIComponent(w3all_r)));
  41. href0 = wordpress_url_page_f + '/?'+ w3all_custom_wp_w3fancyurl + '=' + hrefEnc;
  42. //document.location.replace(href0);
  43. }
  44. }}
  45. // END force w3all to iframe redirect
  46. </script>
  47. <!-- ENDIF -->
  48.  
  49. <!-- IF S_ENABLE_FEEDS -->
  50. <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{{ path('phpbb_feed_index') }}"><!-- ENDIF -->
  51. <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{{ path('phpbb_feed_news') }}"><!-- ENDIF -->
  52. <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{{ path('phpbb_feed_forums') }}"><!-- ENDIF -->
  53. <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{{ path('phpbb_feed_topics') }}"><!-- ENDIF -->
  54. <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{{ path('phpbb_feed_topics_active') }}"><!-- ENDIF -->
  55. <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{{ path('phpbb_feed_forum', { forum_id : S_FORUM_ID } ) }}"><!-- ENDIF -->
  56. <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{{ path('phpbb_feed_topic', { topic_id : S_TOPIC_ID } ) }}"><!-- ENDIF -->
  57. <!-- EVENT overall_header_feeds -->
  58. <!-- ENDIF -->
  59.  
  60. <!-- IF U_CANONICAL -->
  61. <link rel="canonical" href="{U_CANONICAL}">
  62. <!-- ENDIF -->
  63.  
  64. <!--
  65. phpBB style name: prosilver
  66. Based on style: prosilver (this is the default phpBB3 style)
  67. Original author: Tom Beddard ( http://www.subBlue.com/ )
  68. Modified by:
  69. -->
  70.  
  71. <!-- IF S_ALLOW_CDN -->
  72. <script>
  73. WebFontConfig = {
  74. google: {
  75. families: ['Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese']
  76. }
  77. };
  78.  
  79. (function(d) {
  80. var wf = d.createElement('script'), s = d.scripts[0];
  81. wf.src = 'https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.min.js';
  82. wf.async = true;
  83. s.parentNode.insertBefore(wf, s);
  84. })(document);
  85. </script>
  86. <!-- ENDIF -->
  87. <link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
  88. <link href="{T_STYLESHEET_LINK}" rel="stylesheet">
  89. <link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet">
  90.  
  91. <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
  92. <link href="{T_THEME_PATH}/bidi.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
  93. <!-- ENDIF -->
  94.  
  95. <!-- IF S_PLUPLOAD -->
  96. <link href="{T_THEME_PATH}/plupload.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
  97. <!-- ENDIF -->
  98.  
  99. <!-- IF S_COOKIE_NOTICE -->
  100. <link href="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
  101. <!-- ENDIF -->
  102.  
  103. <!--[if lte IE 9]>
  104. <link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
  105. <![endif]-->
  106.  
  107. <!-- EVENT overall_header_head_append -->
  108.  
  109. {$STYLESHEETS}
  110.  
  111. <!-- EVENT overall_header_stylesheets_after -->
  112.  
  113. </head>
  114. <body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}">
  115.  
  116. <!-- EVENT overall_header_body_before -->
  117.  
  118. <div id="wrap" class="wrap">
  119. <a id="top" class="top-anchor" accesskey="t"></a>
  120. <div id="page-header">
  121. <div class="headerbar" role="banner">
  122. <!-- EVENT overall_header_headerbar_before -->
  123. <div class="inner">
  124.  
  125. <div id="site-description" class="site-description">
  126. <a id="logo" class="logo" href="{% if U_SITE_HOME %}{{ U_SITE_HOME }}{% else %}{{ U_INDEX }}{% endif %}" title="{% if U_SITE_HOME %}{{ L_SITE_HOME }}{% else %}{{ L_INDEX }}{% endif %}">
  127. <span class="site_logo"></span>
  128. </a>
  129. <h1>{SITENAME}</h1>
  130. <p>{SITE_DESCRIPTION}</p>
  131. <p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
  132. </div>
  133.  
  134. <!-- EVENT overall_header_searchbox_before -->
  135. <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
  136. <div id="search-box" class="search-box search-header" role="search">
  137. <form action="{U_SEARCH}" method="get" id="search">
  138. <fieldset>
  139. <input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
  140. <button class="button button-search" type="submit" title="{L_SEARCH}">
  141. <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
  142. </button>
  143. <a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
  144. <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
  145. </a>
  146. {S_SEARCH_HIDDEN_FIELDS}
  147. </fieldset>
  148. </form>
  149. </div>
  150. <!-- ENDIF -->
  151. <!-- EVENT overall_header_searchbox_after -->
  152.  
  153. </div>
  154. <!-- EVENT overall_header_headerbar_after -->
  155. </div>
  156. <!-- EVENT overall_header_navbar_before -->
  157. <!-- INCLUDE navbar_header.html -->
  158. </div>
  159.  
  160. <!-- EVENT overall_header_page_body_before -->
  161.  
  162. <a id="start_here" class="anchor"></a>
  163. <div id="page-body" class="page-body" role="main">
  164. <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
  165. <div id="information" class="rules">
  166. <div class="inner">
  167. <strong>{L_INFORMATION}{L_COLON}</strong> {L_BOARD_DISABLED}
  168. </div>
  169. </div>
  170. <!-- ENDIF -->
  171.  
  172. <!-- EVENT overall_header_content_before -->
  173.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement