<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/slide.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#top").BackToTop();
jQuery(".user-slide").Wysun({przycisk: ".dd1", efekt : "fade", czas : "1000"});
jQuery("#inbox").click(function(){
jQuery("#login-box").fadeIn(300);
jQuery(".login-shadow").fadeIn(300);
jQuery(".login-shadow, .btn-close").click(function(){
jQuery("#login-box").fadeOut(300);
jQuery(".login-shadow").fadeOut(300);
});
});
});
jQuery.fn.BackToTop = function(){
var back = jQuery(this);
jQuery(window).scroll(function(){jQuery(this).scrollTop() == 0? back.finish().fadeOut(500) : back.finish().fadeIn(500);});
jQuery(this).click(function(){jQuery("html, body").animate({ scrollTop: '0px' }); back.finish().fadeOut(500);});
};
</script>
<script type="text/javascript">
/**
* Modal Boxes JS
*
* @author Euan T. <euan@euantor.com>
* @version 1.0.0
*/
jQuery.noConflict();
jQuery(document).ready(function(jQuery)
{
// Make the jQuery modal login redirect you back to the page you're currently on //
jQuery('#loginModal input[name="url"]').attr("value", window.location);
// /Login redirect //
// Modal Boxes //
jQuery('a[name="modal"]').on('click', function(event)
{
event.preventDefault();
var target = jQuery(this).attr('rel');
// Set up the shadowing
var maskHeight = jQuery(document).height();
var maskWidth = jQuery(window).width();
jQuery('#mask').css({'width': maskWidth, 'height': maskHeight});
jQuery('#mask').fadeIn(800);
jQuery('#mask').fadeTo("slow", 0.8);
// Position the actual modal
var winH = jQuery(window).height();
var winW = jQuery(window).width();
jQuery(target).css('top', (winH / 2) - (jQuery(target).height() / 2));
jQuery(target).css('left', (winW / 2) - (jQuery(target).width() / 2));
jQuery(target).fadeIn(2000);
});
jQuery('.modalBox a[rel="closeModal"]').on('click', function(event)
{
event.preventDefault();
jQuery('#mask, .modalBox').fadeOut(600);
});
jQuery('#mask').on('fadeOut(800)', function ()
{
jQuery(this).hide();
jQuery('.modalBox').hide();
});
});
</script>