Webboard

Pełna wersja: Białe prostokąty przy działach
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.9
adres forum:cs-weed.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Infinity
[Obrazek: MYG7mLK.png] Jak usunąć te białe prostokąty? I jak zablokować możliwość zmiany kolorów belek w prawym roku jest tam gdzie przycisk "Pomoc".
1. Pokaż szablon forumbit_depth2_forum oraz forumbit_depth2_lastpost (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Opis działu).

2. Pokaż swój headerinclude i header.
(ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Nagłówek).
(ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Niezgrupowane szablony).
forumbit_depth2_forum
Kod PHP:
<tr>
<
td class="forumbit_{$bgcolor}align"center" valign="top" width="40" style="width:40px; padding: 4px;">
<
img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>

<
td class="forumbit_{$bgcolor}valign="top"  >
<
strong class="forumtitle"><a href="{$forum_url}"><span style="color:#eee; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>{$forum['name']}</b></span></a></strong>{$forum_viewers_text}<div class="forumdesc">{$forum['description']}{$subforums}</div>
</
td>

<
td class="forumbit_trow3 postcountgrid" valign="top" align="right" style="width:70px; white-space: nowrap"><div class="right">{$threads}{$unapproved['unapproved_threads']} Wszystkich tematów<br />
{
$posts}{$unapproved['unapproved_posts']} Wszystkich postów </div></td>

<
td class="forumbit_trow3" valign="top" width="50px" align="right" style="width:50px;"><center><img src="{$forum['flp_lastpost']['avatar']}style="max-height: 35px; max-width: 35px; float: left; margin: 5px;" alt="avatar" class="favimg" /></center></td>

<
td class="forumbit_trow4" valign="top" width="200px"  style="white-space: nowrap" style="width:200px;">{$lastpost}</div></td>
</
tr
forumbit_depth2_forum_lastpost
Kod PHP:
<span class="smalltext">
<
a href="{$lastpost_link}title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<
br />{$lastpost_date}  {$lang->by} {$lastpost_profilelink}</span
Header
Kod PHP:
<div id="main_wrapper"><div id="boxes"><div id="loginbox" class="window login_menu"><div class="loginbox_content"><div class="loginbox_head powiekszacz">&nbsp; &nbspLogin<span><a href="#" class="close pmpopup" title="Login">X</a></span></div><form autocomplete="off" method="post" id="signin" action="member.php"><input name="action" type="hidden" value="do_login"><input name="url" type="hidden" value="{$mybb->settings['bburl']}"><input name="quick_login" type="hidden" value="1"><table cellspacing="0" cellpadding="0"><tr><td width="5%" style="padding:8px;"><span style="color: #bcbcbc; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>Username</b></span><span class="right" style="color: #898989; font: normal 11px tahoma,helvetica,arial,sans-serif;"><a href="{$mybb->settings['bburl']}/member.php?action=register" style="color: #898989;">Register!</a></span></td><td width="5%" style="padding:8px;"><span style="color: #bcbcbc; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>Password</b></span><span class="right" style="color: #898989; font: normal 11px tahoma,helvetica,arial,sans-serif;">Forgot your password?</span></td></tr><tr><td width="5%" style="padding:8px;"><center><input id="quick_login_username" name="quick_username" value="" title="username" tabindex="4" type="text"></center></td><td width="5%" style="padding:8px;"><center><input id="quick_login_password" name="quick_password" value="" title="password" tabindex="5" type="password"></center></td></tr><tr><td width="5%" style="border-bottom: 1px solid #111111;"></td><td width="5%" style="border-bottom: 1px solid #111111;"></td></tr><tr><td width="5%" style="border-bottom: 1px solid #252525;"></td><td width="5%" style="border-bottom: 1px solid #252525;"></td></tr><tr><td width="5%" style="padding:8px;"><input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked"> <span style="color: #bcbcbc; font: normal 12px tahoma,helvetica,arial,sans-serif;">Remember me</span><br>Not recommended for shared computers</td><td width="5%" style="padding:8px;"><center></center></td></tr><tr><td width="5%" style="border-bottom: 1px solid #111111;"></td><td width="5%" style="border-bottom: 1px solid #111111;"></td></tr>    </table><div style="padding:13px;"><center><span style="text-align: center; color: #fff; font: normal 12px tahoma,helvetica,arial,sans-serif;">Thank you for Visiting us</span></center></div><div class="loginbox_head"><center><input id="buuttonynowe" name="submit" type="submit" value="login"></center></div></form></div></div></div><div id="mask"></div></div><a name="top" id="top"></a><div class="szerokosc_all"><img src="{$theme['logo']}style="opacity: 1;" onmouseover="this.style.opacity=0.8;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=40"><div id="menu_glowne" class="right belkatlo">
        <
class="menu_glowne_activ aktywnazakladka" href="index.php" title="">Strona Główna</a>
        <
a  href="memberlist.php" title="">Lista użytkowników</a>
        <
a   href="search.php" title="">Szukaj</a>
        <
a  href="calendar.php" title="">Kalendarz</a>
        <
a  href="misc.php?action=help" title="">Pomoc</a>
<
div class="menu_glowne_color"><div id="customWidget" class="right"><div id="colorSelector"><div style="background-color: #FF6000"></div></div><div id="colorpickerHolder"></div></div></div></div></div><div class="szerokosc_all"><div id="menu_logowania"><span class="right" style="padding-top: 5px;"><div id="search" class="right"><form action="search.php" method="post" id='search-box'><span id='search_wrap'><input type="text" class="text_input" id='main_search' name="keywords" onfocus="this.value = '';" value="Szukaj..." size='30' tabindex='6' /><input type="hidden" name="action" value="do_search" /><input type="hidden" name="forums" value="all" /><input type="hidden" name="postthread" value="1" /></span><div  id='forum_search'> .</div><input type='submit' class='submit_input clickable' value="Search" this.value='';" /></form></div></span>{$welcomeblock}</div><br><navigation></div><div id="content">
{$pm_notice}
            
{$bannedwarning}
            
{$bbclosedwarning}
            
{$unreadreports}
            
