<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Форум</title>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>

<body>
<div class="full_design">
<div class="in_skygamers">
$GLOBAL_AHEADER$

<div class="content-block">
<div class="forumContent">
<table border="0" cellpadding="0" height="30" cellspacing="0" width="100%">
<tr>
<td align="right">[<?if($USER_LOGGED_IN$)?>
<a href="javascript://" rel="nofollow" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><!--<s3065>-->Личные сообщения<!--</s>-->($UNREAD_PM$)</a> &middot;
<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml','')",500)</script><bgsound src="http://s19.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">
<?endif?><?endif?>
<a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>-->Новые сообщения<!--</s>--></a> &middot; 
<a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>-->Участники<!--</s>--></a> &middot; 
<a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>-->Правила форума<!--</s>--></a> &middot; 
<a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>-->Поиск<!--</s>--></a> &middot; 
<a class="fNavLink" href="$RSS_LINK$" rel="nofollow">RSS</a><?if($USER_LOGGED_IN$)?> &middot; 
<a class="fNavLink" href="$SUBSCRIPTION_LINK$" rel="nofollow"><!--<s6773>-->Подписки<!--</s>--></a><?endif?> ]</td>
</tr>
</table>

<style> #thread_search_button {float: right;margin-top: 0px;} 
 #forum_filter, .ThrForumBarTbl {padding-bottom:15px;padding-top:15px;}
 {display:none;}
 .switches{background:#4597d3;margin-top:10px;margin-bottom:20px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;text-shadow:1px 1px 0 #3d85b9;border:1px solid #4597d3;}
.pagesInfo{background:#4597d3;color:#fff;padding-right:10px;}
.switch{background:#4597d3;color:#fff;width:15px;}
.switchActive{background:#f27935;color:#fff;text-shadow:1px 1px 0 #a2b245;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;padding:2px 8px 3px;}
a.switchDigit:link, a.switchBack:link, a.switchNext:link, a.switchDigit:visited, a.switchBack:visited, a.switchNext:visited, a.postUser:hover {
 text-decoration: none;
 color: #fff;}
 .forumContent {padding: 10px;}
.apomessage img { 
max-width:1000px; 
max-height:650px;} 
 .gTableSubTop, .threadsType,.postTdTop,.gTableSubTop b { background: #DCDCDC;
padding: 5px;}
 .gTableTop {padding: 0 10px 0 10px;background: #00868B;color:#fff;text-align:left;font-family: 'Cuprum';font-size:14pt;height:36px;border-radius: 6px 6px 0 0;}
 .gTableTop a {color:#fff;}
 .gTableTop a:hover {color:#fff;}
 .postPoll, .gTableLeft, .gTableBody1, .forumIcoTd, .forumNameTd, .forumThreadTd, .forumPostTd, .gTableRight, .threadLastPostTd, .threadAuthTd, .threadViewTd, .threadPostTd, .threadNametd, .threadIcoTd, .threadsDetails, .forumOnlineBar, .postTdInfo, .posttdMessage
 {padding: 5px;border: 1px solid #DCDCDC;}
 .forumLastPostTd {padding: 5px;border: 1px solid #DCDCDC;font-size: 12px;}
 .threadDescr {font-size: 10px;}
 #forum_filter #filter_by {margin-top: 8px;}
 </style>

$BODY$
</div>
</div>

$GLOBAL_BFOOTER$
</div>
</div>
 
<script type="text/javascript">
 $(".gTableSubTop:contains('Темы')").text('Статистика').attr({'width' : '9%'}).next().hide(); 
 $(".forumThreadTd").each(function(){ 
 var datka = [$(this).text(),$(this).next().text()]; 
 dat = function(number, one, two, five) { number = Math.abs(number); number %= 100; if (number >= 5 && number <= 20) {return five;} number %= 10; if (number == 1) {return one;} if (number >= 2 && number <= 4) {return two;} return five;} 
 $(this).html('<div align="right">'+datka[0]+' '+dat(datka[0], 'тема', 'темы', 'тем')+'</div><div style="margin-top:2px;" align="right">'+datka[1]+' '+dat(datka[1], 'ответ', 'ответа', 'ответов')+'</div>'); 
 }).next().hide(); 
 $(".gTableSubTop:contains('Автор темы')").hide(); 
 $(".threadAuthTd").each(function () { 
 uIPB = [$(this).find('a.threadAuthorLink').attr('href'),$(this).find('a.threadAuthorLink').text()]; 
 $(this).prev().prev().prev('.threadNametd').find('a:first').after(' <span style="color:#aaa; margin-left:5px;">От <a style="color:#929292;" href="'+uIPB[0]+'">'+uIPB[1]+'</a></span>'); 
 }).hide(); 
$(".forumModerFuncs").css({'text-align' : 'left'});
$(".forumModerFuncsT").removeAttr('width');
$(".legendBlock").parent('td').parent('tr').parent('tbody').parent('table').hide();
$("td.switch:contains('…')").addClass('switch2');
$(".forumLastPostTd").each(function () {
forum_obn_t = [$(this).find('a:first').attr('href'),$(this).find('a:first').text()]
forum_obn = [$(this).find('a:eq(1)').attr('href'),$(this).find('a:eq(2)').attr('href'),$(this).find('a:eq(2)').text()];
forum_obn_u = [$(this).find('a:eq(3)').attr('href'),$(this).find('a:eq(3)').text()]
$(this).html('<a href="'+forum_obn[0]+'"><img style="margin-right:3px; margin-left:2px;" src="/cssk/comments_small.png" border="0" alt=""></a> <a title="К первому непрочитанному сообщению" href="'+forum_obn[1]+'">'+forum_obn[2]+'</a><div style="margin-top:2px; color:#676767;">От: <a href="'+forum_obn_u[0]+'">'+forum_obn_u[1]+'</a><img src="http://www.csomsk.ru/cssk/user_popup.png" style="margin-bottom:-2px; margin-left:4px; margin-right:4px;" alt=""><a href="'+forum_obn_t[0]+'" style="color:#898989;" title="К последнему сообщению">'+forum_obn_t[1]+'</a></div>');
});
 $(document).ready(function() { 
 $('.apomessage img').mouseover(function() { 
 if(parseInt($(this).css('height')) == 200 || parseInt($(this).css('width')) == 600) { 
 if($(this).parent('a').html() != null) { 
 $(this).after('<a href="' + $(this).parent('a').attr('href') + '" class="ulightbox"><img src="' + $(this).attr('src') + '"></a>'); 
 $(this).remove(); 
 } else { 
 $(this).after('<a href="' + $(this).attr('src') + '" class="ulightbox"><img src="' + $(this).attr('src') + '"></a>'); 
 $(this).remove(); 
 }; 
 }; 
 }); 
}); 
</script>
</body>
</html>