HDD1991
Hallo zusammen. Ich bin gerade dabei, ein Forum einzurichten und möchte bei den top_buttons gerne einen Hintergrund haben, so das es aussieht als wäre es eine leiste. Momentan sind da nur die einzelnen buttons und ich bekomme es nicht hin eine leiste als Hintergrund einzubauen. Hier mal die headerl.tpl und 2 Beispielbilder (einmal wie es momentan ist, und wie es aussehen soll):
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:
26:
|
<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="left"><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>
<if($wbbuserdata['userid'] == 0)><then><a href="login.php"><img src="{$style['imagefolder']}/top_login.gif" border="0" alt="Login" title="Login" /></a></then></if>
<if($wbbuserdata['can_guthaben_shop'])><then><a href="lottozahlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_lottozahlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" title="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" /></a></then></if>
<if($wbbuserdata['userid'])><then><a href="guthaben.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_guthaben.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_GUT']}" title="{$lang->items['LANG_GLOBAL_GUT_GUT']}" /></a></then></if>
<if($wbbuserdata['can_guthaben_werben'])><then><a href="empfehlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_empfehlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" title="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" /></a></then></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="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="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>
<a href="http://www.test.de"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="Portal" title="Portal" /></a></span></td>
</tr>
</table><br /> |
|
Hoffe ihr könnt mir helfen!
MFG
Masterog
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:
26:
|
<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="left" class="tabletitle"><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>
<if($wbbuserdata['userid'] == 0)><then><a href="login.php"><img src="{$style['imagefolder']}/top_login.gif" border="0" alt="Login" title="Login" /></a></then></if>
<if($wbbuserdata['can_guthaben_shop'])><then><a href="lottozahlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_lottozahlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" title="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" /></a></then></if>
<if($wbbuserdata['userid'])><then><a href="guthaben.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_guthaben.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_GUT']}" title="{$lang->items['LANG_GLOBAL_GUT_GUT']}" /></a></then></if>
<if($wbbuserdata['can_guthaben_werben'])><then><a href="empfehlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_empfehlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" title="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" /></a></then></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="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="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>
<a href="http://www.test.de"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="Portal" title="Portal" /></a></span></td>
</tr>
</table><br /> |
|
Versuchs mal damit. Zumindest hat deine klasse tabletitle die gleiche hintergrundgrafik, die du unter den buttons scheinbar haben willst ^^
nAsH
versuchs mal damit...
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:
26:
|
<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="left" background="{$style['imagefolder']}/DEIN_BACKGROUND.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>
<if($wbbuserdata['userid'] == 0)><then><a href="login.php"><img src="{$style['imagefolder']}/top_login.gif" border="0" alt="Login" title="Login" /></a></then></if>
<if($wbbuserdata['can_guthaben_shop'])><then><a href="lottozahlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_lottozahlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" title="{$lang->items['LANG_GLOBAL_GUT_LOTTO']}" /></a></then></if>
<if($wbbuserdata['userid'])><then><a href="guthaben.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_guthaben.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_GUT']}" title="{$lang->items['LANG_GLOBAL_GUT_GUT']}" /></a></then></if>
<if($wbbuserdata['can_guthaben_werben'])><then><a href="empfehlen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_empfehlen.gif" border="0" alt="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" title="{$lang->items['LANG_GLOBAL_GUT_WERBEN']}" /></a></then></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="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="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>
<a href="http://www.test.de"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="Portal" title="Portal" /></a></span></td>
</tr>
</table><br /> |
|
ersetze "DEIN_BACKGROUND.gif" durch die entsprechende Background Grafik...
nAsH
HDD1991
@nAsh : Super danke hat geklappt!
MFG
MC SERHAT
kann man auch so etwas machen , nur das da keine top buttons als bild angezeigt werden sondern nur als schrift ?