{$pending_joinrequests} 
headerinclude
Kod PHP:
<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" />
<
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="images/infinity/jquery.js"></script>
<
script type="text/javascript" src="images/infinity/tiptip.js"></script>
<
script type="text/javascript" src="images/infinity/yetii.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{
$stylesheets}
<
script>
jQuery.noConflict();
jQuery(document).ready(function(){
    
jQuery(function () {
        
// scroll body to 0px on click
        
jQuery('#back-top').click(function () {
            
jQuery('body,html').animate({
                
scrollTop0
            
}, 800);
            return 
false;
        });
    });
        
jQuery(".loginbutton").click(function(e) {
            
e.preventDefault();
            
jQuery(".loginbutton_menu").slideToggle("fast");
            
jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        
jQuery(".loginbutton_menu").mouseup(function() {
            return 
false
        
});
        
jQuery(document).mouseup(function(e) {
            if(
jQuery(e.target).parent("a.loginbutton").length==0) {
                
jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                
jQuery(".loginbutton_menu").slideUp("fast",  function() {display'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition"top"fadeIn300});
});
});
</
script>

<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<
script type="text/javascript" src="images/infinity/colorpicker/js/colorpicker.js"></script>
<
link rel="stylesheet" media="screen" type="text/css" href="images/infinity/colorpicker/css/colorpicker.css" />
<
script type="text/javascript" src="images/infinity/colorpicker/js/load.js"></script>
<
script type="text/javascript" src="images/infinity/functions.js"></script>

<
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>
jQuery.noConflict();
jQuery(document).ready(function() {    
    
//select all the a tag with name equal to modal
    
jQuery('a[name=modal]').click(function(e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
//Get the A tag
        
var id jQuery(this).attr('href');
    
        
//Get the screen height and width
        
var maskHeight jQuery(document).height();
        var 
maskWidth jQuery(window).width();
    
        
//Set height and width to mask to fill up the whole screen
        
jQuery('#mask').css({'width':maskWidth,'height':maskHeight});
        
        
//transition effect        
        
jQuery('#mask').fadeIn("fast");
        
jQuery('#mask').fadeTo("slow",0.5);    
    
        
//Get the window height and width
        
var winH jQuery(window).height();
        var 
winW jQuery(window).width();
              
    
        
//transition effect
        
jQuery(id).fadeIn("slow"); 
    
    });
    
    
//if close button is clicked
    
jQuery('.window .close').click(function (e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    
//if mask is clicked
    
jQuery('#mask').click(function () {
        
jQuery(this).fadeOut("slow");
        
jQuery('.window').fadeOut("slow");
    });            
    
});
</
script
forumbit_depth2_forum:
Kod:
<tr>
<td class="forumbit_{$bgcolor}" align= "center" valign="top" width="40" style="width:40px; padding: 4px;">
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>

<td class="forumbit_{$bgcolor}" valign="top"  >
<strong class="forumtitle"><a href="{$forum_url}"><span style="color:#eee; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>{$forum['name']}</b></span></a></strong>{$forum_viewers_text}<div class="forumdesc">{$forum['description']}{$subforums}</div>
</td>

<td class="forumbit_trow3 postcountgrid" valign="top" align="right" style="width:70px; white-space: nowrap"><div class="right">{$threads}{$unapproved['unapproved_threads']} Wszystkich tematów<br />
{$posts}{$unapproved['unapproved_posts']} Wszystkich postów </div></td>

<td class="forumbit_trow4" valign="top" width="200px"  style="white-space: nowrap" style="width:200px;">{$lastpost}</div></td>
</tr>

headerinclude:
Kod:
<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" />
<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="images/infinity/jquery.js"></script>
<script type="text/javascript" src="images/infinity/tiptip.js"></script>
<script type="text/javascript" src="images/infinity/yetii.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
    jQuery(function () {
        // scroll body to 0px on click
        jQuery('#back-top').click(function () {
            jQuery('body,html').animate({
                scrollTop: 0
            }, 800);
            return false;
        });
    });
        jQuery(".loginbutton").click(function(e) {
            e.preventDefault();
            jQuery(".loginbutton_menu").slideToggle("fast");
            jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        jQuery(".loginbutton_menu").mouseup(function() {
            return false
        });
        jQuery(document).mouseup(function(e) {
            if(jQuery(e.target).parent("a.loginbutton").length==0) {
                jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                jQuery(".loginbutton_menu").slideUp("fast",  function() {display: 'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>

<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>
jQuery.noConflict();
jQuery(document).ready(function() {    
    //select all the a tag with name equal to modal
    jQuery('a[name=modal]').click(function(e) {
        //Cancel the link behavior
        e.preventDefault();
        //Get the A tag
        var id = jQuery(this).attr('href');
    
        //Get the screen height and width
        var maskHeight = jQuery(document).height();
        var maskWidth = jQuery(window).width();
    
        //Set height and width to mask to fill up the whole screen
        jQuery('#mask').css({'width':maskWidth,'heigh​t':maskHeight});
        
        //transition effect        
        jQuery('#mask').fadeIn("fast");
        jQuery('#mask').fadeTo("slow",0.5);    
    
        //Get the window height and width
        var winH = jQuery(window).height();
        var winW = jQuery(window).width();
              
    
        //transition effect
        jQuery(id).fadeIn("slow");
    
    });
    
    //if close button is clicked
    jQuery('.window .close').click(function (e) {
        //Cancel the link behavior
        e.preventDefault();
        jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    //if mask is clicked
    jQuery('#mask').click(function () {
        jQuery(this).fadeOut("slow");
        jQuery('.window').fadeOut("slow");
    });            
    
});
</script>

header:
Kod:
div id="main_wrapper"><div id="boxes"><div id="loginbox" class="window login_menu"><div class="loginbox_content"><div class="loginbox_head powiekszacz">&nbsp; &nbsp; Login<span><a href="#" class="close pmpopup" title="Login">X</a></span></div><form autocomplete="off" method="post" id="signin" action="member.php"><input name="action" type="hidden" value="do_login"><input name="url" type="hidden" value="{$mybb->settings['bburl']}"><input name="quick_login" type="hidden" value="1"><table cellspacing="0" cellpadding="0"><tr><td width="5%" style="padding:8px;"><span style="color: #bcbcbc; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>Username</b></span><span class="right" style="color: #898989; font: normal 11px tahoma,helvetica,arial,sans-serif;"><a href="{$mybb->settings['bburl']}/member.php?action=register" style="color: #898989;">Register!</a></span></td><td width="5%" style="padding:8px;"><span style="color: #bcbcbc; font: normal 13px tahoma,helvetica,arial,sans-serif;"><b>Password</b></span><span class="right" style="color: #898989; font: normal 11px tahoma,helvetica,arial,sans-serif;">Forgot your password?</span></td></tr><tr><td width="5%" style="padding:8px;"><center><input id="quick_login_username" name="quick_username" value="" title="username" tabindex="4" type="text"></center></td><td width="5%" style="padding:8px;"><center><input id="quick_login_password" name="quick_password" value="" title="password" tabindex="5" type="password"></center></td></tr><tr><td width="5%" style="border-bottom: 1px solid #111111;"></td><td width="5%" style="border-bottom: 1px solid #111111;"></td></tr><tr><td width="5%" style="border-bottom: 1px solid #252525;"></td><td width="5%" style="border-bottom: 1px solid #252525;"></td></tr><tr><td width="5%" style="padding:8px;"><input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked"> <span style="color: #bcbcbc; font: normal 12px tahoma,helvetica,arial,sans-serif;">Remember me</span><br>Not recommended for shared computers</td><td width="5%" style="padding:8px;"><center></center></td></tr><tr><td width="5%" style="border-bottom: 1px solid #111111;"></td><td width="5%" style="border-bottom: 1px solid #111111;"></td></tr>    </table><div style="padding:13px;"><center><span style="text-align: center; color: #fff; font: normal 12px tahoma,helvetica,arial,sans-serif;">Thank you for Visiting us</span></center></div><div class="loginbox_head"><center><input id="buuttonynowe" name="submit" type="submit" value="login"></center></div></form></div></div></div><div id="mask"></div></div><a name="top" id="top"></a><div class="szerokosc_all"><img src="{$theme['logo']}" style="opacity: 1;" onmouseover="this.style.opacity=0.8;this.filters.alpha.opacity=​100" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=40​"><div id="menu_glowne" class="right belkatlo">
        <a class="menu_glowne_activ aktywnazakladka" href="index.php" title="">Strona Główna</a>
        <a  href="memberlist.php" title="">Lista użytkowników</a>
        <a   href="search.php" title="">Szukaj</a>
        <a  href="calendar.php" title="">Kalendarz</a>
        <a  href="misc.php?action=help" title="">Pomoc</a>
<div class="szerokosc_all"><div id="menu_logowania"><span class="right" style="padding-top: 5px;"><div id="search" class="right"><form action="search.php" method="post" id='search-box'><span id='search_wrap'><input type="text" class="text_input" id='main_search' name="keywords" onfocus="this.value = '';" value="Szukaj..." size='30' tabindex='6' /><input type="hidden" name="action" value="do_search" /><input type="hidden" name="forums" value="all" /><input type="hidden" name="postthread" value="1" /></span><div  id='forum_search'> .</div><input type='submit' class='submit_input clickable' value="Search" this.value='';" /></form></div></span>{$welcomeblock}</div><br><navigation></div><div id="content">
{$pm_notice}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            {$pending_joinrequests}