Kann tpl nicht editieren

Eagle
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.


Problembeschreibung:
Wenn ich im ACP das Template profile editiere/bearbeite & dann die Änderungen speichern möchte, zerschießt er das komplette Template, soll heißen, er speichert nur einen Teil der Daten, die Hälfte (ca.) lässt er einfach weg, dadurch ist das Template natürlich völlig hin & ich muss es neu importieren (wenn ich in der profile.tpl editiere & dann importiere geht es)


Fehlermeldung:
Darstellung fehlerhaft, Template zerschossen

Was wurde zuletzt geändert oder eingebaut?
Der Code selbst ist ok, außer ich ändere was & speichere dann



Kann es etwas mit der Größe/Zeichenanzahl der Templates zu tun haben?
Gibt es da eine Begrenzung? Die TPL ist 17kb groß.
Eagle
Hier mal der Inhalt meiner profile.tpl

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:
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | Profil von $user_info[field6] alias $username (Id: $user_info[userid])</title>

$headinclude

<script type="text/javascript">
<!--
function rating(userid) {
 window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
function confirms(userid) {
			window.open("misc.php?action=showconfirms&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=550,height=350");
		}
//-->
<!--
function popup(url) {
 fenster=window.open(url, "Kontaktdaten", "width=400,height=300,resizable=yes");
 fenster.focus();
 return false;
}
//-->
</script>

</head>

<body>
 $header
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tablea_fc">
    <td align="left"><span class="smallfont"><b>&raquo; {$lang->items['LANG_MEMBERS_PROFILE_TITLE']} $user_info[field6]</b> alias <b>$username </b>
    <if($user_online==1)>
    <then><img src="{$style['imagefolder']}/dotG.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USERONLINE']}" title="{$lang->items['LANG_MEMBERS_USERONLINE']}" /></then>
    <else><img src="{$style['imagefolder']}/dotR.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" title="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" /></else>
   </if>

    </span></td>
    <td align="right"><span class="smallfont"></span></td>
   </tr>
  </table></td>
 </tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tabletitle" align="left" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tabletitle_fc">
    <td style="width:100%" align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_TITLE2']}</b>
    
    <if($user_online==1)>
    <then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USERONLINE']}" title="{$lang->items['LANG_MEMBERS_USERONLINE']}" /></then>
    <else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" title="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" /></else>
   </if>

<!-- Ab 18 Anzeige !-->
<if($user_info[useuseraccess]==1)>
<then><img src="{$style['imagefolder']}/fsk18.gif" width="11" height="11" border="0" alt="{$lang->items['LANG_MEMBERS_PROFILE_FSK18']}" title="{$lang->items['LANG_MEMBERS_PROFILE_FSK18']}" /></then>
</if>
    
    </span></td>
    <td style="width:200px" align="center" nowrap="nowrap"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CAPTION']}</b></span></td>
   </tr>
  </table></td>
 </tr>
 <tr>
  <td class="tablea" valign="top" style="width:100%"><table style="width:100%" class="tablea_fc">

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Nick:</b></span></td>
    <td><span class="normalfont">$user_info[username]</span></td>
   </tr>

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Name:</b></span></td>
    <td><span class="normalfont">$user_info[field6]</span></td>
   </tr>

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Userid:</b></span></td>
    <td><span class="normalfont">$user_info[userid]</span></td>
   </tr>

<if($userpartner)><then>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_PARTNER']}</b></span></td>
    <td><span class="normalfont"><a href="profile.php?userid=$userpartner">$userpartnername</a></span></td>
   </tr>
</then></if>

		<tr align="left">
			<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONFIRMATIONS']}</b></span></td>
                                <if($confirms==0)>
                                     <then>
                                     <td><span class="normalfont"><a href="javascript:confirms({$user_info['userid']})">{$lang->items['LANG_MEMBERS_PROFILE_NOCONFIRM']}</a></span></td>
                                     </then>
                                      <else>
			              <td><span class="normalfont"><a href="javascript:confirms({$user_info['userid']})">$confirms{$lang->items['LANG_MEMBERS_PROFILE_XCONFIRMS']}</a></span></td>
                                      </else>
                                       </if>
       		</tr>


   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_RANK']}</b></span></td>
    <td><span class="normalfont">$user_info[ranktitle]</span></td>
   </tr>

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_RANK_IMG']}</b></span></td>
    <td><span class="normalfont">$rankimages</span></td>
   </tr>

   <if($showlanguageinprofile==1)>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LANGUAGE']}</b></span></td>
    <td><span class="normalfont">$languagepackname</span></td>
   </tr>
   </then>
   </if>

     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>

  <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GENDER']}</b></span></td>
    <td><span class="normalfont">$gender</span></td>
   </tr>

<if(checkAdminPermissions("a_can_users_edit"))><then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_BIRTHDAY']}</b></span></td>
    <td><span class="normalfont">$birthday</span></td>
   </tr>
</then></if>

   <tr align="left">
   <td valign="center"><span class="normalfont"><b>Alter:</b></span></td>
   <td><span class="normalfont">$jahre</span></td>
   </tr>


   <tr align="left">
   <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_MBL_STERNZEICHEN']}:</b></span></td>
   <td valign="top"><span class="normalfont">$zodiac</span></td>
   </tr>





   <if($profilefields)>
    <then>
   $profilefields
    </then>
   </if>

     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>

<!-- ZN im Profil !-->
<if($userzn)><then>
<if($wbbuserdata['userid']==0)>
<then>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ZN']}</b></span></td>
    <td><span class="normalfont"><b>Nur für Mitglieder</b></a></td>
   </tr>
</then>
<else>
<if($userznnick)><then>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ZN']}</b></span></td>
    <td><span class="normalfont">» <a href="http://www.sklavenzentrale.com/?ZN=$userzn" target="_new">$userznnick</a></span></td>
   </tr>
</then>
<else>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ZN']}</b></span></td>
    <td><span class="normalfont">» <a href="http://www.sklavenzentrale.com/?ZN=$userzn" target="_new">$userzn</a></span></td>
   </tr>
</else></if>
</else></if>
     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>
</then></if>
<!-- ZN im Profil ENDE !-->

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Usertext:</b></span></td>
    <td><span class="normalfont">$user_text</span></td>
   </tr>

     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>

<!--
<if($galpic)><then>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Galerie:</b></span></td>
    <td><span class="normalfont">» <a href="galerie_index.php?action=user&userid=$userid&username=$gal_username">Usergalerie</a></span></td>
   </tr>
</then>
</if>
!-->

<!-- BLOG !-->
<if($fb4y_checking)><then>
  <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_FB4Y_BLOG']} </b></span></td>
    <td><span class="normalfont">» <a href="fb4y_blog.php?do=view&userid=$userid">$blog_entries private Tagebucheinträge</a>
</span></td>
  </tr>
</then></if>
<!-- BLOG ENDE !-->

<!-- Öffentliches BLOG !-->
<if($blog_checking)><then>
<tr align="left">
    <td valign="top"><span class="normalfont"><b>Tagebuch:</b></span></td>
    <td><span class="normalfont">» <a href="blog.php?buserid=$userid">$blog_entries2 öffentliche Tagebucheinträge</a></td>
  </tr>
</then></if>
<!-- Öffentliches BLOG ENDE !-->

<!-- Galerie !-->
<!-- Abfrage ob 18 !-->
<if($galerie_entrie_check)><then>
<if($wbbuserdata['useuseraccess']==1)>
<then>
  <tr align="left">
    <td valign="top"><span class="normalfont"><b>Galerie:</b></span></td>
    <td><span class="normalfont">» <a href="jgs_galerie_userbilder.php?userid={$user_info['userid']}&amp;sid={$session['hash']}">$galerie_entrie_anzahl Galeriebilder</a></td>
  </tr>
</then>
</if>
</then></if>
<!-- Galerie ENDE !-->

<!-- Nur sichtbar für Mitglieder !-->
<!-- Kontaktdaten !-->
<if($wbbuserdata['userid']==0)>
<then>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Kontakt:</b></span></td>
    <td><span class="normalfont"><b>Nur für Mitglieder</b></a></td>
   </tr>
</then>
<else>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Kontakt:</b></span></td>
    <td><span class="normalfont">» <a href="kontaktdaten.php?userid=$userid{$SID_ARG_2ND}" target="_blank" onclick="return popup(this.href);">Kontaktdaten</a></span></td>
   </tr>
</else>
</if>


<if($wbbuserdata[showsignatures] == 1)>
<then>
<if($user_info[showsignatures] == 1)>
<then>
   <tr>
    <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
   </tr>

   <tr align="left">
    <td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_SIGNATURE']}</b></span></td>
    <td><span class="normalfont">$user_info[signature]</span></td>
   </tr>

</then>
</if>
</then>
</if>

  </table></td>
  


  <td class="tableb" style="width:300px" align="left" valign="top">
  

  
  <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_REGDATE']}</b> $regdate</span>
<br>
<!-- Profilviews -->
  <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_PROFILVIEWS']}</b>$profviews ({$lang->items['LANG_MEMBERS_PROFILE_SEIT']}$regdate)</span>
<br>
<!-- FSK18 im Profil -->
      <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_FSK18']} </b> $useuseraccess</span>
<br />
<span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_POSTS']}</b> $user_info[userposts] ({$lang->items['LANG_MEMBERS_PROFILE_POSTSPERDAY']})</span> 
<br> 
<!-- Anzahl Coins !-->
      <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_PUNKTE']} </b>$coins {$lang->items['LANG_MEMBERS_PROFILE_COINS']}</span>
<br />
<!-- Anzahl Logins !-->
      <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOGINS']} </b> $logins ({$lang->items['LANG_MEMBERS_PROFILE_SEIT']}$regdate)</span>
<br />
<span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTACTIVITY']}</b> $la_date </span><span class="smallfont">$la_time</span>
<br>

<!-- Derzeit online wo? !-->
<if($wbbuserdata['userid']==0)>
<then></then>
<else>
   <if($userlocation!="")>
   <then>
	<span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b> $userlocation</span>
   </then>
   <else>
   <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b> {$lang->items['LANG_MEMBERS_PROFILE_OFFLINE']}<span>
   </else>
   </if>
</else>
</if>
<br />

   <if($showlastpost==1)>
    <then>
      <span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTPOST']}</b> &raquo; 
      <a href="thread.php?postid=$lastpost[postid]{$SID_ARG_2ND}#post$lastpost[postid]">$lastpost[topic]</a>
      </span>
      <br />
      <span class="smallfont">{$lang->items['LANG_MEMBERS_PROFILE_POSTED_ON']} $lastpostdate <span class="time">$lastposttime</span>
<if($wbbuserdata['a_can_view_ipaddress']==1)><then> [ <a href="misc.php?action=viewip&amp;postid=$lastpost[postid]{$SID_ARG_2ND}">{$lang->items['LANG_MEMBERS_PROFILE_LASTIP']}</a> ]</then></if>
<br />
      {$lang->items['LANG_MEMBERS_PROFILE_FORUM']} » <b><a href="board.php?boardid=$lastpost[boardid]{$SID_ARG_2ND}">$lastpost[title]</a></b>
      </span>
    </then>
   </if>

<center>  
  <br><br><span class="normalfont">
<if($confirms==0)>
   <then>
  </then>
<else>
<span class="normalfont">
<a href="javascript:confirms({$user_info['userid']})">
<img src="{$style['imagefolder']}/real2.gif" width="100" height="45" border="0" alt="{$lang->items['LANG_MEMBERS_PROFILE_CONFIRMED']}" /></a>
<br /><br />
</span>
</else>
</if>

$useuseraccess_pic<br /><br />
<if($userpicid)><then>
<b>$userpicausgabe_text</b>
<br /><br />$userpicausgabe<br /><br />
</then>
</if>

<b>Avatar:</b><br /><br />$useravatar<br /><br />
<!-- $galpic !-->
</span><br />

<!-- Abfrage ob 18 !-->
<if($wbbuserdata['useuseraccess']==1)>
<then>
<if($showeverywhere)><then>
<span class="normalfont"><b>Galeriebild:</b></span><br /><br />
<span class="smallfont"><a href="jgs_galerie_userbilder.php?userid={$user_info['userid']}&amp;sid={$session['hash']}">$showeverywhere</a><br /><br /></span>
</then>
</if>
</then>
</if>
<!-- Abfrage ob 18 ENDE !-->

$userrating<br />$userlevel
</center>  

  <br>
  <img src="{$style['imagefolder']}/spacer.gif" width="300" height="1" border="0" alt="" title="" /></td>
 </tr>
 <tr>
  <td class="tabletitle" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
  <tr class="tabletitle_fc">
  <!--   <td align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONTACT']}</b></span></td>
    <td align="right">

    <if($user_info['showemail']==0 && $user_info['usercanemail']==1)>
     <then><a href="formmail.php?userid=$user_info[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" title="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" /></a></then>
    </if>

    <if($user_info['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&amp;userid=$user_info[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$lang->items['LANG_MEMBERS_PM']}" title="{$lang->items['LANG_MEMBERS_PM']}" /></a></then></if>

    <a href="search.php?action=user&amp;userid=$user_info[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SEARCH']}" title="{$lang->items['LANG_MEMBERS_SEARCH']}" /></a>

    <a href="usercp.php?action=buddy&amp;add=$user_info[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$lang->items['LANG_MEMBERS_BUDDY']}" title="{$lang->items['LANG_MEMBERS_BUDDY']}" /></a></td>
!-->
   </tr>

  </table></td>
 </tr>
</table>
<if(checkAdminPermissions("a_can_users_edit") || checkAdminPermissions("a_can_users_delete"))>
<then>
<p align="center"><span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ADMINOPTIONS']}</b>
 <if(checkAdminPermissions("a_can_users_edit"))><then><a href="acp/index.php?url=users.php%3Faction%3Dedit%26userid%3D$user_info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USEREDIT']}</a></then></if>
 <if(checkAdminPermissions("a_can_users_edit") && checkAdminPermissions("a_can_users_delete"))><then> | </then></if>
 <if(checkAdminPermissions("a_can_users_delete"))><then><a href="acp/index.php?url=users.php%3Faction%3Ddelete%26userid%5B%5D%3D$user_info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USERDEL']}</a></then></if>
<if(checkAdminPermissions("a_can_users_delete") && checkAdminPermissions("a_can_users_delete"))><then> | </then></if>
<if(checkAdminPermissions("a_can_users_delete"))><then><a href="./0posterlist.php" target="_self">{$lang->items['LANG_GLOBAL_0POSTERLIST']}</a></then></if>
<if(checkAdminPermissions("a_can_users_delete"))><then> | <a href="fb4y_blog.php" target="_self">Tagebuchübersicht</a></then></if></span>
</p>
</then>
</if>

$footer
</body>
</html>