Dragonheart0811
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.
Problembeschreibung:
Ich bekomme keine 2 Zeilen im Header hin, habe schon alles probiert.. Aber nix, ich hänge hier mal die header.tpl ran. Ich hätte gerne Nach dem Game Menü eine neue Zeile.
Fehlermeldung:
Link zum Forum oder Screenshot:
[IMG]http://www.spiele-paradies.eu/sshot-76.png[/IMG]
Was wurde zuletzt geändert oder eingebaut?
Dragonheart0811
Auf die Idee mit dem <br> bin ich auch schon gekommen, aber fehlt in der ersten Zeile die Grafig top_orechts.gif und in der zweiten Zeile top_olinks.gif.
Biggi
Benutz mal dieses Template:
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:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
|
<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">
<span class="smallfont">
<img border="0" src="{$style['imagefolder']}/top_olinks.gif" style="width:24px; height:66px;" alt="" /><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="ts_index.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><img border="0" src="{$style['imagefolder']}/top_orechts.gif" style="width:27px; height:66px;" alt="" /><br />
<img border="0" src="{$style['imagefolder']}/top_olinks.gif" style="width:24px; height:66px;" alt="" /><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="game_menue.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_spiele.gif" border="0" alt="Game Menü" title="Game Menü" /></a><a href="cheats.php"><img src="{$style['imagefolder']}/top_cheats.gif" border="0" alt="Cheat-Datenbank" title="Cheat-Datenbank" /></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><img border="0" src="{$style['imagefolder']}/top_orechts.gif" style="width:27px; height:66px;" alt="" />
</span>
</td>
</tr>
</table><br />
<if($wbbuserdata[userid]!="0" && $wbbuserdata[activation]!="1")><then>
<div id="nichtfrei" style="position:absolute; left:200px; top:50px; z-index:1;">
<table cellpadding="2" cellspacing="1" class="tableoutborder" width="600px">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>Informationen:</b></span></td>
</tr>
<tr>
<td class="tablea" align="left">
<span class="smallfont"><span class="highlight"><font size="+1">
Achtung: Dein Account ist (noch) nicht freigeschaltet.<br /><br />
Es wurde eine Aktivierungsemail an:<br />
<a href="mailto:$wbbuserdata[email]"><i>$wbbuserdata[email]</i></a><br />
verschickt.<br /><br />
In dieser E-Mail ist ein Link der betätigt werden muß um die Echtheit der E-Mail-Adresse zu überprüfen. Erst dann ist Dein Account freigeschaltet.<br /><br />
Solltest Du Dich bei der E-Mail-Adresse verschrieben haben so wende Dich bitte per E-Mail an: <a href="mailto:applecorner@oleco.net">Administrator</a><br /><br />
Danach wird eine neue Aktivierungsemail verschickt.<br />
Accounts die nicht aktiviert werden (auch nach dem Wechsel der E-Mail-Adresse) werden nach 2-3 Tagen gelöscht.<br /><br />
</font></span></span>
</td>
</tr>
</table>
</div>
</then></if> |
|
Ich habe dir den Code auch etwas bereinigt. Die top_orechts und top_olinks hatten kein alt-Tag, haben height und width nicht als CSS drin gehabt und waren nicht abgeschlossen.
Die Umlaute waren nirgends maskiert.
Und ich habe dies aus der ersten Zeile entfernt, weil du sonst ein doppeltes body-Tag im Board hast:
code: |
1:
|
<body topmargin="0"> |
|
Schreib stattdessen ins Designpack bei Hintergrund in das Feld für "Weitere Attribute (CSS Code):" (das erste dieser Felder im Designpack) folgendes rein:
@ jacqy:
breaks im WBB 2 schreibst du besser so:
<br />
<br> ist HTML, das Board arbeitet aber mit XHTML. Da müssen leere Elemente geschlossen werden mit dem Schrägstrich am Ende.
Siehe dazu hier:
http://de.selfhtml.org/html/xhtml/unters...#leere_elemente
jacqy
ja schreibe ich normalerweise auch so

hab den schrägstrich vergessen^^
aber trotzdem danke
Dragonheart0811
@Biggi,
Danke dir vielmals so ist es perfekt, könntest du den Code hier auch bearbeiten, damit der für 2 Zeilen geht?
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:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
|
<body topmargin="0">
<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"><img border="0" src="{$style['imagefolder']}/top_left.gif" width="33" height="35"><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="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['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="game_menue.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_spiele.gif" border="0" alt="Game Menü" title="Game Menü" /></a><a href="cheats.php"><img src="{$style['imagefolder']}/top_cheats.gif" border="0" alt="Cheat-Datenbank" title="Cheat-Datenbank" /></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></span><img border="0" src="{$style['imagefolder']}/top_right.gif" width="33" height="35"></td>
</tr>
</table><br />
<if($wbbuserdata[userid]!="0" && $wbbuserdata[activation]!="1")><then>
<div id="nichtfrei" style="position:absolute; left:200px; top:50px; z-index:1;">
<table cellpadding="2" cellspacing="1" class="tableoutborder" width="600px">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>Informationen:</b></span></td>
</tr>
<tr>
<td class="tablea" align="left">
<span class="smallfont"><span class="highlight"><font size="+1">
Achtung: Dein Account ist (noch) nicht freigeschaltet.<br /><br />
Es wurde eine Aktivierungsemail an:<br />
<a href="mailto:$wbbuserdata[email]"><i>$wbbuserdata[email]</i></a><br />
verschickt.<br /><br />
In dieser E-Mail ist ein Link der betätigt werden muß um die Echtheit der E-Mail-Adresse zu überprüfen. Erst dann ist Dein Account freigeschaltet.<br /><br />
Solltest Du Dich bei der E-Mail-Adresse verschrieben haben so wende Dich bitte per E-Mail an: <a href="mailto:applecorner@oleco.net">Administrator</a><br /><br />
Danach wird eine neue Aktivierungsemail verschickt.<br />
Accounts die nicht aktiviert werden (auch nach dem Wechsel der E-Mail-Adresse) werden nach 2-3 Tagen gelöscht.<br /><br />
</font></span></span>
</td>
</tr>
</table>
</div>
</then></if>
|
|
Bei dem Style habe ich auch ein Problem mit dem Header Links und Rechts, da fehlt was?
www.spiele-paradies.eu/index.php?styleid=6
Im Designpack ist unter dem Logo ein back.gif angegeben, das ist jedoch leer.

Daher wohl das Problem.. Hänge es hier mal mit ran. Mußte aber ein .txt anfügen, da das Bild ja nicht zu sehen ist.
Biggi
Abgesehen von der Größe und den Namen der Abschlußgraphiken ist das Template doch identisch. Da hättest du doch auch meins selbst anpassen können.
Aber gut, hier ist es:
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:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
|
<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">
<span class="smallfont">
<img border="0" src="{$style['imagefolder']}/top_left.gif" style="width:33px; height:35px;" alt="" /><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="ts_index.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><img border="0" src="{$style['imagefolder']}/top_right.gif" style="width:33px; height:35px;" alt="" /><br />
<img border="0" src="{$style['imagefolder']}/top_left.gif" style="width:33px; height:35px;" alt="" /><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="game_menue.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_spiele.gif" border="0" alt="Game Menü" title="Game Menü" /></a><a href="cheats.php"><img src="{$style['imagefolder']}/top_cheats.gif" border="0" alt="Cheat-Datenbank" title="Cheat-Datenbank" /></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><img border="0" src="{$style['imagefolder']}/top_right.gif" style="width:33px; height:35px;" alt="" />
</span>
</td>
</tr>
</table><br />
<if($wbbuserdata[userid]!="0" && $wbbuserdata[activation]!="1")><then>
<div id="nichtfrei" style="position:absolute; left:200px; top:50px; z-index:1;">
<table cellpadding="2" cellspacing="1" class="tableoutborder" width="600px">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>Informationen:</b></span></td>
</tr>
<tr>
<td class="tablea" align="left">
<span class="smallfont"><span class="highlight"><font size="+1">
Achtung: Dein Account ist (noch) nicht freigeschaltet.<br /><br />
Es wurde eine Aktivierungsemail an:<br />
<a href="mailto:$wbbuserdata[email]"><i>$wbbuserdata[email]</i></a><br />
verschickt.<br /><br />
In dieser E-Mail ist ein Link der betätigt werden muß um die Echtheit der E-Mail-Adresse zu überprüfen. Erst dann ist Dein Account freigeschaltet.<br /><br />
Solltest Du Dich bei der E-Mail-Adresse verschrieben haben so wende Dich bitte per E-Mail an: <a href="mailto:applecorner@oleco.net">Administrator</a><br /><br />
Danach wird eine neue Aktivierungsemail verschickt.<br />
Accounts die nicht aktiviert werden (auch nach dem Wechsel der E-Mail-Adresse) werden nach 2-3 Tagen gelöscht.<br /><br />
</font></span></span>
</td>
</tr>
</table>
</div>
</then></if> |
|
Auch hier wieder das margin-top:0; ins Designpack packen.
Das back.gif ist nicht leer. Es ist 1 x 1 px groß und hat dieses Apricot als Farbe.
Lösch es aus dem Styleordner und entferne die Angabe im Designpack, dann ist der Hintergrund so wie im restlichen Board.
Dragonheart0811
Hi biggi,
danke dir viellmals, na ich war mir nicht so sicher, ob die so identisch sind..
Habe das back.gif rausgenommen und nun ist alles sauber.. Vielen dank nochmal.