Advanced Welcome Header

mrbasket
Hat sich doch noch nicht erledigt.

Mein Problem ist, dass der Header nur och halb so breit ist, wie auf dem Screen unten zu sehen ist.

Ich befürchte, dass es daran liegt, dass ich einen neuen Style installiert habe und das neue Template, sich nichtmehr mit dem Header verträgt.

Hier mal mein index_boardbit.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:
<tr>
 <if($depth == 1)>
  <then>
  
   <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"</then><else> colspan="2"</else></if>><table cellpadding="0" cellspacing="0">
    <tr class="tablea_fc">
     <td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" />&nbsp;&nbsp;</td>
     <td align="left"><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
      <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
    </tr>
   </table></td>
  
  </then>
  
  <else>
  
  
  <if($depth == 2)>
   <then>
  
   <td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
   <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
    <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if>
    
    <if(isset($favorites) && $favorites)>
     <then><br /><b><a href="newthread.php?boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWTHREAD']}</a> <a href="usercp.php?action=removesubscription&amp;boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
    </if>
    
    </span></td>
 
  </then>
  
  <else>
  
   <td class="tableb" align="center">&nbsp;</td>
   <td class="tablea" align="left"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><table cellpadding="0" cellspacing="0">
    <tr class="tablea_fc">
     <td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" />&nbsp;&nbsp;</td>
     <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
      <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
    </tr>
   </table></td>
  
  </else>
  </if>
  
  </else>
 </if>
 
 <if($boards['externalurl'] == '')><then>
 
 <td class="tableb" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
 <td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
 <td class="tableb" nowrap="nowrap" align="left"><if($boards['threadcount']!=0)>
  
  <then>
   <if($showlastposttitle==1)>
    <then>
    
     <table border="0" cellspacing="0" cellpadding="0">
      <tr align="left" class="tableb_fc">
       <td nowrap="nowrap">&nbsp;&nbsp;$ViewPosticon&nbsp;</td>
       <td nowrap="nowrap"><span class="smallfont"><if($boards['threadprefix']!="" && $permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><span class="prefix">$boards[threadprefix]</span><br /></then></if> <if($permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><b><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_START_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span>&nbsp;{$lang->items['LANG_START_FROM']}&nbsp;<if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
      </tr>
     </table>
    
    </then>
    <else>
    
     <table style="width:100%">
      <tr class="tableb_fc">
       <td nowrap="nowrap" align="right" style="width:100%"><span class="smallfont">$lastpostdate <span class="time">$lastposttime</span><br />{$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
       <td><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/lastpost.gif" border="0" alt="{$lang->items['LANG_START_GOTO_LASTPOST']}" title="{$lang->items['LANG_START_GOTO_LASTPOST']}" /></a></td>
      </tr>
     </table>
    
    </else>
   </if>
  </then>
  
  <else>
   <div align="center"><span class="smallfont">{$lang->items['LANG_START_NOPOSTS']}</span></div>
  </else>
  
 </if></td>
 <if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then><td class="tablea" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else>&nbsp;</else></if></span></td></then></if>
 
 </then></if>
</tr>


+

index_catbit.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:
<if($depth == 1)>
 <then>
 
 <tr>
 <td class="tablecat" align="left" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"><table cellpadding="0" cellspacing="0">
  <tr class="tablecat_fc">
   <td><span class="normalfont">&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></td>
   <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
  </tr>
 </table></td>
</tr>
 
 </then>
  <else>
  
  <if($depth == 2)>
   <then>
 
 <tr>
 <td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" border="0" /></td>
 <td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><table cellpadding="0" cellspacing="0">
  <tr class="tablecat_fc">
   <td><span class="normalfont">&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></td>
   <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
  </tr>
 </table></td>
</tr>
 
 </then>
  
  <else>
 
 <tr>
 <td class="tableb" align="center">&nbsp;</td>
 <td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left">
  <table cellpadding="0" cellspacing="0">
   <tr class="tablecat_fc">
    <td><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="" title="" /></td>
    <td><span class="normalfont">&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></td>
    <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont"><if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if></span></td>
   </tr>
  </table>
 </td>
</tr>
 
 
 </else>
  </if>
  
  </else>
 </if>



ich bitte um eure Hilfe!
Carpe
Ist es möglich in den Einstellungen auswählen zu können ob die User den Header sehen wollen oder nicht ?

Wäre mir schon sehr Wichtig fröhlich .
Yyoshii
Zitat:
Original von Carpe
Ist es möglich in den Einstellungen auswählen zu können ob die User den Header sehen wollen oder nicht ?

Wäre mir schon sehr Wichtig fröhlich .


Advanced Welcome Header V2

Augenzwinkern
golf3look
Ich bräuchte bitte den code für die index.tpl wo das avatar in der mitte ist.

Ich finde den code nicht.

Danke
Carpe
Zitat:
Original von Yyoshii
Zitat:
Original von Carpe
Ist es möglich in den Einstellungen auswählen zu können ob die User den Header sehen wollen oder nicht ?

Wäre mir schon sehr Wichtig fröhlich .


Advanced Welcome Header V2

Augenzwinkern


Ich Liebe Dich fröhlich Irre
Angeal
Nennt mich dumm, beschmeißt mich mit Tomaten und macht was immer ihr wollt, aber bitte, sagt mir wo ich die Index.tpl finden kann großes Grinsen

Ach, und sind die unten aufgelisteten "manuellen Schritte" alle noch zu machen, wenn man das Sprachpaket importiert? Oder wäre damit alles erledigt wenn mans tut? Fand ich ehrlich gesagt nicht so schlüssig in der ReadMe.

Testweise machte ich daher auch einfach mal alles bis zum Punkt "Sprachpaket importieren". Danach waren alle Grafiken und die Links darunter verschwunden, und im ACP konnte ich auch nichtmal mehr das andere Sprachpaket als Standard wiederbelegen weil da plötzlich der Texteintrag zu fehlte *g*

Gebt mir saures: Wo lag mein Fehler? großes Grinsen
golf3look
Zitat:
Original von golf3look
Ich bräuchte bitte den code für die index.tpl wo das avatar in der mitte ist.

Ich finde den code nicht.

Danke


Hat sich erledigt.
spookymulder
kann man auch vom guthabenhack die euros im Advanced Welcome Header anzeigen lassen ??? wenn ja womuß das den rein ??

würde mich auf antworten freuen
Shackles
edit
Sandra7777
Hallo,

ich bin ein absoluter Neuling und habe überhaupt keine Ahnung wie und wo ich diesen Welcome Header einbauen muss.

Kann mir da jemand einen Tipp geben???

Vielen Dank im Vorraus.

LG Sandra
Carpe
Als ich alles fein sauber eingebaut habe, kommt folgender Fehler:

Parse error: syntax error, unexpected ':' in /xxxxx/xxxx/xxxxxxx/board/index.php(362) : eval()'d code on line 123

Index.php


------------

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:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<?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'];

}

// Anfang AWH by Yyoshii http://www.fdlboard.da.ru

/* avatar */

if($wbbuserdata['userid']) {

	if($wbbuserdata['avatarid'] && $wbbuserdata['showavatars']==1)

	{

		$ainfo = $db->query_first("SELECT avatarextension FROM bb".$n."_avatars WHERE avatarid LIKE ".$wbbuserdata['avatarid']."");

		$avatarname="images/avatars/avatar-".$wbbuserdata['avatarid'].".".$ainfo['avatarextension']."";

		eval ("\$avatar = \"".$tpl->get("avatar_image")."\";");

	}

	else

	{

	    $avatar = "<img src=\"{$style['imagefolder']}/noavatar.gif\" border=\"0\">";

	}



	$toffset=(($wbbuserdata['timezoneoffset']>=0) ? ("+") : ("")).$wbbuserdata['timezoneoffset'];

	eval ("\$lang->items['LANG_START_TIMEZONE'] = \"".$lang->get("LANG_START_TIMEZONE")."\";");

	list($newthreads) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_threads WHERE starttime > '$wbbuserdata[lastvisit]'");

	list($newposts) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_posts WHERE posttime > '$wbbuserdata[lastvisit]'");

	$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"));

}

else

{

	$toffset=(($wbbuserdata['timezoneoffset']>=0) ? ("+") : ("")).$wbbuserdata['timezoneoffset'];

	eval ("\$lang->items['LANG_START_TIMEZONE'] = \"".$lang->get4eval("LANG_START_TIMEZONE")."\";");

	list($newthreads) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_threads WHERE starttime > '$wbbuserdata[lastvisit]'");

	list($newposts) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_posts WHERE posttime > '$wbbuserdata[lastvisit]'");

	$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"));

}

	//if($wbbuserdata['can_use_pms'] == 1 && $wbbuserdata['receivepm'] == 1)

	$counttotal=0; $countunread=0; $countnew=0;



    $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'];



  eval ("\$lang->items['LANG_START_HEAD_PMS2'] = \"".$lang->get("LANG_START_HEAD_PMS2")."\";");

  eval ("\$lang->items['LANG_START_HEAD_PMS'] = \"".$lang->get("LANG_START_HEAD_PMS")."\";");

  eval ("\$lang->items['LANG_START_PMS'] = \"".$lang->get("LANG_START_PMS")."\";");



  list($bs_waiting) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_users WHERE activation <> 1");

	$bs_inaktiv = $bs_waiting;

// Ende AWH by Yyoshii http://www.fdlboard.da.ru

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 = '';



/* ############## 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"));

}

/* ############## Top 5 Statistik Start ############## */

if ($top5show == 1 && ($top5showgast == 1 || $wbbuserdata['userid'])){

	function getBoards()

	{

		global $db,$n,$wbbuserdata,$boardcache;

		
		$result=$db->query("SELECT boardid FROM bb".$n."_boards WHERE password = '' AND invisible != '2'");

		$boardpermissions=getPermissions();

		$boardids='0';

		if ( $wbbuserdata['userid'] == '') {

			while($row=$db->fetch_array($result)) {

				$can_view_board = false;

				$can_enter_board = false;

				$can_read_thread = false;

				if (isset($boardpermissions[$row['boardid']]['can_view_board']) && $boardpermissions[$row['boardid']]['can_view_board'] == 1){

					$can_view_board = true;

				}

				if (isset($boardpermissions[$row['boardid']]['can_enter_board']) && $boardpermissions[$row['boardid']]['can_enter_board'] == 1){

					$can_enter_board = true;

				}

				if (isset($boardpermissions[$row['boardid']]['can_read_thread']) && $boardpermissions[$row['boardid']]['can_read_thread'] == 1){

					$can_read_thread = true;

				}

				if ($can_view_board == true && $can_enter_board == true && $can_read_thread == true) {

					$boardids.=",".$row['boardid'];

				}

			}

		} else {

			while($row=$db->fetch_array($result)) {

				$can_view_board = false;

				$can_enter_board = false;

				$can_read_thread = false;

				if (!isset($boardpermissions[$row['boardid']]['can_view_board']) || $boardpermissions[$row['boardid']]['can_view_board'] == 1){

					$can_view_board = true;

				}

				if (!isset($boardpermissions[$row['boardid']]['can_enter_board']) || $boardpermissions[$row['boardid']]['can_enter_board'] == 1){

					$can_enter_board = true;

				}

				if (!isset($boardpermissions[$row['boardid']]['can_read_thread']) || $boardpermissions[$row['boardid']]['can_read_thread'] == 1){

					$can_read_thread = true;

				}

				if ($can_view_board == true && $can_enter_board == true && $can_read_thread == true) {

					$boardids.=",".$row['boardid'];

				}

			}

		}

		return $boardids;

	}

	if ( isset($top5view) && is_numeric($top5view) ){

		$top5limit = $top5view;

	} else {

		$top5limit = 5;

	}

	// Start Top 5 Poster

	$posts5 = $db->query("SELECT userid,username,userposts FROM bb".$n."_users ORDER BY userposts DESC LIMIT ".$top5limit);

	$posts5name = '';

	$posts5post = '';

	while ($posts5top = $db->fetch_array($posts5)){

		$posts5name .= '» <a href="profile.php?userid='.$posts5top[userid].'&sid='.$session[hash].'">'.$posts5top[username].'</a><br />';

		$posts5post .= $posts5top[userposts].'<br />';

	}

	// Ende Top 5 Poster

	// Start Letzte 5 Mitglieder

	$user = $db->query("SELECT userid,userposts,username,regdate FROM bb".$n."_users WHERE activation='1' ORDER BY regdate DESC LIMIT ".$top5limit);

	$username = '';

	$userposts = '';

	while ($usertop = $db->fetch_array($user)){

		$username .= '» <a href="profile.php?userid='.$usertop[userid].'&sid='.$session[hash].'">'.$usertop[username].'</a><br />';

		$userposts .= $usertop[userposts].'<br />';

	}

	// Ende Letzte 5 Mitglieder

	// Start Letzte 5 Beiträge

	$pop = $db->query("SELECT bb".$n."_threads.topic, bb".$n."_threads.threadid, bb".$n."_threads.lastposttime, bb".$n."_threads.views, bb".$n."_users.userid, bb".$n."_threads.boardid as parentid, bb".$n."_users.username FROM bb".$n."_threads LEFT JOIN bb".$n."_users ON (bb".$n."_users.userid=bb".$n."_threads.lastposterid) LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid) WHERE bb".$n."_threads.boardid IN (".getBoards().") ORDER BY bb".$n."_threads.lastposttime DESC LIMIT ".$top5limit);

	$popthread = '';

	$lastposter = '';

	$popviews = '';

	while ($poptop = $db->fetch_array($pop)){

        	if(strlen($poptop[topic]) > '37') $poptop[topic] = "".substr($poptop[topic], 0, 34)."...";

        	$popthread .= '» <a href="thread.php?goto=lastpost&threadid='.$poptop[threadid].'&sid='.$session[hash].'">'.$poptop[topic].'</a><br />';

		$lastposter .= '<a href="profile.php?userid='.$poptop[userid].'&sid='.$session[hash].'">'.$poptop[username].'</a><br />';

		$popviews .= $poptop[views].'<br />';

	}

	// Ende Letzte 5 Beiträge

	if ( isset($top5view2) && is_numeric($top5view2) ){

		$top5limit = $top5view2;

	} else {

		$top5limit = 1;

	}

	// Start Top Themen

	$pop1title = '';

	$pop1views = '';

	$pop1 = $db->query("SELECT bb".$n."_threads.topic, bb".$n."_threads.threadid, bb".$n."_threads.views, bb".$n."_threads.boardid FROM bb".$n."_threads LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid) ORDER BY bb".$n."_threads.views DESC LIMIT ".$top5limit);

	if ($top5limit == 1){

		while ($pop1top = $db->fetch_array($pop1)){

			$pop1title = '<a href="thread.php?threadid='.$pop1top[threadid].'&boardid='.$pop1top[boardid].'&sid='.$session[hash].'">'.$pop1top[topic].'</a>';

			$pop1views = $pop1top[views];

		}

	} else {

		while ($pop1top = $db->fetch_array($pop1)){

			$pop1title .= '<a href="thread.php?threadid='.$pop1top[threadid].'&boardid='.$pop1top[boardid].'&sid='.$session[hash].'">'.$pop1top[topic].'</a><br />';

			$pop1views .= $pop1top[views].'<br />';

		}

	}

	// Ende Top Themen

	// Start Top Bewertung

	$voted = $db->query("SELECT bb".$n."_threads.topic, bb".$n."_threads.threadid, bb".$n."_threads.votepoints/bb".$n."_threads.voted AS vote, bb".$n."_threads.boardid FROM bb".$n."_threads LEFT JOIN bb".$n."_boards ON (bb".$n."_boards.boardid=bb".$n."_threads.boardid) ORDER BY vote DESC LIMIT ".$top5limit);

	$votedthread = '';

	$votedrating = '';

	if ($top5limit == 1){

		while ($votedtop = $db->fetch_array($voted)){

			$votedthread = '<a href="thread.php?threadid='.$votedtop[threadid].'&boardid='.$votedtop[boardid].'&sid='.$session[hash].'">'.$votedtop[topic].'</a>';

			$votedrating = $votedtop[vote];

		}

	} else {

		while ($votedtop = $db->fetch_array($voted)){

			$votedthread .= '<a href="thread.php?threadid='.$votedtop[threadid].'&boardid='.$votedtop[boardid].'&sid='.$session[hash].'">'.$votedtop[topic].'</a><br />';

			$votedrating .= $votedtop[vote].'<br />';

		}

	}

	// Ende Top Bewertung

	// Start des template aufrufs

	eval ("\$top5threadstats = \"".$tpl->get("index_topfive")."\";");

	// Ende templates aufruf

} else {

	$top5threadstats = '';

}

/* ############## Top 5 Statistik Ende ############## */

/* ############## USERONLINE ############## */

	if ($showuseronline == 1 || $showuseronline == 0) {

	$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_HEAD_USERONLINE'] = $lang->get("LANG_START_HEAD_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")."\");"); 

?>
</head>
<body>
<br>
</body>
</html>
TypischAndy
Hi @ All

eingebaut und funzt soweit super. Nur beim letzten teil bekomm ich lauter Probleme.

Laut Anleitung entferne .... index.tpl

Wenn ich das nun so mache lande ich bei meinem Forum ab Änderung auf einer weißen Seite. Versagt

Aber auf Dauer oben und unten Login zu haben mag ich auch nicht ^^

Kann es sein das bei mir was drin ist das ich lassen sollte?

Wbb 2.3.6

Hier mein Codeabschnitt:
Dieser sollte ja laut Anleitung gelöscht werden. Denk aber bei mir ist da mehr dazwischen als in der Anleitung ^^

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:
<if($wbbuserdata['userid']==0)>
 <then>
<table align="center" border="0" cellpadding="0" cellspacing="0" height="103" width="100%">
	<tbody><tr>
		<td colspan="2" background="{$style['imagefolder']}/table_topbar.gif" height="20">
			<img src="{$style['imagefolder']}/table_obenlinks.gif" alt="" height="20" width="102"></td>
		<td background="{$style['imagefolder']}/table_topbar.gif" width="899"></td>
		<td colspan="2" background="{$style['imagefolder']}/table_topbar.gif">
			<div align="right"><img src="{$style['imagefolder']}/table_toprechts.gif" alt="" height="20" width="102"></div></td>
	</tr>
	<tr>
		<td width="19" background="{$style['imagefolder']}/table_leftbar.gif" valign="top"><img src="{$style['imagefolder']}/table_links1.gif" width="19" height="43" alt=""></td>
		<td colspan="3" bgcolor="#474747">

  <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>


Desweiteren häng ich noch die index.tpl komplett an.

Danke für Hilfe schonmal

.:: LG ::.
eX
Girly1
Brauche auch mal Hilfe

Hab den Hack eingebebaut,

nur habe ich jetzt das Problem, das ich im Hintergrund eine Tabelle habe.

Der Hintergrund zwischen den einzelnen Kategorien ist nicht mehr durchsichtig

Siehe Bild

Ich hänge auch mal meine index.tpl an

Kann mir da vieleicht einer Helfen

LG Girly1

Kann mur den keiner helfen?
Keey
Hallo,
wie mache ich den Header auch ins Portal rein?
Sammy11
äh... nu kapier ich gar nichts mehr... geschockt

Kann mir das dingchen jemand einbauen ?
wäre lieb... vielen Dank

lg
Sammy
Gregorthom
Hallo,

habe bei mir den AWH und den Flashchat im Forum eingebaut. Nun gibt es im AWH den Satz "Zur Zeit sind xxx Mitglieder im Forum."
Könnte man so einen Satz auch für den Chat im AWH einbauen?

Hier die URL zu meinem Forum, um zu sehen was ich meine ;-)
www.muckis-und-ihre-freunde.de

Danke für die Hilfe!

Gruß
Gregor
3df
Hallo,

ich wollte mir gerade auch den Advanced Welcome Header einbauen, allerdings gibt es in meiner index.tpl folgende sachen nicht:

#-> Suche und Ersetze nachfolgendes mit dem Text in der "Header mit Grafiken.txt" oder "Header mit Grafiken.txt" Datei:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <if($wbbuserdata['userid']==0)>
  <then>
   <tr>
    <td class="tablea" align="left"><span class="normalfont"><b>{$lang->items['LANG_START_WELCOME_TITLE']}</b></span></td>
   </tr>
   <tr>
    <td class="tableb" align="left" style="text-align: justify"><span class="smallfont">{$lang->items['LANG_START_WELCOME']}</span></td>
   </tr>
  </then>

  <else>
   <tr>
    <td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
     <tr class="tablea_fc">
      <td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?sid=$session[hash]">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new&amp;sid=$session[hash]">{$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>


und diesen hier auch nicht:
#-> Suchen und entferne:

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:
<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>


das hier ist meine index.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:
<?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 cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
  <td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
  <td style="width:100%" class="obenmitte"></td>
  <td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <if($wbbuserdata['userid']==0)>
  <then>
   <tr>
    <td class="tablecat" 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_2ND}">{$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>
 $shoutbox
 $boardbit
 
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>
<br />
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="obenmitte"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <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="tablecat" 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" style="width:18px"><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" style="width:18px"><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" style="width:18px"><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" style="width:18px"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
    <td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br />
    {$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a>.</span></td>
  </then>
 </if>
</tr>
 <tr>
  <td class="tableb" colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>" align="center"><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>


<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>
<if($wbbuserdata['userid']==0)>
 <then>
  <br />

<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="obenmitte"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<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="tablecat" 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>
  <table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
  <td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
  <td style="width:100%" class="untenmitte" align="center"></td>
  <td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table> 
  <if($allowloginencryption==1)><then>
  <script type="text/javascript">
   <!--
    activate_loginencryption(document.loginform);
   //-->
  </script></then></if>
 </then>
</if>

<br />
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="obenmitte"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>

<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center" style="width:{$style['tableinwidth']}">
 <tr>
    <td class="tablecat" align="left"><span class="smallfont"><b> Legende </b></span></td> 
   </tr>
<tr>
<td class="tablea" align="center">
 <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>
 </td>
 </tr>
</table>
 
 
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>
$footer
</body>
</html>


PS: ich verwende nicht das original template.
leonie34
Die Stellen gibt es bei dir du hast wohl noch Codes für die Abschlussgrafiken drinnen.
Habe dir mal die Stellen markiert kannst dir ja mal anschauen;-)
3df
ich blick da irgentwie garnicht durch, könntest du mir das in meine index.tpl einbauen? das wäre super nett von dir.
leonie34
Dann schick mir mal deine Boarddaten über Pn und mach mir mal einen Testaccount und lade mal die Images hoch.
MAche ich dann später am abend ok? ;