summaryrefslogtreecommitdiff
path: root/nonpublic/faq.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
commit866c47ec603595e8fe67da5f0e5d162a70b1f7b4 (patch)
treeef2b85462576150f017ba6bd53ace13dc60dc510 /nonpublic/faq.php
parentfbc8e11b91b0565ae5d23472fc4e5bfc7d879939 (diff)
move files
git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'nonpublic/faq.php')
-rwxr-xr-xnonpublic/faq.php71
1 files changed, 0 insertions, 71 deletions
diff --git a/nonpublic/faq.php b/nonpublic/faq.php
deleted file mode 100755
index 6470ba4f..00000000
--- a/nonpublic/faq.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-$title = "Himmel";
-$header = "FAQ / Fragen an die Erzengel";
-include ("./inc/header.php");
-
-
-// Erstaufruf, oder Frage bereits abgeschickt?
-if (!IsSet($_POST["eUID"]))
-{
- Print_Text(35);
-?>
-<br><br>
-<form action="./faq.php" method="POST">
- <input type="hidden" name="eUID" value="<? echo $_SESSION['UID'] ?>">
- <textarea name="frage" cols="40" rows="10"><?PHP Print_Text(36); ?></textarea><br><br>
- <input type="submit" value="<?PHP Print_Text(10); ?>">
-</form>
-<?
-
-} else {
-// Auswertung d. Formular-Daten:
-
-echo "<b>".Get_Text(37)."</b><br><br>\n".nl2br($_POST["frage"])."<br><br>\n".Get_Text(38)."<br>\n";
-
-$SQL = "INSERT into Questions VALUES (\"\", \"".$_SESSION['UID']."\", \"". $_POST["frage"]. "\", \"\", \"\")";
-$Erg = mysql_query($SQL, $con);
-
-}
-// Bisherige Anfragen:
-echo "<br>\n<b>".Get_Text(39)."</b><br>\n";
-echo "<hr width=\"99%\">\n";
-echo "<br><b>".Get_Text(40)."</b><br>\n";
-
-$SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID=\"0\" ORDER BY 'QID' DESC";
-$Erg = mysql_query($SQL, $con);
-
-// anzahl zeilen
-$Zeilen = mysql_num_rows($Erg);
-
-if ($Zeilen==0){
- Print_Text(41);
-
-} else {
- for ($n = 0 ; $n < $Zeilen ; $n++) {
- echo "<p class='question'>".nl2br(mysql_result($Erg, $n, "Question"))."<br>\n";
-// Es gibt ja noch keine Antwort:
-// echo "<p class='answer'>".nl2br(mysql_result($Erg, $n, "Answer"))."</p>\n";
- echo "\n<br>---<br>";
- }
-}
-
-echo "<hr width=\"99%\">\n";
-echo "<br><b>".Get_Text(42)."</b><br>\n";
-$SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID<>\"0\" ORDER BY 'QID' DESC";
-$Erg = mysql_query($SQL, $con);
-
-// anzahl zeilen
-$Zeilen = mysql_num_rows($Erg);
-
-if ($Zeilen==0){
- Print_Text(41);
-} else {
- for ($n = 0 ; $n < $Zeilen ; $n++) {
- echo "<p class='question'>".nl2br(mysql_result($Erg, $n, "Question"))."<br>\n";
- echo "<p class='answer'>".nl2br(mysql_result($Erg, $n, "Answer"))."\n";
- echo "\n<br>---<br>";
- }
-}
-
-include ("./inc/footer.php");
-?>