bootstrapping
parent
550467697f
commit
6ebee2c46b
@ -0,0 +1,4 @@
|
|||||||
|
config_db.php
|
||||||
|
config_jabber.php
|
||||||
|
config_modem.php
|
||||||
|
config.php
|
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
// ist ein modem angeschlossen
|
|
||||||
$ModemEnable = false;
|
|
||||||
|
|
||||||
// COM port
|
|
||||||
$ModemDev = "/dev/ttyS0";
|
|
||||||
|
|
||||||
// vorwahl, bei tnovis telefonanlage fuer das programmieren von weckrufen
|
|
||||||
$WakeupNumber = "**3";
|
|
||||||
?>
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
// path and include settings
|
||||||
|
$rootpath = str_replace(DIRECTORY_SEPARATOR . 'bootstrap.php', '', __FILE__);
|
||||||
|
define('ROOTPATH', $rootpath);
|
||||||
|
|
||||||
|
$includePath = ini_get('include_path');
|
||||||
|
$includePath .= PATH_SEPARATOR . ROOTPATH . DIRECTORY_SEPARATOR . '..';
|
||||||
|
|
||||||
|
ini_set('include_path', $includePath);
|
||||||
|
?>
|
@ -1,22 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
$title = "Index";
|
require_once ('bootstrap.php');
|
||||||
$header = "FAQ";
|
|
||||||
include "../../camp2011/includes/header.php";
|
|
||||||
|
|
||||||
$SQL = "SELECT * FROM `FAQ`";
|
$title = "FAQ";
|
||||||
$Erg = mysql_query($SQL, $con);
|
$header = "FAQ";
|
||||||
|
include "includes/header.php";
|
||||||
|
|
||||||
// anzahl Zeilen
|
$SQL = "SELECT * FROM `FAQ`";
|
||||||
$Zeilen = mysql_num_rows($Erg);
|
$Erg = mysql_query($SQL, $con);
|
||||||
|
|
||||||
for ($n = 0; $n < $Zeilen; $n++) {
|
// anzahl Zeilen
|
||||||
|
$Zeilen = mysql_num_rows($Erg);
|
||||||
|
|
||||||
|
for ($n = 0; $n < $Zeilen; $n++) {
|
||||||
if (mysql_result($Erg, $n, "Antwort") != "") {
|
if (mysql_result($Erg, $n, "Antwort") != "") {
|
||||||
echo "<dl>";
|
echo "<dl>";
|
||||||
echo "<dt>" . mysql_result($Erg, $n, "Frage") . "</dt>";
|
echo "<dt>" . mysql_result($Erg, $n, "Frage") . "</dt>";
|
||||||
echo "<dd>" . mysql_result($Erg, $n, "Antwort") . "</dd>";
|
echo "<dd>" . mysql_result($Erg, $n, "Antwort") . "</dd>";
|
||||||
echo "</dl>";
|
echo "</dl>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
include "../../camp2011/includes/footer.php";
|
include "includes/footer.php";
|
||||||
?>
|
?>
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
$title = "Start";
|
require_once ('bootstrap.php');
|
||||||
$header = "Start";
|
|
||||||
include "../includes/header.php";
|
|
||||||
|
|
||||||
echo "<p>" . Get_Text("index_text1") . "</p>\n";
|
$title = "Start";
|
||||||
echo "<p>" . Get_Text("index_text2") . "</p>\n";
|
$header = "Start";
|
||||||
echo "<p>" . Get_Text("index_text3") . "</p>\n";
|
include "includes/header.php";
|
||||||
|
|
||||||
include "../includes/login_eingabefeld.php";
|
echo "<p>" . Get_Text("index_text1") . "</p>\n";
|
||||||
|
echo "<p>" . Get_Text("index_text2") . "</p>\n";
|
||||||
|
echo "<p>" . Get_Text("index_text3") . "</p>\n";
|
||||||
|
|
||||||
echo "<h6>" . Get_Text("index_text4") . "</h6>";
|
include "includes/login_eingabefeld.php";
|
||||||
|
|
||||||
include "../includes/footer.php";
|
echo "<h6>" . Get_Text("index_text4") . "</h6>";
|
||||||
|
|
||||||
|
include "includes/footer.php";
|
||||||
?>
|
?>
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
include "../../camp2011/includes/config.php";
|
|
||||||
|
|
||||||
// Die Session zerstoeren...
|
|
||||||
session_start();
|
|
||||||
session_destroy ();
|
|
||||||
// und eine neue erstellen, damit kein Erzengelmenue angezeigt wird (falls sich ein Erzengel abmeldet...)
|
|
||||||
session_start();
|
|
||||||
|
|
||||||
header("HTTP/1.1 302 Moved Temporarily");
|
// Die Session zerstoeren usw
|
||||||
header("Location: " . $url . $ENGEL_ROOT);
|
require_once ('bootstrap.php');
|
||||||
|
include "config/config.php";
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
session_destroy();
|
||||||
|
// und eine neue erstellen, damit kein Erzengelmenue angezeigt wird (falls sich ein Erzengel abmeldet...)
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
header("HTTP/1.1 302 Moved Temporarily");
|
||||||
|
header("Location: " . $url . $ENGEL_ROOT);
|
||||||
?>
|
?>
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
$title = "Himmel";
|
require_once ('../bootstrap.php');
|
||||||
$header = "News";
|
|
||||||
include "../../../camp2011/includes/header.php";
|
|
||||||
|
|
||||||
echo "<a href=\"#Neu\">" . Get_Text(3) . "</a>";
|
$title = "News";
|
||||||
include "news_output.php";
|
$header = "News";
|
||||||
|
include "includes/header.php";
|
||||||
|
|
||||||
include "../../../camp2011/includes/footer.php";
|
echo "<a href=\"#Neu\">" . Get_Text(3) . "</a>";
|
||||||
|
include "news_output.php";
|
||||||
|
|
||||||
|
include "includes/footer.php";
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue