View Single Post
  #15  
Old 11-01-2008, 09:40 PM
JIK1987 JIK1987 is offline
 
Join Date: Oct 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The tabs work on a style that has no parent, (it is the header that is messing up the tabs) but I don't know what to do to keep all my modifications yet still have tabs.

HEADER:

Code:
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="border-left: 1px solid $stylevar[tborder_bgcolor]; border-right: 1px solid $stylevar[tborder_bgcolor];" height="100%"><tr><td>

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr >

<if condition="$styleid ==6">
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if>

<if condition="$styleid ==9">
<td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if>

<if condition="$styleid ==10">
<td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if>

<if condition="$styleid ==18">
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if>

<if condition="$styleid ==12">
<td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if>

<if condition="$styleid !=6"><if condition="$styleid !=10"><if condition="$styleid !=18"><if condition="$styleid !=12"><if condition="$styleid !=9">

<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td></if></if></if></if></if></b>
<!-- /logo -->

<!-- nav buttons bar -->
<if condition="$styleid ==6">
	<table tyle="border-bottom: 1px solid $stylevar[tborder];"  cellpadding="2" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
<tr class="thead" align="center" >
<td class="thead" style="background-image: url('images/ggirl/ggn.png'); background-repeat: no-repeat; background-position: left; background-color:#a7a786;">
</if>

<if condition="$styleid ==11">
	<table tyle="border-bottom: 1px solid $stylevar[tborder];"  cellpadding="2" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
<tr class="thead" align="center" >
<td class="thead" style="background-image: url('images/cr/crn.png'); background-repeat: no-repeat; background-position: center; background-color:#0b0119;">
</if>

<if condition="$styleid ==18">
	<table tyle="border-bottom: 1px solid $stylevar[tborder];"  cellpadding="2" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
<tr class="thead" align="center" >
<td class="thead" style="background-image: url('images/gnd/navbar.png'); background-repeat: no-repeat; background-position: left; background-color:#64d1f3;">
</if>

<if condition="$styleid !=6">
<if condition="$styleid !=11">
<if condition="$styleid !=18">
<table class="thead" cellpadding="2" cellspacing="0" border="0" width="$stylevar[outertablewidth]" style="border-top: 1px solid $stylevar[tborder_bgcolor]; border-bottom: 1px solid $stylevar[tborder_bgcolor];" align="center">
<tr class="thead" align="center">
<td class="thead" >
</if>
</if></if>

<if condition="$show['member']">
			<a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a> &middot;
		</if>
		<if condition="$show['registerbutton']">
			<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a> &middot; 
		</if>
		$template_hook[navbar_buttons_left]
		<a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a> &middot; 
		<if condition="$vboptions['enablememberlist']">
			<a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a> &middot;
		</if>
		<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a> &middot; 
				<if condition="$show['member']"> 
				<else />
				<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a> 
				</if>
				
		$template_hook[navbar_buttons_right]
		<if condition="$show['member']">
			<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a>
		</if>
</td></tr>
</table>
<!-- / nav buttons bar -->

<div class="backgroundimg">

<table class="tborder"  cellpadding="0" cellspacing="0"  border="0" width="$stylevar[outerdivwidth]" align="center">
<tr >

<td width="100%" >
<!-- content table -->


$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
FOOTER
Code:
$ad_location[ad_footer_start]

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

<form action="$vboptions[forumhome].php" method="get">

</form><br />
	
$spacer_close
<!-- /content area table -->

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="tfoot" align="center" class="tborder" style="border: 1px solid $stylevar[tborder]; border-left: 0px; border-right:0px;">
<tr>
<td class="tfoot" align="$stylevar[left]" width="50%">

	<div class="smallfont" align="left">
	<!-- Do not remove this copyright notice -->
	$vbphrase[powered_by_vbulletin]
	<!-- Do not remove this copyright notice -->
	</div>

	<div class="smallfont" align="center">
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
	$cronimage
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

	$vboptions[copyrighttext]
	</div>

	<td class="tfoot" align="$stylevar[right]" width="50%">
	
		<div class="smallfont" align="right">
			<strong>
				<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> &middot;</if>
				<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> &middot;</if>
				<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> &middot;</if>
				<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> &middot;</if>
				<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> &middot;</if>
				$template_hook[footer_links]
				<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> &middot;</if>
				<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
			</strong>
		</div>
</td>
</tr>
</table>

	
$ad_location[ad_footer_end]
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
	<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
	var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
	var utcOffset = new Date().getTimezoneOffset() / 60;
	if (Math.abs(tzOffset + utcOffset) == 1)
	{	// Dst offset is 1 so its changed
		document.forms.dstform.submit();
	}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01304 seconds
  • Memory Usage 1,811KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete