View Single Post
  #8  
Old 02-14-2006, 01:46 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, you a star

that worked. But can I just check I put the </div> in the right place.

Here is were I entered your code in red in the forumhome template.

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<!-- no cache headers -->
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<!-- end no cache headers -->
	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>

</head>
<body>
$header
$navbar

<!-- sponsored links start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('sponsored_links')">
        <img id="collapseimg_sponsored_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_sponsored_links].gif" alt="" border="0" /></a>
<!-- title start -->
Sponsored Links
<!-- title end -->
</td>
</tr>
<tbody id="collapseobj_sponsored_links" style="$vbcollapse[collapseobj_sponsored_links]">
<tr>
<td class="alt1">
<!-- text start -->
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-5453542771580117";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel ="4161498870";
google_color_border = "F5F5F5";
google_color_bg = "F5F5F5";
google_color_link = "22229C";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<!-- text end -->
</td>
</tr>
</table>
<br />
<!-- sponsored links end -->


<!-- left side block start -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td width="20%" valign="top" >
<div style="padding-right:5px;">

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"  align="center">
<thead>
        <tr>
		<td class="thead">Main Menu</td>
	</tr>
	<if condition="$show['guest']">
	<!-- guest welcome message -->
	<tr>
		<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
	</tr>
	<tr>
		<td class="alt1">
			<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
		</td>
	</tr>
	<!-- / guest welcome message -->
	</if>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a><phrase 1="$vboptions[bbtitle]">Forum Stats</phrase></td>
	</tr>
</thead>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
	<tr>
		<td class="alt1" width="100%">
		<div class="smallfont">
			<div>$vbphrase[threads]: $totalthreads<br /> 				$vbphrase[posts]: $totalposts<br />
			$vbphrase[members]: $numbermembers</div>
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
		</div>
		</td>
	</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays start -->
<tbody>
	<tr>
		<td class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
			<a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1">$vbphrase[todays_birthdays]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
	<tr>
		<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
	</tr>
</tbody>
<!-- today's birthdays end -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
	<tr>
		<td class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]"><a href="calendar.php?$session[sessionurl]">&nbsp;$vbphrase[upcoming_events_for_the_next_x_days]</a></if>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
	<tr>
		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
<!-- bookmark site start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('bookmark_site')"><img id="collapseimg_bookmark_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_bookmark_site].gif" alt="" border="0" /></a>
<!-- title start -->
Bookmark Site
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_bookmark_site" style="$vbcollapse[collapseobj_bookmark_site]">
	<tr>
		<td class="alt2" width="100%">
<!-- text start -->
<center> 
<a href="#" onclick="if (window.sidebar) { window.sidebar.addPanel('$vboptions[hometitle]', '$vboptions[homeurl]',''); } else if( document.all ) { window.external.AddFavorite( '$vboptions[homeurl]', '$vboptions[hometitle]'); } else if( window.opera && window.print ) { return true; }">Bookmark Site</a>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- bookmark site end -->
<!-- site menu start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('site_menu')"><img id="collapseimg_site_menu" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_site_menu].gif" alt="" border="0" /></a>
<!-- title start -->
Site Menu
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_site_menu" style="$vbcollapse[collapseobj_site_menu]">
	<tr>
		<td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="homepage.php">Homepage</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="index.php">Community</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- site menu end -->
<!-- search site start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_site')"><img id="collapseimg_search_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_site].gif" alt="" border="0" /></a>
<!-- title start -->
Search Site
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_search_site" style="$vbcollapse[collapseobj_search_site]">
	<tr>
		<td class="alt2" width="100%">
<!-- text start -->
<center>
$vboptions[bbtitle]
<br />
<form method="get" action="search.php">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br/>
<input type="submit" value="Search" />
</form>
<br />
<div class="smallfont">
<a href="search.php">Advanced Search</a>
</div>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search site end -->
<!-- search other sites start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_other_sites')"><img id="collapseimg_bookmark_search_other_sites" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_other_sites].gif" alt="" border="0" /></a>
<!-- title start -->
Search Other Sites
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_search_other_sites" style="$vbcollapse[collapseobj_search_other_sites]">
	<tr>
		<td class="alt1" width="100%">
<!-- text start -->
<center>
Google Web
<br />
<form method="get" action="http://www.google.com/search" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Google Images
<br />
<form method="get" action="http://images.google.co.uk/images?q=" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Amazon
<br />
<form action="http://www.amazon.com/exec/obidos/external-search"&return;
   method="get" target="_blank">
<input type="hidden" name="mode" value="blended" />
<input type="hidden" name="tag" value="insert associate tag here" />
<input type="text" name="keyword" size="16" maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search other sites end -->
<!-- paypal donations start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('paypal_donations')"><img id="collapseimg_paypal_donations" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_paypal_donations].gif" alt="" border="0" /></a>
<!-- title start -->
PayPal Donations
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_paypal_donations" style="$vbcollapse[collapseobj_paypal_donations]">
	<tr>
		<td class="alt2" width="100%">
<!-- text start -->
<center>
<b>Support This Site</b>
<br />
<br />
<div class="smallfont">
Choose an Amount below
</div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="garybolton@blueyonder.co.uk" />
  <input type="hidden" name="item_name" value="GB Downloads" />
  <input type="hidden" name="no_note" value="1" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="tax" value="0" />
?<SELECT NAME="amount">
<OPTION value="1.00">1.00</option>
<OPTION value="2.00">2.00</option>
<OPTION value="3.00">3.00</option>
<OPTION value="4.00">4.00</option>
<OPTION value="5.00">5.00</option>
<OPTION value="10.00">10.00</option>
<OPTION value="20.00">20.00</option>
<OPTION value="25.00">25.00</option>
<OPTION value="50.00">50.00</option>
<OPTION value="100.00">100.00</option>
</SELECT>
<br />
<br />
<div class="smallfont">
Then click Donate button
</div>
<br />
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" alt="Click to make a donation" border="0"></a>
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- paypal donations end -->
<!-- useful links start -->
<tbody>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('useful_links')"><img id="collapseimg_useful_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_useful_links].gif" alt="" border="0" /></a>
<!-- title start -->
Useful Links
<!-- title end -->
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_useful_links" style="$vbcollapse[collapseobj_useful_links]">
	<tr>
		<td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emule-project.net/home/perl/general.cgi?rm=download" target="_blank">eMule Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.emule-project.net/" target="_blank">eMule Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/" target="_blank">eMule Plus Client</a> 
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/forum/" target="_blank">eMule Plus Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.edonkey2000.com/downloads.php#basic" target="_blank">eDonkey Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.edonkey.com/" target="_blank">eDonkey Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://shareaza.sourceforge.net/?id=download" target="_blank">Shareaza Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forums.shareaza.com/" target="_blank">Shareaza Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/downloads_eng.php" target="_blank">Lphant Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/board/" target="_blank">Lphant Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://ocbmaurice.dyndns.org/" target="_blank">Server List</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://stats.razorback2.com/ed2khistory" target="_blank">eD2K History</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.thedonkeynetwork.com/connection_test/" target="_blank">Test Connection</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- useful links end -->
</div>
</table>
</td>
<td>
<!-- left side block end -->

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	  <tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="175">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions['showmoderatorcolumn']">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>
$forumbits
<tbody>
	<tr>
		<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
			<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
			&nbsp; &nbsp;
			<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
		</strong></div></td>
	</tr>
</tbody>
</table>
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
	</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
			<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
	<tr>
		<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
		<td class="alt1" width="100%">
			<div class="smallfont">
				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
				<div>$activeusers</div>
			</div>
		</td>
	</tr>
</tbody>
<!-- end logged-in users -->
$todayloggedinusers
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
	<td>
		<table cellpadding="2" cellspacing="0" border="0">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</tr>
		</table>
	</td>
	<if condition="!$show['guest']">
		<!-- member logout -->
		<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
		<!-- end member logout -->
	</if>
</tr>
</table>
<!-- / icons and login code -->

</td>
</tr>
</table>
$footer
</body>
</html>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01224 seconds
  • Memory Usage 1,900KB
  • 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
  • (1)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