BitTorrent Трекер RusTrek.ru http://5.45.70.241/ |
|
Помогите выровнять page_header.tpl http://5.45.70.241/viewtopic.php?f=817&t=54974 |
Страница 1 из 1 |
Автор: | ivangord [ 2012-10-12 13:12 ] |
Заголовок сообщения: | Помогите выровнять page_header.tpl |
Привет! Помогите выровнять page_header.tpl пожалуйста, а то что то я не могу поиску ума дать.... кнопка поиска не кликабельная Код: <!-- IF QUIRKS_MODE --><!-- ELSE --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><!-- ENDIF -->
<html dir="{L_CONTENT_DIRECTION}"> <head> <title><!-- IF PAGE_TITLE -->{PAGE_TITLE} :: {SITENAME}<!-- ELSE -->{SITENAME}<!-- ENDIF --></title> <meta http-equiv="Content-Type" content="text/html; charset={L_CONTENT_ENCODING}" /> <meta http-equiv="Content-Style-Type" content="text/css" /> {META} <link rel="stylesheet" href="{STYLESHEET}?v={$bb_cfg['css_ver']}" type="text/css"> <link rel="icon" type="image/png" href="{SITE_URL}images/logo/logo_big.png" /> <link rel="shortcut icon" href="{SITE_URL}favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" href="{SITE_URL}opensearch_desc.xml" title="{SITENAME} (Forum)" /> <link rel="search" type="application/opensearchdescription+xml" href="{SITE_URL}opensearch_desc_bt.xml" title="{SITENAME} (Tracker)" /> <script type="text/javascript" src="{SITE_URL}misc/js/jquery.pack.js?v={$bb_cfg['js_ver']}"></script> <script type="text/javascript" src="{SITE_URL}misc/js/main.js?v={$bb_cfg['js_ver']}"></script> <script type="text/javascript" src="{SITE_URL}misc/js/jtip.js"></script> <link rel="stylesheet" href="./templates/default/css/jtip.css" type="text/css"> <!-- IF INCLUDE_BBCODE_JS --> <link rel="stylesheet" type="text/css" href="{#BB_ROOT}misc/js/fancybox/fancybox.css?v={$bb_cfg['css_ver']}" media="screen"> <script type="text/javascript" src="{#BB_ROOT}misc/js/fancybox/jquery-fancybox.js?v={$bb_cfg['css_ver']}"></script> <script type=text/javascript> $(document).ready(function() { $("a.zoom").fancybox({ 'overlayOpacity' : 0.8, 'zoomSpeedIn' : 500, 'zoomSpeedOut' : 500 }); }); </script> <script type="text/javascript" src="{SITE_URL}misc/js/bbcode.js?v={$bb_cfg['js_ver']}"></script> <script type="text/javascript"> var postImg_MaxWidth = screen.width - {POST_IMG_WIDTH_DECR_JS}; var postImgAligned_MaxWidth = Math.round(screen.width/3); var attachImg_MaxWidth = screen.width - {ATTACH_IMG_WIDTH_DECR_JS}; var ExternalLinks_InNewWindow = '{EXT_LINK_NEW_WIN}'; var hidePostImg = false; function copyText_writeLink(node) { if (!is_ie) return; document.write('<p style="float: right;"><a class="txtb" onclick="if (ie_copyTextToClipboard('+node+')) alert(\'{L_CODE_COPIED}\'); return false;" href="#">{L_CODE_COPY}</a></p>'); } function initPostBBCode(context) { $('span.post-hr', context).html('<hr align="left" />'); initQuotes(context); initExternalLinks(context); initPostImages(context); initSpoilers(context); } function initQuotes(context) { $('div.q', context).each(function(){ var $q = $(this); var name = $(this).attr('head'); $q.before('<div class="q-head">'+ (name ? '<b>'+name+'</b> {L_WROTE}:' : '<b>{L_QUOTE}</b>') +'</div>'); }); } function initPostImages(context) { if (hidePostImg) return; var $in_spoilers = $('div.sp-body var.postImg', context); $('var.postImg', context).not($in_spoilers).each(function(){ var $v = $(this); var src = $v.attr('title'); var $img = $('<img src="'+ src +'" class="'+ $v.attr('class') +'" alt="pic" />'); $img = fixPostImage($img); var maxW = ($v.hasClass('postImgAligned')) ? postImgAligned_MaxWidth : postImg_MaxWidth; $img.bind('click', function(){ return imgFit(this, maxW); }); if (user.opt_js.i_aft_l) { $('#preload').append($img); var loading_icon = '<a href="'+ src +'" target="_blank"><img src="{SITE_URL}images/pic_loading.gif" alt="" /></a>'; $v.html(loading_icon); if ($.browser.msie) { $v.after('<wbr>'); } $img.one('load', function(){ imgFit(this, maxW); $v.empty().append(this); }); } else { $img.one('load', function(){ imgFit(this, maxW) }); $v.empty().append($img); if ($.browser.msie) { $v.after('<wbr>'); } } }); } function initSpoilers(context) { $('div.sp-body', context).each(function(){ var $sp_body = $(this); var name = $.trim(this.title) || '{L_SPOILER_HEAD}'; this.title = ''; var $sp_head = $('<div class="sp-head folded clickable">'+ name +'</div>'); $sp_head.insertBefore($sp_body).click(function(e){ if (!$sp_body.hasClass('inited')) { initPostImages($sp_body); var $sp_fold_btn = $('<div class="sp-fold clickable">[{L_SPOILER_CLOSE}]</div>').click(function(){ $.scrollTo($sp_head, { duration:200, axis:'y', offset:-200 }); $sp_head.click().animate({opacity: 0.1}, 500).animate({opacity: 1}, 700); }); $sp_body.prepend('<div class="clear"></div>').append('<div class="clear"></div>').append($sp_fold_btn).addClass('inited'); } if (e.shiftKey) { e.stopPropagation(); e.shiftKey = false; var fold = $(this).hasClass('unfolded'); $('div.sp-head', $($sp_body.parents('td')[0])).filter( function(){ return $(this).hasClass('unfolded') ? fold : !fold } ).click(); } else { $(this).toggleClass('unfolded'); $sp_body.slideToggle('fast'); } }); }); } function initExternalLinks(context) { var context = context || 'body'; if (ExternalLinks_InNewWindow) { $("a.postLink:not([href*='"+ window.location.hostname +"/'])", context).attr({ target: '_blank' }); //$("a.postLink:not([@href*='"+ window.location.hostname +"/'])", context).replaceWith('<span style="color: red;">Ссылки запрещены</span>'); } } function fixPostImage ($img) { var banned_image_hosts = /imagebanana|hidebehind/i; // imageshack var src = $img[0].src; if (src.match(banned_image_hosts)) { $img.wrap('<a href="'+ this.src +'" target="_blank"></a>').attr({ src: "{SITE_URL}images/tr_oops.gif", title: "{L_SCREENSHOTS_RULES}" }); } return $img; } $(document).ready(function(){ $('div.post_wrap, div.signature').each(function(){ initPostBBCode( $(this) ) }); }); </script> <!-- ENDIF / INCLUDE_BBCODE_JS --> <script type="text/javascript"> var BB_ROOT = "{#BB_ROOT}"; var cookieDomain = "{$bb_cfg['cookie_domain']}"; var cookiePath = "{$bb_cfg['cookie_path']}"; var cookieSecure = {$bb_cfg['cookie_secure']}; var cookiePrefix = "{$bb_cfg['cookie_prefix']}"; var LOGGED_IN = {LOGGED_IN}; var InfoWinParams = 'HEIGHT=510,resizable=yes,WIDTH=780'; var user = { opt_js: {USER_OPTIONS_JS}, set: function(opt, val, days, reload) { this.opt_js[opt] = val; setCookie('opt_js', $.toJSON(this.opt_js), days); if (reload) { window.location.reload(); } } } <!-- IF SHOW_JUMPBOX --> $(document).ready(function(){ $("div.jumpbox").html('\ <span id="jumpbox-container"> \ <select id="jumpbox"> \ <option id="jumpbox-title" value="-1"> »» {L_JUMPBOX_TITLE} </option> \ </select> \ </span> \ <input id="jumpbox-submit" type="button" class="lite" value="{L_GO}" /> \ '); $('#jumpbox-container').one('click', function(){ $('#jumpbox-title').html(' {L_LOADING} ... '); var jumpbox_src = '{AJAX_HTML_DIR}' + ({LOGGED_IN} ? 'jumpbox_user.html' : 'jumpbox_guest.html'); $(this).load(jumpbox_src); $('#jumpbox-submit').click(function(){ window.location.href='{FORUM_URL}'+$('#jumpbox').val(); }); }); }); <!-- ENDIF --> var ajax = new Ajax('{SITE_URL}ajax.php', 'POST', 'json'); function getElText (e) { var t = ''; if (e.textContent !== undefined) { t = e.textContent; } else if (e.innerText !== undefined) { t = e.innerText; } else { t = jQuery(e).text(); } return t; } function escHTML (txt) { return txt.replace(/</g, '<'); } <!-- IF USE_TABLESORTER --> $(document).ready(function(){ $('.tablesorter').tablesorter(); // {debug: true} }); <!-- ENDIF --> </script> <!--[if lte IE 6]><script type="text/javascript"> $(ie6_make_clickable_labels); $(function(){ $('div.menu-sub').prepend('<iframe class="ie-fix-select-overlap"></iframe>'); // iframe for IE select box z-index issue Menu.iframeFix = true; }); </script><![endif]--> <!--[if gte IE 7]><style type="text/css"> input[type="checkbox"] { margin-bottom: -1px; } </style><![endif]--> <!--[if lte IE 6]><style type="text/css"> .forumline th { height: 24px; padding: 2px 4px; } .menu-sub iframe.ie-fix-select-overlap { display: none; display: block; position: absolute; z-index: -1; filter: mask(); } </style><![endif]--> <!--[if IE]><style type="text/css"> .post-hr { margin: 2px auto; } .fieldsets div > p { margin-bottom: 0; } </style><![endif]--> <!-- IF INCLUDE_DEVELOP_JS --> <script type="text/javascript"> var dev = true; function OpenInEditor ($file, $line) { $editor_path = '{EDITOR_PATH}'; $editor_args = '{EDITOR_ARGS}'; $url = BB_ROOT +'develop/open_editor.php'; $url += '?prog='+ $editor_path +'&args='+ $editor_args.sprintf($file, $line); window.open($url,'','height=1,width=1,left=1,top=1,resizable=yes,scrollbars=no,toolbar=no'); } </script> <!-- ENDIF / INCLUDE_DEVELOP_JS --> <style type="text/css"> .menu-sub, #ajax-loading, #ajax-error, var.ajax-params, .sp-title { display: none; } </style> </head> <body> <script type="text/javascript"> (function($){ /* использование: <a class='scrollTop' href='#' style='display:none;'></a> ------------------------------------------------- */ $(function(){ var e = $(".scrollTop"); var speed = 500; e.click(function(){ $("html:not(:animated)" +( !$.browser.opera ? ",body:not(:animated)" : "")).animate({ scrollTop: 0}, 500 ); return false; //важно! }); //появление function show_scrollTop(){ ( $(window).scrollTop()>300 ) ? e.fadeIn(600) : e.hide(); } $(window).scroll( function(){show_scrollTop()} ); show_scrollTop(); }); })(jQuery) </script> <!-- IF EDITABLE_TPLS --> <div id="editable-tpl-input" style="display: none;"> <span class="editable-inputs nowrap" style="display: none;"> <input type="text" class="editable-value" /> <input type="button" class="editable-submit" value="»" style="width: 30px; font-weight: bold;" /> <input type="button" class="editable-cancel" value="x" style="width: 30px;" /> </span> </div> <div id="editable-tpl-yesno-select" style="display: none;"> <span class="editable-inputs nowrap" style="display: none;"> <select class="editable-value"><option value="1">{L_YES}</option><option value="0">{L_NO}</option></select> <input type="button" class="editable-submit" value="»" style="width: 30px; font-weight: bold;" /> <input type="button" class="editable-cancel" value="x" style="width: 30px;" /> </span> </div> <div id="editable-tpl-yesno-radio" style="display: none;"> <span class="editable-inputs nowrap" style="display: none;"> <label><input class="editable-value" type="radio" name="editable-value" value="1" />{L_YES}</label> <label><input class="editable-value" type="radio" name="editable-value" value="0" />{L_NO}</label> <input type="button" class="editable-submit" value="»" style="width: 30px; font-weight: bold;" /> <input type="button" class="editable-cancel" value="x" style="width: 30px;" /> </span> </div> <div id="editable-tpl-yesno-gender" style="display: none;"> <span class="editable-inputs nowrap" style="display: none;"> <label><input class="editable-value" type="radio" name="editable-value" value="1">{$lang['GENDER_SELECT'][1]}</label> <label><input class="editable-value" type="radio" name="editable-value" value="2">{$lang['GENDER_SELECT'][2]}</label> <label><input class="editable-value" type="radio" name="editable-value" value="0">{$lang['GENDER_SELECT'][0]}</label> <input type="button" class="editable-submit" value="»" style="width: 30px; font-weight: bold;"> <input type="button" class="editable-cancel" value="x" style="width: 30px;"> </span> </div> <!-- ENDIF / EDITABLE_TPLS --> <!-- IF PAGINATION --> <div class="menu-sub" id="pg-jump"> <table cellspacing="1" cellpadding="4"> <tr><th>{L_GO_TO_PAGE}</th></tr> <tr><td> <form method="get" onsubmit="return go_to_page();"> <input id="pg-page" type="text" size="5" maxlength="4" /> <input type="submit" value="{L_GO}"/> </form> </td></tr> </table> </div> <script type="text/javascript"> function go_to_page () { var page_num = (parseInt( $('#pg-page').val() ) > 1) ? $('#pg-page').val() : 1; var pg_start = (page_num - 1) * {PG_PER_PAGE}; window.location = '{PG_BASE_URL}&start=' + pg_start; return false; } </script> <!-- ENDIF --> <div id="ajax-loading"></div><div id="ajax-error"></div> <div id="preload" style="position: absolute; overflow: hidden; top: 0; left: 0; height: 1px; width: 1px;"></div> <div id="body_container"> <!--******************--> <!-- IF SIMPLE_HEADER --> <!--==================--> <style type="text/css">body { background: #E3E3E3; min-width: 10px; }</style> <!--=================--> <!-- ELSEIF IN_ADMIN --> <!--=================--> <!--======--> <!-- ELSE --> <!--======--> <div class="scrollTop" style="display:none;"></div> <!--page_container--> <div id="page_container"> <a name="top"></a> <!--page_header--> <div id="page_header"> <table width="100%" cellpadding="0" cellspacing="0"> <td class="topmenu topmenu_border round_all"> <a href="./index.php"><b>Главная</b></a> <span style="color:#CDCDCD;">|</span> <!-- IF LOGGED_IN --><a href="tracker.php"><b>Трекер</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="release.php"><b>Парсер</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="memberlist.php"><b>Пользователи</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="search.php"><b>Поиск</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <a href="viewtopic.php?t=40002"><b>Правила</b></a> <span style="color:#CDCDCD;">|</span> <!-- IF LOGGED_IN --><a href="faq.php"><b style="color: #993300;">FAQ</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="groupcp.php"><b>Группы</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="orders.php"><b>Заказать</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="totalz.php"><b>Тотализатор</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="video.php"><b>Онлайн ТВ</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> <!-- IF LOGGED_IN --><a href="1.php"><b>Фотошоп</b></a> <span style="color:#CDCDCD;">|</span><!-- ENDIF --> </td> <!-- IF LOGGED_IN --> <td class="topmenu topmenu_border round_all"> <script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script> <div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="none" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,friendfeed,moikrug,gplus,pinterest,surfingbird"></div> </td> <!-- ENDIF --> </table> <!--logo--> <table class="w100"> <tr> <td width="90%"> <div id="logo"><a href="./index.php"><img src="./images/logo/logo.png" align="top" style="margin-top:20px;"/></a> </div> </td> <!--/logo--> <!-- IF LOGGED_IN --> <td class="stata_table"> <div id="user_ratio"> <table class="stata_back nowrap"><tr><td> <table cellpadding="0"> <tr><td>Рейтинг</td><td class="tLeft"><b><!-- IF DOWN_TOTAL_BYTES_MY gt MIN_DL_BYTES_MY --><b>{USER_RATIO_MY}</b><!-- ELSE --><b>{L_NONE}</b><!-- ENDIF --></b></td></tr> <tr><td>Скачано</td><td class="leechmed tLeft"><b>{DOWN_TOTAL_MY}</b></td></tr> <tr><td>Отдано</td><td class="seedmed tLeft"><b>{UP_TOTAL_MY}</b></td></tr> <tr><td>На своих</td><td class="seedmed tLeft">{RELEASED_MY}</td></tr> <tr><td>На редких</td><td class="seedmed tLeft">{UP_BONUS_MY}</td></tr> <tr><td>СидБонус</td><td class="tLeft"><a href="profile.php?mode=bonus"><span class="points bold">{POINTS}</span></a></a></td></tr></table> </td> <td class="tRight vMiddle"> <span style="font-size:14px">{THIS_USER}</span><br> <span > <!-- IF HAVE_NEW_PM || HAVE_UNREAD_PM --> <a href="{U_READ_PM}" class="new-pm-link"><b>{L_PRIVATE_MESSAGES}: {PM_INFO}</b></a> <!-- ELSE --> <a href="{U_PRIVATEMSGS}"><b>{L_PRIVATE_MESSAGES}: 0</b></a> <!-- ENDIF --> <br> </span> <a href="profile.php?mode=editprofile"><b>Настройки</b></a><br> <a href="#dls-menu" class="menu-root menu-alt1">Мои закачки</a><br> <a href="{U_SEARCH_SELF_BY_LAST}">{L_SEARCH_SELF}</a><br> [ <a href="./login.php?logout=1" onclick="return confirm('Вы уверены, что хотите выйти?');">Выход</a> ] </td> <td><div align="center">{THIS_AVATAR}</div></td> </tr></table> </div> </td></tr> </table> <!-- ENDIF --> <!-- IF LOGGED_IN --> <script type="text/javascript"> ajax.index_data = function(tz) { ajax.exec({ action : 'index_data', mode : 'change_tz', tz : tz, }); }; ajax.callback.index_data = function(data) { }; $(document).ready(function() { x = new Date(); tz = -x.getTimezoneOffset()/60; if (tz != <?php echo $bb_cfg['board_timezone']?>) { ajax.index_data(tz); } }); </script> <!--logout--> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td> </td> <script type="text/javascript"> function ajax_search() { message = $('.message').val(); f_list = false; $('#ajax_search').fadeIn(); if (!f_list) ajax.ajax_search(); return false; } ajax.ajax_search = function() { ajax.exec({ action : 'ajax_search', message : message, }); }; ajax.callback.ajax_search = function(data){ $('#ajax_search td').html(data.html); f_list = true; }; </script> <td class="tRight topmenu topmenu_border_right round_left" style="min-width:300px;"> <form id="quick-search" action="" method="post" onsubmit=" $(this).attr('action', $('#search-action').val()); var txt=$('#search-text').val(); return !(txt=='{L_SEARCH_S}' || !txt); "> <input type="hidden" name="max" value="1" /> <input type="hidden" name="to" value="1" /> <input id="search-text" type="text" name="nm" onblur="if(this.value=='') this.value='{L_SEARCH_S}';" class="message hint" style="width: 134px;" value="{L_SEARCH_S}" onfocus="if(this.value=='{L_SEARCH_S}') this.value='';"/> <a href="#" onclick="return ajax_search()">></a> <a href="#" onclick="$('#ajax_search').toggle(); return false;">_</a> <select id="search-action"> <!-- IF LOGGED_IN --><option value="search.php" selected="selected"> {L_FORUM_S} </option><!-- ENDIF --> <!-- IF LOGGED_IN --><option value="tracker.php#results"> {L_TRACKER_S} </option><!-- ELSE --><option value="tracker.php#results" selected="selected"> {L_TRACKER_S} </option><!-- ENDIF --> </select> </td> <td class="td_search_button round_right topmenu_border_left"> <input type="submit" value=" " class="input_search_button"/> </form> </div> </td> <table align="right"><tr id="ajax_search" style="display:none" align="center"><td class="logoni navigatore"></td></tr></table> </tr> </table> <!--/logout--> <div class="menu-sub" id="dls-menu"> <div class="menu-a bold nowrap"> <a class="med" href="{U_TRACKER}?rid={SESSION_USER_ID}#results">{L_CUR_UPLOADS}</a> <a class="med" href="{U_CUR_DOWNLOADS}#torrent">{L_CUR_DOWNLOADS}</a> <a class="med" href="{U_SEARCH}?dlu={SESSION_USER_ID}&dlc=1">{L_SEARCH_DL_COMPLETE_DOWNLOADS}</a> <a class="med" href="{U_SEARCH}?dlu={SESSION_USER_ID}&dlw=1">{L_SEARCH_DL_WILL_DOWNLOADS}</a> </div> </div> <!-- IF HAVE_NEW_PM || HAVE_UNREAD_PM --> <div id='notifiers_wrap' class='fixed' style='bottom: 0px'> <div class='notifier_baloon_wrap' style='visibility: visible'> <div class='notifier_baloon clear_fix'> <div class='notifier_baloon_head clear_fix'> <div class='notifier_baloon_title fl_l'>Новое сообшение от {NAME_TO}</div> <div class='notifier_close_wrap fl_r'> <a class='notifier_close' title='Закрыть' href=''></a> </div> </div> <div class='notifier_baloon_body'> <table cellpadding='0' cellspacing='0' width='100%'> <tbody> <tr> <td class='notifier_image_wrap'> <div class='notifier_image_wrap'> {AVATARS} </div> </td> <td class='notifier_baloon_msg'> <div class='notifier_baloon_msg wrapped' style='width: 240px;'> <span class='notifier_baloon_title fl_l'> <span class='notifier_author_quote'> </span> {PRIVMSGS_TEXT} <i><a href="{PM_ID}" class="">Читать дальше...</a></i> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> <!-- ENDIF --> <!-- ELSE --> <!--login form--> <div class="topmenu"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="tCenter pad_2"> <a href="{U_REGISTER}" id="register_link"><b>{L_REGISTER}</b></a> · <form action="{S_LOGIN_ACTION}" method="post"> {L_USERNAME}: <input type="text" name="login_username" size="12" tabindex="1" accesskey="l" /> {L_PASSWORD}: <input type="password" name="login_password" size="12" tabindex="2" /> <label title="{L_AUTO_LOGIN}"><input type="checkbox" name="autologin" value="1" tabindex="3" checked="checked" />{L_REMEMBER}</label> <input type="submit" name="login" value="{L_LOGIN}" tabindex="4" /> </form> · <a href="{U_SEND_PASSWORD}">{L_FORGOTTEN_PASSWORD}</a> </td> </tr> </table> </div> <!--/login form--> <!-- ENDIF --> <!--breadcrumb--> <!--<div id="breadcrumb"></div>--> <!--/breadcrumb--> <!-- IF SHOW_IMPORTANT_INFO --> <!--important_info--> <!--<div id="important_info"> important_info </div>--> <!--/important_info--> <!-- ENDIF --> </div> <!--/page_header--> <!--menus--> <!-- IF SHOW_ONLY_NEW_MENU --> <div class="menu-sub" id="only-new-options"> <table cellspacing="1" cellpadding="4"> <tr> <th>{L_DISPLAYING_OPTIONS}</th> </tr> <tr> <td> <fieldset id="show-only"> <legend>{L_SHOW_ONLY}</legend> <div class="pad_4"> <label> <input id="only_new_posts" type="checkbox" <!-- IF ONLY_NEW_POSTS_ON -->{CHECKED}<!-- ENDIF --> onclick=" user.set('only_new', ( this.checked ? {ONLY_NEW_POSTS} : 0 ), 365, true); $('#only_new_topics').attr('checked', 0); " />{L_ONLY_NEW_POSTS} </label> <label> <input id="only_new_topics" type="checkbox" <!-- IF ONLY_NEW_TOPICS_ON -->{CHECKED}<!-- ENDIF --> onclick=" user.set('only_new', ( this.checked ? {ONLY_NEW_TOPICS} : 0 ), 365, true); $('#only_new_posts').attr('checked', 0); " />{L_ONLY_NEW_TOPICS} </label> </div> </fieldset> <!-- IF USER_HIDE_CAT --> <fieldset id="user_hide_cat"> <legend>{L_HIDE_CAT}</legend> <div id="h-cat-ctl" class="pad_4 nowrap"> <form autocomplete="off"> <!-- BEGIN h_c --> <label><input class="h-cat-cbx" type="checkbox" value="{h_c.H_C_ID}" {h_c.H_C_CHEKED} />{h_c.H_C_TITLE}</label> <!-- END h_c --> </form> <div class="spacer_6"></div> <div class="tCenter"> <!-- IF H_C_AL_MESS --> <input style="width: 100px;" type="button" onclick="$('input.h-cat-cbx').attr('checked',false); $('input#sec_h_cat').click(); return false;" value="Сбросить"> <!-- ENDIF --> <input id="sec_h_cat" type="button" onclick="set_h_cat();" style="width: 100px;" value="Отправить"> <script type="text/javascript"> function set_h_cat () { h_cats = []; $.each($('input.h-cat-cbx:checked'), function(i,el){ h_cats.push( $(this).val() ); }); user.set('h_cat', h_cats.join('-'), 365, true); } </script> </div> </div> </fieldset> <!-- ENDIF --> </td> </tr> </table> </div><!--/only-new-options--> <!-- ENDIF / SHOW_ONLY_NEW_MENU --> <!--/menus--> <!-- IF LAST_ADDED --> <script type="text/javascript" src="{#BB_ROOT}misc/js/jquery.cluetip.js"></script> <script type="text/javascript" src="{#BB_ROOT}misc/js/jquery.scrollable.js"></script> <script type="text/javascript" src="{#BB_ROOT}misc/js/jquery.mousewheel.js"></script> <link type="text/css" rel="stylesheet" href="{#BB_ROOT}templates/default/css/cluetip.css"/> <script type="text/javascript"> $(document).ready(function() { $('div.load-local').cluetip({local:true, cursor: 'pointer',showTitle: true,arrows: true}); $("div.scrollable").scrollable({size: 8, items: "#thumbs", hoverClass: "hover", keyboard: false, loop: false }); }); </script> <table cellpadding="0" cellspacing="0" class="poster"> <tr> <td> <!-- root element for scrollable --> <div class="scrollable"> <div id="thumbs"> <!-- BEGIN last_added --> <div class="load-local" rel="#loadme_{last_added.TOPIC_ID}" title="{last_added.TITLE}" onclick="top.location.href='viewtopic.php?t={last_added.TOPIC_ID}';" onmouseover="initPostImages($('#loadme_{last_added.TOPIC_ID}'));"> <a href="viewtopic.php?t={last_added.TOPIC_ID}"><img src="thumb.php?t={last_added.TOPIC_ID}" alt=""></a> <div style="display:none;" id="loadme_{last_added.TOPIC_ID}" > <center><img src="{last_added.POSTER_FULL}" width="260" alt=""></center> <br /> {L_FORUM}: <b>{last_added.FORUM_NAME}</b> <br /> {L_AUTHOR}: <b>{last_added.USER_NAME}</b> <br /> {L_SIZE}: <b>{last_added.SIZE}</b> </div> </div> <!-- END last_added --> </div> </div> </td> </tr> </table> <!-- ENDIF --> <!--page_content--> <div id="page_content"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tr><!-- IF SHOW_SIDEBAR1 --> <!--sidebar1--> <td id="sidebar1"> <div id="sidebar1-wrap"> <!--<script type="text/javascript"> $(document).ready(function(){ajax.new_post (0);}); ajax.new_post = function($type) { ajax.exec({ action : 'new_post', type : $type }); }; ajax.callback.new_post = function(data) { $('#new_post').html(data.html); }; </script> <div class="section"> <div class="secondaryContent med"> <div id="new_post"></div>--> </div> </div> <!-- IF NEW_POST --> <!-- IF LOGGED_IN --> <div class="section visitorPanel"> <div class="secondaryContent"> <script type="text/javascript"> ajax.callback.index_data = function(data) { $('#'+data.mode).html(data.html); }; </script> <div id="new_post"> <h3>Последние сообщения <a id="submit_chat" title="Следующие 5 новостей" href="#" onclick="ajax.exec({action : 'index_data', mode: 'new_post', type: 1}); return false;">»</a></h3> <!-- BEGIN new --> <div class="spacer_8"></div> <div class="iComm" id="iComm"><ul><li> <a href="profile.php?mode=viewprofile&u={new.POSTER_ID}" class="avatar">{new.AVATAR}</a> <div class="info"><a href="./viewtopic.php?p={new.post_id}{new.POST_ID}" title="{new.TOPIC_TITLE}" style="color: #A52A2A; font-weight: bold;" >{new.TOPIC_TITLE}</a></div> <div class="info">Написал(а) <span class="nowrap"><a href="profile.php?mode=viewprofile&u={new.POSTER_ID}">{new.USER_NAME}</a> {new.POST_TIME}</div> <div class="info"><a href="http://{$bb_cfg['server_name']}{$bb_cfg['script_path']}viewpost.php?id={new.POST_ID}" class="jTip" name="{new.TOPIC_TITLE}" id="post_{new.POST_ID}">Пред.просмотр</a></div> </li></ul></div> <!-- END new --> </div> </div> </div> <!-- ENDIF --> <!-- ENDIF --> <!-- IF $bb_cfg['poll_index'] --> <script type="text/javascript"> $(document).ready(function(){ $('.RadioClass').change(function(){ if($(this).is(':checked')){ $('.RadioSelected:not(:checked)').removeClass('RadioSelected'); $(this).next('label').addClass('RadioSelected'); $('#poll_submit').show(); } }); }); function polling(){ var poll = -1; $('input.RadioClass:checked').each(function(){ poll = this.value; }); <!-- IF LOGGED_IN --> $('#poll_option').html('<i class="loading-1">Загружается…</i>'); if(poll < 0) alert('Вы не выбрали за что проголосовать'); else { ajax.exec({action : 'poll_index', mode: 'poll', poll: poll}); <!-- IF IS_GUEST --> var ws = new Date(); ws.setDate(1+ws.getDate()); document.cookie="poll_index=1; path=/; expires="+ ws.toGMTString(); <!-- ENDIF --> } } ajax.callback.poll_index = function(data) { $('#poll_option').html(data.html); } </script> <style> .RadioClass{ display: none; } .RadioLabelClass{ background: url("/images/poll_index/UnCheck.png") no-repeat; padding-left: 30px; padding-top: 3px; margin: 5px; height: 28px; width: 70px; display: block; } .RadioSelected{ background: url("/images/poll_index/Check.png") no-repeat; } .vote { border: 1px solid #D6D6D6; height: 12px; border-radius: 4px; margin: 3px; background-image: linear-gradient(bottom, #D6D6D6 10%, #FFFFFF 51%); background-image: -o-linear-gradient(bottom, #D6D6D6 10%, #FFFFFF 51%); background-image: -moz-linear-gradient(bottom, #D6D6D6 10%, #FFFFFF 51%); background-image: -webkit-linear-gradient(bottom, #D6D6D6 10%, #FFFFFF 51%); background-image: -ms-linear-gradient(bottom, #D6D6D6 10%, #FFFFFF 51%); } </style> <div class="section visitorPanel"> <div class="secondaryContent"> <!-- IF POLL_ENABLED --> <h3>{POLL_NAME}</h3> <span id="poll_option"> <!-- BEGIN poll --> <div align="left"> <input id="{poll.ID}" type="radio" name="poll" class="RadioClass" value="{poll.ID}" > <label for="{poll.ID}" class="RadioLabelClass">{poll.OPTION}</label> </div> <!-- END poll --> <!-- BEGIN poll_result --> <div align="left"> {poll_result.OPTION} <div class="clear"></div> <div class="floatL"> <div class="vote category" style="width: {poll_result.LENGTH}px;"></div> </div> <div class="floatR med"> {poll_result.PERCENT} [{poll_result.USERS}] </div> <div class="clear"></div> </div> <!-- END poll_result --> <input id="poll_submit" onclick="polling();" type="submit" class="hidden" name="Проголосовать" /> </span> <!-- ELSE --> В данный момент нет активных опросов <!-- ENDIF --> </div></div> <!-- ENDIF --> <div class="cat_separator"></div> <!-- ENDIF --> <!-- IF TOP_DOWNLOADED_ON --> <div class="section visitorPanel"> <div class="secondaryContent"> <h3>Качаем вместе</h3> <table class="pad_4" cellspacing="3" width="100%"> <!-- BEGIN TopDownloaded --> <tr> <td style="border-bottom: 1px solid #C3CBD1;"> <div class="small tLeft"> <div>{TopDownloaded.TOR_TYPE}<a href="viewtopic.php?t={TopDownloaded.TOPIC_ID}" style="font-size:11px">{TopDownloaded.TITLE}</a></div> <div style="font-size:10px">{L_AUTHOR}: <a href="profile.php?mode=viewprofile&u={TopDownloaded.POSTER_ID}">{TopDownloaded.POSTER}</a></div> <div style="font-size:10px">Качает: <b>{TopDownloaded.LEECHERS} чел.</b> {L_FILESIZE}: <strong>{TopDownloaded.SIZE}</strong></div> <div style="font-size:10px"><a href="download.php?id={TopDownloaded.ATTACH_ID}"><b>Скачано {TopDownloaded.COMPL_PERC}%, но надо помочь!</b></a></div> </div> </td> </tr> <!-- END TopDownloaded --> </table> </div> </div> </div> <br /> <!-- ENDIF --> <!-- IF QUOTA_BASH_RANDOM --> <script type="text/javascript"> ajax.callback.index_data = function(data) { $('#'+data.mode).html(data.html); }; </script> <div class="section visitorPanel"> <div class="secondaryContent"> <table width="100%" cellpadding="3" cellspacing="0" border="0" class="viewpoststing"> <h3>Цитаты</h3> <tr> <!-- BEGIN Bash --> <div class="q" id="quote_bash"> <div class="small pad_4"> <div class="tRight"><a href="{BB_ROOT}bash.php?id={Bash.QUOTA_ID}#{Bash.QUOTA_ID}"><i>{Bash.QUOTA_TIME}</i></a></div> <div class="clear"></div> </div> <div class="clear hr1"></div> <div class="med pad_2">{Bash.QUOTA_TEXT}</div> </div> <!-- END Bash --> </td> </tr> <tr><td class="tRight"><a class="txtb" title="Внимание встречается <br /> ненормативная лексика!" href="{BB_ROOT}bash.php?quote">[Все цитаты]</a> <a class="txtb" href="#" onclick="ajax.exec({action : 'index_data', mode: 'quote_bash'}); return false;">[{L_UPDATE}]</a></td></tr> </table> </div></div><!-- ENDIF --> <div class="section visitorPanel"> <div class="secondaryContent"> <h3>Статистика треккера</h3> <div> <dl class="pairsJustified"><dt>Тем:</dt> <dd>{TOTAL_TOPICS}</dd></dl> <dl class="pairsJustified"><dt>Сообщений:</dt> <dd>{TOTAL_POSTS}</dd></dl> <dl class="pairsJustified"><dt>Пользователи:</dt> <dd>{TOTAL_USERS}</dd></dl> <dl class="pairsJustified"><dt>{TOTAL_GENDER}</dl> <dl class="pairsJustified"><dt>Новый пользователь:</dt> <dd><span class="nowrap">{NEWEST_USER}</span></dd></dl> </div> </div> </div> <div class="section visitorPanel"> <div class="secondaryContent"> <h3>Статистика раздач</h3> <div> <dl class="pairsJustified">{TORRENTS_STAT}</dl> <dl class="pairsJustified">{PEERS_STAT}</dl> <dl class="pairsJustified">{SPEED_STAT}</dl> </div> </div> </div> <?php if (!empty($bb_cfg['sidebar1_static_content_path'])) include($bb_cfg['sidebar1_static_content_path']); ?> </div><!--/sidebar1-wrap--> </td><!--/sidebar1--> <!-- ENDIF --> <!--main_content--> <td id="main_content"> <div id="main_content_wrap"> <div id="latest_news" class="scrollContainer"> <div class="scrollContainerNew"> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="50%"> <!-- IF SHOW_LATEST_NEWS --> <h3>{L_LATEST_NEWS}</h3> <table cellpadding="0"> <!-- BEGIN news --> <tr> <td><div class="news_date">{news.NEWS_TIME}</div></td> <td width="100%"> <div class="news_title<!-- IF news.NEWS_IS_NEW --> new<!-- ENDIF -->"><a href="{TOPIC_URL}{news.NEWS_TOPIC_ID}">{news.NEWS_TITLE}</a></div> </td> </tr> <!-- END news --> </table> <!-- ENDIF --> </td> <!-- IF SHOW_NETWORK_NEWS --> <td width="50%"> <script type="text/javascript"> function news() { var url = prompt("Поделиться интересной новостью с сайтов:\n gameland.ru", "http://"); if (!url) return false; ajax.news(url); return false; } ajax.news = function(url) { $('#load').html('<img src="images/pic_loading.gif" align="right" title="Ваша новость оформляется" width="18px;" height="18px;" return false; />'); ajax.exec({ action : 'news', url : url, }); }; ajax.callback.news = function(data) { $('#load').hide(); }; </script> <h3><span onclick="news(); return false;" style="cursor: pointer;" class="menu-root" title="Оформить новость">{L_NETWORK_NEWS}<span id="load"></span></h3> <table cellpadding="0"> <!-- BEGIN net --> <tr> <td><div class="news_date">{net.NEWS_TIME}</div></td> <td width="100%"> <div class="news_title<!-- IF net.NEWS_IS_NEW --> new<!-- ENDIF -->"><a href="{TOPIC_URL}{net.NEWS_TOPIC_ID}">{net.NEWS_TITLE}</a></div> </td> </tr> <!-- END net --> </table> </td> <!-- ENDIF --> </tr> </table> </div></div> <!-- IF AD_BLOCK_200 --><div id="ad-200">{AD_BLOCK_200}</div><!--/ad-200--><!-- ELSEIF AD_BLOCK_100 --><div id="ad-100">{AD_BLOCK_100}</div><!--/ad-100--><!-- ENDIF / AD_BLOCK_100 --> <!--=======================--> <!-- ENDIF / COMMON_HEADER --> <!--***********************--> <!-- IF ERROR_MESSAGE --> <div class="info_msg_wrap"> <table class="error"> <tr><td><div class="msg">{ERROR_MESSAGE}</div></td></tr> </table> </div> <!-- ENDIF / ERROR_MESSAGE --> <!-- IF INFO_MESSAGE --> <div class="info_msg_wrap"> <table class="info_msg"> <tr><td><div class="msg">{INFO_MESSAGE}</div></td></tr> </table> </div> <!-- ENDIF / INFO_MESSAGE --> <!-- page_header.tpl END --> <!-- module_xx.tpl START --> |
Страница 1 из 1 | Часовой пояс: UTC + 3 часа |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |