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
main
cookie 18 years ago
parent 171e9fb170
commit 060f450713

@ -2,7 +2,6 @@
$title = "Räume"; $title = "Räume";
$header = "Verwaltung der Räume"; $header = "Verwaltung der Räume";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include("./inc/funktion_db.php"); include("./inc/funktion_db.php");
function runSQL( $SQL) function runSQL( $SQL)

@ -3,7 +3,6 @@
$title = "ChangeLog"; $title = "ChangeLog";
$header = "Datenbank-Auszug"; $header = "Datenbank-Auszug";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
$SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000"; $SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000";
$Erg = mysql_query($SQL, $con); $Erg = mysql_query($SQL, $con);

@ -2,7 +2,6 @@
$title = "UserPicture"; $title = "UserPicture";
$header = "Verwaltung der User Picture"; $header = "Verwaltung der User Picture";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");

@ -4,7 +4,6 @@ $title = "akive Engel";
$header = "Liste der aktiven Engel"; $header = "Liste der aktiven Engel";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/funktion_user.php");
echo "<form action=\"./aktiv.php\" method=\"post\">"; echo "<form action=\"./aktiv.php\" method=\"post\">";
echo Get_Text("pub_aktive_Text1")."<br>\n"; echo Get_Text("pub_aktive_Text1")."<br>\n";

@ -2,7 +2,6 @@
$title = "DB Update from XML"; $title = "DB Update from XML";
$header = "DB Update from XML"; $header = "DB Update from XML";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_xml.php"); include ("./inc/funktion_xml.php");
/////////// ///////////

@ -3,7 +3,6 @@ $title = "Himmel";
$header = "FAQ / Fragen an die Erzengel"; $header = "FAQ / Fragen an die Erzengel";
$submenus = 1; $submenus = 1;
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_db.php"); include ("./inc/funktion_db.php");
//var init //var init

@ -4,7 +4,6 @@ $title = "Erzengel";
$header = "Freie Engel"; $header = "Freie Engel";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/funktion_user.php");
echo "Hallo ".$_SESSION['Nick'].",<br>\n"; echo "Hallo ".$_SESSION['Nick'].",<br>\n";

@ -4,7 +4,6 @@ $title = "Newsverwaltung";
$header = "Verwaltung der News"; $header = "Verwaltung der News";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/funktion_user.php");
if (!IsSet($_GET["action"])) if (!IsSet($_GET["action"]))

@ -2,7 +2,6 @@
$title = "R&auml;ume"; $title = "R&auml;ume";
$header = "Verwaltung der R&auml;ume"; $header = "Verwaltung der R&auml;ume";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");
$Sql = "SELECT * FROM `Room` ORDER BY `Number`, `Name`"; $Sql = "SELECT * FROM `Room` ORDER BY `Number`, `Name`";

@ -3,7 +3,6 @@ $title = "Schichtplan";
$header = "Neue Schichten erfassen"; $header = "Neue Schichten erfassen";
$submenus = 1; $submenus = 1;
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
function executeSQL( $SQL) function executeSQL( $SQL)
{ {

@ -10,7 +10,6 @@ if (!IsSet($_POST["action"]))
include ("./inc/funktionen.php"); include ("./inc/funktionen.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");
include ("./inc/funktion_schichtplan.php"); include ("./inc/funktion_schichtplan.php");
include ("./inc/funktion_user.php");
?> ?>
Hallo <?PHP echo $_SESSION['Nick']?>,<br> Hallo <?PHP echo $_SESSION['Nick']?>,<br>

@ -3,7 +3,6 @@ $title = "Schicht Hinzuf
$header = "Neue Schichten erfassen"; $header = "Neue Schichten erfassen";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
$Time = time()+3600+3600; $Time = time()+3600+3600;

@ -4,7 +4,6 @@ $title = "T-Shirt-Ausgabe";
$header = "T-Shirt-Ausgabe f&uuml;r aktiven Engel"; $header = "T-Shirt-Ausgabe f&uuml;r aktiven Engel";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/funktion_user.php");
If (IsSet($_GET["aktiv"])) { If (IsSet($_GET["aktiv"])) {

@ -4,7 +4,6 @@ $title = "User-Liste";
$header = "Editieren der Engelliste"; $header = "Editieren der Engelliste";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/funktion_user.php");
if (!IsSet($_GET["enterUID"])) if (!IsSet($_GET["enterUID"]))
{ {

@ -5,7 +5,7 @@ $header = "Index";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_db_list.php"); include ("./inc/funktion_db_list.php");
include ("./inc/crypt.php"); include ("./inc/crypt.php");
include("./inc/funktion_db.php"); include ("./inc/funktion_db.php");
if (IsSet($_GET["action"])) if (IsSet($_GET["action"]))
{ {

@ -36,12 +36,14 @@ $Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag
for( $i=0; $i<mysql_num_rows($Erg); $i++) for( $i=0; $i<mysql_num_rows($Erg); $i++)
{ {
echo "\t\t\t<li>"; echo "\t\t\t<li>";
echo DisplayAvatar( mysql_result( $Erg, $i, "UID"));
// Schow Admin Page // Schow Admin Page
if( $_SESSION['CVS'][ "admin/user.php" ] == "Y" ) if( $_SESSION['CVS'][ "admin/user.php" ] == "Y" )
echo " <a href=\"./../admin/user.php?enterUID=". mysql_result( $Erg, $i, "UID"). "&Type=Normal\">". echo " <a href=\"./../admin/user.php?enterUID=". mysql_result( $Erg, $i, "UID"). "&Type=Normal\">".
mysql_result( $Erg, $i, "Nick"). "</a>"; mysql_result( $Erg, $i, "Nick"). "</a>";
else else
echo mysql_result( $Erg, $i, "Nick"); echo mysql_result( $Erg, $i, "Nick");
$Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag $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"), 11, 2) * 60 * 60) + // Stunde
(substr( mysql_result( $Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute (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_lang.php");
include ("./inc/funktion_faq.php"); //für noAnswer() im menu include ("./inc/funktion_faq.php"); //für noAnswer() im menu
include ("./inc/funktion_menu.php"); include ("./inc/funktion_menu.php");
include ("./inc/funktion_user.php");
if( !isset($_SESSION)) if( !isset($_SESSION))
session_start(); session_start();

@ -3,7 +3,6 @@ $title = "Himmel";
$header = "Deine pers&ouml;nlichen Einstellungen"; $header = "Deine pers&ouml;nlichen Einstellungen";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/crypt.php"); include ("./inc/crypt.php");
include ("./inc/funktion_user.php");
if (!IsSet($_POST["action"])) if (!IsSet($_POST["action"]))
{ {

@ -2,7 +2,6 @@
$title = "Himmel"; $title = "Himmel";
$header = "Engelbesprechung"; $header = "Engelbesprechung";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
?> ?>
<br> <br>

@ -2,7 +2,6 @@
$title = "Himmel"; $title = "Himmel";
$header = "FAQ / Fragen an die Erzengel"; $header = "FAQ / Fragen an die Erzengel";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
// Erstaufruf, oder Frage bereits abgeschickt? // Erstaufruf, oder Frage bereits abgeschickt?

@ -3,7 +3,6 @@ $title = "Himmel";
$header = ""; $header = "";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
If( !isset($_GET["action"]) ) If( !isset($_GET["action"]) )
$_GET["action"] = "start"; $_GET["action"] = "start";

@ -3,7 +3,6 @@ $title = "Himmel";
$header = "Mein Schichtplan"; $header = "Mein Schichtplan";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktionen.php"); include ("./inc/funktionen.php");
include ("./inc/funktion_schichtplan.php"); include ("./inc/funktion_schichtplan.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");

@ -2,8 +2,6 @@
$title = "Kommentare zu den News"; $title = "Kommentare zu den News";
$header = "Kommentar"; $header = "Kommentar";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/config_db.php");
include ("./inc/funktion_user.php");
if( IsSet( $_GET["nid"])) if( IsSet( $_GET["nid"]))

@ -1,7 +1,4 @@
<?php <?php
include ("./inc/config_db.php");
include ("./inc/funktion_user.php");
if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]) ) if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]) )
{ {

@ -9,7 +9,6 @@ if( isset($_GET["raum"]))
$raum = $_GET["raum"]; $raum = $_GET["raum"];
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktionen.php"); include ("./inc/funktionen.php");
include ("./inc/funktion_schichtplan.php"); include ("./inc/funktion_schichtplan.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");

@ -2,7 +2,6 @@
$title = "Himmel"; $title = "Himmel";
$header = "Schichtpl&auml;ne"; $header = "Schichtpl&auml;ne";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_schichtplan.php"); include ("./inc/funktion_schichtplan.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_schichtplan_aray.php");
include ("./inc/funktionen.php"); include ("./inc/funktionen.php");

@ -1,6 +1,4 @@
<?php <?php
include ("./inc/funktion_user.php");
$title = "Himmel"; $title = "Himmel";
$header = "Weckdienst - Liste der zu weckenden Engel"; $header = "Weckdienst - Liste der zu weckenden Engel";

@ -3,7 +3,6 @@ $title = "Himmel";
$header = "Weckdienst"; $header = "Weckdienst";
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php");
if( isset($_POST["eintragen"])) if( isset($_POST["eintragen"]))
if( $_POST["eintragen"] == Get_Text("pub_wake_bouton") ) if( $_POST["eintragen"] == Get_Text("pub_wake_bouton") )

Loading…
Cancel
Save