Nach Hackinstallation Fehler und Forum weg - dringend!

schatzifratzi
Wollte den hack "Gästebuch im Profil" installieren und habe ganz normal die Installation ausgeführt, alles hochgeladen usw.

Und jetzt kommt auf der Startseite vom Forum diese Fehlermeldung:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /var/www/vhosts/ra-forum.com/httpdocs/index.php(406) : eval()'d code on line 26

Die Zeile 406 der index.php ist diese:
eval("\$tpl->output(\"".$tpl->get("index")."\");");

Hab vorher natürlich auch die neuen Templates importiert und gecached für das Gästebuch und genau das wird wohl der Fehler gewesen sein... Was tun?

BITTE HELFT MIR GANZ DRINGEND, es hängen fast 3.000 User an diesem Forum...

Forum ist www.ra-forum.com und hatte vor einem halben Jahr einen Serverumzug. Hab aber alle Rechte eigentlich verteilt, weiss echt nicht was falsch sein soll.

FTP und ACP Zugang kann derjenige der mir hilft per PN oder ICQ 168968120 anfordern!
Biggi
In der Datei index.php wird in Zeile 406 ein Template aufgerufen.
In dem Template steckt in Zeile 26 ein Fehler.
Poste das Template doch bitte mal mit den Code-Tags [IMG]http://your-wbb.de/images/port-dark/bbcode_code.gif[/IMG], wenn du den Fehler selbst nicht findest.

P.S.: Demnächst poste Fehler, die durch Hacks entstehen, bitte im Support-Thread des Hacks. Danke.

Edit:
Nach deinem Edit sehe ich es ja:
Poste also bitte das Template index.
schatzifratzi
Das müsste dann die index.tpl sein

Die sieht für mich eh total komisch aus irgendwie... Irgendwas stimmt da echt mal nicht...

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:
<?php
// ************************************************************************************//
// * WoltLab Burning Board 2
// ************************************************************************************//
// * Copyright (c) 2001-2004 WoltLab GmbH
// * Web           http://www.woltlab.de/
// * License       http://www.woltlab.de/products/burning_board/license_en.php
// *               http://www.woltlab.de/products/burning_board/license.php
// ************************************************************************************//
// * WoltLab Burning Board 2 is NOT free software.
// * You may not redistribute this package or any of it's files.
// ************************************************************************************//
// * $Date: 2005-06-16 14:28:46 +0200 (Thu, 16 Jun 2005) $
// * $Author: Burntime $
// * $Rev: 1618 $
// ************************************************************************************//


$filename = 'index.php';

require('./global.php');
$lang->load('START');

require('./acp/lib/class_useronline.php');

if (isset($_COOKIE[$cookieprefix.'hidecats'])) $hidecats = decode_cookie($_COOKIE[$cookieprefix.'hidecats']);
else $hidecats = array();

if (isset($_GET['hidecat'])) {
	$hidecats[$_GET['hidecat']] = 1;
	if ($wbbuserdata['usecookies'] == 1) encode_cookie("hidecats", time() + 3600 * 24 * 365);
	else encode_cookie("hidecats");
}
if (isset($_GET['showcat'])) {
	$hidecats[$_GET['showcat']] = 0;
	if ($wbbuserdata['usecookies'] == 1) encode_cookie("hidecats", time() + 3600 * 24 * 365);
	else encode_cookie("hidecats");
}

$boardcache = array();
$permissioncache = array();
$modcache = array();

switch ($boardordermode) {
	case 1: $boardorder = 'b.title ASC'; break;
	case 2: $boardorder = 'b.title DESC'; break;
	case 3: $boardorder = 'b.lastposttime DESC'; break;
	default: $boardorder = 'b.boardorder ASC'; break;
}
$activtime = time() - 60 * $useronlinetimeout;

