Файл: apwa/styles/red-gold/template/portal_index_body.html
Строк: 259
<?php
<!-- INCLUDE overall_header.html -->
<div id="right-content">
<!-- IF S_NO_ATT_TO_SHOW -->
<div class="panel">
<script type="text/javascript" src="{T_TEMPLATE_PATH}/crawl.js"></script>
<div id="mycrawler" class="marquee">
<!-- BEGIN forum_pics -->
<!-- IF forum_pics.S_SMALL -->
<a href="{forum_pics.TOPIC_ID}"><img class="imgcraw" src="{forum_pics.ATTACH_IMG}" title="{forum_pics.TOPIC_TIITLE}_{forum_pics.FILE_NAME}" alt="{forum_pics.FILE_NAME}" /></a>
<!-- ENDIF -->
<!-- END forum_pics -->
</div>
</div>
<!-- ENDIF -->
<!-- IF ADS_18 --><div style="text-align:center;overflow:hidden;margin-bottom:10px">{ADS_18}</div><!-- ENDIF -->
<script type="text/javascript">
//<![CDATA[
var panels = new Array();
function addcattab(id, text)
{
var ccc = document.getElementById('categories');
var tab_id = id + '-tab';
var _li = document.createElement('li');
_li.id = tab_id;
_li.innerHTML = '<a href="' + "#tabs" + '" onclick="' + "subPanels('" + id + "'); createCookie('IndexCatId', '" + is_in_array(id, panels) + "'); return false;" + '"><span>' + text + "</span></a>";
ccc.appendChild(_li);
}
//]]>
</script>
<div id="tabs"><ul id="categories"><li></li></ul></div>
<!-- BEGIN forumrow -->
<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
</ul>
</div>
<!-- ENDIF -->
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
<script type="text/javascript">
//<![CDATA[
panels.push('cattab-{forumrow.FORUM_ID}');
addcattab('cattab-{forumrow.FORUM_ID}', '<!-- IF forumrow.S_IS_CAT -->{forumrow.FORUM_NAME}<!-- ELSE -->{L_FORUM}<!-- ENDIF -->');
//]]>
</script>
<div id="cattab-{forumrow.FORUM_ID}" class="forabg">
<h2 class="panel-header"><!-- IF forumrow.S_IS_CAT --><span class="panel-icon"><i class="icon-globe-1"></i></span><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE --><span class="panel-icon"><i class="icon-doc-new"></i></span>{L_FORUM}<!-- ENDIF --></h2>
<ul class="topiclist forums">
<!-- ENDIF -->
<!-- IF not forumrow.S_IS_CAT -->
<li class="row">
<dl class="<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT -->thanks<!-- ELSE -->icon<!-- ENDIF -->" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
{forumrow.FORUM_DESC}
<!-- BEGIN reput -->
<!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and forumrow.reput.FORUM_REPUT and not S_IS_BOT and not forumrow.reput.S_THANKS_FORUM_REPUT_VIEW_COLUMN -->
<span style="display: block;">
<!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
<span style="display: block; float: left; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>
<!-- ENDIF -->
{L_REPUT}: {forumrow.reput.FORUM_REPUT}
</span>
<!-- ENDIF -->
<!-- END reput -->
<!-- IF forumrow.MODERATORS -->
<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
<!-- ENDIF -->
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->
</dt>
<!-- IF forumrow.CLICKS -->
<dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd>
<!-- ELSEIF not forumrow.S_IS_LINK -->
<dd class="posts" style="line-height:1.4em;">{L_TOPICS}<br />{L_POSTS}</dd>
<dd class="topics" style="line-height:1.4em;">{forumrow.TOPICS}<br />{forumrow.POSTS}</dd>
<!-- BEGIN reput -->
<!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and not S_IS_BOT and forumrow.reput.S_THANKS_FORUM_REPUT_VIEW_COLUMN -->
<dd style="display: block; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH};">
<!-- IF forumrow.reput.FORUM_REPUT -->
<span style="display: block;">{forumrow.reput.FORUM_REPUT}
<!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
<span style="display: block; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"> </span></span>
<!-- ENDIF -->
</span>
<!-- ENDIF -->
</dd>
<!-- ENDIF -->
<!-- END reput -->
<dd class="lastpost<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT --> lastpostthanks<!-- ENDIF -->">
<span>
<!-- IF forumrow.U_UNAPPROVED_TOPICS --><a title="{L_TOPICS_UNAPPROVED}" href="{forumrow.U_UNAPPROVED_TOPICS}"><i class="icon-help-circled-alt ic-unaproved"></i></a> <!-- ENDIF -->
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}" title="{L_VIEW_LATEST_POST}"><!-- IF S_CONTENT_DIRECTION eq 'rtl' --><i class="fa fa-arrow-left last-post-icon"></i><!-- ELSE --><i class="fa fa-arrow-right last-post-icon"></i><!-- ENDIF --></a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span>
</dd>
<!-- ENDIF -->
</dl>
</li>
<!-- ENDIF -->
<!-- IF forumrow.S_LAST_ROW -->
</ul>
</div>
<!-- ENDIF -->
<!-- END forumrow -->
<script type="text/javascript">
//<![CDATA[
var _def_id = 0;
var _car_id = _def_id;
var _cookie_value = readCookie('IndexCatId');
if (_cookie_value != null)
{
if (_cookie_value >= 0) _car_id = _cookie_value;
}
subPanels(panels[_car_id]);
//]]>
</script>
<div class="post" style="padding:0px;">
<div class="postbody">
<div class="forumbg">
<ul class="topiclist">
<li class="header">
<dl class="icon"><dt><span class="panel-icon"><i class="icon-doc-new"></i></span>{L_SEARCH_ACTIVE_TOPICS}</dt>
<dd class="lastpost">{L_RECENT_TOPICS}</dd></dl>
</li>
</ul>
<div class="panel">
<!-- IF ANNO_TITLE --><h2 title="{L_RECENT_ANNO_TEXT}">{ANNO_TITLE}</h2><p>{ANNO_TEXT}</p><!-- ENDIF -->
<!-- IF .recent_posts -->
<div class="<!-- IF .recent_topics -->column1<!-- ELSE -->content<!-- ENDIF -->">
<ul class="topiclist forums">
<!-- BEGIN recent_posts -->
<li class="row"><a href="{recent_posts.U_VIEW_TOPIC}" title="{recent_posts.FULL_TITLE}">{recent_posts.TITLE}</a> <a href="{recent_posts.U_LAST_POST}"<!-- IF recent_posts.S_UNREAD_TOPIC --> class="link-new"<!-- ENDIF -->>({recent_posts.TOPIC_REPLIES}) <!-- IF recent_posts.S_UNREAD_TOPIC -->{NEWEST_POST_IMG}<!-- ELSE -->{LAST_POST_IMG}<!-- ENDIF --></a></li>
<!-- END recent_posts -->
</ul>
</div>
<!-- ENDIF -->
<!-- IF .recent_topics -->
<div class="<!-- IF .recent_posts -->column2 lastpost<!-- ELSE -->content<!-- ENDIF -->">
<ul class="topiclist forums">
<!-- BEGIN recent_topics -->
<li class="row"><a href="{recent_topics.U_VIEW_TOPIC}" title="{recent_topics.FULL_TITLE}">{recent_topics.TITLE}</a> <a href="{recent_topics.U_LAST_POST}"<!-- IF recent_topics.S_UNREAD_TOPIC --> class="link-new"<!-- ENDIF -->>({recent_topics.TOPIC_REPLIES}) <!-- IF recent_topics.S_UNREAD_TOPIC -->{NEWEST_POST_IMG}<!-- ELSE -->{LAST_POST_IMG}<!-- ENDIF --></a></li>
<!-- END recent_topics -->
</ul>
</div>
<!-- ENDIF -->
</div>
</div>
<!-- INCLUDE gallery/imageblock_body.html -->
</div>
<div class="postprofile bg3">
<!-- IF .commentrow -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-comment-1"></i></span>{L_COMMENTS}</h3>
<div style="max-height:<!-- IF ADS_18 -->960<!-- ELSE -->866<!-- ENDIF -->px;overflow:auto;text-align:center;">
<!-- BEGIN commentrow -->
<div class="post <!-- IF commentrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->" style="border: 1px solid #fff; margin:2px;display:inline-block;">
<p class="author"><a href="{commentrow.U_COMMENT}">{MINI_POST_IMG}</a> {commentrow.POST_AUTHOR_FULL} » {commentrow.TIME}</p>
<div class="content">{commentrow.TEXT}</div>
<h2 style="display:none"><i class="fa fa-file-o"></i> {commentrow.UC_IMAGE_NAME}</h2>
<dl class="imagesmall"><dt>{commentrow.UC_THUMBNAIL}</dt></dl>
</div>
<!-- END commentrow -->
</div>
<!-- ENDIF -->
</div>
</div>
<!-- IF WHO_WAS_HERE_TOTAL -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-info-circled-alt"></i></span>{L_WHO_WAS_HERE}</h3>
<div class="panel"><p>{WHO_WAS_HERE_TOTAL} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p></div>
<!-- ELSEIF U_ACP -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-info-circled-alt"></i></span>{L_WHO_WAS_HERE}</h3>
<div class="panel"><p>{L_WWH_UPDATE_NEED}</p></div>
<!-- ENDIF -->
</div>
<div id="sidebar">
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div class="sblock">
<div class="search-block-content sidebar-search-box">
<form action="{U_SEARCH}" method="get" id="search" >
<fieldset>
<div class="sidebar-inside-sb">
<a class="adv-search-btn" title="{L_SEARCH_ADV}" href="{U_SEARCH}"><i class="icon-plus-circled"></i></a>
<input class="inputbox search" type="text" name="keywords" id="search_keywords" size="20" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" type="submit" value="" />
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
</div>
</fieldset>
</form>
</div>
</div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-user-md"></i></span>
<!-- IF SN_MODULE_ACTIVITYPAGE_ENABLED --><a href="{U_SN_ACTIVITYPAGE}">{L_SN_AP_ACTIVITYPAGE}</a>
<!-- ELSE -->Online: {S_ONLINE}<!-- ENDIF --></h3>
<div class="panel">
<!-- IF SITE_AVATAR_IMG and S_USER_LOGGED_IN -->
<dl class="left-box">
<dt><!-- IF SN_MODULE_ACTIVITYPAGE_ENABLED -->
<a href="{U_SN_ACTIVITYPAGE}">{SITE_AVATAR_IMG}</a><!-- ELSE -->{SITE_AVATAR_IMG}<!-- ENDIF --></dt>
</dl>
<!-- ENDIF -->
<p style="text-align:center">
{WELCOME_USER}<br />
<!-- IF S_USER_LOGGED_IN -->
{LAST_VISIT_DATE}
<!-- ELSE -->
<!-- IF .soc_row -->
<div class="socbuttons button">
<!-- BEGIN soc_row -->
<a class="{soc_row.S_PROVIDER}" href="{soc_row.U_PROVIDER}" title="{L_SOC_TITLE}: {soc_row.L_PROVIDER}"><span>{soc_row.L_PROVIDER}</span></a>
<!-- END soc_row -->
</div>
<!-- ENDIF -->
{CURRENT_TIME}
<!-- ENDIF -->
</p>
</div>
<!-- ENDIF -->
<!-- INCLUDE forum_menu.html -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-gift"></i></span>{L_BIRTHDAYS}</h3>
<div class="panel" >
<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
</div>
<!-- ENDIF -->
<!-- IF ADS_17 --><div class="sblock">{ADS_17}</div><!-- ENDIF -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-user-male"></i></span>Друзья сайта</h3>
<div class="panel" style="text-align:center">
<a href="http://aist-deti.org" title="Всё лучшее детям">
<img src="{T_THEME_PATH}/images/aist-detibanner.gif" alt="Аист, дети, трекер" /></a><br /><br />
<a href="http://pauk.ru.com" title="Домашние питомцы">
<img src="{T_THEME_PATH}/images/pauk_big.png" alt="Пауки дома" /></a>
</div>
<!-- IF NEWEST_USER -->
<h3 class="panel-header"><span class="panel-icon"><i class="icon-chart-bar"></i></span>{L_STATISTICS}</h3>
<div class="panel">
<p>• {L_TOPICS} {TOTAL_POSTS} • {L_POSTS} {TOTAL_TOPICS}<br />
• {L_GALLERY} {TOTAL_IMAGES} • Комментарии {TOTAL_COMMENTS}<br />
• {L_MEMBERLIST} {TOTAL_USERS} • {NEWEST_USER}</p>
</div>
<!-- ENDIF -->
</div>
<!-- INCLUDE overall_footer.html -->
?>