ausgabe der picture beu active user, include function_user.php in header.php und include aus anderen files entfernt
git-svn-id: svn://svn.cccv.de/engel-system@218 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
171e9fb170
commit
060f450713
|
@ -2,7 +2,6 @@
|
|||
$title = "Räume";
|
||||
$header = "Verwaltung der Räume";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include("./inc/funktion_db.php");
|
||||
|
||||
function runSQL( $SQL)
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
$title = "ChangeLog";
|
||||
$header = "Datenbank-Auszug";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
$SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000";
|
||||
$Erg = mysql_query($SQL, $con);
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "UserPicture";
|
||||
$header = "Verwaltung der User Picture";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ $title = "akive Engel";
|
|||
$header = "Liste der aktiven Engel";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_db_list.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
echo "<form action=\"./aktiv.php\" method=\"post\">";
|
||||
echo Get_Text("pub_aktive_Text1")."<br>\n";
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "DB Update from XML";
|
||||
$header = "DB Update from XML";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktion_xml.php");
|
||||
|
||||
///////////
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Himmel";
|
|||
$header = "FAQ / Fragen an die Erzengel";
|
||||
$submenus = 1;
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktion_db.php");
|
||||
|
||||
//var init
|
||||
|
|
|
@ -4,7 +4,6 @@ $title = "Erzengel";
|
|||
$header = "Freie Engel";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_db_list.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
echo "Hallo ".$_SESSION['Nick'].",<br>\n";
|
||||
|
|
|
@ -4,7 +4,6 @@ $title = "Newsverwaltung";
|
|||
$header = "Verwaltung der News";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_db_list.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
if (!IsSet($_GET["action"]))
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "Räume";
|
||||
$header = "Verwaltung der Räume";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
|
||||
$Sql = "SELECT * FROM `Room` ORDER BY `Number`, `Name`";
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Schichtplan";
|
|||
$header = "Neue Schichten erfassen";
|
||||
$submenus = 1;
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
function executeSQL( $SQL)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,6 @@ if (!IsSet($_POST["action"]))
|
|||
include ("./inc/funktionen.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
include ("./inc/funktion_schichtplan.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
?>
|
||||
|
||||
Hallo <?PHP echo $_SESSION['Nick']?>,<br>
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Schicht Hinzuf
|
|||
$header = "Neue Schichten erfassen";
|
||||
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
$Time = time()+3600+3600;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ $title = "T-Shirt-Ausgabe";
|
|||
$header = "T-Shirt-Ausgabe für aktiven Engel";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_db_list.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
If (IsSet($_GET["aktiv"])) {
|
||||
|
|
|
@ -4,7 +4,6 @@ $title = "User-Liste";
|
|||
$header = "Editieren der Engelliste";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_db_list.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
if (!IsSet($_GET["enterUID"]))
|
||||
{
|
||||
|
|
|
@ -36,12 +36,14 @@ $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag
|
|||
for( $i=0; $i<mysql_num_rows($Erg); $i++)
|
||||
{
|
||||
echo "\t\t\t<li>";
|
||||
echo DisplayAvatar( mysql_result( $Erg, $i, "UID"));
|
||||
// Schow Admin Page
|
||||
if( $_SESSION['CVS'][ "admin/user.php" ] == "Y" )
|
||||
echo " <a href=\"./../admin/user.php?enterUID=". mysql_result( $Erg, $i, "UID"). "&Type=Normal\">".
|
||||
mysql_result( $Erg, $i, "Nick"). "</a>";
|
||||
else
|
||||
echo mysql_result( $Erg, $i, "Nick");
|
||||
|
||||
$Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag
|
||||
(substr( mysql_result( $Erg, $i, "lastLogIn"), 11, 2) * 60 * 60) + // Stunde
|
||||
(substr( mysql_result( $Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute
|
||||
|
|
|
@ -5,6 +5,7 @@ include ("./inc/config_db.php");
|
|||
include ("./inc/funktion_lang.php");
|
||||
include ("./inc/funktion_faq.php"); //für noAnswer() im menu
|
||||
include ("./inc/funktion_menu.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
if( !isset($_SESSION))
|
||||
session_start();
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Himmel";
|
|||
$header = "Deine persönlichen Einstellungen";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/crypt.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
if (!IsSet($_POST["action"]))
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "Himmel";
|
||||
$header = "Engelbesprechung";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
?>
|
||||
|
||||
<br>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "Himmel";
|
||||
$header = "FAQ / Fragen an die Erzengel";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
// Erstaufruf, oder Frage bereits abgeschickt?
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Himmel";
|
|||
$header = "";
|
||||
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
If( !isset($_GET["action"]) )
|
||||
$_GET["action"] = "start";
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Himmel";
|
|||
$header = "Mein Schichtplan";
|
||||
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktionen.php");
|
||||
include ("./inc/funktion_schichtplan.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
$title = "Kommentare zu den News";
|
||||
$header = "Kommentar";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
if( IsSet( $_GET["nid"]))
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
<?php
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]) )
|
||||
{
|
||||
|
|
|
@ -9,7 +9,6 @@ if( isset($_GET["raum"]))
|
|||
$raum = $_GET["raum"];
|
||||
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktionen.php");
|
||||
include ("./inc/funktion_schichtplan.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
$title = "Himmel";
|
||||
$header = "Schichtpläne";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
include ("./inc/funktion_schichtplan.php");
|
||||
include ("./inc/funktion_schichtplan_aray.php");
|
||||
include ("./inc/funktionen.php");
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
$title = "Himmel";
|
||||
$header = "Weckdienst - Liste der zu weckenden Engel";
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ $title = "Himmel";
|
|||
$header = "Weckdienst";
|
||||
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
if( isset($_POST["eintragen"]))
|
||||
if( $_POST["eintragen"] == Get_Text("pub_wake_bouton") )
|
||||
|
|
Loading…
Reference in New Issue