summaryrefslogtreecommitdiff
path: root/www-ssl/faq.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 17:28:03 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 17:28:03 +0200
commitd163b9921b3ddb71f027199c87e6cf18fbb9a624 (patch)
tree5132892ec95327cbcdd6ed93f6773bcbe0a249dc /www-ssl/faq.php
parentbf64254625123ecd36662628862442ccf7671699 (diff)
rebase, new flags
Diffstat (limited to 'www-ssl/faq.php')
-rw-r--r--www-ssl/faq.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/www-ssl/faq.php b/www-ssl/faq.php
index 472915e5..8a7b3ede 100644
--- a/www-ssl/faq.php
+++ b/www-ssl/faq.php
@@ -13,9 +13,16 @@ $Zeilen = mysql_num_rows($Erg);
for ($n = 0; $n < $Zeilen; $n++) {
if (mysql_result($Erg, $n, "Antwort") != "") {
+ list ($frage_de, $frage_en) = split('<br />', mysql_result($Erg, $n, "Frage"));
+ list ($antwort_de, $antwort_en) = split('<br />', mysql_result($Erg, $n, "Antwort"));
echo "<dl>";
- echo "<dt>" . mysql_result($Erg, $n, "Frage") . "</dt>";
- echo "<dd>" . mysql_result($Erg, $n, "Antwort") . "</dd>";
+ if ($_SESSION['Sprache'] == "DE") {
+ echo "<dt>" . $frage_de . "</dt>";
+ echo "<dd>" . $antwort_de . "</dd>";
+ } else {
+ echo "<dt>" . $frage_en . "</dt>";
+ echo "<dd>" . $antwort_en . "</dd>";
+ }
echo "</dl>";
}
}