Dirk04
Also ich hab jetzt schon wirklich gesucht wie ich die Onlineanzeige und die Anzeige für den Posteingang nach oben bekomme,aber entweder habe ich es übersehen oder es gibt nichts zu finden wie ich das mache. :-)
Ich möchte wie gesagt die beiden Anzeigen einfach von unten nach oben verschieben,mehr nicht.
Also keinen aufwendigen Hack oder ähnliches,nur leider habe ich davon bzw vom Programmieren keine Ahnung.
Ich nehme mal an man muß etwas in der Index.tpl ändern,aber wo und wie?
Wäre für eine Hilfe dankbar.
Gruß,
Dirk
Biggi
Template index ist korrekt.
Suche und lösche:
| 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:
|
<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($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==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_PM']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><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>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
</tr>
</then>
</if> |
|
Suche:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
|
<else>
<tr>
<td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
<tr class="tablea_fc">
<td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?u=$wbbuserdata[userid]{$SID_ARG_2ND}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</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> |
|
und füge den unten entfernten Code darunter ein.
Ich habe es jetzt nicht getestet und nur auf die Schnelle geschaut.
Dirk04
ich danke Dir,hab es schon eingesetzt und klappte auch.
Nur ist die Anzeige nun größer,also die Tabellenbreite,kann man das da auch ändern?
Klar bestimmt ne?
Nochmals danke...
Biggi
Ah!
Ich hatte jetzt Zeit, es kurz zu testen.
Mach jetzt auf Grundlage des bereits geänderten Templates folgendes:
Suche:
| 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:
|
<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($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==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_PM']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb"><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>
<td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
</tr>
</then>
</if> |
|
Ersetze durch:
| 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:
|
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<if($showuseronline==1)>
<then>
<tr>
<td class="tabletitle" colspan="2" 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" style="width:20px;"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
<td class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
</tr>
<tr>
<td class="tablea" align="left"><span class="smallfont"><if($useronline=="")><then> </then></if>$useronline</span></td>
</tr>
</then>
</if>
<if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
<then>
<tr>
<td class="tabletitle" align="left" colspan="2"><span class="smallfont"><b>{$lang->items['LANG_START_PM']}</b></span></td>
</tr>
<tr>
<td align="center" class="tableb" style="width:20px;"><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>
<td align="left" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
</tr>
</then>
</if> |
|
Dirk04
echt klasse Deine schnelle Hilfe.
Ich danke Dir vielmals dafür,hat alles perfekt funktioniert.
Gruß,
Dirk