fixes in ../includes
git-svn-id: svn://svn.cccv.de/engel-system@300 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
714123af33
commit
41dee8c9c3
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
include("./inc/funktion_db.php");
|
include("funktion_db.php");
|
||||||
|
|
||||||
$con = mysql_connect("localhost", "root", "changeme") or die ("connection failed");
|
$con = mysql_connect("localhost", "root", "changeme") or die ("connection failed");
|
||||||
$sel = mysql_select_db("tabel") or die (mysql_error());
|
$sel = mysql_select_db("tabel") or die (mysql_error());
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
function PassCrypt($passwort) {
|
function PassCrypt($passwort) {
|
||||||
include "./config.php";
|
include "config.php";
|
||||||
|
|
||||||
switch ($crypt_system) {
|
switch ($crypt_system) {
|
||||||
case "crypt":
|
case "crypt":
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once("./funktion_jabber.php");
|
require_once("funktion_jabber.php");
|
||||||
|
|
||||||
// global array for collected error_messages
|
// global array for collected error_messages
|
||||||
$error_messages = array();
|
$error_messages = array();
|
||||||
|
|
|
@ -30,7 +30,7 @@ if( $Page["ShowTabel"]=="Y" )
|
||||||
|
|
||||||
<!-- anfang des menue parts //-->
|
<!-- anfang des menue parts //-->
|
||||||
<?PHP
|
<?PHP
|
||||||
if( $_SESSION['Menu'] =="R") include("./menu.php");
|
if( $_SESSION['Menu'] =="R") include("menu.php");
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -45,8 +45,8 @@ if( $_SESSION['Menu'] =="R") include("./menu.php");
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a>
|
<h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a>
|
||||||
<?PHP
|
<?PHP
|
||||||
include( "./funktion_counter.php");
|
include( "funktion_counter.php");
|
||||||
include( "./funktion_flag.php");
|
include( "funktion_flag.php");
|
||||||
?></h5>
|
?></h5>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
function SendData($Data)
|
function SendData($Data)
|
||||||
{
|
{
|
||||||
include("./config_MessegeServer.php");
|
include("config_MessegeServer.php");
|
||||||
// Create a UDP socket
|
// Create a UDP socket
|
||||||
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
||||||
//send packed
|
//send packed
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?PHP
|
<?PHP
|
||||||
include "./config_modem.php";
|
include "config_modem.php";
|
||||||
|
|
||||||
function DialNumber( $Number )
|
function DialNumber( $Number )
|
||||||
{
|
{
|
||||||
|
|
|
@ -34,5 +34,5 @@
|
||||||
$TID2Name[ mysql_result($Erg, $i, "TID") ] = mysql_result($Erg, $i, "Name");
|
$TID2Name[ mysql_result($Erg, $i, "TID") ] = mysql_result($Erg, $i, "Name");
|
||||||
}
|
}
|
||||||
|
|
||||||
include ("./funktion_schichtplan_Tage.php");
|
include ("funktion_schichtplan_Tage.php");
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
<?PHP
|
<?PHP
|
||||||
ini_set( "session.gc_maxlifetime", "65535");
|
ini_set( "session.gc_maxlifetime", "65535");
|
||||||
|
|
||||||
include ("./config.php");
|
include ("config.php");
|
||||||
include ("./error_handler.php");
|
include ("error_handler.php");
|
||||||
include ("./config_db.php");
|
include ("config_db.php");
|
||||||
include ("./funktion_lang.php");
|
include ("funktion_lang.php");
|
||||||
include ("./funktion_faq.php"); //für noAnswer() im menu
|
include ("funktion_faq.php"); //für noAnswer() im menu
|
||||||
include ("./funktion_menu.php");
|
include ("funktion_menu.php");
|
||||||
include ("./funktion_user.php");
|
include ("funktion_user.php");
|
||||||
|
|
||||||
if( !isset($_SESSION))
|
if( !isset($_SESSION))
|
||||||
session_start();
|
session_start();
|
||||||
include ("./secure.php");
|
include ("secure.php");
|
||||||
|
|
||||||
if( !isset($_SESSION['IP']))
|
if( !isset($_SESSION['IP']))
|
||||||
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
|
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
|
||||||
|
@ -22,7 +22,7 @@ if (IsSet($_SESSION['UID']) and ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR']))
|
||||||
header("Location: $url". substr($ENGEL_ROOT,1) );
|
header("Location: $url". substr($ENGEL_ROOT,1) );
|
||||||
}
|
}
|
||||||
|
|
||||||
include ("./UserCVS.php");
|
include ("UserCVS.php");
|
||||||
|
|
||||||
|
|
||||||
//UPdate LASTlogin
|
//UPdate LASTlogin
|
||||||
|
@ -116,7 +116,7 @@ if( isset($_SESSION['CVS']["nonpublic/messages.php"]))
|
||||||
<?PHP
|
<?PHP
|
||||||
//ausgaeb Menu
|
//ausgaeb Menu
|
||||||
if( !isset($_SESSION['Menu'])) $_SESSION['Menu'] = "L";
|
if( !isset($_SESSION['Menu'])) $_SESSION['Menu'] = "L";
|
||||||
if( $_SESSION['Menu'] =="L") include("./menu.php");
|
if( $_SESSION['Menu'] =="L") include("menu.php");
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td valign="top" align="center">
|
<td valign="top" align="center">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
<form action="<?PHP
|
<form action="<?PHP
|
||||||
include ("./config.php");
|
include ("config.php");
|
||||||
echo substr($url, 0, strlen($url)-1). $ENGEL_ROOT
|
echo substr($url, 0, strlen($url)-1). $ENGEL_ROOT
|
||||||
?>nonpublic/index.php" method="post">
|
?>nonpublic/index.php" method="post">
|
||||||
<table>
|
<table>
|
||||||
|
|
|
@ -51,7 +51,7 @@ if( isset($_SESSION['UID']))
|
||||||
<table align="center" class="border" cellpadding="3" cellspacing="1">
|
<table align="center" class="border" cellpadding="3" cellspacing="1">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="160" class="menu">
|
<td width="160" class="menu">
|
||||||
<?php include("./funktion_activeUser.php"); ?>
|
<?php include("funktion_activeUser.php"); ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue