4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 28, 2016, 08:53:01 PM

Login with username, password and session length
Search:     Advanced search
4images is now on facebook. Click here and become a fan!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  - delete -
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 » »» Print
Author Topic: - delete -  (Read 17451 times)
Sumale.my
Addicted member
******
Offline Offline

Posts: 1765

Thank You
-Given: 165
-Receive: 78

Neverdie


View Profile
« on: October 31, 2009, 12:17:13 AM »

- delete -

Follow members gave a thank to your post:
ASAD

For this post, 1 member gave a thank you!
« Last Edit: November 24, 2015, 06:17:18 PM by Sumale.my » Logged
Nicky
Administrator
4images Guru
*****
Offline Offline

Posts: 3195

Thank You
-Given: 24
-Receive: 51


View Profile
« Reply #1 on: October 31, 2009, 01:07:04 AM »

Benny,

ich will dir nicht am wecker gehen... ich selber schätze das du dich bemühst aber das hat echt keinen sinn.

einfaches HTML code in der linkus.html würde reichen als die ganzen 4images dateien zu modifizieren..

beispiel:
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
<table width="100%" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td valign="top" class="head1">
      <table width="100%" border="0" cellpadding="4" cellspacing="0">
        <tr>
          <td colspan="2" valign="top" class="head1">Halbbanner: 234x60 Pixel</td>
          </tr>
        <tr>
          <td colspan="2" align="center" class="row2"><img src="http://4images.trackworx.net/templates/default/images/linkus?sessionid=6048baa1f5667d2171ed237d92dd5f72/halbbanner.png" width="234" height="60" border="0" alt="Beschreibung" title="Beschreibung" /></td>
          </tr>

        <tr>
          <td class="row1"><b>HTML</b></td>
          <td class="row1" align="right"><textarea cols="45" onfocus = "this.select()" onmouseover = "this.focus()"><a href="" target="_blank"><img src="http://4images.trackworx.net/templates/default/images/linkus?sessionid=6048baa1f5667d2171ed237d92dd5f72/halbbanner.png" width="234" height="60" border="0" alt="Beschreibung" title="Beschreibung"></a></textarea></td>
        </tr>
        <tr>
          <td class="row2"><b>XHTML</b></td>
          <td class="row2" align="right"><textarea cols="45" onfocus = "this.select()" onmouseover = "this.focus()"><a href=""><img src="http://4images.trackworx.net/templates/default/images/linkus?sessionid=6048baa1f5667d2171ed237d92dd5f72/halbbanner.png" width="234" height="60" border="0" alt="Beschreibung" title="Beschreibung" /></a></textarea></td>
        </tr>

        <tr>
          <td class="row1"><strong>BBCODE</strong></td>
          <td class="row1" align="right"><textarea cols="45" onfocus = "this.select()" onmouseover = "this.focus()">[URL=http://4images.trackworx.net/index.php?sessionid=6048baa1f5667d2171ed237d92dd5f72][IMG]http://4images.trackworx.net/templates/default/images/linkus?sessionid=6048baa1f5667d2171ed237d92dd5f72/halbbanner.png[/IMG][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table>

FERTIG  Mr. Green

ausserdem zeigt mir deine demo gerade sowas an = keine banner = bissi was kaputt  Laughing
1
<a href="" target="_blank"><img src="http://4images.trackworx.net/templates/default/images/linkus?sessionid=6048baa1f5667d2171ed237d92dd5f72/vollbanner.png" width="468" height="60" border="0" alt="Beschreibung" title="Beschreibung"></a>
Logged

cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images | Facebook Covers
Signature stolen from mawenzi
GaYan
Sr. Member
****
Offline Offline

Posts: 301

Thank You
-Given: 6
-Receive: 26

♫ | G2 | ♫


View Profile WWW
« Reply #2 on: February 08, 2010, 07:17:47 PM »

i cant understand to install this  Embarassed can some1 discribe this in a propert way  Mr. Green im not a genius guys Sad plz hlp/... tnx !
Logged

I'm Back Smile
MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #3 on: September 25, 2010, 11:30:15 AM »

Why i see this notice?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Notice: Undefined index: sumale_linkus_468x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 98

Notice: Undefined index: sumale_linkus_234x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 101

Notice: Undefined index: sumale_linkus_156x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 104

Notice: Undefined index: sumale_linkus_400x50 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 107

Notice: Undefined index: sumale_linkus_137x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 110

Notice: Undefined index: sumale_linkus_88x31 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 113

Notice: Undefined index: sumale_linkus_125x125 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 116

Notice: Undefined index: sumale_linkus_75x75 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 119

Notice: Undefined index: sumale_linkus_120x600 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 122

Notice: Undefined index: sumale_linkus_160x600 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 125

Part from page_header.php

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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
$file get_included_files();
$file get_file_name(basename($file[0]));
$list = array("categories""details""index""member""postcards""register""search""top");
$array = array();
foreach (
$list as $name)
{
  
$array[$name] = ($name == $file);
}
$site_template->register_vars($array);
//-----------------------------------------------------
//--- Sumale.nin LinkUs Control -----------------------
//-----------------------------------------------------
$sumale_linkus_468x60 $config['sumale_linkus_468x60'];
$sumale_linkus_468x60_beschreibung $config['sumale_linkus_468x60_beschreibung'];
$sumale_linkus_468x60_grafik $config['sumale_linkus_468x60_grafik'];
$sumale_linkus_234x60 $config['sumale_linkus_234x60'];
$sumale_linkus_234x60_beschreibung $config['sumale_linkus_234x60_beschreibung'];
$sumale_linkus_234x60_grafik $config['sumale_linkus_234x60_grafik'];
$sumale_linkus_156x60 $config['sumale_linkus_156x60'];
$sumale_linkus_156x60_beschreibung $config['sumale_linkus_156x60_beschreibung'];
$sumale_linkus_156x60_grafik $config['sumale_linkus_156x60_grafik'];
$sumale_linkus_400x50 $config['sumale_linkus_400x50'];
$sumale_linkus_400x50_beschreibung $config['sumale_linkus_400x50_beschreibung'];
$sumale_linkus_400x50_grafik $config['sumale_linkus_400x50_grafik'];
$sumale_linkus_137x60 $config['sumale_linkus_137x60'];
$sumale_linkus_137x60_beschreibung $config['sumale_linkus_137x60_beschreibung'];
$sumale_linkus_137x60_grafik $config['sumale_linkus_137x60_grafik'];
$sumale_linkus_88x31 $config['sumale_linkus_88x31'];
$sumale_linkus_88x31_beschreibung $config['sumale_linkus_88x31_beschreibung'];
$sumale_linkus_88x31_grafik $config['sumale_linkus_88x31_grafik'];
$sumale_linkus_125x125 $config['sumale_linkus_125x125'];
$sumale_linkus_125x125_beschreibung $config['sumale_linkus_125x125_beschreibung'];
$sumale_linkus_125x125_grafik $config['sumale_linkus_125x125_grafik'];
$sumale_linkus_75x75 $config['sumale_linkus_75x75'];
$sumale_linkus_75x75_beschreibung $config['sumale_linkus_75x75_beschreibung'];
$sumale_linkus_75x75_grafik $config['sumale_linkus_75x75_grafik'];
$sumale_linkus_120x600 $config['sumale_linkus_120x600'];
$sumale_linkus_120x600_beschreibung $config['sumale_linkus_120x600_beschreibung'];
$sumale_linkus_120x600_grafik $config['sumale_linkus_120x600_grafik'];
$sumale_linkus_160x600 $config['sumale_linkus_160x600'];
$sumale_linkus_160x600_beschreibung $config['sumale_linkus_160x600_beschreibung'];
$sumale_linkus_160x600_grafik $config['sumale_linkus_160x600_grafik'];

   if(
$config['sumale_linkus_468x60_onoff'] == 1)  {
   
$sumale_linkus_468x60 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_468x60']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_468x60_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_468x60_beschreibung."\" title=\"".$sumale_linkus_468x60_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_468x60_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_468x60_beschreibung."\" title=\"".$sumale_linkus_468x60_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_468x60_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_468x60_beschreibung."\" title=\"".$sumale_linkus_468x60_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_468x60_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_234x60_onoff'] == 1)  {
   
$sumale_linkus_234x60 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_234x60']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_234x60_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_234x60_beschreibung."\" title=\"".$sumale_linkus_234x60_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_234x60_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_234x60_beschreibung."\" title=\"".$sumale_linkus_234x60_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_234x60_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_234x60_beschreibung."\" title=\"".$sumale_linkus_234x60_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_234x60_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_156x60_onoff'] == 1)  {
   
$sumale_linkus_156x60 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_156x60']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_156x60_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_156x60_beschreibung."\" title=\"".$sumale_linkus_156x60_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_156x60_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_156x60_beschreibung."\" title=\"".$sumale_linkus_156x60_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_156x60_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_156x60_beschreibung."\" title=\"".$sumale_linkus_156x60_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_156x60_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_400x50_onoff'] == 1)  {
   
$sumale_linkus_400x50 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_400x50']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_400x50_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_400x50_beschreibung."\" title=\"".$sumale_linkus_400x50_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_400x50_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_400x50_beschreibung."\" title=\"".$sumale_linkus_400x50_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_400x50_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_400x50_beschreibung."\" title=\"".$sumale_linkus_400x50_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_400x50_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_137x60_onoff'] == 1)  {
   
$sumale_linkus_137x60 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_137x60']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_137x60_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_137x60_beschreibung."\" title=\"".$sumale_linkus_137x60_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_137x60_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_137x60_beschreibung."\" title=\"".$sumale_linkus_137x60_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_137x60_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_137x60_beschreibung."\" title=\"".$sumale_linkus_137x60_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_137x60_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_88x31_onoff'] == 1)  {
   
$sumale_linkus_88x31 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_88x31']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_88x31_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_88x31_beschreibung."\" title=\"".$sumale_linkus_88x31_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_88x31_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_88x31_beschreibung."\" title=\"".$sumale_linkus_88x31_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_88x31_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_88x31_beschreibung."\" title=\"".$sumale_linkus_88x31_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_88x31_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_125x125_onoff'] == 1)  {
   
$sumale_linkus_125x125 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_125x125']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_125x125_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_125x125_beschreibung."\" title=\"".$sumale_linkus_125x125_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_125x125_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_125x125_beschreibung."\" title=\"".$sumale_linkus_125x125_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_125x125_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_125x125_beschreibung."\" title=\"".$sumale_linkus_125x125_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_125x125_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_75x75_onoff'] == 1)  {
   
$sumale_linkus_75x75 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_75x75']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_75x75_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_75x75_beschreibung."\" title=\"".$sumale_linkus_75x75_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_75x75_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_75x75_beschreibung."\" title=\"".$sumale_linkus_75x75_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_75x75_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_75x75_beschreibung."\" title=\"".$sumale_linkus_75x75_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_75x75_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_120x600_onoff'] == 1)  {
   
$sumale_linkus_120x600 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_120x600']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_120x600_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_120x600_beschreibung."\" title=\"".$sumale_linkus_120x600_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_120x600_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_120x600_beschreibung."\" title=\"".$sumale_linkus_120x600_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_120x600_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_120x600_beschreibung."\" title=\"".$sumale_linkus_120x600_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_120x600_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_160x600_onoff'] == 1)  {
   
$sumale_linkus_160x600 .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_160x600']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_160x600_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_160x600_beschreibung."\" title=\"".$sumale_linkus_160x600_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_160x600_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_160x600_beschreibung."\" title=\"".$sumale_linkus_160x600_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_160x600_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_160x600_beschreibung."\" title=\"".$sumale_linkus_160x600_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_160x600_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
$query_string '';
if (!empty(
$HTTP_GET_VARS)) {
  foreach (
$HTTP_GET_VARS as $key => $val) {
    if (
$key != "l") {
      
$query_string .= ($query_string != '' '&' '?').$key."=".$val;
    }
  }
}
$lang_url $site_sess->url($PHP_SELF.$query_string'&');
$lang_url preg_replace("'&(amp|#38);'i""&"$lang_url);
$lang_url preg_replace("/[?|&]l=[^?|&]*/"""$lang_url);
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 562

mmm PHP...


View Profile WWW
« Reply #4 on: September 25, 2010, 09:43:04 PM »

Failed step 8?
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #5 on: September 25, 2010, 09:47:44 PM »

No. Checked it now  Crying or Very sad

I noticed that from time to time an error:

From 98 rows and then after 3 - 98, 101, 104, 107 and other to 125

and

From 99 rows and then after 3 - 99, 102, 105, 108 and other to 126
Logged

Sumale.my
Addicted member
******
Offline Offline

Posts: 1765

Thank You
-Given: 165
-Receive: 78

Neverdie


View Profile
« Reply #6 on: September 28, 2010, 08:20:14 PM »

Give me your page_header.php without the built-in code
Logged
MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #7 on: September 28, 2010, 10:38:16 PM »

Ok. Thanks for help

This is page_header without MOD 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: page_header.php                                      *
 *        Copyright: (C) 2002-2009 Jan Sorgalla                           *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.7.7                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) f&#1100;r weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

if (!defined('ROOT_PATH')) {
  die(
"Security violation");
}

// Cache Templates
/*$template_list = 'header,footer,category_dropdown_form,user_logininfo,user_loginform';
if (isset($templates_used) && $templates_used != "") {
  $template_list = $template_list.",".$templates_used;
}
$site_template->cache_templates($template_list);*/

//-----------------------------------------------------
//--- Register Global Vars ----------------------------
//-----------------------------------------------------
$total_images 0;
$total_categories 0;
$auth_cat_sql['auth_viewcat']['IN'] = 0;
$auth_cat_sql['auth_viewcat']['NOTIN'] = 0;

$cache_id create_cache_id(
  
'data.auth_and_info',
  array(
$user_info[$user_table_fields['user_id']])
);

if (!
$data get_cache_file($cache_idnull)) {
  if (!empty(
$cat_cache)) {
    foreach (
$cat_cache as $key => $val) {
      if (
check_permission("auth_viewcat"$key)) {
        
$total_categories++;
        if (isset(
$val['num_images'])) {
          
$total_images += $val['num_images'];
        }
        else {
          
$cat_cache[$key]['num_images'] = 0;
        }
        
$auth_cat_sql['auth_viewcat']['IN'] .= ", ".$key;
      }
      else {
        
$auth_cat_sql['auth_viewcat']['NOTIN'] .= ", ".$key;
      }
    }
  }

  
$data = array();

  
$data['total_images'] = $total_images;
  
$data['total_categories'] = $total_categories;
  
$data['auth_viewcat']['IN'] = $auth_cat_sql['auth_viewcat']['IN'];
  
$data['auth_viewcat']['NOTIN'] = $auth_cat_sql['auth_viewcat']['NOTIN'];

  
save_cache_file($cache_idserialize($data));

} else {
  
$data unserialize($data);

  
$total_images $data['total_images'];
  
$total_categories $data['total_categories'];
  
$auth_cat_sql['auth_viewcat']['IN'] = $data['auth_viewcat']['IN'];
  
$auth_cat_sql['auth_viewcat']['NOTIN'] = $data['auth_viewcat']['NOTIN'];
}

$file get_included_files();
$file get_file_name(basename($file[0]));
$list = array("categories""details""index""member""postcards""register""search""top");
$array = array();
foreach (
$list as $name)
{
  
$array[$name] = ($name == $file);
}
$site_template->register_vars($array);



$query_string '';
if (!empty(
$HTTP_GET_VARS)) {
  foreach (
$HTTP_GET_VARS as $key => $val) {
    if (
$key != "l") {
      
$query_string .= ($query_string != '' '&' '?').$key."=".$val;
    }
  }
}
$lang_url $site_sess->url($PHP_SELF.$query_string'&');
$lang_url preg_replace("'&(amp|#38);'i""&"$lang_url);
$lang_url preg_replace("/[?|&]l=[^?|&]*/"""$lang_url);
$lang_url str_replace("&""&amp;"$lang_url);
$handle opendir(ROOT_PATH."lang");
$lang_select "";
while (
$folder = @readdir($handle)) {
  if (@
is_dir(ROOT_PATH."lang/".$folder) && $folder != "." && $folder != "..") {
    if (
$folder != $config['language_dir']) {
      
$lang_select .= "<a class=\"lang\" href=\"".$lang_url.(preg_match("/\?/"$lang_url) ? "&" "?")."l=".$folder."\" onMouseOver=\"(window.status='$folder'); return true\" onMouseOut=\"window.status=''; return true\"><img src=\"".TEMPLATE_PATH."/images/".$folder.".gif\" border=\"0\" alt=\"".$folder."\"></a>&nbsp;";
    }else{
    
$lang_select .= "<img src=\"".TEMPLATE_PATH."/images/".$folder."2.gif\" border=\"0\" alt=\"".$folder."\">&nbsp;";
    }
  }
}
// Register the dropdown code for the template engine 
$sql "SELECT c.comment_id 
      FROM "
.COMMENTS_TABLE." c 
      LEFT JOIN "
.IMAGES_TABLE." i ON i.image_id = c.image_id 
      WHERE i.user_id = "
.$user_info['user_id']." AND c.is_read = 0"
$result $site_db->query($sql); 
$new_comments $site_db->get_numrows($result); 
$site_template->register_vars("lang_select"$lang_select);
$site_template->register_vars(array(


  
"home_url"  => ROOT_PATH,
  
"media_url" => MEDIA_PATH,
  
"thumb_url" => THUMB_PATH,
  
"icon_url" => ICON_PATH,
  
"template_url" => TEMPLATE_PATH,
  
"template_image_url" => TEMPLATE_PATH."/images",
  
"template_lang_image_url" => TEMPLATE_PATH."/images_".$config['language_dir'],
  
"site_name" => $config['site_name'],
  
"site_email" => $config['site_email'],
  
"user_loggedin" => ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) ? 1,
  
"user_loggedout" => ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) ? 0,
  
"is_admin" => ($user_info['user_level'] == ADMIN) ? 0,
  
"self" => $site_sess->url($self_url),
  
"self_full" => $site_sess->url($script_url."/".$self_url),
  
"script_version" => SCRIPT_VERSION,
  
"cp_link" => ($user_info['user_level'] != ADMIN) ? "" "\n<p align=\"center\">[<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php")."\">Admin Control Panel</a>]</p>\n",
  
///// Nuevo tipo de usuario //////
  
"cp_moderador" => ($user_info['user_level'] != MODERADOR) ? "" "\n<p align=\"center\">[<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php")."\">Moderador Control Panel</a>]</p>\n",
  
////// Fin nuevo tipo de usuario ///////
  
"total_categories" => $total_categories,
  
"total_images" => $total_images,
  
"new_comments" => $new_comments
  
"url_comments" => $site_sess->url(ROOT_PATH."member.php?action=readcomments"),
  
"url_new_images" => $site_sess->url(ROOT_PATH."search.php?search_new_images=1"),
  
"url_all_images" => $site_sess->url(ROOT_PATH."search.php?search_keywords=".str_pad("*"MIN_SEARCH_KEYWORD_LENGTH"*")),
  
"url_new_images_last" => $site_sess->url(ROOT_PATH."search.php?search_new_images=2"),
  
"url_new_images_tree" => $site_sess->url(ROOT_PATH."search.php?search_new_images=3"),
    
"url_new_images_week" => $site_sess->url(ROOT_PATH."search.php?search_new_images=7"),
      
"url_new_images_month" => $site_sess->url(ROOT_PATH."search.php?search_new_images=30"),
        
"url_new_images_year" => $site_sess->url(ROOT_PATH."search.php?search_new_images=365"),
        
"url_new_images_year" => $site_sess->url(ROOT_PATH."search.php?search_new_images=11"),
  
"url_top_images" => $site_sess->url(ROOT_PATH."top.php"),
  
//#################################### Start Top Comments #################################################
"url_top_comments" => $site_sess->url(ROOT_PATH."top_member.php"),
//#################################### End Top Comments #################################################
  
"url_mypics" => $site_sess->url(ROOT_PATH."search.php?search_user=".$user_info['user_name']),
  
"url_potm_link" => $site_sess->url(ROOT_PATH."potm.php"),
  
"url_top_cat_images" => $site_sess->url(ROOT_PATH."top.php".(($cat_id && preg_match("/categories.php/"$self_url)) ? "?".URL_CAT_ID."=".$cat_id "")),
  
"url_register" => (!empty($url_register)) ? $site_sess->url($url_register) : $site_sess->url(ROOT_PATH."register.php"),
  
"url_search" => $site_sess->url(ROOT_PATH."search.php"),
  
"url_lightbox" => $site_sess->url(ROOT_PATH."lightbox.php"),
  
"url_awaiting" => $site_sess->url(ROOT_PATH."awaiting.php"),
    
"url_userlist" => $site_sess->url(ROOT_PATH."memberlist.php"),
  
