blob: c4bcd0bb5738b4c35f7475ce20b331e295c66c9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
function guest_faq() {
$html = "";
$faqs = sql_select("SELECT * FROM `FAQ`");
foreach ($faqs as $faq) {
$html .= "<dl>";
if ($_SESSION['Sprache'] == "DE") {
$html .= "<dt>" . $faq['Frage_de'] . "</dt>";
$html .= "<dd>" . $faq['Antwort_de'] . "</dd>";
} else {
$html .= "<dt>" . $faq['Frage_en'] . "</dt>";
$html .= "<dd>" . $faq['Antwort_en'] . "</dd>";
}
$html .= "</dl>";
}
return $html;
}
?>
|