summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default-conf/var_www_includes/config.php3
-rw-r--r--includes/UserCVS.php80
-rw-r--r--includes/menu.php52
-rw-r--r--www-ssl/ShowUserPicture.php3
-rw-r--r--www-ssl/lageplan.php12
5 files changed, 3 insertions, 147 deletions
diff --git a/default-conf/var_www_includes/config.php b/default-conf/var_www_includes/config.php
index ca0c39c9..574c44ae 100644
--- a/default-conf/var_www_includes/config.php
+++ b/default-conf/var_www_includes/config.php
@@ -23,9 +23,6 @@ $LETZTES_AUSTRAGEN=3;
$crypt_system="md5";
//$crypt_system="crypt";
-// the archangels
-$arch_angels="fnord";
-
// timezonen offsett
$gmdateOffset=3600;
diff --git a/includes/UserCVS.php b/includes/UserCVS.php
deleted file mode 100644
index b7fb412c..00000000
--- a/includes/UserCVS.php
+++ /dev/null
@@ -1,80 +0,0 @@
-<?php
- if(!isset($_SESSION['UID']))
- $_SESSION['UID'] = -1;
-
- // CVS import Data
- $SQL_CVS = "SELECT * FROM `UserCVS` WHERE UID=" . $_SESSION['UID'];
- $Erg_CVS = mysql_query($SQL_CVS, $con);
- $_SESSION['CVS'] = mysql_fetch_array($Erg_CVS);
-
- // Group import Data, if nesseary
- if(isset($_SESSION['CVS']["GroupID"])) {
- $SQL_GRP = "SELECT * FROM `UserCVS` WHERE UID=" . $_SESSION['CVS'][ "GroupID" ];
- $Erg_GRP = mysql_query($SQL_GRP, $con);
- $_SESSION['CVS_Group'] = mysql_fetch_array($Erg_GRP);
-
- foreach($_SESSION['CVS'] as $k => $v) {
- if($v == "G")
- $_SESSION['CVS'][$k] = $_SESSION['CVS_Group'][$k];
- }
- }
-
- // pagename ermitteln
-// $Page["Name"] = basename($_SERVER['PHP_SELF']);
- $Page["Name"] = str_replace($ENGEL_ROOT, '', $_SERVER['PHP_SELF']);
-
- //recht fuer diese seite auslesen
- if(isset($_SESSION['CVS'][$Page["Name"]]))
- $Page["CVS"] = $_SESSION['CVS'][$Page["Name"]];
- else {
- echo "SYSTEM ERROR: no right for " . $Page["Name"] . " exists.";
- die;
- }
-
- if($debug) {
- echo "<pre>\$_SESSION:\n";
- print_r($_SESSION);
- echo "</pre>";
-
- if( strlen($Page["CVS"]) == 0 )
- echo "<h1><u> CVS ERROR, on page '". $Page["Name"]. "'</u></h1>";
- else
- echo "CVS: ". $Page["Name"]. " => '". $Page["CVS"]. "'<br />";
- }
-
- function funktion_isLinkAllowed($PageName) {
- global $_SESSION;
-
- // separate page parameter
- $ParameterPos = strpos($PageName, ".php?");
-
- if($ParameterPos === false)
- $pName = $PageName;
- else
- $pName = substr($PageName, 0, $ParameterPos + 4);
-
- // check rights
- if((isset( $_SESSION['CVS'][ $pName ]) === true) && $_SESSION['CVS'][ $pName ] == "Y")
- return true;
-
- return false;
- }
-
- function funktion_isLinkAllowed_addLink_OrLinkText( $PageName, $LinkText) {
- global $url, $ENGEL_ROOT;
-
- if(funktion_isLinkAllowed( $PageName) === true)
- return "<a href=\"" . $url. $ENGEL_ROOT . $PageName . "\">" . $LinkText . "</a>";
-
- return $LinkText;
- }
-
- function funktion_isLinkAllowed_addLink_OrEmpty( $PageName, $LinkText) {
- global $url, $ENGEL_ROOT;
-
- if(funktion_isLinkAllowed( $PageName) === true)
- return "<a href=\"" . $url . $ENGEL_ROOT . $PageName . "\">" . $LinkText . "</a>";
-
- return "";
- }
-?>
diff --git a/includes/menu.php b/includes/menu.php
deleted file mode 100644
index 6a209a0f..00000000
--- a/includes/menu.php
+++ /dev/null
@@ -1,52 +0,0 @@
-
-<!-- anfang des menue parts //-->
- <td width="160" valign="top">
-<?php
-ShowMenu("");
-ShowMenu("nonpublic");
-ShowMenu("admin");
-
-if (!isset ($submenus))
- $submenus = 0;
-
-if ($submenus >= 1) {
- $inc_name = $_SERVER['PHP_SELF'];
- $filenamepos = strrpos($inc_name, '/');
- $filenamepos += 1;
- $filename = substr($inc_name, $filenamepos);
- $filepost = substr($filename, 0, -4);
- $filepre = substr($filename, -4);
- $verzeichnis = substr($inc_name, 0, $filenamepos);
-
- for ($index_nummer = 1; $index_nummer <= $submenus; $index_nummer++) {
-?>
-<nav class="container">
- <?php include ("./".$filepost.".".$index_nummer.$filepre); ?>
-</nav>
-<?php
-
-
- }
-}
-
-if (isset ($_SESSION['UID'])) {
-?>
-<nav class="container">
- <?php include("funktion_activeUser.php"); ?>
-</nav>
-<?php
-
-
-}
-?>
-
-<nav class="container">
-<h4><?php echo Get_Text("Sprache") ?></h4>
-<?php
-
-
-include ("funktion_flag.php");
-?>
-</nav>
-
-<!-- ende des menue parts //-->
diff --git a/www-ssl/ShowUserPicture.php b/www-ssl/ShowUserPicture.php
index 96b1092a..5a222c07 100644
--- a/www-ssl/ShowUserPicture.php
+++ b/www-ssl/ShowUserPicture.php
@@ -1,4 +1,7 @@
<?php
+// Momentan keine Avatar-Funktionen
+die();
+
require_once ('bootstrap.php');
include "config/config.php";
diff --git a/www-ssl/lageplan.php b/www-ssl/lageplan.php
deleted file mode 100644
index 3d1260c1..00000000
--- a/www-ssl/lageplan.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-require_once ('bootstrap.php');
-
-$title = "Index";
-$header = "Lageplan";
-include "includes/header.php";
-
-echo "<p>" . Get_Text("lageplan_text1") . "</p>";
-echo "<p><img src=\"./pic/lageplan/lageplan.jpg\" alt=\"\" />";
-
-include "includes/footer.php";
-?>