"url_control_panel" => (!empty($url_control_panel)) ? $site_sess->url($url_control_panel) : $site_sess->url(ROOT_PATH."member.php?action=editprofile"),
  
"url_categories" => $site_sess->url(ROOT_PATH."categories.php"),
  
"url_home" => $site_sess->url(ROOT_PATH."index.php"),
  
"url_comments_all" => $site_sess->url(ROOT_PATH."comments_all.php"),
  
"lang_all_comments" => $lang['all_comments'],
  
"url_login" => (!empty($url_login)) ? $site_sess->url($url_login) : $site_sess->url(ROOT_PATH."login.php"),
  
"url_logout" => (!empty($url_logout)) ? $site_sess->url($url_logout) : $site_sess->url(ROOT_PATH."logout.php"),
  
"url_member" => (!empty($url_member)) ? $site_sess->url($url_member) : $site_sess->url(ROOT_PATH."member.php"),
  
"url_upload" => (!empty($url_upload)) ? $site_sess->url($url_upload) : $site_sess->url(ROOT_PATH."member.php?action=uploadform"),
  
"url_board" => $site_sess->url(ROOT_PATH."board.php"),
"template_image_board" => TEMPLATE_PATH."/board_images",
"lang_image_board" => TEMPLATE_PATH."/board_images/images_".$config['language_dir'],
  
"url_lost_password" => (!empty($url_lost_password)) ? $site_sess->url($url_lost_password) : $site_sess->url(ROOT_PATH."member.php?action=lostpassword"),
  
"url_captcha_image" => $site_sess->url(ROOT_PATH."captcha.php"),
  
"recaptcha" => ($captcha_recaptcha) ? recaptcha_image() : "",
  
"recaptcha_public" => @$captcha_recaptcha[0],
  
"recaptcha_private" => @$captcha_recaptcha[1],
  
"url_top_rated" => $site_sess->url(ROOT_PATH."top_rated.php"),
  
"lang_top_rated" => $lang['top_rated'],
  
// ---------  MOD TOP 100   ----------
"url_top100" => $site_sess->url(ROOT_PATH."top100.php?action=hits"),
// ---------  MOD TOP 100   ----------
  
"thumbnails" => "",
  
"paging" => "",
  
"paging_stats" => "",
  
"has_rss" => false,
  
"rss_title" => "",
  
"rss_url" => "",
  
"copyright" => '
<p id="copyright" align="center">
  Powered by <b>4images</b> '
.SCRIPT_VERSION.'
  <br />
  Copyright &copy; 2002-'
.date('Y').' <a href="http://www.4homepages.de" target="_blank">4homepages.de</a>
</p>
'
,
));

if (!empty(
$additional_urls)) {
  
$register_array = array();
  foreach (
$additional_urls as $key => $val) {
    
$register_array[$key] = $site_sess->url($val);
  }
  
$site_template->register_vars($register_array);
}

// Replace Globals in $lang
$lang $site_template->parse_array($lang);

$site_template->register_vars(array(
  
"lang_site_stats" => $lang['site_stats'],
  
"lang_mypics" => $lang['mypics'],
  
"lang_registered_user" => $lang['registered_user'],
  
"lang_random_image" => $lang['random_image'],
  
"lang_categories" => $lang['categories'],
  
"lang_sub_categories" => $lang['sub_categories'],
  
"lang_new_images" => $lang['new_images'],
  
"lang_all_images" => $lang['all_images'],
  
"lang_today_images" => $lang['today_images'],
  
"lang_new_images_last" => $lang['new_images_last'],

  
"lang_top_images" => $lang['top_images'],
  
"lang_potm_link" => $lang['potm_link'],
  
"lang_search" => $lang['search'],
  
"lang_advanced_search" => $lang['advanced_search'],
  
"lang_lightbox" => $lang['lightbox'],
  
  
"lang_userlist_title" => $lang['lang_userlist_title'],
  
"lang_register" => $lang['register'],
  
"lang_control_panel" => $lang['control_panel'],
  
"lang_login" => $lang['login'],
  
"lang_auto_login" => $lang['lang_auto_login'],
  
"lang_logout" => $lang['logout'],
  
"lang_lost_password" => $lang['lost_password'],
  
"lang_user_name" => $lang['user_name'],
  
"lang_password" => $lang['password'],
  
"lang_go" => $lang['go'],
  
"lang_images_per_page" => $lang['images_per_page'],
  
  
"charset" => $lang['charset'],
  
"image_order" => $lang['image_order'],
  
"image_sort" => $lang['image_sort'],
  
// ---------  MOD TOP 100   ---------- 
 
"lang_top100" => $lang['lang_top100'],
// ---------  MOD TOP 100   ----------
// ---------  Addons home   ----------
  
"lang_airlines_aviation_aviaphoto" => $lang['airlines_aviation_aviaphoto'],
// ---------  Addons home   ----------
// ---------  Addons member  ----------
    
"lang_upload_page" => $lang['upload_page'],
    
"lang_push_to_upload" => $lang['push_to_upload'],
    
"lang_attention" => $lang['attention'],
    
"lang_upload" => $lang['upload'],
    
"lang_photo_information" => $lang['photo_information'],
    
"lang_aircraft_airline_of" => $lang['aircraft_airline_of'],
    
"lang_change_aircraft_airline_of" => $lang['change_aircraft_airline_of'],
    
"lang_spot_location" => $lang['spot_location'],
    
"lang_country_city_location" => $lang['country_city_location'],
    
"lang_country_select" => $lang['country_select'],
    
"lang_change_country" => $lang['change_country'],
    
"lang_city_airport" => $lang['city_airport'],
    
"lang_change_city" => $lang['change_city'],
    
"lang_change_airline_type" => $lang['change_airline_type'],
    
"lang_change_type_of_air" => $lang['change_type_of_air'],
    
"lang_change_type_of_aircraft_airline" => $lang['change_type_of_aircraft_airline'],
    
"lang_airline" => $lang['airline'],
    
"lang_what_airline" => $lang['what_airline'],
    
"lang_change_airline" => $lang['change_airline'],
    
"lang_reg_number" => $lang['reg_number'],
    
"lang_type_reg" => $lang['type_reg'],
    
"lang_serial_number" => $lang['serial_number'],
    
"lang_type_serial" => $lang['type_serial'],
    
"lang_type_serial_number_of" => $lang['type_serial_number_of'],
    
"lang_date_of_taken" => $lang['date_of_taken'],
    
"lang_day" => $lang['day'],
    
"lang_mounth" => $lang['mounth'],
    
"lang_year" => $lang['year'],
    
"lang_unknown" => $lang['unknown'],
    
"lang_type_description" => $lang['type_description'],
    
"lang_com_screeners" => $lang['com_screeners'],
    
"lang_important_information" => $lang['important_information'],
// ---------  Addons member  ----------

    
"lang_reviews" => $lang['reviews'],
    
"lang_rating" => $lang['rating'],
    
"lang_votes" => $lang['votes'],
    
"lang_send_email_postcard" => $lang['send_email_postcard'],
    
"lang_sponsored_links" => $lang['sponsored_links'],
    
"lang_author" => $lang['author'],
    
"lang_reg_page" => $lang['reg_page'],
    
"lang_latin_symbols" => $lang['latin_symbols'],
    
"lang_ac_type" => $lang['ac_type'],
    
"lang_see_more_photo" => $lang['see_more_photo'],
    
"lang_sponsored_links" => $lang['sponsored_links'],
    
"lang_this_is_photo" => $lang['this_is_photo'],
    
"lang_link_to_this_photo" => $lang['link_to_this_photo'],
    
"lang_all_rights_photo" => $lang['all_rights_photo'],
    
"lang_aircraft_information" => $lang['aircraft_information'],
    
"lang_aircraft_location" => $lang['aircraft_location'],
    
"lang_more_pictures" => $lang['more_pictures'],
    
"lang_reg_serial_date" => $lang['reg_serial_date'],
    
"lang_spotter" => $lang['spotter'],
    
"lang_more_photos_link" => $lang['more_photos_link'],
    
"lang_title_photos" => $lang['title_photos'],
    
"lang_aviation_photography" => $lang['aviation_photography'],
    
"lang_description_of_photo" => $lang['description_of_photo'],
    
"lang_photo_was_viewed" => $lang['photo_was_viewed'],
    
"lang_hits_from" => $lang['hits_from'],
    
"lang_all_rights_on_this_photo" => $lang['all_rights_on_this_photo'],
    
"lang_using_photo_terms" => $lang['using_photo_terms'],
    
"lang_popular_pictures" => $lang['popular_pictures'],
    
"lang_new_added_from_last_vizit" => $lang['new_added_from_last_vizit'],
    
"lang_home" => $lang['home'],
    
"lang_upload_photos" => $lang['upload_photos'],
    
"lang_spot_groups" => $lang['spot_groups'],
    
"lang_popular_photos" => $lang['popular_photos'],
    
"lang_new_photos" => $lang['new_photos'],
    
"lang_copyright" => $lang['copyright'],
    
"lang_your_name" => $lang['your_name'],
    
"lang_your_email" => $lang['your_email'],
    
"lang_contact_form" => $lang['contact_form'],
    
//#################################### Start Top Comments #################################################
 
"lang_top_comments" => $lang['top_comments'],                         
//#################################### End Top Comments #################################################
//-----------------------------------------------------
//--- Search Parameters -------------------------------
//-----------------------------------------------------    
    
"lang_search_by_keyword" => $lang['search_by_keyword'],
    
"lang_search_by_username" => $lang['search_by_username'],
    
"lang_new_images_only" => $lang['new_images_only'],
    
"lang_search_terms" => $lang['search_terms'],
    
"lang_search_term" => $lang['search_term'],
    
"lang_or" => $lang['or'],
    
"lang_and" => $lang['and'],
    
"lang_category" => $lang['category'],
    
"lang_search_fields" => $lang['search_fields'],
    
"lang_all_fields" => $lang['all_fields'],
    
"lang_name_only" => $lang['name_only'],
    
"lang_description" => $lang['description'],
    
"lang_keywords_only" => $lang['keywords_only'],
    
"lang_search_results" => $lang['search_results'],
    
"category_dropdown" => get_category_dropdown($cat_id),
    
"image_name" => $lang['image_name'],
    
"image_description" => $lang['description_only'],
    
"image_reg" => $lang['image_reg'],
    
"image_airline" => $lang['image_airline'],
    
"image_military" => $lang['image_military'],
    
"image_city" => $lang['image_city'],
    
"image_serial" => $lang['image_serial'],
    
"image_country" => $lang['image_country'],
    
"image_aircraft" => $lang['image_aircraft'],
    
"image_aircraftname" => $lang['image_aircraftname'],
    
"image_cityalt" => $lang['image_cityalt'],
    
"image_aircraftnamealt" => $lang['image_aircraftnamealt'],
    
"image_airlinealt" => $lang['image_airlinealt'],
    
"lang_january" => $lang['january'],
    
"lang_february" => $lang['february'],
    
"lang_mart" => $lang['mart'],
    
"lang_april" => $lang['april'],
    
"lang_may" => $lang['may'],
    
"lang_jun" => $lang['jun'],
    
"lang_jul" => $lang['jul'],
    
"lang_august" => $lang['august'],
    
"lang_september" => $lang['september'],
    
"lang_october" => $lang['october'],
    
"lang_november" => $lang['november'],
    
"lang_december" => $lang['december'],
    
"lang_civil_aviation" => $lang['civil_aviation'],
    
"lang_air_force" => $lang['air_force'],
    
"lang_bussines_aviation" => $lang['bussines_aviation'],
    
"lang_small_aviation" => $lang['small_aviation'],
    
"lang_ch_menu" => $lang['ch_menu'],
    
"lang_total_photographers" => $lang['total_photographers'],
    
"lang_month_array" => $lang['month_array'],
    
"lang_aircraft_generic_name" => $lang['aircraft_generic_name'],
    
"lang_new_photos_added_from_last_visit" => $lang['new_photos_added_from_last_visit'],
    
"lang_favourite_photos" => $lang['favourite_photos'],
    
"lang_favourite_photos_description" => $lang['favourite_photos_description'],
    
"lang_screeners_choice" => $lang['screeners_choice'],
    
"lang_screeners_choice_description" => $lang['screeners_choice_description'],
    
"lang_most_popular_photos" => $lang['most_popular_photos'],
    
"lang_most_popular_photos_of_all_time" => $lang['most_popular_photos_of_all_time'],
    
"lang_most_popular_photos_of_last_48_hours" => $lang['most_popular_photos_of_last_48_hours'],
    
"lang_most_popular_photos_of_last_week" => $lang['most_popular_photos_of_last_week'],
    
"lang_most_popular_photos_of_last_30_days" => $lang['most_popular_photos_of_last_30_days'],
    
"lang_spotting_group_description" => $lang['spotting_group_description'],
    
"lang_site_statistic" => $lang['site_statistic'],
    
"lang_in_last_week" => $lang['in_last_week'],
    
"lang_in_last_month" => $lang['in_last_month'],
    
"lang_peoples_choice" => $lang['peoples_choice'],
    
"lang_aviation_photos" => $lang['aviation_photos'],    
    
"lang_top_10_users" => $lang['top_10_users'],
    
"lang_most_rated_today" => $lang['most_rated_today'],
    
"lang_most_rated_3_day" => $lang['most_rated_3_day'],
    
"lang_most_rated_week" => $lang['most_rated_week'],
    
"lang_more_new_photos" => $lang['more_new_photos'],
    
"lang_news_presentation_1" => $lang['news_presentation_1'],
    
"lang_top_photos" => $lang['top_photos'],
    
"lang_top_of_tree_days" => $lang['top_of_tree_days'],
    
"lang_top_of_week" => $lang['top_of_week'],
    
"lang_top_of_month" => $lang['top_of_month'],
    
"lang_top_of_year" => $lang['top_of_year'],
    
"lang_best_photos" => $lang['best_photos'],
    
"lang_editors_photos" => $lang['editors_photos'],
    
"lang_users_choise" => $lang['users_choise'],
    
"lang_lightbox_manage" => $lang['lightbox_manage'],
    
"lang_rare_photos" => $lang['rare_photos'],
    
"lang_photo_albums" => $lang['photo_albums'],
    
"lang_edit_profile" => $lang['edit_profile'],
    
"lang_guest_info" => $lang['guest_info'],
    
"lang_need_help" => $lang['need_help'],
    
"lang_date" => $lang['date'],
    
"lang_autofill_location" => $lang['autofill_location'],
    
"lang_autofill_location_desc" => $lang['autofill_location_desc'],
    
"lang_autofill_reg" => $lang['autofill_reg'],
    
"lang_autofill_reg_desc" => $lang['autofill_reg_desc'],    
    
"lang_new_comments_for_me" => $lang['new_comments_for_me'],
    
"lang_general_roules" => $lang['general_roules'],
    
"lang_auto_fill" => $lang['auto_fill'],
    
"lang_upload" => $lang['upload'],
    
"lang_browse" => $lang['browse'],
    
"lang_confirmation" => $lang['confirmation'],
    
"lang_all_photos_indb" => $lang['all_photos_indb'],
    
"lang_memberlist_desc" => $lang['memberlist_desc'],
    
"lang_last_users" => $lang['last_users'],
    
"lang_toptwo_photo" => $lang['toptwo_photo'],
    
"lang_search_button" => $lang['search_button'],
    
"lang_photo_database" => $lang['photo_database'],
    
"lang_new_photographers" => $lang['new_photographers'],
    
"lang_new_photographers_desc" => $lang['new_photographers_desc'],
    
"lang_photo_search_engine" => $lang['photo_search_engine'],
    
"lang_msrates" => $lang['msrates'],
    
"lang_msvotes" => $lang['msvotes'],
    
"lang_min_views" => $lang['min_views'],
    
"lang_upload_date" => $lang['upload_date'],
    
"lang_photographer_photo_section" => $lang['photographer_photo_section'],
    
"lang_thumb_unavailable" => $lang['thumb_unavailable'],
    
"lang_thumb_unavailable_short" => $lang['thumb_unavailable_short'],
    
"lang_awaiting_images" => $lang['awaiting_images'],
    
"lang_aircraft_pictures_photos" => $lang['aircraft_pictures_photos'],
    
"lang_desktop_background" => $lang['desktop_background'],
    
"lang_search_page_keywords" => $lang['search_page_keywords'],
    
"lang_search_page_desc" => $lang['search_page_desc'],
    
"lang_detail_page_desc" => $lang['detail_page_desc'],
    
"lang_home_page_desc" => $lang['home_page_desc'],
    
"lang_home_page_keywords" => $lang['home_page_keywords'],
    
"lang_lastforums_all" => $lang['lastforums_all'],
    
"lang_lastforums_desc" => $lang['lastforums_desc'],
    
"lang_lastforums" => $lang['lastforums'],
    
"lang_search_stats_keywords" => $lang['search_stats_keywords'],
    
"lang_search_stats_desc" => $lang['search_stats_desc'],
    
"lang_search_stats_description" => $lang['search_stats_description'],
    
"lang_get_info" => $lang['get_info'],
    
"lang_country_help" => $lang['country_help'],
    
"lang_location_help" => $lang['location_help'],
    
"lang_try" => $lang['try'],
    
"lang_for_example" => $lang['for_example'],
    
"lang_type_keywords" => $lang['type_keywords'],
    
"lang_keywords_textarea" => $lang['keywords_textarea'],
    
"lang_latest_awards" => $lang['latest_awards'],
    
"lang_airport" => $lang['airport'],
    
"lang_user_profile_hits" => $lang['user_profile_hits'],

//-----------------------------------------------------
//--- Search Parameters -------------------------------
//-----------------------------------------------------

    
"direction" => $lang['direction']
));

//-----------------------------------------------------
//--- Category Dropdown -------------------------------
//-----------------------------------------------------

if (!$cache_enable) {
    
$category_dropdown_selfjump get_category_dropdown($cat_id1);
} else {
  
$cache_id create_cache_id(
    
'data.dropdown_selfjump',
    array(
      
$user_info[$user_table_fields['user_id']],
      
$config['template_dir'],
      
$config['language_dir']
    )
  );

  if (!
$category_dropdown_selfjump get_cache_file($cache_id)) {
    
// Always append session id if cache is enabled
    
$old_session_mode $site_sess->mode;
    
$site_sess->mode 'get';

    
// Set $cat_id to 0 to ensure that no category is selected
    
$category_dropdown_selfjump get_category_dropdown(01);

    
$site_sess->mode $old_session_mode;

    
save_cache_file($cache_id$category_dropdown_selfjump);
  }
}

$site_template->register_vars("category_dropdown_selfjump"$category_dropdown_selfjump);
unset(
$category_dropdown_selfjump);

// -------------------------------------
if (!$cache_enable) {
    
$category_dropdown_form $site_template->parse_template("category_dropdown_form");
} else {
  
$cache_id create_cache_id(
    
'data.dropdown_form',
    array(
      
$user_info[$user_table_fields['user_id']],
      
// $cat_id, // uncomment if the current category should be selected, will increase the number of cache files
      
$config['template_dir'],
      
$config['language_dir']
    )
  );

  if (!
$category_dropdown_form get_cache_file($cache_id)) {
    
// Always append session id if cache is enabled
    
$old_session_mode $site_sess->mode;
    
$site_sess->mode 'get';

    
$category_dropdown_form $site_template->parse_template("category_dropdown_form");

    
$site_sess->mode $old_session_mode;

    
save_cache_file($cache_id$category_dropdown_form);
  }
}

$site_template->register_vars("category_dropdown_form"$category_dropdown_form);
unset(
$category_dropdown_form);


//-----------------------------------------------------
//--- Random Image ------------------------------------
//-----------------------------------------------------
$random_image = (defined("SHOW_RANDOM_IMAGE") && SHOW_RANDOM_IMAGE == 0) ? "" get_random_image();
$site_template->register_vars("random_image"$random_image);
unset(
$random_image);
//-----------------------------------------------------
//--- Photo Of The Day --------------------------------
//-----------------------------------------------------

$potd_image = (defined("SHOW_POTD_IMAGE") && SHOW_POTD_IMAGE == 0) ? "" get_potd_image();
$site_template->register_vars("potd_image"$potd_image);
$site_template->register_vars(array("lang_potd_title" => $lang['potd_title']));
$site_template->register_vars(array("lang_potd_type" => $lang['potd_type_'.ereg_replace ("i.image_"""$select_mode)]));
unset(
$potd_image);
//--- End Photo Of The Day ----------------------------




//-----------------------------------------------------
//--- Set Paging Vars ---------------------------------
//-----------------------------------------------------
if (isset($HTTP_POST_VARS['setperpage'])) {
  
$setperpage intval($HTTP_POST_VARS['setperpage']);
  if (
$setperpage) {
    
$site_sess->set_session_var("perpage"$setperpage);
    
$session_info['perpage'] = $setperpage;
  }
}

if (isset(
$session_info['perpage'])) {
  
$perpage $session_info['perpage'];
}
else {
  
$perpage ceil($config['default_image_rows'] * $config['image_cells']);
}

//-----------------------------------------------------
//--- Set Perpage Dropdown ----------------------------
//-----------------------------------------------------
$setperpage_dropdown "\n<select onchange=\"if (this.options[this.selectedIndex].value != 0 && typeof forms['perpagebox'] != 'undefined'){ forms['perpagebox'].submit() }\" name=\"setperpage\" class=\"setperpageselect\">\n";
for(
$i 1$i <= $config['custom_row_steps']; $i++) {
  
$setvalue $config['image_cells'] * $i;
  
$setperpage_dropdown .= "<option value=\"".$setvalue."\"";
    if (
$setvalue == $perpage) {
    
$setperpage_dropdown .= " selected=\"selected\"";
  }
  
$setperpage_dropdown .= ">";
  
$setperpage_dropdown .= $setvalue;
  
$setperpage_dropdown .= "</option>\n";
}
$setperpage_dropdown .= "</select>\n";
if (
$cat_id != 0) {
  
$setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";
}
if (isset(
$show_result) && $show_result == 1) {
  
$setperpage_dropdown .= "<input type=\"hidden\" name=\"show_result\" value=\"1\" />\n";
}
$site_template->register_vars("setperpage_dropdown"$setperpage_dropdown);
$setperpage_dropdown_form $site_template->parse_template("setperpage_dropdown_form");
$site_template->register_vars("setperpage_dropdown_form"$setperpage_dropdown_form);

$site_template->un_register_vars("setperpage_dropdown");
unset(
$setperpage_dropdown);
unset(
$setperpage_dropdown_form);

