Button einfügen im header

Igelmonster
Hallo, ich möchte gerne einen weiteren Button im header hinzufügen. dieser Button soll auf meine Regeln-Seite verlinken. das bild zum button heisst top_regeln.gif
die regelseite heisst regeln.htm am besten würde mir target_blank gefallen

mein header habe ich hier. der regeln-button soll wenn möglich links neben dem top_faq button liegen. kann mir einer helfen?

ich hänge mal meinen header an:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
 <tr>
  <td class="mainpage" align="center">
   <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
     <td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
    </tr>
    <tr>
     <td align="center" height="22"  background="{$style['imagefolder']}/header_cellpic.gif"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a>
     <a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then>
     <else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if>
     <a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>
     <a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>
     <a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a>
     <a href="statsinfo.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_statsinfo.gif" border="0" alt="{$lang->items['LANG_GLOBAL_YWSTATS']}" title="{$lang->items['LANG_GLOBAL_YWSTATS']}" /></a>
     <a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a>
     <a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a>
     <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if>
     <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if>
<a href="irc.php{$SID_ARG_1ST}" onclick="index(this.href,'site','629','435','yes');return false;"><img src="{$style['imagefolder']}/top_chat.gif" border="0" alt="Chat" title="Chat" /></a>
<if($wbbuserdata['userid'])><then><a href="gb_index.php"><img src="{$style['imagefolder']}/top_gbook.gif" border="0" /></a></then></if> 
   <a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
    </tr>     
   </table><br />
ROBthePRO
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
 <tr>
  <td class="mainpage" align="center">
   <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
     <td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
    </tr>
    <tr>
     <td align="center" height="22"  background="{$style['imagefolder']}/header_cellpic.gif"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a>
     <a href="regeln.htm"><img src="{$style['imagefolder']}/top_regeln.gif" border="0" alt="Regeln" title="Regeln" /></a>
     <a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then>
     <else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if>
     <a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>
     <a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>
     <a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a>
     <a href="statsinfo.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_statsinfo.gif" border="0" alt="{$lang->items['LANG_GLOBAL_YWSTATS']}" title="{$lang->items['LANG_GLOBAL_YWSTATS']}" /></a>
     <a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a>
     <a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a>
     <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if>
     <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if>
<a href="irc.php{$SID_ARG_1ST}" onclick="index(this.href,'site','629','435','yes');return false;"><img src="{$style['imagefolder']}/top_chat.gif" border="0" alt="Chat" title="Chat" /></a>
<if($wbbuserdata['userid'])><then><a href="gb_index.php"><img src="{$style['imagefolder']}/top_gbook.gif" border="0" /></a></then></if> 
   <a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
    </tr>     
   </table><br />
Igelmonster
vielen Dank klappt super.
Karin
Ich häng mich jetzt hier einfach mal dran.... genau das gleiche möchte ich auch gerne machen.... zwei neue Buttons einfügen.... mir ist auch klar wie ich das machen muss, aber ich finde die php nicht in der ich das ändern bzw. ergänzen kann. Kann mir hier evtl. jemand weiterhelfen und mir bitte sagen in welcher php ich das machen kann?
Lieben Gruss,
Karin
Izzmoo
Dazu muss Du keine PHP Datei ändern, sondern ein Template.
ACP » Templates bearbeiten » header
Master-X
Im ACP das Template "Header" bearbeiten Augenzwinkern
Karin
okay super Danke.... hab es gefunden... leider klappt es nicht. Ich würde gerne den Button SHOP mit einbauen und mit meiner Seite verlinken.
Der Link müsste lauten http://www.digiscraps.de/shop.php

Kann mir hier bitte evtl. jemand helfen wie genau ich das in html schreiben muss? Den Button Shop hab ich schon gefunden und hochgeladen in das Verzeichnis wbb2/images...

Lieben Gruss,
Karin
Izzmoo
<a href="http://www.digiscraps.de/shop.php"><img src="{$style['imagefolder']}/top_shop.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SHOP']}" title="{$lang->items['LANG_GLOBAL_SHOP']}" /></a>
KleenMicha
Im Template header, welches du mittels: acp->Templates bearbeiten öffnest, suchst du nach:
code:
1:
2:
3:
</span></td>
    </tr>     
   </table>

und fügst davor folgendes ein:
code:
1:
<a href="http://www.digiscraps.de/shop.php"><img src="{$style['imagefolder']}/NAMEDESBILDES" border="0" alt="Shop" title="Shop" /></a>
Karin
Einfach genial.... vielen lieben Dank an Euch beide für die turboschnelle Hilfestellung... ihr seid Spitze!!!

Es hat funktioniert und ich habe gleich zwei neue Buttons eingefügt!!!

Lieben Gruss,
Karin