|
|
vBulletin 3.х Раздел о vBulletin и всем что касается этого скрипта |
|
Опции темы | Поиск в этой теме |
17.03.2011, 18:50 Вверх | #3 | |||
.:V.I.P.:.
|
подскажите, пожалуйста, как "дотянуть" полоску до края шаблона. Навясякий случай вот код Нажми для просмотра
<!-- logo -->
<a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder"> <tr> <td align="center" valign="top"> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <tr class="header_bg"> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> <tr> <td height="34" colspan="2" class="vb_navigation"> <!-- nav buttons bar --> <table cellpadding="0" cellspacing="0" border="0" align="center" class="vb_navigation"> <tr align="center"> <td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/"> Форум <else /> <a href="http://www.stateiki.net/main.php"> Главная </if></a></td> <if condition="$show['member']"> <td width="78" height="34" class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td width="78" height="34" class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <if condition="$vbulletin->products['vbprojecttools']"><td width="78" height="34" class="vbmenu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td></if> <if condition="$vbulletin->products['vbblog']"><td width="78" height="34" class="vbmenu_control"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td></if> <td width="78" height="34" class="vbmenu_control"><a href="/downloads.php">Файлы</a></td> <td width="78" height="34" class="vbmenu_control"><a href="/arcade.php">Игры онлайн</a></td> <td width="78" height="34" class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <if condition="$show['communitylink'] AND $show['popups']"> <td width="85" height="34" class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community", 1); </script></td> <else /> <if condition="$show['memberslist']"> <td width="85" height="34" class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td width="85" height="34" class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if></if> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td width="78" height="34" class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">New Posts</a></td> <else /> <td width="78" height="34" class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td> </if> <td id="navbar_search" width="78" height="34" class="vbmenu_control"><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", 1); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" width="78" height="34" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">Навигация</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td width="78" height="34" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td width="78" height="34" class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td width="78" height="34" class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td width="78" height="34" class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td width="78" height="34" class="vbmenu_control"><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> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <td width="78" height="34" class="vbmenu_control"><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> </if> <td width="8" height="34" align="left"><img src="$stylevar[imgdir_misc]/nav_final.gif" width="8" height="34" alt="" border="0" /></td> </tr> </table> <!-- / nav buttons bar --> </td></tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
|||
20.03.2011, 13:30 Вверх | #8 | |||
Модератор
|
PHP код:
больше всего удивляют такие вопросы, касающиеся стилей, это дизайн, тут нет закономерности, это все фантазия того кто его писал, и как можно угадать по скрину? и куску кода... |
|||
23.03.2011, 15:00 Вверх | #9 | |||
.:V.I.P.:.
|
возникла проблема. При нажатии на кнопку не отрывается меня, подскажите, пожалуйста, как исправить.
Вот код, если нужен: Нажми для просмотра
<if condition="$show['communitylink'] AND $show['popups']">
<td width="85" height="34" class="css_nav"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community", 1); </script></td> <else /> <if condition="$show['memberslist']"> <td width="85" height="34" class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td width="85" height="34" class="css_nav"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if> </if> Скрин: |
|||
23.03.2011, 16:09 Вверх | #11 | |||
.:V.I.P.:.
|
slavok47, это хеадер)
Нажми для просмотра
<!-- logo -->
<a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder"> <tr> <td align="center" valign="top"> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <tr class="header_bg"> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> <tr> <td height="34" colspan="2" class="vb_navigation"> <!-- nav buttons bar --> <table cellpadding="0" cellspacing="0" border="0" align="center" class="vb_navigation"> <tr align="center"> <td class="css_nav"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/"> Форум <else /> <a href="http://www.stateiki.net/main.php"> Главная </if></a></td> <if condition="$show['member']"> <td width="78" height="34" class="css_nav"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td width="78" height="34" class="css_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <if condition="$vbulletin->products['vbprojecttools']"><td width="78" height="34" class="css_nav"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td></if> <if condition="$vbulletin->products['vbblog']"><td width="78" height="34" class="css_nav"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td></if> <td width="78" height="34" class="css_nav"><a href="/downloads.php">Файлы</a></td> <td width="78" height="34" class="css_nav"><a href="/arcade.php">Игры онлайн</a></td> <td width="78" height="34" class="css_nav"><a href="http://ixaker.ru/forum.php">iXakeR</a></td> <td width="78" height="34" class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <if condition="$show['communitylink'] AND $show['popups']"> <td width="85" height="34" class="css_nav"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community", 1); </script></td> <else /> <if condition="$show['memberslist']"> <td width="85" height="34" class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td width="85" height="34" class="css_nav"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if> </if> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td width="78" height="34" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">New Posts</a></td> <else /> <td width="78" height="34" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td> </if> <td id="navbar_search" width="78" height="34" class="css_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", 1); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" width="78" height="34" class="css_nav"><a href="$show[nojs_link]#usercptools">Навигация</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td width="78" height="34" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td width="78" height="34" class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td width="78" height="34" class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td width="78" height="34" class="css_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td width="78" height="34" class="css_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> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <td width="78" height="34" class="css_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> </if> <td width="8" height="34" align="left"><img src="$stylevar[imgdir_misc]/nav_final.gif" width="8" height="34" alt="" border="0" /></td> </tr> </table> <!-- / nav buttons bar --> </td></tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
|||
23.03.2011, 17:20 Вверх | #14 | |||
.:V.I.P.:.
|
slavok47, а как сделать это в header, будьте добры, подскажите, пожалуйста. Просто в наваре нужно вставлять перед этим кодом<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->, а в хеадере не знаю( |
|||
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Ошибка при устаноке vb3: Unable to add cookies, header already sent. | surikana | vBulletin 3.х | 9 | 21.05.2011 15:27 |
НУЖЕН HelP!!! "Unable to add cookies, header already sent." | donavi | vBulletin 3.х | 3 | 20.04.2011 09:27 |
[Вопрос] Проблема с cookies (Unable to add cookies, header already sent. /autorefresh_footer.php ) | r13t | vBulletin 3.х | 2 | 06.10.2010 17:15 |
Не удается добавить cookies. Header уже отправлен. | ramiz | vBulletin 3.х | 4 | 15.09.2010 12:32 |