2011-06-02 00:48:29 +02:00
|
|
|
<?php
|
|
|
|
function guest_faq() {
|
|
|
|
$html = "";
|
|
|
|
$faqs = sql_select("SELECT * FROM `FAQ`");
|
2011-06-03 01:03:39 +02:00
|
|
|
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>";
|
2011-06-02 00:48:29 +02:00
|
|
|
}
|
2011-06-03 01:03:39 +02:00
|
|
|
$html .= "</dl>";
|
|
|
|
}
|
2011-06-02 00:48:29 +02:00
|
|
|
return $html;
|
|
|
|
}
|
|
|
|
?>
|