$boardvisit = array();
$result = $db->unbuffered_query("
 SELECT
 b.*".(($showlastposttitle == 1) ? (", t.topic, t.prefix AS threadprefix, i.*") : (""))."
 ".(($showuseronlineinboard == 1) ? (", COUNT(s.sessionhash) AS useronline") : (""))."
 ".(($wbbuserdata['userid']) ? (", bv.lastvisit") : (""))."
 FROM bb".$n."_boards b
 ".(($showlastposttitle == 1) ? ("LEFT JOIN bb".$n."_threads t ON (t.threadid=b.lastthreadid)
 LEFT JOIN bb".$n."_icons i USING (iconid)") : (""))."
 ".(($showuseronlineinboard == 1) ? ("LEFT JOIN bb".$n."_sessions s ON (s.boardid=b.boardid AND s.lastactivity>='$activtime')") : (""))."
 ".(($wbbuserdata['userid']) ? (" LEFT JOIN bb".$n."_boardvisit bv ON (bv.boardid=b.boardid AND bv.userid='".$wbbuserdata['userid']."')") : (""))."
 ".(($showuseronlineinboard == 1) ? ("GROUP BY b.boardid") : (""))."
 ORDER by b.parentid ASC, $boardorder");
while ($row = $db->fetch_array($result)) {
	$boardcache[$row['parentid']][$row['boardorder']][$row['boardid']] = $row;
	$boardvisit[$row['boardid']] = $row['lastvisit'];
}

if ($showuseronlineinboard == 2) {
	$userinboard = array();
	$online = &new useronline($wbbuserdata['a_can_view_ghosts'], $wbbuserdata['buddylist']);
	$result = $db->unbuffered_query("SELECT s.userid, s.boardid, u.username, u.useronlinegroupid,g.useronlinemarking, u.invisible FROM bb".$n."_sessions s LEFT JOIN bb".$n."_users u USING (userid) LEFT JOIN bb".$n."_groups g ON g.groupid=u.useronlinegroupid WHERE s.lastactivity>='$activtime'".(($wbbuserdata['ignorelist']) ? (" AND s.userid NOT IN (".str_replace(" ", ",", $wbbuserdata['ignorelist']).")") : (""))." ORDER BY u.username ASC");	
	while ($row = $db->fetch_array($result)) $userinboard[$row['boardid']][] = $row;	
}

$result = $db->unbuffered_query("SELECT t.boardid, t.threadid, t.lastposttime".(($wbbuserdata['userid']) ? (", tv.lastvisit") : (""))." FROM bb".$n."_threads t".(($wbbuserdata['userid']) ? (" LEFT JOIN bb".$n."_threadvisit tv ON (tv.threadid=t.threadid AND tv.userid='".$wbbuserdata['userid']."')") : (""))." WHERE t.visible = 1 AND t.lastposttime > '$wbbuserdata[lastvisit]' AND t.closed <> 3");
while ($row = $db->fetch_array($result)) {
	if ($row['lastposttime'] > $row['lastvisit']) $visitcache[$row['boardid']][$row['threadid']] = $row['lastposttime'];
}

// read permissions
$permissioncache = getPermissions();

if ($hide_modcell == 0) {
	$result = $db->unbuffered_query("SELECT bb".$n."_moderators.*, username FROM bb".$n."_moderators LEFT JOIN bb".$n."_users USING (userid) ORDER BY username ASC");
	while ($row = $db->fetch_array($result)) $modcache[$row['boardid']][] = $row;
}

$boardbit = makeboardbit(0);

$index_pms = '';
$quicklogin = '';
$index_showevents = '';
$index_useronline = '';
$index_stats = '';

//************************************//
//*    Last active posts on index    *//
//*                                  *//
//* author: Perfect                  *//
//* date/time: 5/21/2005 10:15 PM    *//
//************************************//
if ($lat_onoff == '1') {


    //* cookies
    if (isset($_GET['showlastposts'])) {

       if ($wbbuserdata['usecookies'] == 1) setcookie("showlastposts",$_GET['showlastposts']);
       else setcookie("showlastposts",$_GET['showlastposts']);

       header("Location: index.php?styleid=".$styleid."&langid=".$langid.$SID_ARG_2ND_UN);
       exit;
    }

    if ($_COOKIE['showlastposts']) $show_lastposts_hide = $_COOKIE['showlastposts'];
    else $show_lastposts_hide = 1;


    if ($wbbuserdata['userid']) $show_lastactivetopics = $wbbuserdata['lastactivetopics'];
    else $show_lastactivetopics = '1';

    if ($show_lastactivetopics == '1') {

    if ($show_lastposts_hide == '1') {


    //* function: forumids()
    function forumids() {
      global $db, $n, $wbbuserdata, $boardcache;

	    if (!isset($boardcache) || !is_array($boardcache)) $boardcache = array();
	    $result = $db->query("SELECT boardid,boardorder,parentid,parentlist FROM bb".$n."_boards ORDER BY parentid ASC, boardorder ASC");
	    while ($row = $db->fetch_array($result)) {
	       	   $boardcache[$row['parentid']][$row['boardorder']][$row['boardid']] = $row;
	    }

	    $boardpermissions = getPermissions();
	    $boardids = '';

             foreach ($boardcache as $key => $val) {
                     foreach ($val as $key2 => $val2) {
	                    foreach ($val2 as $row) {
                                     if (!isset($boardpermissions[$row['boardid']]['can_use_search']) || $boardpermissions[$row['boardid']]['can_use_search'] != 0) $boardids .= ",".$row['boardid'];
	                    }
                     }
	    }

      return $boardids;
     }


     //* no permit boards
     if ($lat_noboardids) {
        $lat_noboardids = preg_replace("/\s*\n\s*/","\n",wbb_trim($lat_noboardids));
        $lat_noboardids = explode("\n",$lat_noboardids);

        while(list($key,$val)=each($lat_noboardids)) $noboardids .=" AND f.boardid!=$val";
       }


     if (isset($_REQUEST['modus'])) $modus = $_REQUEST['modus'];
     else $modus = '';

     if (isset($_REQUEST['sortorder'])) $sortorder = $_REQUEST['sortorder'];
     else $sortorder = 'DESC';

       switch ($sortorder) {
         case 'ASC': $sortorder = 'ASC'; break;
         case 'DESC': $sortorder = 'DESC'; break;
      default: $sortorder = 'DESC';
     }

      if (isset($_GET['sortby'])) $sortby = $_REQUEST['sortby'];
      else {
           $sortby = 'lastposttime';
           $sortby_sql = 't.lastposttime';
           }

       switch ($sortby) {
         case 'lastposttime': $sortby_sql = 't.lastposttime'; break;
         case 'views': $sortby_sql = 't.views'; break;
         case 'replycount': $sortby_sql = 't.replycount'; break;
         case 'title': $sortby_sql = 'f.title'; break;
         case 'topic': $sortby_sql = 't.topic'; break;
      default: $sortby_sql = 't.lastposttime';
     }

    if ($modus == '1' AND $wbbuserdata['userid']) $zusat=" AND t.starterid=$wbbuserdata[userid] ";

    if ($wbbuserdata['userid']) $lastthreads = $db->query("SELECT DISTINCT t.*, u.*, i.*, f.hotthread_reply, f.hotthread_view, f.title, bv.lastvisit AS boardlastvisit, tv.lastvisit AS threadlastvisit, p.userid FROM bb".$n."_threads t LEFT JOIN bb".$n."_users u ON (t.lastposterid=u.userid) LEFT JOIN bb".$n."_icons i ON (t.iconid=i.iconid) LEFT JOIN bb".$n."_boards f ON (t.boardid=f.boardid) LEFT JOIN bb".$n."_boardvisit bv ON (bv.boardid=t.boardid AND bv.userid='".$wbbuserdata[userid]."') LEFT JOIN bb".$n."_threadvisit tv ON (tv.threadid=t.threadid AND tv.userid='".$wbbuserdata[userid]."') LEFT JOIN bb".$n."_posts p ON (p.userid=$wbbuserdata[userid] AND p.threadid=t.threadid) WHERE t.closed!=3 AND t.boardid IN (0".forumids().")$noboardids $zusat ORDER BY $sortby_sql $sortorder LIMIT $lat_viewlimit");
    else $lastthreads = $db->query("SELECT DISTINCT t.*, u.*, i.*, f.hotthread_reply, f.hotthread_view, f.title FROM bb".$n."_threads t LEFT JOIN bb".$n."_users u ON (t.lastposterid=u.userid) LEFT JOIN bb".$n."_icons i ON (t.iconid=i.iconid) LEFT JOIN bb".$n."_boards f ON (t.boardid=f.boardid) WHERE t.closed!=3 AND t.boardid IN (0".forumids().")$noboardids ORDER BY $sortby_sql $sortorder LIMIT $lat_viewlimit");

    while($lastthread = $db->fetch_array($lastthreads)) {

         //* folder icon
         if ($wbbuserdata['lastvisit']>$lastthread['boardlastvisit']) $lastthread['boardlastvisit']=$wbbuserdata['lastvisit'];
         if ($lastthread['hotthread_reply'] == '0' || $lastthread['hotthread_reply']=="") $lastthread['hotthread_reply']=$default_hotthread_reply;
         if ($lastthread['hotthread_view'] == '0' || $lastthread['hotthread_view']=="") $lastthread['hotthread_view']=$default_hotthread_view;
         if ($wbbuserdata['userid']) $foldericon=(($lastthread['userid'] && $lastthread['userid']) ? ("dot") : ("")).(($lastthread['lastposttime']>$lastthread['boardlastvisit'] && $lastthread['lastposttime']>$lastthread['threadlastvisit']) ? ("new") : ("")).(($lastthread['replycount']>=$lastthread['hotthread_reply'] || $lastthread['views']>=$lastthread['hotthread_view']) ? ("hot") : ("")).(($lastthread['closed']!=0) ? ("lock") : (""))."folder";
         else $foldericon=(($lastthread['replycount']>=$lastthread['hotthread_reply'] || $lastthread['views']>=$lastthread['hotthread_view']) ? ("hot") : ("")).(($lastthread['closed']!=0) ? ("lock") : (""))."folder";
         if ($lastthread['important'] == '2') $foldericon="announce";


         $lastthread['topic'] = htmlconverter(textwrap($lastthread['topic']));
         if (strlen($lastthread['topic'])>$lat_killletterstopic) $lastthread['topic']=substr($lastthread['topic'],0,$lat_killletterstopic)."..."; // Thread topic
         if (strlen($lastthread['title'])>30) $lastthread['title']=substr($lastthread['title'],0,30)."..."; // Forum topic

         $date= formatdate($wbbuserdata['dateformat'], $lastthread['lastposttime'],1);
         $time= formatdate($wbbuserdata['timeformat'], $lastthread['lastposttime']);

         //* thread icon
         $iconpath= str_replace("{imagefolder}",$style['imagefolder'],$lastthread['iconpath']);
         if ($lastthread['iconid']) $threadicon=makeimgtag($lastthread['iconpath'],getlangvar($lastthread['icontitle'], $lang),0);
         else $threadicon=makeimgtag($style['imagefolder']."/icons/icon14.gif");
         if (!$lastthread['pollid'] == '0') $threadicon=makeimgtag($style['imagefolder']."/poll.gif");

         eval ("\$lastpostsbit .= \"".$tpl->get("index_lastpostsbit")."\";");
    }


    if ($lat_viewtopvoteourview == '1') {
       $topviews=$db->query_first("SELECT threadid, topic, views FROM bb".$n."_threads WHERE boardid  IN (0".forumids().") ORDER BY views DESC LIMIT 1");
       $topvoted=$db->query_first("SELECT threadid, topic, voted FROM bb".$n."_threads WHERE boardid  IN (0".forumids().") ORDER BY voted DESC LIMIT 1");

       $lang->items['LANG_START_LASTTHREAD_TOPKLICKS'] = $lang->get("LANG_START_LASTTHREAD_TOPKLICKS", array('$topviews[topic]' =>  $topviews['topic'], '$topviews[views]' =>  $topviews['views'], '$topviews[threadid]' => $topviews['threadid'], '{$SID_ARG_2ND}' => $SID_ARG_2ND));
       $lang->items['LANG_START_LASTTHREAD_TOPVOTES'] = $lang->get("LANG_START_LASTTHREAD_TOPVOTES", array('$topvoted[topic]' =>  $topvoted['topic'], '$topvoted[voted]' =>  $topvoted['voted'], '$topvoted[threadid]' => $topvoted['threadid'], '{$SID_ARG_2ND}' => $SID_ARG_2ND));
    }

   }

  eval ("\$lastposts = \"".$tpl->get("index_lastposts")."\";");
 }

}
/* ############## STATS ############## */
if ($showstats == 1) {
	$stats = $db->query_first("SELECT s.*, u.username FROM bb".$n."_stats s LEFT JOIN bb".$n."_users u ON(u.userid=s.lastuserid)");
	$stats['username'] = htmlconverter($stats['username']);
	
	$installdays = (time() - $installdate) / 86400;
	if ($installdays < 1) $postperday = $stats['postcount'];
	else $postperday = $stats['postcount'] / $installdays; 
	
	$postperday = number_format($postperday, 2, $lang->get("LANG_GLOBAL_DEC_POINT"), $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	
	if ($stats['usercount'] >= 1000) $stats['usercount'] = number_format($stats['usercount'], 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($stats['threadcount'] >= 1000) $stats['threadcount'] = number_format($stats['threadcount'], 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($stats['postcount'] >= 1000) $stats['postcount'] = number_format($stats['postcount'], 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	$result = $db->query("SELECT birthday FROM bb".$n."_users WHERE birthday NOT LIKE '0000%'");
	while ($row = $db->fetch_array($result)) {
		$days = $days+(time()-mktime(0,0,0,substr($row[0],5,2),substr($row[0],8,2),substr($row[0],0,4)))/86400;
	}
	$result = $db->query_first("SELECT COUNT(birthday) FROM bb".$n."_users WHERE birthday NOT LIKE '0000%'");
	$avgage = str_replace(".",",",round($days/$result[0]/365.25,2));
}
// JGS-Chat
// Löschzeit
$chat_einstellungen=$db->query_first("SELECT * FROM bb".$n."_jgs_chat_einstellungen WHERE id='1'");
$online_reset=$chat_einstellungen['online_reset'];
$loeschzeit=time()-(60*$online_reset);
if($showuseronline==1){
	$membercount_chat=0;
	$popup_erweiterung=md5($master_board_name);
	$online = new useronline($wbbuserdata['a_can_view_ghosts'],$wbbuserdata['buddylist']);
	$result = $db->unbuffered_query("SELECT s.userid,s.zeit,s.in_raum, u.username, useronlinegroupid, useronlinemarking, invisible FROM bb".$n."_jgs_chat_useronline s LEFT JOIN bb".$n."_users u USING (userid) LEFT JOIN bb".$n."_groups g ON g.groupid=u.useronlinegroupid ORDER BY u.username ASC"); 
	while($row=$db->fetch_array($result)){
		// info beim verlassen
		if($row['zeit']<$loeschzeit){
			$db->query("DELETE FROM bb".$n."_jgs_chat_useronline WHERE userid = '".$row['userid']."'");
			$zeit_2=date("H:i:s");
			$db->query("INSERT INTO bb".$n."_jgs_chat_text (zeit,zeit_2,von_userid,von_username,an_userid,chat_text,farbe,fuer_raum) VALUES ('".time()."','$zeit_2','0','".addslashes($row['username'])."','0','".addslashes($row['username'])." {$lang->items['LANG_GLOBAL_JGSCHATRAUSAUSCHAT']}','','$row[in_raum]')");
		}else{
			$membercount_chat++;
			$online->user($row['userid'],htmlconverter($row['username']),$row['useronlinemarking'],$row['invisible']);
		}
	}
	if($membercount_chat==1){$erW="{$lang->items['LANG_START_USERONLINE_MEMBERS_ONE']}";$ist_sind="{$lang->items['LANG_START_USERONLINE_BE_ONE']}";}else{$erW="{$lang->items['LANG_START_USERONLINE_MEMBERS']}";$ist_sind="{$lang->items['LANG_START_USERONLINE_BE']}";}
	$online_chat=$online->useronlinebit;
	$gesamt_online_chat=$membercount_chat;
}
// JGS-Chat
/* ############## USERONLINE ############## */
if ($showuseronline == 1) {
	$guestcount = 0;
	$membercount = 0;
	$invisiblecount = 0;
	$online = &new useronline($wbbuserdata['a_can_view_ghosts'], $wbbuserdata['buddylist']);
	$result = $db->unbuffered_query("SELECT s.userid, username, useronlinegroupid, useronlinemarking, invisible FROM bb".$n."_sessions s LEFT JOIN bb".$n."_users u USING (userid) LEFT JOIN bb".$n."_groups g ON g.groupid=u.useronlinegroupid WHERE s.lastactivity >= '".(time() - 60 * $useronlinetimeout)."'".(($wbbuserdata['ignorelist']) ? (" AND s.userid NOT IN (".str_replace(" ", ",", $wbbuserdata['ignorelist']).")") : (""))." ORDER BY u.username ASC"); 
	while ($row = $db->fetch_array($result)) {
		if ($row['userid'] == 0) {
			$guestcount++;
			continue;	
		}
		$membercount++;
		if ($row['invisible'] == 1) $invisiblecount++;
		$online->user($row['userid'], htmlconverter($row['username']), $row['useronlinemarking'], $row['invisible']);
	}
	$useronline = $online->useronlinebit;
	$totaluseronline = $membercount + $guestcount;
	if ($totaluseronline > $rekord) {
		$rekord = $totaluseronline;
		$rekordtime = time();
		$db->unbuffered_query("UPDATE bb".$n."_options SET value='$rekord' WHERE varname='rekord'", 1);
		$db->unbuffered_query("UPDATE bb".$n."_options SET value='$rekordtime' WHERE varname='rekordtime'", 1);
		require("./acp/lib/class_options.php");
		$option = &new options("acp/lib");
		$option->write();
	}
	$rekorddate = formatdate($wbbuserdata['dateformat'], $rekordtime);
	$rekordtime = formatdate($wbbuserdata['timeformat'], $rekordtime);
	
	// format figures
	if ($guestcount >= 1000) $guestcount = number_format($guestcount, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($membercount >= 1000) $membercount = number_format($membercount, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($invisiblecount >= 1000) $invisiblecount = number_format($invisiblecount, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($totaluseronline >= 1000) $totaluseronline = number_format($totaluseronline, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	if ($rekord >= 1000) $rekord = number_format($rekord, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
	
	if ($totaluseronline == 1) {
		$useronline_BE = $lang->items['LANG_START_USERONLINE_BE_ONE'];
		$useronline_USER = $lang->items['LANG_START_USERONLINE_USER_ONE'];
	}
	else {
		$useronline_BE = $lang->items['LANG_START_USERONLINE_BE'];
		$useronline_USER = $lang->items['LANG_START_USERONLINE_USER'];
	}
	
	if ($guestcount == 1) $useronline_GUEST = $lang->items['LANG_START_USERONLINE_GUEST_ONE'];
	elseif ($guestcount > 1) $useronline_GUEST = $lang->items['LANG_START_USERONLINE_GUEST'];
	else {
		$useronline_GUEST = '';
		$guestcount = '';
	}
	
	if ($membercount == 1) $useronline_MEMBERS = $lang->items['LANG_START_USERONLINE_MEMBERS_ONE'];
	elseif ($membercount > 1) $useronline_MEMBERS = $lang->items['LANG_START_USERONLINE_MEMBERS'];
	else {
		$useronline_MEMBERS = '';
		$membercount = '';
	}
	
	if ($invisiblecount == 1) $useronline_GHOSTS = $lang->items['LANG_START_USERONLINE_GHOSTS_ONE'];
	elseif ($invisiblecount > 1) $useronline_GHOSTS = $lang->get("LANG_START_USERONLINE_GHOSTS", array('$invisiblecount' => $invisiblecount));
	else $useronline_GHOSTS = '';
	
	if ($guestcount > 0 && $membercount > 0) $useronline_AND = $lang->items['LANG_START_USERONLINE_AND'];
	else $useronline_AND = '';
	
	$lang->items['LANG_START_USERONLINE'] = $lang->get("LANG_START_USERONLINE", array('$useronline_BE' => $useronline_BE, '$membercount' => $membercount, '$useronline_MEMBERS' => $useronline_MEMBERS, '$useronline_GHOSTS' => $useronline_GHOSTS, '$useronline_AND' => $useronline_AND, '$guestcount' => $guestcount, '$useronline_GUEST' => $useronline_GUEST, '$rekord' => $rekord, '$useronline_USER' => $useronline_USER, '$rekorddate' => $rekorddate, '$rekordtime' => $rekordtime));
	$lang->items['LANG_START_SHOWUSERONLINE'] = $lang->get("LANG_START_SHOWUSERONLINE", array('$useronline_BE' => $useronline_BE, '$totaluseronline' => $totaluseronline, '$useronline_USER' => $useronline_USER));
}
/* ############## BIRTHDAYS ############## */
unset($birthdaybit);
if ($showbirthdays == 1  && $wbbuserdata['can_view_calendar'] != 0) {
	$currentdate = formatdate("m-d", time());
	$currentyear = intval(formatdate("Y", time()));
	$result = $db->unbuffered_query("SELECT userid, username, birthday FROM bb".$n."_users WHERE birthday LIKE '%-$currentdate' ORDER BY username ASC");
	while ($row = $db->fetch_array($result)) {
		$row['username'] = htmlconverter($row['username']);
		$birthyear = intval(wbb_substr($row['birthday'], 0, 4));
		$age = $currentyear - $birthyear;
		if ($age < 1 || $age > 200) $age = '';
		else $age = "&nbsp;($age)";
		if (isset($birthdaybit)) eval("\$birthdaybit .= \"".$tpl->get("index_birthdaybit")."\";");
		else eval("\$birthdaybit = \"".$tpl->get("index_birthdaybit")."\";");
	}
}

/* ############## EVENTS ############## */
unset($eventbit);
if ($showevents == 1 && $wbbuserdata['can_view_calendar'] != 0) {
	$currentdate = date("Y-m-d"); 
	$result = $db->unbuffered_query("SELECT eventid, subject, public FROM bb".$n."_events WHERE eventdate = '$currentdate' AND (public=2 OR (public=0 AND userid = '$wbbuserdata[userid]')) ORDER BY public ASC, subject ASC");
	while ($row = $db->fetch_array($result)) {
		$row['subject'] = htmlconverter($row['subject']);
		if (isset($eventbit)) eval("\$eventbit .= \"".$tpl->get("index_eventbit")."\";");
		else eval("\$eventbit = \"".$tpl->get("index_eventbit")."\";");
	}
}

if (!$wbbuserdata['userid']) {
	$lang->items['LANG_START_WELCOME_TITLE'] = $lang->get("LANG_START_WELCOME_TITLE", array('$master_board_name' => $master_board_name));
	$lang->items['LANG_START_WELCOME'] = $lang->get("LANG_START_WELCOME", array('$SID_ARG_2ND' => $SID_ARG_2ND, '$SID_ARG_1ST' => $SID_ARG_1ST));
}
else {
	$currenttime = formatdate($wbbuserdata['timeformat'], time());
	$toffset = (($wbbuserdata['timezoneoffset'] >= 0) ? ("+") : ("")).$wbbuserdata['timezoneoffset'];
	$lang->items['LANG_START_TIMEZONE'] = $lang->get("LANG_START_TIMEZONE", array('$toffset' => $toffset));
	$lastvisitdate = formatdate($wbbuserdata['dateformat'], $wbbuserdata['lastvisit'], 1);
	$lastvisittime = formatdate($wbbuserdata['timeformat'], $wbbuserdata['lastvisit']);
	if ($showpmonindex == 1 && $wbbuserdata['can_use_pms'] == 1 && $wbbuserdata['receivepm'] == 1) {
		$counttotal = $wbbuserdata['pminboxcount'];
		$countunread = $wbbuserdata['pmunreadcount'];
		$countnew = $wbbuserdata['pmnewcount'];
		if ($countnew == 1) $pms_NEWMESSAGE = $lang->items['LANG_START_PMS_MESSAGE'];
		else $pms_NEWMESSAGE = $lang->items['LANG_START_PMS_MESSAGES'];
		
		if ($counttotal == 1) $pms_TOTALMESSAGE = $lang->items['LANG_START_PMS_MESSAGE'];
		else $pms_TOTALMESSAGE = $lang->items['LANG_START_PMS_MESSAGES'];
		
		$lang->items['LANG_START_PMS'] = $lang->get("LANG_START_PMS", array('$countnew' => $countnew, '$pms_NEWMESSAGE' => $pms_NEWMESSAGE, '$countunread' => $countunread, '$counttotal' => $counttotal, '$pms_TOTALMESSAGE' => $pms_TOTALMESSAGE));
	}
}
eval("\$tpl->output(\"".$tpl->get("index")."\");"); 
?>
Biggi
Nein, das ist die index.php.

Das Template findest du im ACP unter Templates bearbeiten.
Da ihr mehrere Styles habt, achte darauf, daß du das index-Template aus eurem Standardstyle postest.
Die anderen Styles funktionieren ja noch:
http://www.ra-forum.com/index.php?styleid=4
schatzifratzi
wieso ist bitteschön der code der index.php in der index.tpl drin? ich hab mich nämlich grad selber schon gewundert, dass das eigentlich gar nicht das richtige ist...

ich habe vom völkerball style ne extra index.tpl im völkerball templatepack die auch total anders und "normaler" aussieht, hier:

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

<body>
 $header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <if($wbbuserdata['userid']==0)>
  <then>
   <tr>
    <td class="tablea" align="left"><span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
   </tr>
   <tr>
    <td class="tableb" align="left" style="text-align: justify"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
   </tr>
  </then>

  <else>
   <tr>
    <td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
     <tr class="tablea_fc">
      <td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?u=$wbbuserdata[userid]{$SID_ARG_1ST}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
      <td align="right"><span class="smallfont">{$lang->items['LANG_START_CURRENTTIME']} <span class="time">$currenttime</span>.<br />{$lang->items['LANG_START_TIMEZONE']}</span></td>
     </tr>
    </table></td>
   </tr>


  </else>
 </if>
 
</table><br />



<table>


<script type="text/javascript"><!--
google_ad_client = "pub-4587957520866788";
//728x15, Erstellt 18.11.07
google_ad_slot = "1177429475";
google_ad_width = 728;
google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


</table><br />




<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tabletitle"><span class="smallfont">&nbsp;</span></td>
  <td class="tabletitle" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BOARDS']}</b></span></td>
  <td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
  <td class="tabletitle" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
  <td class="tabletitle" align="center" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
  <if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
 </tr>
 









 $boardbit
 
 <if($showuseronline==1)>
  <then>
<if($wbbuserdata['jgs_chat_admin_admin']=="1" || $wbbuserdata['jgs_chat_user_ein']=="1")><then>
<tr>
	<td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left">
	<script type="text/javascript">
	<!--
	function BoardChat(url, width, height) {
		var Win = window.open(url,"Window$popup_erweiterung",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no,left=0,top=0' );
	}
	//-->
	</script>	
	<span class="smallfont"><a href="javascript:BoardChat('jgs_chat.php?sid=$session[hash]',800,600)"><b>{$lang->items['LANG_GLOBAL_JGSCHAT']}</b></a></span></td> 
</tr>
<tr>
	<td <if($gesamt_online_chat!="0")><then>rowspan="2"</then></if> class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" border="0" title="" /></td>
	<td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_JGSCHATZURZEIT']} $ist_sind $gesamt_online_chat $erW {$lang->items['LANG_START_JGSCHATUNTERWEGS']}</span></td>
</tr>
<if($gesamt_online_chat!="0")><then>
<tr>
	<td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont">$online_chat</span></td>
</tr>
</then></if>
</then></if>
   <tr>
    <td class="tabletitle" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="left"><span class="smallfont"><b><a href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_SHOWUSERONLINE']}</a></b></span></td> 
   </tr>
   <tr>
    <td rowspan="2" class="tableb" align="center"><img src="{$style['imagefolder']}/online.gif" alt="" title="" /></td>
    <td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_USERONLINE']}</span></td>
   </tr>
   <tr>
    <td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><if($useronline=="")><then>&nbsp;</then></if>$useronline</span></td>
   </tr>	
  
  </then>
 </if>
 
 
 <if($showpmonindex==1 && $wbbuserdata['userid']!=0 && $wbbuserdata['can_use_pms']==1 && $wbbuserdata['receivepm']==1)>
  <then>
   <tr>
    <td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_PM']}</b></span></td>
   </tr>
   <tr>
    <td align="center" class="tableb"><if($countnew>0)>
     <then><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEWPM']}" title="{$lang->items['LANG_START_NEWPM']}" /></then>
     <else><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEWPM']}" title="{$lang->items['LANG_START_NONEWPM']}" /></else>
    </if></td>
    <td align="left" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea"><span class="smallfont"><b><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_START_PMIN']}</a></b><br />{$lang->items['LANG_START_PMS']}</span></td>
   </tr>  
  
  </then>
 </if>
 
 <if(isset($birthdaybit) || isset($eventbit))>
  <then>
   <tr>
    <td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_SHOWEVENTS']}</b></span></td>
   </tr>
   
   <if(isset($birthdaybit))>
    <then>
     <tr>
      <td class="tableb" align="center"><img src="{$style['imagefolder']}/birthday.gif" alt="" title="" border="0" /></td>
      <td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_BIRTHDAY']}</b><br />$birthdaybit</span></td>
     </tr>
    </then>
   </if>
   
   <if(isset($eventbit))>
    <then>
     <tr>
      <td class="tableb" align="center"><img src="{$style['imagefolder']}/events.gif" alt="" title="" border="0" /></td>
      <td class="tablea" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_TODAYEVENT']}</b><br />$eventbit</span></td>
     </tr>
    </then>
   </if> 
  </then>
 </if>
 
 <if($showstats==1)>
  <then>
   <tr>
    <td class="tabletitle" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><span class="smallfont"><b>{$lang->items['LANG_START_STATISTIC']}</b></span></td> 
   </tr>
   <tr>
    <td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
    <td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br />
    {$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a>.<br />
    {$lang->items['LANG_START_STATISTIC_AVGAGE']} $avgage</span></td>
   </tr>
  </then>
 </if>
  
</table>

<if($wbbuserdata['userid']==0)>
 <then>
  <br /><a name="login" id="login"></a>
  <if($allowloginencryption==1)><then>
  <script type="text/javascript" src="js/sha1.js"></script>
  <script type="text/javascript" src="js/crypt.js"></script>
  </then></if>
  <form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
  <input type="hidden" name="send" value="send" />
  <input type="hidden" name="sid" value="$session[hash]" />
  <if($allowloginencryption==1)><then>
  <input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
  <input type="hidden" name="crypted" value="false" /></then></if>
  <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
   <tr>
    <td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td> 
   </tr>
   <tr>
    <td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
     <tr>
      <td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
      <td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" />&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
      <td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
      <td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" />&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
	  <if($allowloginencryption==1)><then>
      <td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
      <td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" />&nbsp;&nbsp;&nbsp;&nbsp;</span></td></then></if>
      <td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
     </tr>
    </table></td>
   </tr>
  </table></form>
  <if($allowloginencryption==1)><then>
  <script type="text/javascript">
   <!--
    activate_loginencryption(document.loginform);
   //-->
  </script></then></if>
 </then>
</if>

<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="right"><span class="smallfont"><a href="search.php?action=24h{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_THREADS']}</a> | <a href="search.php?action=polls{$SID_ARG_2ND}">{$lang->items['LANG_START_CURRENT_POLLS']}</a> | <a href="markread.php{$SID_ARG_1ST}">{$lang->items['LANG_START_MARKREAD_ALL']}</a><if($show_archive == 1)><then> | <b><a href="archive/index.html">{$lang->items['LANG_START_ARCHIVE']}</a></b></then></if></span></td>
 </tr>
</table><br />
$lastposts
<table>
 <tr align="center">
  <td><img src="{$style['imagefolder']}/on.gif" alt="{$lang->items['LANG_START_NEW_POSTS']}" title="{$lang->items['LANG_START_NEW_POSTS']}" border="0" /></td>
  <td><span class="smallfont">{$lang->items['LANG_START_NEW_POSTS']}&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
  <td><img src="{$style['imagefolder']}/off.gif" alt="{$lang->items['LANG_START_NONEW_POSTS']}" title="{$lang->items['LANG_START_NONEW_POSTS']}" border="0" /></td>
  <td><span class="smallfont">{$lang->items['LANG_START_NONEW_POSTS']}&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
  <td><img src="{$style['imagefolder']}/offclosed.gif" alt="{$lang->items['LANG_START_BOARD_CLOSED']}" title="{$lang->items['LANG_START_BOARD_CLOSED']}" border="0" /></td>
  <td><span class="smallfont">{$lang->items['LANG_START_BOARD_CLOSED']}&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
  <td><img src="{$style['imagefolder']}/link.gif" alt="{$lang->items['LANG_START_BOARD_LINK']}" title="{$lang->items['LANG_START_BOARD_LINK']}" border="0" /></td>
  <td><span class="smallfont">{$lang->items['LANG_START_BOARD_LINK']}</span></td>
 </tr>
</table>

$footer
</body>
</html>


ich kann das ganz sicher nicht gewesen sein, aber wir hatten vor ein paar monaten mal einen hackerangriff, der einiges vermurkst hat, vielleicht deswegen? aber wieso ist dann die index.tpl vom standardordner trotzdem gelaufen?

edit:

wenn ich den link zum andren style von dir anklicke dann seh ich zwar alle threads usw. usf. aber sobald ich auf profil oder memberslist klicke geht nix mehr. selbe fehlermeldung wie bei der startseite vorher...

was hatsn da bitte vermurkst? *grrrr*
Biggi
An dem Hackangriff wird es nicht gelegen haben. Das ist zu lange her.
Wenn du Templates importiert hast, hast du wahrscheinlich ausversehen die index.php im Ordner templates gehabt.
Der Ordner sollte leer sein, bevor man Templates zum Import hineinlädt.

Der Völkerballstyle geht aber, oder?
Ich finde ihn per StyleID gerade nicht, sehe in dem Template aber gerade keinen Fehler.

Wenn du von eurem Standardstyle (der graue, wenn mich nicht alles täuscht) noch die Templates auf deinem Rechner hast, die du für den Hack bearbeiten solltest, dann kannst du das Template index einfach öffnen und den Inhalt im ACP in das Template kopieren und abspeichern.

Wenn nicht würde ich eins der index-Templates aus einem der anderen Styles nehmen und in den Standardstyle kopieren. Such dir dazu einen Style aus, der möglichst ähnlich ist. Wo also das Template nicht viel abweicht.
Das müßtest du dann entsprechend anpassen. Mit HTML-Kenntnissen sollte das ja nicht das Problem sein.

Eine weitere Möglichkeit ist, das originale Template index einzuspielen und alle Hacks darin neu einzubauen.

Die letzte Möglichkeit ist, das Backup, das man vor jedem Hackeinbau machen sollte, wieder einzuspielen und mit dem Hackeinbau von vorne anzufangen.


Edit:
Was den anderen Fehler angeht:
Der steckt wohl in einem Template, das von allen Styles genutzt wird.
Dazu schaust du in der board.php welches Template in Zeile 450 aufgerufen wird.
In dem Template steckt dann ein Fehler in Zeile 30.

Edit:
Jetzt hab' ich falsch gedacht. Der zweite Fehler betrifft offenbar auch nur den Standardstyle. Die StyleID wird beim Seitenwechsel ja nicht weiter übergeben.
Hängst du sie wieder mit dran, geht auch der Rest vom Board:
http://www.ra-forum.com/board.php?boardid=2&styleid=4
schatzifratzi
Ich muss für den Gästebuch im Profil Hack nur 4 Dateien ändern
/acp/lib/class_wiw.php

/thread.php

profile.tpl
thread_postbit.tpl

hab jetzt die Originaldateien wieder hochgeladen und es is trotzdem immer noch dasselbe...

Hab grad nochmal nachgesehen, in dem templateordner ist keine index.php gewesen, hätte auch gar nicht passieren können weil ich vorher alle tpls die im templateordner noch drin waren von alten hackinstallationen rausgelöscht hab und dann erst die neuen reinkopiert hab...

es gibt für alle styles bis auf den völkerball ein templatepack, das is immer dasselbe gewesen bisher... es hat sich nix verändert...

hätte den inhalt der völkerball index.tpl schon in die standard index.tpl eingefügt, die startseite geht dann wieder aber wie gesagt, ich kann eben nicht auf die memberslist.php usw. zugreifen... das acp geht aber nach wie vor...

edit:

ja genau das wäre dann die board.tpl vom standardtemplatepack... und grad sehe ich dass in allen tpls die auch als php dateien vorhanden sind den code für php drin haben!!! HÄ? wer hat diesen riesenmist gebaut oder war das etwa die installation des hacks etwa??? wahnsinn! ich glaubs echt nicht!
Biggi
Zur Mitgliederliste kann ich dir nichts sagen, die kann ich als Gast ja nicht aufrufen.

Du kannst mir gerne mal Zugangsdaten zum ACP per PN schicken. Dann schaue ich mir das mal an.
Ich kann aber erst heute Abend wieder, da ich gleich erstmal schwimmen gehe.
schatzifratzi
Hat sich gerade von selbst erledigt durch einen kleinen aber feinen Geistesblitz von mir. großes Grinsen

Kann geclosed werden! smile