Quote:
Originally Posted by Mago de Sombra
код шаблона header скиньте
|
<!-- set below for skin width-->
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="left" valign="top">
<!-- begin enlighten header / logo is controlled via #logo in main CSS file -->
<div id="hdr"><div id="hdr_rs"></div><div id="logo"></div></div>
<div id="brd_outer">
<div id="brd_in">
<!-- nav buttons bar -->
<div align="center">
<div id="nav_back">
<table cellpadding="0" cellspacing="0" border="0" width="50%" align="center">
<tr>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<td class="h_nav"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>
<if condition="$show['member']">
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<td align="center" class="h_nav"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<if condition="$show['registerbutton']">
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<td class="h_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<!-- Load Blog Link-->
<if condition="$vbulletin->products['vbblog']">
<td class="h_nav"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<!-- End Blog Link-->
<td class="h_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<td class="h_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<td class="h_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="h_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
<else />
<td class="h_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<td id="navbar_search" class="h_nav"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="h_nav"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links] </a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="h_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="h_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="h_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="h_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="h_nav"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="h_nav"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</div>
<div id="nav_btm"></div>
<!-- content table -->
<table bgcolor="#ebebe2" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
$spacer_open
$_phpinclude_output