Thread: Navbar coding
View Single Post
  #5  
Old 07-21-2009, 11:44 AM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would explain why I mess with the navbar template for hours with no success.

Yeah, I see the buttons now.

PHP Code:
<!-- begin rogue header-->
<
div align="center">
<
table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<
tr>
  <
td align="left" valign="top">
<
table border="0" cellpadding="0" cellspacing="0" style="background-image: url($stylevar[imgdir_misc]/hdr_logo_back.gif)">
    <
tr>
        <
td width="268" height="83" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_logo.gif" width="268" height="83" alt="" /></td>
        <
td width="110" height="83" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_logo_rs.gif" width="110" height="83" alt="" /></td>
        <
td width="100%" height="83" align="left" valign="top">&nbsp;</td>
    </
tr>
    </
table>
    <
table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url($stylevar[imgdir_misc]/hdr_nav_back.gif)">
    <
tr>    
        <
td width="93" height="34" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_nav_ls.gif" width="93" height="34" alt="" /></td>
        <
td width="50%" height="34" align="right" valign="top"><img src="$stylevar[imgdir_misc]/trans.gif" width="50%" height="34" alt="" /></td>
        <
td width="53" height="34" align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]accesskey="1" id="nav_home"><img src="$stylevar[imgdir_misc]/trans.gif" width="53" height="34" border="0" alt="" /></a></td>
        
        <!-- 
Load Blog Link-->
<if 
condition="$vbulletin->products['vbblog']">
<
td width="53" height="34" align="left" valign="top"><div id="vbbloglinks"><a href="blog.php$session[sessionurl_q]id="nav_blog"><img src="$stylevar[imgdir_misc]/trans.gif" width="53" height="34" border="0" alt="" /></a><script type="text/javascript">vbmenu_register("vbbloglinks" ,1);</script></div></td>
</if>
<!-- 
End Blog Link-->
        
        <
td width="73" height="34" align="left" valign="top"><a href="usercp.php$session[sessionurl_q]id="nav_cp"><img src="$stylevar[imgdir_misc]/trans.gif" width="73" height="34" border="0" alt="" /></a></td>
        <if 
condition="$show['registerbutton']">
        <
td width="90" height="34" align="left" valign="top"><a href="register.php$session[sessionurl_q]rel="nofollow" id="nav_reg"><img src="$stylevar[imgdir_misc]/trans.gif" width="90" height="34" border="0" alt="" /></a></td>
        <else />
        <
td width="90" height="34" align="left" valign="top" id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3" id="nav_links"><img src="$stylevar[imgdir_misc]/trans.gif" width="90" height="34" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("usercptools"1); </script></td>
        </if>
        
    <if 
condition="$show['communitylink'] AND $show['popups']">
        <
td width="90" height="34" align="left" valign="top"><a id="community"  href="$show[nojs_link]#community" rel="nofollow" accesskey="6" class="nav_com"><img src="$stylevar[imgdir_misc]/trans.gif" width="90" height="34" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("community" ,1); </script></td>
        <else />
<if 
condition="$show['memberslist']">
        <
td width="78" height="34" align="left" valign="top"><a href="memberlist.php$session[sessionurl_q]id="nav_members"><img src="$stylevar[imgdir_misc]/trans.gif" width="78" height="34" border="0" alt="" /></a></td>
            </if>
        </if>
        <
td width="84" height="34" align="left" valign="top"><a href="calendar.php$session[sessionurl_q]id="nav_cal"><img src="$stylevar[imgdir_misc]/trans.gif" width="84" height="34" border="0" alt="" /></a></td>
        <
td width="68" height="34" align="left" valign="top" id="navbar_search"><a  href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow" id="nav_search"><img src="$stylevar[imgdir_misc]/trans.gif" width="68" height="34" border="0" alt="" /></a><if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search" ,1); </script></if></td>
        <
td width="44" height="34" align="left" valign="top"><a href="faq.php$session[sessionurl_q]accesskey="5" id="nav_faq"><img src="$stylevar[imgdir_misc]/trans.gif" width="44" height="34" border="0" alt="" /></a></td>
        <
td width="8" height="34" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_nav_end.gif" width="8" height="34" alt="" /></td>    
        <
td width="50%" height="34" align="right" valign="top"><img src="$stylevar[imgdir_misc]/trans.gif" width="50%" height="34" alt="" /></td>
        <
td width="93" height="34" align="right" valign="top"><img src="$stylevar[imgdir_misc]/hdr_nav_rs.gif" width="93" height="34" alt="" /></td>
    </
tr>
    </
table>
    <
table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url($stylevar[imgdir_misc]/hdr_sub_back.gif)">
    <
tr>
        <
td width="93" height="18" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_sub_ls.gif" width="93" height="18" alt="" /></td>
        <
td width="100%" height="18" align="left" valign="top"><img src="$stylevar[imgdir_misc]/hdr_sub_back.gif" width="100%" height="18" alt="" /></td>
        <
td width="93" height="18" align="right" valign="top"><img src="$stylevar[imgdir_misc]/hdr_sub_rs.gif" width="93" height="18" alt="" /></td>
    </
tr>
</
table>


<!-- 
end rogue header-->



<
table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#222222">
<
tr>
 <
td align="left" valign="top" width="29" style="background-image:url($stylevar[imgdir_misc]/rogue_ls.gif) "><img src="$stylevar[imgdir_misc]/rogue_ls.gif" width="29" alt="" /></td>
<
td>





<
table border="0" width="100%" cellpadding="15" cellspacing="0" bgcolor="#222222">
<
tr><td>
<!-- 
begin top rounded table area-->
 <
div id="round_top_main"><div id="round_top_ls"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" alt="" /></div><div id="round_top_rs"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" alt="" /></div></div>
<!-- 
content table -->
<
table bgcolor="#1b1a1a" width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr>
  <
td>



$spacer_open

$_phpinclude_output

$ad_location
[ad_header_end
Right there at the top.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01541 seconds
  • Memory Usage 1,948KB
  • 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_php
  • (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