//-----------------------------------------------------
//--- Add & Delete from Lists -------------------------
//-----------------------------------------------------
if ($action == "addtolightbox" && $id) {
  if (
$user_info['user_level'] >= USER) {
    
/*
  MOD MULTI-LIGHTBOXES
  START REPLACE
*/
    
$msg = (add_to_lightbox($id)) ? preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_add_success']) : preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_add_error']);
/*
  MOD MULTI-LIGHTBOXES
  END REPLACE
*/
  
}
  else {
    
$msg $lang['lightbox_register'];
  }
}
if (
$action == "removefromlightbox" && $id) {
  if (
$user_info['user_level'] >= USER) {
    
/*
  MOD MULTI-LIGHTBOXES
  START REPLACE
*/
    
$msg = (remove_from_lightbox($id)) ? preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_remove_success']) : preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_remove_error']);
/*
  MOD MULTI-LIGHTBOXES
  END REPLACE
*/
  
}
  else {
    
$msg $lang['lightbox_register'];
  }
}
if (
$action == "clearlightbox") {
  if (
$user_info['user_level'] >= USER) {
    
/*
  MOD MULTI-LIGHTBOXES
  START REPLACE
*/
    
$msg = (clear_lightbox()) ? preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_clear_success']) : preg_replace("/".$site_template->start."name".$site_template->end."/iU"$user_info['lightboxes'][$user_info['user_lightbox']]['name'], $lang['lightbox_clear_error']);
/*
  MOD MULTI-LIGHTBOXES
  END REPLACE
*/
  
}
  else {
    
$msg $lang['lightbox_register'];
  }
}
/*
  MOD MULTI-LIGHTBOXES
  START INSERT
*/
//-----------------------------------------------------
//--- Multi-Lightboxes ---------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER && $config['lightbox_count'])
{
  
$user_lightbox_dropdown = (count($user_info['lightboxes_list']) > 1) ? get_dropdown_options("user_lightbox"$user_info['lightboxes_list'], $user_info['user_lightbox'], 1010"""lightboxidropdown") : "";
}
else
{
  
$user_lightbox_dropdown "";
}
$site_template->register_vars(array(
  
"user_lightbox_dropdown" => $user_lightbox_dropdown,
  
"lang_lightbox_select" => $lang['lightbox_select'],
));
$user_lightbox_dropdown = ($user_lightbox_dropdown) ? $site_template->parse_template("lightbox_dropdown") : "";
$site_template->register_vars("user_lightbox_form"$user_lightbox_dropdown);
/*
  MOD MULTI-LIGHTBOXES
  END INSERT
*/
//-----------------------------------------------------
//--- Save Rating -------------------------------------
//-----------------------------------------------------
/* [MOD] Ajax Star Rating. Code block disabled. Modified code in /ajaxrating.php
if ($action == "rateimage" && $id) {
  $rating = intval($HTTP_POST_VARS['rating']);
  $cookie_name = (defined("COOKIE_NAME")) ? COOKIE_NAME : "4images_";
  $cookie_rated = isset($HTTP_COOKIE_VARS[$cookie_name.'rated']) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookie_name.'rated'])) : array();
  if ($rating && $rating <= MAX_RATING && $id) {
    if (!isset($session_info['rated_imgs'])) {
      $session_info['rated_imgs'] = $site_sess->get_session_var("rated_imgs");
    }
    $split_list = array();
    if (!empty($session_info['rated_imgs'])) {
      $split_list = explode(" ", $session_info['rated_imgs']);
    }
    if (!in_array($id, $split_list) && !in_array($id, $cookie_rated)) {
      $session_info['rated_imgs'] .= " ".$id;
      $session_info['rated_imgs'] = trim($session_info['rated_imgs']);
      $site_sess->set_session_var("rated_imgs", $session_info['rated_imgs']);
      $cookie_rated[] = $id;
      $cookie_expire = time() + 60 * 60 * 24 * 4;
      setcookie($cookie_name.'rated', serialize($cookie_rated), $cookie_expire, COOKIE_PATH, COOKIE_DOMAIN, COOKIE_SECURE);
      update_image_rating($id, $rating);
      $msg = $lang['voting_success'];
    }
    else {
      $msg = $lang['already_voted'];
    }
  }
  else {
    $msg = $lang['voting_error'];
  }
}*/

//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER) {
  
$site_template->register_vars("lang_loggedin_msg"preg_replace("/".$site_template->start."loggedin_user_name".$site_template->end."/siU"format_text($user_info['user_name'], 2), $lang['lang_loggedin_msg']));
  
$user_box $site_template->parse_template("user_logininfo");
  
$site_template->register_vars(array(
    
"user_box" => $user_box,
    
"user_loggedin" => 1,
    
"user_loggedout" => 0,
    
"is_admin" => ($user_info['user_level'] == ADMIN) ? 0
  
));
  
$site_template->un_register_vars("user_logininfo");
  unset(
$user_box);
}
else {
  
$user_box $site_template->parse_template("user_loginform");
  
$site_template->register_vars(array(
    
"user_box" => $user_box,
    
"user_loggedin" => 0,
    
"user_loggedout" => 1,
    
"is_admin" => 0
  
));
  
$site_template->un_register_vars("user_loginform");
  unset(
$user_box);
}
//-----------------------------------------------------
//--- Set Images Sort ---------------------------------
//-----------------------------------------------------
if (isset($HTTP_POST_VARS['imagesorder'])) {
  
$imagesorder $HTTP_POST_VARS['imagesorder'];
  if (
$imagesorder) {
    
$site_sess->set_session_var("imgs_order"$imagesorder);
    
$session_info['imgs_order'] = $imagesorder;
  }
}

if (isset(
$session_info['imgs_order'])) {
  
$config['image_order'] = $session_info['imgs_order'];
}

if (isset(
$HTTP_POST_VARS['imagessort'])) {
 
// $imagessort = intval($HTTP_POST_VARS['imagessort']);
 
$imagessort $HTTP_POST_VARS['imagessort']; //Added 03-11-2003
  
if ($imagessort) {
    
$site_sess->set_session_var("imgs_sort"$imagessort);
    
$session_info['imgs_sort'] = $imagessort;
  }
}

if (isset(
$session_info['imgs_sort'])) {
  
$config['image_sort'] = $session_info['imgs_sort'];
}
//----End Images Sort----------------------------------

//-----------------------------------------------------
//--- Set Images Sort Dropdown ------------------------
//-----------------------------------------------------
  
$imgsort_dropdown="\n<select name=\"imagesorder\" class=\"setperpageselect\">\n";
  foreach (
$image_order_optionlist as $key => $val) {
    
$imgsort_dropdown .= "<option value=\"$key\"";
    if (
$config['image_order'] == $key) {
      
$imgsort_dropdown .= " selected=\"selected\"";
    }
    
$imgsort_dropdown .= ">".$val."</option>\n";
  }
  
$imgsort_dropdown .= "</select>\n";
  foreach (
$image_sort_optionlist as $key => $val) {
  
$imgsort_dropdown .= "<INPUT type=\"radio\" name=\"imagessort\" value=\"$key\"";
  if (
$config['image_sort'] == $key) {
      
$imgsort_dropdown .= " checked";
  }
  
$imgsort_dropdown .= ">".$val."\n";
  }
if (
$cat_id != 0) {
  
$imgsort_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";
}
if (isset(
$show_result) && $show_result == 1) {
  
$imgsort_dropdown .= "<input type=\"hidden\" name=\"show_result\" value=\"1\" />\n";
}
$site_template->register_vars("imgsort_dropdown"$imgsort_dropdown);
$imgsort_dropdown_form $site_template->parse_template("imgsort_dropdown_form");
$site_template->register_vars("imgsort_dropdown_form"$imgsort_dropdown_form);

$site_template->un_register_vars("imgsort_dropdown");
unset(
$imgsort_dropdown);
unset(
$imgsort_dropdown_form);
//-----End Images Sort Dropdown------------------------
$last_action_user_list "";
$sql "SELECT user_t_images, user_name, user_id FROM ".USERS_TABLE."
WHERE user_level >= '"
.USER."'
ORDER BY user_t_images DESC
LIMIT 10"
;
$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)) {
$last_action_user_list .= "<table width=\"250\" border=0 cellspacing=0 selpadding=0>";
$last_action_user_list .= "<tr>";
$last_action_user_list .= "<td width=\"200\" align=\"left\">";
$last_action_user_list .= '<a href ="'.ROOT_PATH.'search.php?search_user='.$row['user_name'].'"><b>'.$row['user_name'].'</b></a>';
$last_action_user_list .= "</td>";
$last_action_user_list .= "<td width=\"50\" align=\"right\">";
$last_action_user_list .= '<span class="smalltext">'.$row['user_t_images'].'</span>';
$last_action_user_list .= "</td>";
$last_action_user_list .= "</tr>";
$last_action_user_list .= "</table>";
}

$site_template->register_vars(array(
"user_uploaders_list" => $last_action_user_list,
));
unset(
$user_uploaders_list);
//-----------------------------------------------------
//--- NEW PHOTOGRAPHER LIST ---------------------------
//-----------------------------------------------------

$new_photographer_list "";
$sql "SELECT user_t_images, user_name, user_id, user_joindate FROM ".USERS_TABLE."
WHERE user_level >= '"
.USER."'
ORDER BY user_joindate DESC
LIMIT 20"
;
$result $site_db->query($sql);

while (
$row $site_db->fetch_array($result)) {
$new_photographer_list .= "<table width=\"200\" border=0 cellspacing=0 selpadding=0>";
$new_photographer_list .= "<tr>";
$new_photographer_list .= "<td width=\"200\" align=\"left\">";
$new_photographer_list .= '<a href ="'.ROOT_PATH.'search.php?search_user='.$row['user_name'].'"><b>'.$row['user_name'].'</b></a>';
$new_photographer_list .= "</td>";
$new_photographer_list .= "</tr>";
$new_photographer_list .= "</table>";
}

$site_template->register_vars(array(
"new_photographer_list" => $new_photographer_list,
));
unset(
$new_photographer_list);
//-----------------------------------------------------

?>
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 562

mmm PHP...


View Profile WWW
« Reply #8 on: September 29, 2010, 06:22:39 AM »


Actually it's Step 10 I meant, the very last step, which is mistakenly marked as "Step 8" in the instructions.
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #9 on: September 29, 2010, 08:48:58 AM »

Yes, i did this.

In my phpMyAdmin i`ve insert to my 5images_settings next:

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
INSERT INTO `5images_settings` (`setting_name`, `setting_value`) VALUES
('sumale_linkus_468x60_onoff', '1'),
('sumale_linkus_234x60_beschreibung', 'Beschreibung'),
('sumale_linkus_234x60_grafik', 'halbbanner.png'),
('sumale_linkus_234x60_onoff', '1'),
('sumale_linkus_156x60_beschreibung', 'Beschreibung'),
('sumale_linkus_156x60_grafik', 'drittelbanner.png'),
('sumale_linkus_156x60_onoff', '1'),
('sumale_linkus_400x50_beschreibung', 'Beschreibung'),
('sumale_linkus_400x50_grafik', 'omsbanner.png'),
('sumale_linkus_137x60_beschreibung', 'Beschreibung'),
('sumale_linkus_137x60_grafik', 'kleinerbutton.png'),
('sumale_linkus_400x50_onoff', '1'),
('sumale_linkus_137x60_onoff', '1'),
('sumale_linkus_88x31_beschreibung', 'Beschreibung'),
('sumale_linkus_88x31_grafik', 'mikrobutton.png'),
('sumale_linkus_88x31_onoff', '1'),
('sumale_linkus_125x125_beschreibung', 'Beschreibung'),
('sumale_linkus_125x125_grafik', 'grossesquadrat.png'),
('sumale_linkus_75x75_beschreibung', 'Beschreibung'),
('sumale_linkus_75x75_grafik', 'kleinesquadrat.png'),
('sumale_linkus_120x600_beschreibung', 'Beschreibung'),
('sumale_linkus_120x600_grafik', 'skyscraper.png'),
('sumale_linkus_160x600_beschreibung', 'Beschreibung'),
('sumale_linkus_160x600_grafik', 'breiterskyscraper.png'),
('sumale_linkus_125x125_onoff', '1'),
('sumale_linkus_75x75_onoff', '1'),
('sumale_linkus_120x600_onoff', '1'),
('sumale_linkus_160x600_onoff', '1');

MOD work fine, but with notices. Maybe error in setting group?
« Last Edit: September 29, 2010, 08:59:21 AM by MrAndrew » Logged

MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #10 on: September 29, 2010, 11:45:01 AM »

Very very strange. Notices again Sad

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NoticeUndefined indexsumale_linkus_468x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 99

Notice
Undefined indexsumale_linkus_234x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 102

Notice
Undefined indexsumale_linkus_156x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 105

Notice
Undefined indexsumale_linkus_400x50 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 108

Notice
Undefined indexsumale_linkus_137x60 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 111

Notice
Undefined indexsumale_linkus_88x31 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 114

Notice
Undefined indexsumale_linkus_125x125 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 117

Notice
Undefined indexsumale_linkus_75x75 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 120

Notice
Undefined indexsumale_linkus_120x600 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 123

Notice
Undefined indexsumale_linkus_160x600 in /home/users2/d/drandrew/domains/skyphotos.ru/includes/page_header.php on line 126

And else... I haven`t this path in my settings.php

1
show_form_footer($lang['save_changes'], ""2);

 Where it should be?
Logged

MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #11 on: September 29, 2010, 01:10:18 PM »

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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: settings.php                                         *
 *        Copyright: (C) 2002-2009 Jan Sorgalla                           *
 *            Email: jan@4homepages.de                                    * 
 *              Web: http://www.4homepages.de                             * 
 *    Scriptversion: 1.7.7                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) f&#1100;r weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

define('IN_CP'1);
define('ROOT_PATH''./../');
require(
'admin_global.php');

if ( 
$action == "") {
  
$action "modifysettings";
}

function 
show_template_dir_select($setting_name$setting_value) {
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  
$handle opendir(ROOT_PATH.TEMPLATE_DIR);
  while (
$folder = @readdir($handle)) {
    if (@
is_dir(ROOT_PATH.TEMPLATE_DIR."/".$folder) && $folder != "." && $folder != "..") {
      
$folderlist[] = $folder;
    }
  }
  
sort($folderlist);
  for(
$i 0$i sizeof($folderlist); $i++) {
    echo 
"<option value=\"".$folderlist[$i]."\"";
    if (
$setting_value == $folderlist[$i]) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$folderlist[$i]."</option>\n";
  }
  
closedir($handle);
  echo 
"</select>";
}

function 
show_cat_order_select($setting_name$setting_value) {
  global 
$cat_order_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach ( 
$cat_order_optionlist as $k => $v ) {
    echo 
"<option value=\"".$k."\"";
    if (
$setting_value == $k) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$v."</option>\n";  
  }
  echo 
"</select>\n";
}

function 
show_cat_sort_select($setting_name$setting_value) {
  global 
$cat_sort_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach ( 
$cat_sort_optionlist as $k => $v ) {
    echo 
"<option value=\"".$k."\"";
    if (
$setting_value == $k) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$v."</option>\n";  
  }
  echo 
"</select>\n";
}


function 
show_language_dir_select($setting_name$setting_value) {
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  
$handle opendir(ROOT_PATH."lang");
  while (
$folder = @readdir($handle)) {
    if (@
is_dir(ROOT_PATH."lang/$folder") && $folder != "." && $folder != "..") {
      
$folderlist[] = $folder;
    }
  }
  
sort($folderlist);
  for(
$i 0$i sizeof($folderlist); $i++) {
    echo 
"<option value=\"".$folderlist[$i]."\"";
    if (
$setting_value == $folderlist[$i]) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$folderlist[$i]."</option>\n";
  }
  
closedir($handle);
  echo 
"</select>\n";
}

function 
show_convert_tool_select($setting_name$setting_value) {
  global 
$convert_tool_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$convert_tool_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_image_order_select($setting_name$setting_value) {
  global 
$image_order_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$image_order_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_image_sort_select($setting_name$setting_value) {
  global 
$image_sort_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$image_sort_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_upload_mode_options($setting_name$setting_value) {
  global 
$upload_mode_optionlist;
  foreach (
$upload_mode_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_auto_thumbnail_resize_type_options($setting_name$setting_value) {
  global 
$auto_thumbnail_resize_type_optionlist;
  foreach (
$auto_thumbnail_resize_type_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_account_activation_options($setting_name$setting_value) {
  global 
$account_activation_optionlist;
  foreach (
$account_activation_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_setting_row($setting_name$value_option ""$htmlspecialchars 0) {
  global 
$config$setting;
    
$config_value $config[$setting_name];
  
$config_value = ($htmlspecialchars) ? htmlspecialchars($config[$setting_name]) : $config[$setting_name];
  
$setting[$setting_name] = replace_url($setting[$setting_name]);
  if (
$value_option == "") {
    
show_input_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  elseif (
$value_option == "textarea") {
    
show_textarea_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value""6);
  }
  elseif (
$value_option == "radio") {
    
show_radio_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  else {
    echo 
"<tr class=\"".get_row_bg()."\">\n<td valign=\"top\"><p class=\"rowtitle\">".$setting[$setting_name]."</p></td>\n";
    echo 
"<td><p>";
    
$value_option($setting_name$config_value);
    echo 
"</p></td>\n</tr>\n";
  }
}
// Sumale.nin Metatag Control
function show_setting_row_title($setting_name$value_option ""$htmlspecialchars 0) {
  global 
$config$setting;

    

$config_value $config[$setting_name];
  
$config_value = ($htmlspecialchars) ? htmlspecialchars($config[$setting_name]) : $config[$setting_name];
  
$setting[$setting_name] = replace_url($setting[$setting_name]);
  if (
$value_option == "") {
    
show_input_row_title($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  elseif (
$value_option == "textarea") {
    
show_textarea_row_title($setting[$setting_name], "setting_item[".$setting_name."]"$config_value""6);
  }
  elseif (
$value_option == "radio") {
    
show_radio_row_title($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  else {
    echo 
"<tr class=\"".get_row_bg()."\">\n<td valign=\"top\"><p class=\"rowtitle_title\">".$setting[$setting_name]."</p></td>\n";
    echo 
"<td><p>";
    
$value_option($setting_name$config_value);
    echo 
"</p></td>\n</tr>\n";
  }
}
function 
show_news_display_options($setting_name$setting_value) {
  global 
$news_display_optionlist;
  foreach (
$news_display_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}
// end of functions

show_admin_header();

if (
$action == "updatesettings") {
  
$setting_item $HTTP_POST_VARS['setting_item'];
  foreach (
$setting_item as $key => $val) {
    
$val trim($val);
    
    
$sql "SELECT * FROM ".SETTINGS_TABLE." WHERE setting_name = '$key'";
    
$res $site_db->get_numrows($site_db->query($sql));

    if ( !
$res ) {
        
$sql "INSERT INTO ".SETTINGS_TABLE." (setting_value, setting_name)
                VALUES ('
$val', '$key');";
    } else {
        
$sql "UPDATE ".SETTINGS_TABLE."
                SET setting_value = '
$val'
                WHERE setting_name = '
$key'";    
    }
    
    
$res $site_db->query($sql);
  }

  if (
$HTTP_POST_VARS['setting_item']['language_dir'] != $config['language_dir']) {
    include(
ROOT_PATH.'lang/'.$HTTP_POST_VARS['setting_item']['language_dir'].'/admin.php');
?>
    <script language="javascript">
    <!--
    top.head.location = '<?php echo $site_sess->url(ROOT_PATH."admin/index.php?action=head"); ?>';
    top.nav.location = '<?php echo $site_sess->url(ROOT_PATH."admin/index.php?action=nav"); ?>';
    top.main.location = '<?php echo $site_sess->url(ROOT_PATH."admin/settings.php?action=modifysettings&settings_msg=".urlencode($lang['save_settings_success'])); ?>';
    // -->
    </script>
<?php
    printf
("<b>%s</b><p>"$lang['save_settings_success']);
    
show_admin_footer();
  }
  else {
    
$msg sprintf("<b>%s</b><p>"$lang['save_settings_success']);
    
$action "modifysettings";
  }
}

if (
$action == "modifysettings") {
  if (isset(
$HTTP_GET_VARS['settings_msg'])) {
    
printf("<b>%s</b><p>"trim($HTTP_GET_VARS['settings_msg']));
  }
  elseif (!empty(
$msg)) {
    echo 
$msg;
  }

  
$sql "SELECT setting_name, setting_value
          FROM "
.SETTINGS_TABLE;
  
$result $site_db->query($sql);
  
$config = array();
  while (
$row $site_db->fetch_array($result)) {
    
$config[$row['setting_name']] = $row['setting_value'];
  }

  
show_form_header("settings.php""updatesettings");
  
show_table_header($lang['nav_general_settings'], 2);
  echo 
"<tr class=\"tablerow\"><td colspan=\"2\">";
  echo 
"<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\"><tr valign=\"top\">\n";
  
$numgroups sizeof($setting_group);
  
$percolumn ceil($numgroups 2);
  
$settingcounter 0;
  foreach (
$setting_group as $key => $val) {
    
$settingcounter++;
    echo 
"<td>";
    
show_text_link($val,"#setting_group_".$key);
    echo 
"<br /></td>\n";
    if (
$settingcounter == 4) {
      echo 
"</tr><tr>";
      
$settingcounter 0;
    }
  }

  echo 
"</tr></table>\n";
  echo 
"</td></tr>";
  
show_table_separator($setting_group[1], 2"setting_group_1");
  
//--------------------------------------- Start News Ticker--------------------------------------
  
show_setting_row("news_ticker""textarea");
//--------------------------------------- End News Ticker -------------------------------------- 
  
show_setting_row("site_name"""1);
  
show_setting_row("site_email");
  
show_setting_row("use_smtp""radio");
  
show_setting_row("smtp_host");
  
show_setting_row("smtp_username");
  
show_setting_row("smtp_password");
  
show_setting_row("template_dir""show_template_dir_select");
  
show_setting_row("language_dir""show_language_dir_select");
  
show_setting_row("date_format");
  
show_setting_row("time_format");
  
show_setting_row("convert_tool""show_convert_tool_select");
  
show_setting_row("convert_tool_path");
  
show_setting_row("gz_compress""radio");
  
show_setting_row("gz_compress_level");

  
show_table_separator($setting_group[2], 2"setting_group_2");
  
show_setting_row("cat_order""show_cat_order_select");
  
show_setting_row("cat_sort""show_cat_sort_select");
  
show_setting_row("cat_cells");
  
show_setting_row("cat_table_width");
  
show_setting_row("cat_table_cellspacing");
  
show_setting_row("cat_table_cellpadding");
  
show_setting_row("num_subcats");

  
show_table_separator($setting_group[3], 2"setting_group_3");
  
show_setting_row("image_order""show_image_order_select");
  
show_setting_row("image_sort""show_image_sort_select");
  
show_setting_row("new_cutoff");
  
show_setting_row("image_border");
  
show_setting_row("image_cells");
  
show_setting_row("default_image_rows");
  
show_setting_row("custom_row_steps");
  
show_setting_row("image_table_width");
  
show_setting_row("image_table_cellspacing");
  
show_setting_row("image_table_cellpadding");

  
show_table_separator($setting_group[4], 2"setting_group_4");
  
show_setting_row("upload_mode""show_upload_mode_options");
  
show_setting_row("allowed_mediatypes");
  
show_setting_row("max_thumb_width");
  
show_setting_row("max_thumb_height");
  
show_setting_row("max_thumb_size");
  
show_setting_row("max_image_width");
  
show_setting_row("max_image_height");
  
show_setting_row("max_media_size");
  
show_setting_row("upload_notify""radio");
  
show_setting_row("upload_emails");
  
show_setting_row("auto_thumbnail""radio");
  
show_setting_row("auto_thumbnail_dimension");
  
show_setting_row("auto_thumbnail_resize_type""show_auto_thumbnail_resize_type_options");
  
show_setting_row("auto_thumbnail_quality");

  
show_table_separator($setting_group[5], 2"setting_group_5");
  
show_setting_row("badword_list""textarea");
  
show_setting_row("badword_replace_char");
  
show_setting_row("wordwrap_comments");
  
show_setting_row("html_comments""radio");
  
show_setting_row("bb_comments""radio");
  
show_setting_row("bb_img_comments""radio");

  
show_table_separator($setting_group[6], 2"setting_group_6");
  
show_setting_row("category_separator"""1);
  
show_setting_row("paging_range");

  
show_table_separator($setting_group[7], 2"setting_group_7");
  
show_setting_row("user_edit_image""radio");
  
show_setting_row("user_delete_image""radio");
  
show_setting_row("user_edit_comments""radio");
  
show_setting_row("user_delete_comments""radio");
  
show_setting_row("account_activation""show_account_activation_options");
  
show_setting_row("activation_time");
  
show_setting_row("session_timeout");
  
show_setting_row("display_whosonline""radio");
  
show_setting_row("highlight_admin""radio");
  
show_table_separator($setting_group[8], 2"setting_group_8");
  
show_setting_row_title("sumale_linkus_468x60_onoff""radio");
  
show_setting_row("sumale_linkus_468x60_grafik");
  
show_setting_row("sumale_linkus_468x60_beschreibung");
  
show_setting_row_title("sumale_linkus_234x60_onoff""radio");
  
show_setting_row("sumale_linkus_234x60_grafik");
  
show_setting_row("sumale_linkus_234x60_beschreibung");
  
show_setting_row_title("sumale_linkus_156x60_onoff""radio");
  
show_setting_row("sumale_linkus_156x60_grafik");
  
show_setting_row("sumale_linkus_156x60_beschreibung");
  
show_setting_row_title("sumale_linkus_400x50_onoff""radio");
  
show_setting_row("sumale_linkus_400x50_grafik");
  
show_setting_row("sumale_linkus_400x50_beschreibung");
  
show_setting_row_title("sumale_linkus_137x60_onoff""radio");
  
show_setting_row("sumale_linkus_137x60_grafik");
  
show_setting_row("sumale_linkus_137x60_beschreibung");
  
show_setting_row_title("sumale_linkus_88x31_onoff""radio");
  
show_setting_row("sumale_linkus_88x31_grafik");
  
show_setting_row("sumale_linkus_88x31_beschreibung");
  
show_setting_row_title("sumale_linkus_125x125_onoff""radio");
  
show_setting_row("sumale_linkus_125x125_grafik");
  
show_setting_row("sumale_linkus_125x125_beschreibung");
  
show_setting_row_title("sumale_linkus_75x75_onoff""radio");
  
show_setting_row("sumale_linkus_75x75_grafik");
  
show_setting_row("sumale_linkus_75x75_beschreibung");
  
show_setting_row_title("sumale_linkus_120x600_onoff""radio");
  
show_setting_row("sumale_linkus_120x600_grafik");
  
show_setting_row("sumale_linkus_120x600_beschreibung");
  
show_setting_row_title("sumale_linkus_160x600_onoff""radio");
  
show_setting_row("sumale_linkus_160x600_grafik");
  
show_setting_row("sumale_linkus_160x600_beschreibung");
}

show_admin_footer();
?>
Logged

Sumale.my
Addicted member
******
Offline Offline

Posts: 1765

Thank You
-Given: 165
-Receive: 78

Neverdie


View Profile
« Reply #12 on: September 29, 2010, 01:16:55 PM »

I'm sorry, but I know absolutely can not be the problem. It may also occur by other modifications to complications.
Logged
MrAndrew
Sr. Member
****
Offline Offline

Posts: 302

Thank You
-Given: 9
-Receive: 13


View Profile WWW
« Reply #13 on: October 01, 2010, 10:39:39 AM »

Ok. It`s possible to create a php file out of page_header.php with code? I created a links.php with 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<?php
$templates_used 
'linkus';
$main_template 'linkus';

define('GET_CACHES'1);
define('ROOT_PATH''./');
define('GET_USER_ONLINE'1);
define('MAIN_SCRIPT'__FILE__);
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');
$user_access get_permission();
include(
ROOT_PATH.'includes/page_header.php');

$file get_file_name(basename(MAIN_SCRIPT));
$array = array(
    
"categories" => false,
    
"details"    => false,
    
"index"      => false,
    
"member"     => false,
    
"postcards"  => false,
    
"register"   => false,
    
"search"     => false,
    
"top"        => false
);
if ( isset(
$array[$file]) ) {
  
$array[$file] = true;
}
$site_template->register_vars($array);
$sumale_linkus_foursix $config['sumale_linkus_foursix'];
$sumale_linkus_foursix_beschreibung $config['sumale_linkus_foursix_beschreibung'];
$sumale_linkus_foursix_grafik $config['sumale_linkus_foursix_grafik'];
$sumale_linkus_twosix $config['sumale_linkus_twosix'];
$sumale_linkus_twosix_beschreibung $config['sumale_linkus_twosix_beschreibung'];
$sumale_linkus_twosix_grafik $config['sumale_linkus_twosix_grafik'];
$sumale_linkus_onesix $config['sumale_linkus_onesix'];
$sumale_linkus_onesix_beschreibung $config['sumale_linkus_onesix_beschreibung'];
$sumale_linkus_onesix_grafik $config['sumale_linkus_onesix_grafik'];
$sumale_linkus_fourfive $config['sumale_linkus_fourfive'];
$sumale_linkus_fourfive_beschreibung $config['sumale_linkus_fourfive_beschreibung'];
$sumale_linkus_fourfive_grafik $config['sumale_linkus_fourfive_grafik'];
$sumale_linkus_onesixzero $config['sumale_linkus_onesixzero'];
$sumale_linkus_onesixzero_beschreibung $config['sumale_linkus_onesixzero_beschreibung'];
$sumale_linkus_onesixzero_grafik $config['sumale_linkus_onesixzero_grafik'];
$sumale_linkus_eightthree $config['sumale_linkus_eightthree'];
$sumale_linkus_eightthree_beschreibung $config['sumale_linkus_eightthree_beschreibung'];
$sumale_linkus_eightthree_grafik $config['sumale_linkus_eightthree_grafik'];
$sumale_linkus_oneone $config['sumale_linkus_oneone'];
$sumale_linkus_oneone_beschreibung $config['sumale_linkus_oneone_beschreibung'];
$sumale_linkus_oneone_grafik $config['sumale_linkus_oneone_grafik'];
$sumale_linkus_seven $config['sumale_linkus_seven'];
$sumale_linkus_seven_beschreibung $config['sumale_linkus_seven_beschreibung'];
$sumale_linkus_seven_grafik $config['sumale_linkus_seven_grafik'];
$sumale_linkus_onesixzerozero $config['sumale_linkus_onesixzerozero'];
$sumale_linkus_onesixzerozero_beschreibung $config['sumale_linkus_onesixzerozero_beschreibung'];
$sumale_linkus_onesixzerozero_grafik $config['sumale_linkus_onesixzerozero_grafik'];
$sumale_linkus_onesixsixzerozero $config['sumale_linkus_onesixsixzerozero'];
$sumale_linkus_onesixsixzerozero_beschreibung $config['sumale_linkus_onesixsixzerozero_beschreibung'];
$sumale_linkus_onesixsixzerozero_grafik $config['sumale_linkus_onesixsixzerozero_grafik'];

   if(
$config['sumale_linkus_foursix_onoff'] == 1)  {
   
$sumale_linkus_foursix .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_foursix']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_foursix_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_foursix_beschreibung."\" title=\"".$sumale_linkus_foursix_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_foursix_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_foursix_beschreibung."\" title=\"".$sumale_linkus_foursix_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_foursix_grafik."\" width=\"468\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_foursix_beschreibung."\" title=\"".$sumale_linkus_foursix_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_foursix_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_twosix_onoff'] == 1)  {
   
$sumale_linkus_twosix .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_twosix']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_twosix_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_twosix_beschreibung."\" title=\"".$sumale_linkus_twosix_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_twosix_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_twosix_beschreibung."\" title=\"".$sumale_linkus_twosix_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_twosix_grafik."\" width=\"234\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_twosix_beschreibung."\" title=\"".$sumale_linkus_twosix_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_twosix_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_onesix_onoff'] == 1)  {
   
$sumale_linkus_onesix .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_onesix']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesix_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesix_beschreibung."\" title=\"".$sumale_linkus_onesix_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesix_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesix_beschreibung."\" title=\"".$sumale_linkus_onesix_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesix_grafik."\" width=\"156\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesix_beschreibung."\" title=\"".$sumale_linkus_onesix_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesix_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_fourfive_onoff'] == 1)  {
   
$sumale_linkus_fourfive .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_fourfive']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_fourfive_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_fourfive_beschreibung."\" title=\"".$sumale_linkus_fourfive_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_fourfive_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_fourfive_beschreibung."\" title=\"".$sumale_linkus_fourfive_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_fourfive_grafik."\" width=\"400\" height=\"50\" border=\"0\" alt=\"".$sumale_linkus_fourfive_beschreibung."\" title=\"".$sumale_linkus_fourfive_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_fourfive_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_onesixzero_onoff'] == 1)  {
   
$sumale_linkus_onesixzero .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_onesixzero']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzero_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesixzero_beschreibung."\" title=\"".$sumale_linkus_onesixzero_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzero_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesixzero_beschreibung."\" title=\"".$sumale_linkus_onesixzero_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzero_grafik."\" width=\"137\" height=\"60\" border=\"0\" alt=\"".$sumale_linkus_onesixzero_beschreibung."\" title=\"".$sumale_linkus_onesixzero_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzero_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_eightthree_onoff'] == 1)  {
   
$sumale_linkus_eightthree .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_eightthree']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_eightthree_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_eightthree_beschreibung."\" title=\"".$sumale_linkus_eightthree_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_eightthree_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_eightthree_beschreibung."\" title=\"".$sumale_linkus_eightthree_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_eightthree_grafik."\" width=\"88\" height=\"31\" border=\"0\" alt=\"".$sumale_linkus_eightthree_beschreibung."\" title=\"".$sumale_linkus_eightthree_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_eightthree_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_oneone_onoff'] == 1)  {
   
$sumale_linkus_oneone .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_oneone']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_oneone_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_oneone_beschreibung."\" title=\"".$sumale_linkus_oneone_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_oneone_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_oneone_beschreibung."\" title=\"".$sumale_linkus_oneone_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_oneone_grafik."\" width=\"125\" height=\"125\" border=\"0\" alt=\"".$sumale_linkus_oneone_beschreibung."\" title=\"".$sumale_linkus_oneone_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_oneone_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_seven_onoff'] == 1)  {
   
$sumale_linkus_seven .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_seven']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_seven_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_seven_beschreibung."\" title=\"".$sumale_linkus_seven_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_seven_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_seven_beschreibung."\" title=\"".$sumale_linkus_seven_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_seven_grafik."\" width=\"75\" height=\"75\" border=\"0\" alt=\"".$sumale_linkus_seven_beschreibung."\" title=\"".$sumale_linkus_seven_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_seven_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_onesixzerozero_onoff'] == 1)  {
   
$sumale_linkus_onesixzerozero .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_onesixzerozero']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzerozero_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixzerozero_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzerozero_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixzerozero_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzerozero_grafik."\" width=\"120\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixzerozero_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixzerozero_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   if(
$config['sumale_linkus_onesixsixzerozero_onoff'] == 1)  {
   
$sumale_linkus_onesixsixzerozero .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr> 
    <td valign=\"top\" class=\"head1\"> 
      <table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
        <tr> 
          <td colspan=\"2\" valign=\"top\" class=\"head1\">"
.$lang['sumale_linkus_onesixsixzerozero']."</td>
          </tr>
        <tr>
          <td colspan=\"2\" align=\"center\" class=\"row2\"><img src=\""
.($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixsixzerozero_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\" /></td>
          </tr>
        <tr> 
          <td class=\"row1\"><b>HTML</b></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\" target=\"_blank\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixsixzerozero_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\"></a></textarea></td>
        </tr>
        <tr> 
          <td class=\"row2\"><b>XHTML</b></td>
          <td class=\"row2\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\"><a href=\""
.$site_sess->url($script_url."/".$self_url)."\"><img src=\"".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixsixzerozero_grafik."\" width=\"160\" height=\"600\" border=\"0\" alt=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\" title=\"".$sumale_linkus_onesixsixzerozero_beschreibung."\" /></a></textarea></td>
        </tr>
        <tr>
          <td class=\"row1\"><strong>BBCODE</strong></td>
          <td class=\"row1\" align=\"right\"><textarea cols=\"45\" onfocus = \"this.select()\" onmouseover = \"this.focus()\">[URL=http://"
.$site_sess->url($script_url."/".$self_url)."][IMG]http://".($script_url."/".SUMALE_TEMPLATE_PATH."/images/linkus")."/".$sumale_linkus_onesixsixzerozero_grafik."[/img][/URL]</textarea></td>
        </tr>
      </table>
    </td>
  </tr>
</table><br />"
;
   }
   
   
$site_template->register_vars(array(

  
"lang_sumale_linkus" => $lang['sumale_linkus'],
  
"lang_sumale_linkus_url" => $lang['sumale_linkus_url'],
  
"sumale_linkus_foursix" => $sumale_linkus_foursix,
  
"lang_sumale_linkus_foursix" => $lang['sumale_linkus_foursix'],
  
"sumale_linkus_twosix" => $sumale_linkus_twosix,
  
"lang_sumale_linkus_twosix" => $lang['sumale_linkus_twosix'],
  
"sumale_linkus_onesix" => $sumale_linkus_onesix,
  
"lang_sumale_linkus_onesix" => $lang['sumale_linkus_onesix'],
  
"sumale_linkus_fourfive" => $sumale_linkus_fourfive,
  
"lang_sumale_linkus_fourfive" => $lang['sumale_linkus_fourfive'],
  
"sumale_linkus_onesixzero" => $sumale_linkus_onesixzero,
  
"lang_sumale_linkus_onesixzero" => $lang['sumale_linkus_onesixzero'],
  
"sumale_linkus_eightthree" => $sumale_linkus_eightthree,
  
"lang_sumale_linkus_eightthree" => $lang['sumale_linkus_eightthree'],
  
"sumale_linkus_oneone" => $sumale_linkus_oneone,
  
"lang_sumale_linkus_oneone" => $lang['sumale_linkus_oneone'],
  
"sumale_linkus_seven" => $sumale_linkus_seven,
  
"lang_sumale_linkus_seven" => $lang['sumale_linkus_seven'],
  
"sumale_linkus_onesixzerozero" => $sumale_linkus_onesixzerozero,
  
"lang_sumale_linkus_onesixzerozero" => $lang['sumale_linkus_onesixzerozero'],
  
"sumale_linkus_onesixsixzerozero" => $sumale_linkus_onesixsixzerozero,
  
"lang_sumale_linkus_onesixsixzerozero" => $lang['sumale_linkus_onesixsixzerozero'],
  
"url_linkus" => $site_sess->url(ROOT_PATH."links.php"),
    
    ));
  
?>

But i`m not programmer, and can not do this right. Please help me to complete this code. Many many thanks for help!
Logged

ASAD
Jr. Member
**
Offline Offline

Posts: 59

Thank You
-Given: 8
-Receive: 4


View Profile WWW
« Reply #14 on: October 25, 2011, 02:50:24 AM »

@Sumale.nin
Hi,
 es funktioniert auf 1.7.10?
Step 1.1 finde ich nicht, nur so was hab gefunden:
1
2
3
4
5
6
7
8
9
if (isset($array[$file])) {
  
$array[$file] = true;
}
if (isset(
$array["page_" $file])) {
  
$array["page_" $file] = true;
}
$site_template->register_vars($array);

$site_template->register_vars(array(
Logged

Pages: [1] 2 » »» Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.325 seconds with 22 queries.