XxSowaXx
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 habe die Tabelle von der Header.tpl ein bisschen verkleinert. Dadurch ist die Themen Tabelle verrutscht. Ich weiß aber nicht wie ich sie wieder anders hinbekomme dass sie in der Mitte und Größer ist.
Fehlermeldung:
Keine Fehlermeldung. Siehe ein unten.
Link zum Forum oder Screenshot:
http://folife.fo.ohost.de/wbb2/index.php
Was wurde zuletzt geändert oder eingebaut?
Nur die Header.tpl Tabelle ein bisschen verkleinert.
Iceblue
was hast du genau verkleinert in der header.tpl? die breite des forums? wenn ja dann mach dies rückgängig und schau mal ins Desingpack, dort kannse die breite auch einstellen, dann dürfte dies sich nicht so auf den rest auswirken
Maniac_81
du musst schon das templates anhängen das du verändert hast, sonst kann dir neimenad helfen....
ich denke mal das der letzte table ein align="center" braucht.
XxSowaXx
Jetzt hab ich es mit dem Designpack versucht, und es hat geklappt, aber ich möchte die innere Tabelle in der Mitte haben.
Habs in der index.tpl mit am Anfang <div align="center"> am Ende </div>
Hat aber nichts gebracht.
Kann mir jemand helfen?
Maniac_81
na häng doch bitte mal dein header.tpl an
XxSowaXx
Komisch!
Ich kann sie nicht anhängen weil FileZilla nicht klappt.
Hier:
| 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:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
|
<if($offline==1)><then> <span class= "highlight" ><span class="bigfont"> <b>Das Forum ist im
Moment Offline:</b></span><br>
$offlinemessage</span></then></if>
<table style="width:{660px" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="logobackground" align="center" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td background="{$style['imagefolder']}/leiste2.gif"> </td>
</tr>
<tr>
<td>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0" id="table2">
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/leiste2.gif); height:20px;"></td>
</tr>
<tr>
<div align="center"><img src="http://folife.fo.ohost.de/wbb2/images/blue/logo.gif" border="0"></div></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="mainpage" valign="top" width="119">
<table cellpadding="0" cellspacing="0" border="0" width="1">
<tr>
<td>
<img src="{$style['imagefolder']}/subnavi.gif" border="0" width="119" height="19" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" background-repeat: repeat-x;">
<span class="smallfont"><br />
<b>»</b> <a style="text-decoration: none" href="index.php{$SID_ARG_1ST}">
Startseite</a><br />
<b>»</b> <a style="text-decoration: none" href="search.php{$SID_ARG_1ST}">
Suche</a><br />
<b>»</b> <a style="text-decoration: none" href="thread.php?threadid=2&sid=&sid=$session[hash]">
Board Regeln</a><br />
<b>»</b> <a style="text-decoration: none" href="misc.php?action=faq&sid=$session[hash]">
F.A.Q</a><br />
<b>»</b> <a style="text-decoration: none" href="team.php{$SID_ARG_1ST}">Team</a><br />
<b>»</b> <a style="text-decoration: none" href="memberslist.php{$SID_ARG_1ST}">
Mitglieder</a><br />
<b>»</b> <a style="text-decoration: none" href="calendar.php{$SID_ARG_1ST}">
Kalender</a><br /><br /></span>
</td>
</tr>
<tr>
<td>
<img src="{$style['imagefolder']}/menue_<if($wbbuserdata[userid])><then>userbox</then><else>gaestebox</else></if>.gif" border="0" width="119" height="20" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont">
<if($wbbuserdata[userid])><then><br />
<b>»</b> <a style="text-decoration: none" href="usercp.php{$SID_ARG_1ST}">User
CP</a><br />
<b>»</b> <a style="text-decoration: none" href="pms.php{$SID_ARG_1ST}">Priv.
Nachrichten</a><br />
<b>»</b> <a style="text-decoration: none" href="guthaben.php">Guthaben</a><br />
<b>»</b> <a style="text-decoration: none" href="guthaben.php?action=guthabentop">
Guthaben Toplist</a><br />
<b>»</b> <a style="text-decoration: none" href="usercp.php?action=favorites&sid=$session[hash]">
Favoriten</a><br />
<b>»</b> <a style="text-decoration: none" href="profile.php?userid={$wbbuserdata['userid']}&sid=$session[hash]">
Eigenes Profil</a><br /></then>
<else><br />
<b>»</b> <a style="text-decoration: none" href="guthaben.php">Guthaben</a><br />
<b>»</b> <a style="text-decoration: none" href="logout.php{$SID_ARG_1ST}">
Abmelden</a><br />
<b>»</b> <a style="text-decoration: none" href="register.php{$SID_ARG_1ST}">
Registrieren</a><br />
<b>»</b> <a style="text-decoration: none" href="login.php{$SID_ARG_1ST}">
Einloggen</a><br />
<b>»</b> <a style="text-decoration: none" href="logout.php{$SID_ARG_1ST}">
Abmelden</a><br />
</else></if><br /></span>
</td>
</tr>
<tr>
<td>
<img src="{$style['imagefolder']}/menue_spezielles.gif" border="0" width="119" height="20" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont"><br />
<b>»</b> <a style="text-decoration: none" href="shop.php?action=lotto">Lotto</a><br/ >
<b>»</b> <a style="text-decoration: none" href="guthaben.php?action=zahlenraten">
Zahlenraten</a><br/ >
<b>»</b> <a style="text-decoration: none" href="17u4.php">17 und 4</a><br/ >
<b>»</b> <a style="text-decoration: none" href="elfer.php">Elfmeter</a><br/ ><br>
</td>
</tr>
<tr>
</tr>
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1) || ($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then>
<tr>
<td>
<img src="{$style['imagefolder']}/menue_adminpanels.gif" border="0" width="119" height="20" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont"><br />
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then>
<b>»</b> <a style="text-decoration: none" href="acp/index.php" target="_blank"><span class="prefix">
Admin CP</span></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then> <b>»</b> <a style="text-decoration: none" href="acp/index.php" target="_blank"><span class="prefix">
Mod CP</span></a></then></if><br/><br>
</td>
</tr>
</then></if>
<tr>
<td>
<img src="{$style['imagefolder']}/menue_partner.gif" border="0" width="119" height="20" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="center" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont"><br /><br />
</span>
</td>
</tr>
</table>
</td>
<td class="mainpage" align="center" valign="top" style="width:531px" >
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td style="background-image: url({$style['imagefolder']}/content_shadow.gif); background-repeat: repeat-x; height:25px;"> </td></tr></table> |
|
Maniac_81
am header template scheint alles zu stimmen. bist du dir sicher das du nichts anderes verändert hast? sieht so aus als sein die index.tpl auchverändert worden.
XxSowaXx
Da hab ich versucht was zu ändern, dass mit div align="center" hat aber net geklappt.
Trotzdem hier:
| 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:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
|
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_START_TITLE']}</title>
$headinclude
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($wbbuserdata['userid']==0)>
<then>
<tr>
<td class="tabletitle" align="left">
<span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
</tr>
<tr>
<td class="tableb" align="left" style="text-align: justify"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
</tr>
</then>
<else>
<tr><td class="tabletitle" colspan="<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then>4</then><else>3</else></if>">
<span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOGOUT']}</a></span></td>
</tr>
<tr>
<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then><td align="center" class="tableb" width="1%"><if($countnew>0)>
<then><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEWPM']}" title="{$lang->items['LANG_START_NEWPM']}" /></then>
<else><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEWPM']}" title="{$lang->items['LANG_START_NONEWPM']}" /></else>
</if></td></then></if>
<td class="tablea" colspan="3"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="search.php?action=new&sid=$session[hash]">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then><br />
<b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b>: {$lang->items['LANG_START_PMS']}
</then></if></span>
</td>
<td align="right"><span class="smallfont">{$lang->items['LANG_START_CURRENTTIME']} <span class="time">$currenttime</span>.<br />{$lang->items['LANG_START_TIMEZONE']}</span></td>
</tr>
</table></td>
</tr>
</else>
</if> </table>
<br/>
$toplist<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle"><span class="smallfont"> </span></td>
<td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
<td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
<td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
<if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
</tr>
$boardbit
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td>
</tr>
<tr>
<td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
</tr>
<tr>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($useronline=="")><then> </then></if>$useronline</span></td>
</tr>
</then>
</if>
<if(isset($birthdaybit) || isset($eventbit))>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWEVENTS']}</b></span></td>
</tr>
<if(isset($birthdaybit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/birthday.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BIRTHDAY']}</b><br />$birthdaybit</span></td>
</tr>
</then>
</if>
<if(isset($eventbit))>
<then>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/events.gif" alt="" title="" border="0" /></td>
<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_TODAYEVENT']}</b><br />$eventbit</span></td>
</tr>
</then>
</if>
</then>
</if>
<if($showstats==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_STATISTIC']}</b></span></td>
</tr>
<tr>
<td colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" class="tableb" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br />
{$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]&sid=$session[hash]">$stats[username]</a>.</span></td>
</tr>
</then>
</if>
</table>
<if($wbbuserdata['userid']==0)>
<then>
<br /><a name="login" id="login"></a>
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" /></then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td>
</tr>
<tr>
<td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
<tr>
<td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
<td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" /> </span></td>
<td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
<td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" /> </span></td>
<if($allowloginencryption==1)><then>
<td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
<td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /> </span></td></then></if>
<td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
</tr>
</table></td>
</tr>
</table></form>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</then>
</if>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="right"><span class="smallfont"><a href="search.php?action=24h&sid=$session[hash]">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls&sid=$session[hash]">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a></span></td>
</tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder">
<tr>
<td class="tableb">
<table>
<tr align="center">
<td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_NONEW_POSTS']} </span></td>
<td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_CLOSED']}</span></td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html> |
|
Maniac_81
also ich werd da draus nicht schlau.
ist das normal beim WBB3 in der Spalte "letzter Beitrag" ne Zahl drinne steht?
ich kann leider keinen fehler feststellen, scheint eigentlich alles richtig formatiert zu sein. Vielleicht hab ich aber auch was übersehen und jemand anderes kann dir weiterhelfen. Das Template vom WBB3 is auch neuland für mich.