C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\webboard\help.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php /* $Id */
/*
          ThWboard - PHP/MySQL Bulletin Board System
        ==============================================
            (c) 2000-2002 by
               Paul Baecher         <paul@thewall.de>
               Felix Gonschorek   <funner@thewall.de>

          download the latest version:
            http://www.thwboard.de

          This  program is  free  software;  you can
          redistribute it and/or modify it under the
          terms of the GNU General Public License as
          published by the Free Software Foundation;
          either  version 2 of  the License,  or (at
          your option) any later version.

        ==============================================

*/
require('./inc/header.inc.php');

if ( !
$page || !file_exists('./templates/'.$style['styletemplate'].'/faq_'.$page.'.html'))
{
    
$page "index";
}


switch (
$page)
{
    case 
'index':
        
$faqpath 'H&auml;ufig gestellte Fragen';
        break;
    case 
'format':
        
$faqpath 'Formatierung und Smilies';
        break;
    case 
'page1':
        
$faqpath 'Benutzerfunktionen';
        break;
    case 
'page2':
        
$faqpath 'Generelle Boardbenutzung';
        break;
    case 
'page3':
        
$faqpath 'Lesen und Schreiben von Nachrichten';
        break;
    default:
        
$faqpath 'index';
        break;
}


$Tframe = new Template('./templates/'.$style['styletemplate'].'/frame.html');
$Tfaq = new Template('templates/'.$style['styletemplate'].'/faq_'.$page.'.html');


/*  // !! see rank.php

if( $page == 'page1' )
{
    $Tfaq_rankrow = new Template('templates/'.$style['styletemplate'].'/faq_rankrow.html');

    $RANK_ROWS = '';
    $r_ranks = thwb_query("SELECT * FROM ".$pref."rank ORDER BY rankposts ASC;");
    while( $ranks = mysql_fetch_array($r_ranks) )
    {
        if( $ranks['rankimage'] == '' )
        {
            $bild = "$style[smallfont] kein Bild $style[smallfontend]";
        }
        else
        {
            $bild = '<img src="'.$ranks['rankimage'].'">';
        }
        eval($Tfaq_rankrow->GetTemplate('RANK_ROWS'));
    }
    if( $RANK_ROWS == '' )
    {
        $RANK_ROWS = '<tr><td colspan="3" align="center">'.$style['stdfont'].
            'es wurden vom Administrator keine Ranks eingegeben'.$style['stdfontend'].'</td></tr>';
    }
}*/


$navpath .= '<a class="bglink" href="help.php">FAQ</a> &raquo; '.$faqpath;

eval(
$Tfaq->GetTemplate("CONTENT"));
eval(
$Tframe->GetTemplate());
?>