IP-Adresse in thread_postbit anzeigen |
MagicMarc
Mitglied
Dabei seit: 16.01.04
Beiträge: 65
Herkunft: Hannover Forenversion: wBB 2.3.4
|
|
Titel: IP-Adresse in thread_postbit anzeigen
Version: 1.0
Beschreibung: Der gleiche Hack wie für das 2.1.x, im 2.3.4 gestestet und funktioniert einwandfrei
===
Er zeigt die IP-Adresse des jeweiligen Posts in der thread_postbit an (siehe Demo)
Die IP wird nur für User angezeigt, die die jeweiligen Berechtigungen haben, ausserdem ist die IP-Adresse auf das IP-Tool verlinkt (misc.php?action=viewip)
Einbauzeit: etwa 2-3 Minuten
----
Demo: http://www.xtra-board.de/images/ippostbit.gif
weiter zum Download
__________________ ~
|
|
24.02.06 17:07 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
wenn ich diesen eine einbaue bekomme ich eine fehlermeldung
Parse error: parse error, unexpected '{' in /homepages/14/d76577772/htdocs/wbb234/thread.php(305) : eval()'d code on line 19
Parse error: parse error, unexpected '{' in /homepages/14/d76577772/htdocs/wbb234/thread.php(305) : eval()'d code on line 19
Parse error: parse error, unexpected '{' in /homepages/14/d76577772/htdocs/wbb234/thread.php(305) : eval()'d code on line 19
|
|
26.02.06 23:24 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
ich habe es so gemacht wie es in der anleitung steht
Zitat: |
############### ## Suche: ## $posts[username]
{$lang->items['LANG_THREAD_UNREGISTERED']} ########## ## füge DARUNTER ein: ##
{$lang->items['LANG_THREAD_IP_POSTBIT']} $posts[ipaddress] ########## ###### |
|
|
27.02.06 07:54 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
[kamui]
~
Dabei seit: 27.04.05
Beiträge: 2.992
|
|
Der Fehler liegt nicht in der *.php sondern in der *.tpl. Bei diesem Addon ("Hack" möchte ich es nicht nennen ...) wird lediglich die *.tpl editiert, und nicht die *.php
|
|
27.02.06 16:56 |
Finden
Als Freund hinzufügen
|
|
|
Zitat: |
Original von kAmui_2k5
Der Fehler liegt nicht in der *.php sondern in der *.tpl. Bei diesem Addon ("Hack" möchte ich es nicht nennen ...) wird lediglich die *.tpl editiert, und nicht die *.php
|
ja das ist mir auch bekannt nur wenn ich das so einbaue wie es in der anleitung steht bekommen ich einen ( siehe oben ).
also wo ist meine Fehler.
|
|
27.02.06 18:17 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
bitte schön
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:
187:
188:
189:
190:
|
<?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="tablea" 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="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{$SID_ARG_1ST}">{$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>
<br>
$shoutbox
<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($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>
<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"><a href="statsinfo.php{$SID_ARG_1ST}"><b>{$lang->items['LANG_START_STATISTIC']}</b></a></span></td>
</tr>
<tr>
<td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></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_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_ARG_2ND}">$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_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a><if($show_archive == 1)><then> | <b><a href="archive/index.html">{$lang->items['LANG_START_ARCHIVE']}</a></b></then></if></span></td>
</tr>
</table><br />
<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>
<td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
<td><span class="smallfont">{$lang->items['LANG_START_BOARD_LINK']}</span></td>
</tr>
</table>
$footer
</body>
</html> |
|
|
|
27.02.06 19:35 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
bitte schön einmal die thread_postbit
thread_postbit
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:
|
<table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tr><if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if><td width="100%"><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr align="left">
<td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
<table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="smallfont"><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b></span> <if($posts['gender'] == 1)><then><img src="{$style['imagefolder']}/male.gif" border="0" alt="{$LANG_THREAD_MALE}" title="{$LANG_THREAD_MALE}" /></then></if>
<if($posts['gender'] == 2)><then><img src="{$style['imagefolder']}/female.gif" border="0" alt="{$LANG_THREAD_FEMALE}" title="{$LANG_THREAD_FEMALE}" /></then></if><br />
$posts[ranktitle]
<if($rankimages!="")><then><br />$rankimages</then></if>
<if($useravatar!="")><then><br /><br />$useravatar</then></if><br /><br />
<if($showregdateinthread==1)><then>{$lang->items['LANG_THREAD_REGDATE']} $posts[regdate]<br /></then></if>
<if($showuserpostsinthread==1)><then>{$lang->items['LANG_THREAD_USERPOSTS']} $posts[userposts]<br /></then></if>
$userfields
$userrating
<if($userlevel)><then><br />$userlevel</then></if>
<if($threadstarter==1)><then><br />{$lang->items['LANG_THREAD_THREADSTARTER']} <img src="{$style['imagefolder']}/threadstarter.gif" border="0" alt="{$LANG_THREAD_THREADSTARTER_ALT}" title="{$LANG_THREAD_THREADSTARTER_ALT}" /></then></if>
</then>
<else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}span></else>
</if>
<br /><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
</table>
</td>
<td class="$tdclass" valign="top" style="width:100%">
<table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="normalfont" align="left">
<table style="width:100%" cellpadding="{$style['tableincellpadding']}" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td><span class="smallfont">$posticon <b>$posts[posttopic]</b></span></td>
<td align="right" nowrap="nowrap"><a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/replypost.gif" border="0" alt="{$lang->items['LANG_THREAD_REPLYPOST']}" title="{$lang->items['LANG_THREAD_REPLYPOST']}" /></a> <a href="addreply.php?action=quote&postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/quote.gif" border="0" alt="{$lang->items['LANG_THREAD_QUOTE']}" title="{$lang->items['LANG_THREAD_QUOTE']}" /></a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/editpost.gif" border="0" alt="{$lang->items['LANG_THREAD_EDITPOST']}" title="{$lang->items['LANG_THREAD_EDITPOST']}" /></a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/report.gif" border="0" alt="{$lang->items['LANG_THREAD_REPORT']}" title="{$lang->items['LANG_THREAD_REPORT']}" /></a> <if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/ip.gif" border="0" alt="{$lang->items['LANG_THREAD_VIEWIP']}" title="{$lang->items['LANG_THREAD_VIEWIP']}" /></a> </then></if><a href="javascript:self.scrollTo(0,0);"><img src="{$style['imagefolder']}/goup.gif" border="0" alt="{$lang->items['LANG_THREAD_GOUP']}" title="{$lang->items['LANG_THREAD_GOUP']}" /></a></td>
</tr>
</table><hr size="{$style['tableincellspacing']}" class="threadline" />
$posts[message]
$attachments
$signature
<if($posts['editorid'])><then><p><span class="smallfont">{$LANG_THREAD_EDITOR}</span></p></then></if>
<if($invisible==1)><then><p align="right"><span class="normalfont">{$lang->items['LANG_THREAD_INVISIBLE']}</span></p></then></if>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="smallfont">
<if($newpost==1)>
<then><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticonnew.gif" border="0" alt="{$lang->items['LANG_THREAD_NEWPOST']}" title="{$lang->items['LANG_THREAD_NEWPOST']}" /></a></then>
<else><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticon.gif" border="0" alt="" title="" /></a></else>
</if>
$postdate <span class="time">$posttime</span></span></td>
<td class="$tdclass" align="left" style="width:100%" valign="middle"><span class="smallfont">
<if($posts['userid'])>
<then>
<if($showonlineinthread==1)>
<then>
<if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></else>
</if>
</then>
</if>
<if($posts['showemail']==1)>
<then><a href="mailto:$posts[email]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
<else>
<if($posts['usercanemail']==1)>
<then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
</if>
</else>
</if>
<if($posts['homepage'])>
<then><a href="$posts[homepage]" target="_blank"><img src="{$style['imagefolder']}/www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then>
</if>
<a href="search.php?action=user&userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a>
<a href="usercp.php?action=buddy&add=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a>
<if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$LANG_MEMBERS_PM}" title="{$LANG_MEMBERS_PM}" /></a></then></if>
<if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&action=add"><img src="http://web.icq.com/whitepages/online?icq=$posts[icq]&img=5" width="18" height="18" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>
<if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?"><img src="{$style['imagefolder']}/aim.gif" border="0" alt="{$LANG_MEMBERS_AIM}" title="{$LANG_MEMBERS_AIM}" /></a></then></if>
<if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&.src=pg"><img src="{$style['imagefolder']}/yim.gif" border="0" alt="{$LANG_MEMBERS_YIM}" title="{$LANG_MEMBERS_YIM}" /></a></then></if>
<if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]"><img src="{$style['imagefolder']}/msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if>
</then>
</if>
</span></td>
</tr>
</table></td></tr></table> |
|
#+
und einmal die
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:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
|
<?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 | $board[title] | $thread[prefix] $thread[topic]</title>
$headinclude
<link rel="contents" href="board.php?boardid=$boardid{$SID_ARG_2ND}" />
<if($t->pages>1)>
<then>
<link rel="first" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=1{$SID_ARG_2ND}" />
<link rel="last" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=$t->pages{$SID_ARG_2ND}" />
<if($t->pages>$t->page)><then><link rel="next" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}" /></then></if>
<if($t->page>1)><then><link rel="prev" href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}" /></then></if>
</then>
</if>
<script type="text/javascript">
<!--
var imageMaxWidth = $picmaxwidth;
var imageMaxHeight = $picmaxheight;
//-->
</script>
<script type="text/javascript" src="js/images.js"></script>
<script type="text/javascript">
<!--
function rating(userid) {
window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
//-->
</script>
</head>
<body onload="resizeImages();">
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar » </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="smallfont"><a href="thread.php?goto=lastpost&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_LASTPOST']}</a> | <a href="thread.php?goto=firstnew_thread&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FIRST_NEWPOST']}</a></span></td>
<td align="right" valign="top"><span class="smallfont"><a href="print.php?threadid=$threadid&page=$t->page{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PRINTTHREAD']}</a> | <if($turnoff_formmail==0)><then><a href="formmail.php?threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_SENDTOFRIEND']}</a> |</then></if> <a href="usercp.php?action=addsubscription&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_ADD_FAVORITES']}</a><if($wbbuserdata['userid'])><then> | <a href="misc.php?action=whoread&threadid=$threadid{$SID_ARG_2ND}" onClick="window.open('misc.php?action=whoread&threadid=$threadid{$SID_ARG_2ND}','_blank','toolbar=no,location=no,menubar=no,scrollbars=yes,width=640,height=480,resizeable=yes,status=no');return false" target="_blank" title="Zeige User, die das Thema gelesen haben">Watchlist</a></then></if></span></td>
</tr>
</table></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="left" valign="bottom"><span class="smallfont">$t->pagelink</span></td>
<td align="right" valign="bottom"><span class="smallfont">$newthread $addreply</span></td>
</tr>
</table>
$thread_poll
<table cellpadding="0" cellspacing="0" border="0" style="width:{$style['tableinwidth']}" align="center">
<tr>
<td><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tablecat" align="left"<if(isset($t->postbitlist))><then> colspan="3"</then></if>><span class="normalfont"><a href="javascript:self.scrollTo(0,50000);"><img src="{$style['imagefolder']}/asc.gif" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a> <b>$thread[topic] $threadrating</b></span></td>
</tr>
<if(isset($t->postbitlist))>
<then>
<tr align="center">
<td class="tabletitle" style="width:80%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POSTBITLIST']}</b></span></td>
<td class="tabletitle" style="width:20%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
<td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_DATE']}</b></span></td>
</tr>
<if($t->page!=1)>
<then>
<tr align="center">
<td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PREVPAGE']}</a></span></td>
</tr>
</then>
</if>
{$t->postbitlist}
<if($t->page<$t->pages)>
<then>
<tr align="center">
<td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&threadview=$threadview&hilight=$hilight&hilightuser=$hilightuser&page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTPAGE']}</a></span></td>
</tr>
</then>
</if>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
</then>
<else>
</table>
</else>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" align="left" style="width:<expression>((2*$style['tableincellpadding'])+159)</expression>px" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
<td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POST']}</b></span></td>
<td align="right"><span class="smallfont"><b>«</b> <a href="thread.php?goto=nextoldest&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTOLDEST']}</a> | <a href="thread.php?goto=nextnewest&threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTNEWEST']}</a> <b>»</b></span></td>
</tr>
</table></td>
</tr>
</table>
$postbit
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="2">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="smallfont">$t->pagelink</span></td>
<td align="right"><span class="smallfont"><a href="thread.php?threadid=$threadid&threadview=1&hilight=$hilight&hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_THREADED']}</a> | <a href="thread.php?threadid=$threadid&threadview=0&hilight=$hilight&hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FLATTHREAD']}</a></span></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="left" valign="top">$boardjump</td>
<td align="right" valign="top"><span class="smallfont">$newthread $addreply</span></td>
</tr>
</table>
<if(checkpermissions("can_rate_thread")==1 && $board['allowratings']==1 && !$thread['isvoted'])>
<then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><form action="threadrating.php" method="post"><table border="0" cellspacing="0" cellpadding="0" align="center" class="tablea_fc">
<tr align="center">
<td valign="bottom" align="right"><span class="normalfont"><b>{$lang->items['LANG_THREAD_THREADRATING']}</b> </span><span class="smallfont"><br /><br />
{$lang->items['LANG_THREAD_VERYPOOR']} <img src="{$style['imagefolder']}/thumbs_down.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYPOOR']}" title="{$lang->items['LANG_THREAD_VERYPOOR']}" /> </span>
</td>
<td style="background-color: $colors[0]"><span class="smallfont">
<input type="radio" name="rating" value="1" onclick="this.form.submit();" />
<br />
1 </span></td>
<td style="background-color: $colors[1]"><span class="smallfont">
<input type="radio" name="rating" value="2" onclick="this.form.submit();" />
<br />
2 </span></td>
<td style="background-color: $colors[2]"><span class="smallfont">
<input type="radio" name="rating" value="3" onclick="this.form.submit();" />
<br />
3 </span></td>
<td style="background-color: $colors[3]"><span class="smallfont">
<input type="radio" name="rating" value="4" onclick="this.form.submit();" />
<br />
4 </span></td>
<td style="background-color: $colors[4]"><span class="smallfont">
<input type="radio" name="rating" value="5" onclick="this.form.submit();" />
<br />
5 </span></td>
<td style="background-color: $colors[5]"><span class="smallfont">
<input type="radio" name="rating" value="6" onclick="this.form.submit();" />
<br />
6 </span></td>
<td style="background-color: $colors[6]"><span class="smallfont">
<input type="radio" name="rating" value="7" onclick="this.form.submit();" />
<br />
7 </span></td>
<td style="background-color: $colors[7]"><span class="smallfont">
<input type="radio" name="rating" value="8" onclick="this.form.submit();" />
<br />
8 </span></td>
<td style="background-color: $colors[8]"><span class="smallfont">
<input type="radio" name="rating" value="9" onclick="this.form.submit();" />
<br />
9 </span></td>
<td style="background-color: $colors[9]"><span class="smallfont">
<input type="radio" name="rating" value="10" onclick="this.form.submit();" />
<br />
10 </span></td>
<td align="left" valign="bottom"><span class="smallfont"> <img src="{$style['imagefolder']}/thumbs_up.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYGOOD']}" title="{$lang->items['LANG_THREAD_VERYGOOD']}" /> {$lang->items['LANG_THREAD_VERYGOOD']}</span></td>
</tr>
</table>
<input type="hidden" name="sid" value="$session[hash]" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="page" value="{$t->page}" />
</form></td>
</tr>
</table><br />
</then>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea" align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar » </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
</tr>
</table>
<table style="width:{$style['tableinwidth']}">
<tr>
<td align="right">
<if(checkmodpermissions())>
<then>
<form action="modcp.php" method="get" name="modoption">
<select name="action">
<option value="-1">{$lang->items['LANG_THREAD_ADMINOPTIONS']}</option>
<if(checkmodpermissions("m_can_thread_close"))>
<then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_move"))>
<then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_edit"))>
<then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
</if>
<if(checkmodpermissions("m_can_post_del"))>
<then><option value="post_del">{$lang->items['LANG_THREAD_POSTDEL']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_del"))>
<then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_merge"))>
<then><option value="thread_merge">{$lang->items['LANG_THREAD_THREADMERGE']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_cut"))>
<then><option value="thread_cut">{$lang->items['LANG_THREAD_THREADCUT']}</option></then>
</if>
<if(checkmodpermissions("m_can_thread_top"))>
<then><option value="thread_top">{$lang->items['LANG_THREAD_THREADTOP']}</option></then>
</if>
<if(checkmodpermissions("m_can_add_poll") && !$thread[pollid])>
<then><option value="polladd">{$lang->items['LANG_THREAD_POLLADD']}</option></then>
</if>
</select>
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="sid" value="$session[hash]" />
</form>
</then>
<else>
<if($wbbuserdata['userid'] && $wbbuserdata['userid']==$thread['starterid'] && (checkpermissions("can_close_own_topic")==1 || checkpermissions("can_del_own_topic")==1 || checkpermissions("can_edit_own_topic")==1 || checkpermissions("can_move_own_topic")==1))>
<then>
<form action="modcp.php" method="get" name="modoption">
<select name="action">
<option value="-1">{$lang->items['LANG_THREAD_OTHEROPTIONS']}</option>
<if(checkpermissions("can_close_own_topic")==1)>
<then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
</if>
<if(checkpermissions("can_move_own_topic")==1)>
<then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
</if>
<if(checkpermissions("can_edit_own_topic")==1)>
<then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
</if>
<if(checkpermissions("can_del_own_topic")==1)>
<then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
</if>
</select>
<input src="{$style['imagefolder']}/go.gif" type="image" />
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="sid" value="$session[hash]" />
</form>
</then>
</if>
</else>
</if>
</td>
</tr>
</table>
$footer
</body>
</html> |
|
|
|
28.02.06 08:14 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|
hi
also ersaetzt man am besten
den falschen text
php: |
1:
|
{$lang->items['LANG_THREAD_IP_POSTBIT']} $posts[ipaddress] |
|
mit diesem richtigen!!!
php: |
1:
2:
|
</if>
<if($wbbuserdata['a_can_view_ipaddress']==1)><then><br />{$lang->items['LANG_THREAD_IP_POSTBIT']} <a href="misc.php?action=viewip&postid=$posts[postid]{$SID_ARG_2ND}">$posts[ipaddress]</a></then></if> |
|
gruss andy
|
|
12.03.06 11:30 |
E-Mail
Finden
Als Freund hinzufügen
|
|
[kamui]
~
Dabei seit: 27.04.05
Beiträge: 2.992
|
|
@D1gg3R: Wenn du dein Programm nach '$posts[username]' durchsuchen lässt findest du was ^^
|
|
12.03.06 13:34 |
Finden
Als Freund hinzufügen
|
|
|