Editlenecek Dosyalar
Thread.tpl
Thread_postbit.tpl
css.tpl
headinclude.tpl
Editleme yapmadan once yedeklerinizi alınız
thread.tpl yi asagıdakiyle degistirin:
|
PHP Source 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
|
<?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=$t->page+1{$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=$t->page-1{$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>
</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"><b>$thread[topic] [<a href="#" onclick="javascript:switchlayer('jsscript'); return false;">Optionen</a>]</b></span><div id="jsscript" style="display:none"><span class="smallfont"><b><a href="thread.php?goto=lastpost&threadid=$threadid{$SID_ARG_2ND}">Last Post</a> | <a href="thread.php?goto=firstnew_thread&threadid=$threadid{$SID_ARG_2ND}">Neuster Beitrag</a> | <a href="print.php?threadid=$threadid&page=$t->page{$SID_ARG_2ND}">Druckansicht</a> | <a href="usercp.php?action=addsubscription&threadid=$threadid{$SID_ARG_2ND}">Hinzufügen</a> | <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> | <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></span></div></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>
<br />
$postbit
</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>
<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"))>
<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>
|
Thread_postbit.tpl yi asagıdakiyle degistirin:
|
PHP Source 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
|
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr>
<td class="tablecat" colspan="9" align="left"><span class="normalfont"><b>Informationen über den Verfasser dieses Beitrags</b></span></td>
</tr>
<tr>
<td class="tabletitle" style="width:33%" align="left"><span class="smallfont"><b>Über <a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b></span></td>
<td class="tabletitle" style="width:33%" align="left"><span class="smallfont"><b>Avatar</b></span></td>
<td class="tabletitle" style="width:33%" align="left"><span class="smallfont"><b>weitere Informationen</b></span></td>
</tr>
<tr align="left">
<td class="tablea" style="width:33%">
<span class="smallfont"><b>Name: $posts[username]<br />
<if($posts['gender'] == 1)><then>Geschlecht: männlich<br /></then></if><if($posts['gender'] == 2)><then>Geschlecht: weiblich<br /></then></if>
Rang: $posts[ranktitle]<br />
Rangabzeichen: $rankimages<br />
<if($showonlineinthread==1)><then><if($user_online==1)><then>User online</then><else>User offline</else></if></then></if>
</b></span></td>
<td class="tableb" style="width:33%">
<span class="smallfont">$useravatar</span>
</td>
<td class="tablea" style="width:33%">
<span class="smallfont"><b>
<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>
<a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">Zum Profil</a>
</b></span>
</td>
</tr>
<tr>
<td class="tablecat" colspan="9" align="left"><span class="normalfont"><b><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> Beitrag vom $postdate am $posttime</b></span></td>
</tr>
<tr align="left">
<td class="tablea" style="width:100%" colspan="9"><span class="normalfont">
<b>$posticon $posts[posttopic]</b></span>
<hr size="{$style['tableincellspacing']}" class="threadline" />
<span class="normalfont">
$posts[message]
$attachments
$signature
</span>
</td>
</tr>
<tr>
<td class="tabletitle" colspan="9" align="left"><span class="normalfont"><b>Optionen</b></span></td>
</tr>
<tr align="left">
<td class="tablea" style="width:33%">
<span class="smallfont"><b>
<a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}">antworten</a> <a href="addreply.php?action=quote&postid=$posts[postid]{$SID_ARG_2ND}">zitieren</a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}">ändern</a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}">melden</a>
</b></span>
</td>
<td class="tablea" style="width:33%">
<span class="smallfont"><b>
<if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&postid=$posts[postid]{$SID_ARG_2ND}">IP</a> </then></if><a href="javascript:self.scrollTo(0,0);">Hoch</a> <a href="javascript:self.scrollTo(0,50000);">Runter</a>
</b></span>
</td>
<td class="tablea" style="width:33%">
<span class="smallfont"><b>
<if($posts['userid'])><then><if($posts['showemail']==1)><then><a href="mailto:$posts[email]">E-Mail senden</a> </then><else><if($posts['usercanemail']==1)><then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}">E-Mail senden</a> </then></if></else></if><if($posts['homepage'])><then><a href="$posts[homepage]" target="_blank">Homepage</a> </then></if><a href="search.php?action=user&userid=$posts[userid]{$SID_ARG_2ND}">Suchen</a> <a href="usercp.php?action=buddy&add=$posts[userid]{$SID_ARG_2ND}">Freund</a> <if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&userid=$posts[userid]{$SID_ARG_2ND}">PN senden</a> </then></if><if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&action=add">ICQ</a> </then></if><if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?">AIM</a> </then></if><if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.taget=$posts[yim]&.src=pg">YIM</a> </then></if><if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]">MSN</a></then></if></then></if>
</b></span>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="{$style['tableinborder']}" style="width:100%; border-left: 1px solid #000; border-right:1 px solid #000; border-bottom: 1px solid #000;" class="tableinborder"><tr><td style="height: 10px;" class="tabletitle"></td></tr></table><br />
|
Headinclude.tpl yi acın ve
Ara :
|
PHP Source code
|
1
|
$css
|
Arkasına Ekle :
|
PHP Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<script type="text/javascript">
function switchlayer(Layer_Name)
{
var GECKO = document.getElementById? 1:0 ;
var NS = document.layers? 1:0 ;
var IE = document.all? 1:0 ;
if (GECKO)
{document.getElementById(Layer_Name).style.display=
(document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';}
else if (NS)
{document.layers[Layer_Name].display=(document.layers[Layer_Name].display==
'block') ? 'none' : 'block';}
else if (IE)
{document.all[Layer_Name].style.display=(document.all[Layer_Name].style.display==
'block') ? 'none' : 'block';}
}
</script>
|
css.tpl yi notpadde acın ve
Ara :
|
PHP Source code
|
1
2
3
4
5
6
|
body {
<if($style['fontcolor']!="")><then>color: {$style['fontcolor']};</then></if>
<if($style['pagebgcolor']!="")><then>background-color: {$style['pagebgcolor']};</then></if>
<if($style['fontfamily']!="")><then>font-family: {$style['fontfamily']};</then></if>
{$style['bodymore']}
}
|
Arkasına Ekle :
|
PHP Source code
|
1
2
3
|
#jsscript {
margin-top: 11px;
}
|
Demo :