moved /inc to ../includes

git-svn-id: svn://svn.cccv.de/engel-system@281 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
ichdasich 2008-09-10 03:42:44 +00:00
parent 34aff10f38
commit b00d5b96c6
600 changed files with 5284 additions and 0 deletions

View File

@ -0,0 +1,58 @@
<?PHP
include ("./inc/config.php");
include ("./inc/error_handler.php");
include ("./inc/config_db.php");
if( !isset($_SESSION)) session_start();
include ("./inc/secure.php");
// Parameter check
if( !isset($_GET["UID"]) )
$_GET["UID"]= "-1";
$SQL= "SELECT * FROM `UserPicture` WHERE `UID`='". $_GET["UID"]. "'";
$res = mysql_query( $SQL, $con);
if( mysql_num_rows($res) == 1)
{
//genügend rechte
if( !isset($_SESSION['UID']) || $_SESSION['UID'] == -1)
{
header( "HTTP/1.0 403 Forbidden");
die( "403 Forbidden");
}
// ist das bild sichtbar?
if( (mysql_result($res, 0, "show")=="N") AND
($_SESSION['UID']!=$_GET["UID"]) AND
($_SESSION['CVS'][ "admin/UserPicture.php" ] == "N"))
{
$SQL= "SELECT * FROM `UserPicture` WHERE `UID`='-1'";
$res = mysql_query( $SQL, $con);
if( mysql_num_rows($res) != 1)
{
header( 'HTTP/1.0 404 Not Found');
die( "404 Not Found");
}
}
/// bild aus db auslesen
$bild = mysql_result($res, 0, "Bild");
// ausgabe bild
header( "Accept-Ranges: bytes");
header( "Content-Length: ". strlen($bild));
header( "Content-type: ". mysql_result($res, 0, "ContentType"));
header( "Cache-control: public");
header( "Cache-request-directive: min-fresh = 120");
header( "Cache-request-directive: max-age = 360");
echo $bild;
}
else
{
header( 'HTTP/1.0 404 Not Found');
die( "404 Not Found");
}
?>

39
includes/UserCVS.php Executable file
View File

@ -0,0 +1,39 @@
<?php
if( !isset($_SESSION['UID']))
$_SESSION['UID'] = -1;
// CVS import Data
$SQL = "SELECT * FROM `UserCVS` WHERE UID=".$_SESSION['UID'];
$Erg_CVS = mysql_query($SQL, $con);
$_SESSION['CVS'] = mysql_fetch_array($Erg_CVS);
//pagename ermitteln
$Page["Name"] = substr( $_SERVER['PHP_SELF'], strlen($ENGEL_ROOT) );
//recht für diese seite auslesen
if( isset( $_SESSION['CVS'][ $Page["Name"] ]))
$Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ];
else
{
echo "SYSTEM ERROR: now right for ". $Page["Name"]. "exist";
die;
}
if( $DEBUG )
{
// echo "UserID:". $_SESSION["UID"]. "<br>";
// echo "Nick:". $_SESSION["Nick"]. "<br>";
foreach( $_SESSION as $k => $v)
echo "$k = $v<br>\n";
if( strlen($Page["CVS"]) == 0 )
echo "<h1><u> CVS ERROR, on page '". $Page["Name"]. "'</u></h1>";
else
echo "CVS: ". $Page["Name"]. " => '". $Page["CVS"]. "'<br>";
}
?>

BIN
includes/avatar/avatar1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

BIN
includes/avatar/avatar10.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar100.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar101.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

BIN
includes/avatar/avatar102.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

BIN
includes/avatar/avatar103.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

BIN
includes/avatar/avatar104.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

BIN
includes/avatar/avatar105.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

BIN
includes/avatar/avatar106.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

BIN
includes/avatar/avatar107.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar108.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar109.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar11.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

BIN
includes/avatar/avatar110.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

BIN
includes/avatar/avatar111.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

BIN
includes/avatar/avatar112.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar113.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar114.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar115.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 B

BIN
includes/avatar/avatar116.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

BIN
includes/avatar/avatar117.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

BIN
includes/avatar/avatar118.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

BIN
includes/avatar/avatar119.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 B

BIN
includes/avatar/avatar12.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 B

BIN
includes/avatar/avatar120.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
includes/avatar/avatar121.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

BIN
includes/avatar/avatar122.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar123.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
includes/avatar/avatar124.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

BIN
includes/avatar/avatar125.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

BIN
includes/avatar/avatar126.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

BIN
includes/avatar/avatar127.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

BIN
includes/avatar/avatar128.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar129.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar13.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

BIN
includes/avatar/avatar130.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar131.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

BIN
includes/avatar/avatar132.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
includes/avatar/avatar133.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
includes/avatar/avatar134.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

BIN
includes/avatar/avatar135.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar136.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
includes/avatar/avatar137.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar138.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
includes/avatar/avatar139.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
includes/avatar/avatar14.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
includes/avatar/avatar140.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

BIN
includes/avatar/avatar141.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar142.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

BIN
includes/avatar/avatar143.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
includes/avatar/avatar144.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 B

BIN
includes/avatar/avatar145.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

BIN
includes/avatar/avatar146.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

BIN
includes/avatar/avatar147.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar148.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

BIN
includes/avatar/avatar149.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar15.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

BIN
includes/avatar/avatar150.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
includes/avatar/avatar151.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

BIN
includes/avatar/avatar152.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

BIN
includes/avatar/avatar153.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

BIN
includes/avatar/avatar154.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
includes/avatar/avatar155.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

BIN
includes/avatar/avatar156.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar157.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

BIN
includes/avatar/avatar158.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar159.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
includes/avatar/avatar16.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

BIN
includes/avatar/avatar160.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
includes/avatar/avatar161.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

BIN
includes/avatar/avatar162.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

BIN
includes/avatar/avatar163.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar164.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
includes/avatar/avatar165.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
includes/avatar/avatar166.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

BIN
includes/avatar/avatar167.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
includes/avatar/avatar168.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar169.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

BIN
includes/avatar/avatar17.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
includes/avatar/avatar170.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
includes/avatar/avatar171.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

BIN
includes/avatar/avatar172.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

BIN
includes/avatar/avatar173.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar174.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

BIN
includes/avatar/avatar175.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

BIN
includes/avatar/avatar176.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar177.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
includes/avatar/avatar178.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

BIN
includes/avatar/avatar179.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

BIN
includes/avatar/avatar18.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

BIN
includes/avatar/avatar180.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

BIN
includes/avatar/avatar181.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
includes/avatar/avatar182.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

BIN
includes/avatar/avatar183.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

BIN
includes/avatar/avatar184.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

BIN
includes/avatar/avatar185.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
includes/avatar/avatar186.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

BIN
includes/avatar/avatar187.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Some files were not shown because too many files have changed in this diff Show More