Permalink
Browse files

no message

  • Loading branch information...
JochenJung committed Dec 9, 2005
0 parents commit 1925e6102fd974d116b95edbb403595381f5a133
Showing 898 changed files with 92,078 additions and 0 deletions.
345 CHANGELOG

Large diffs are not rendered by default.

Oops, something went wrong.
79 README
@@ -0,0 +1,79 @@
Lansuite - Webbased LAN-Party Management System
-----------------------------------------------
(c) 2001-2005 by One-Network.Org
INSTALLATION
============
(1) Um Lansuite zu installieren stellen Sie zun�chst sicher dass ein Webserver (z.B. Apache),
ein MySQL-Server (Ab Version 3.2) sowie PHP (Ab Version 4.3) installiert sind.
(2) Danach kopieren Sie bitte alle Lansuite-Dateien in den "DocumentRoot" Ihres Webservers (oder einen Unterordner darin).
Bei den meisten Webservern heisst dieser Ordner "htdocs".
(3) Nun �ffnen Sie einen Browser und geben als Adresse die IP Nummer des Servers an, auf dem
Lansuite installiert wurde. Sollten dies der gleiche Rechner sein, an dem Sie den Browser ge�ffnet haben,
geben Sie bitte "http://127.0.0.1" ein.
(4) Da Lansuite noch nicht konfiguriert ist, werden Sie direkt zu einem Setup Assistenten weiter-
geleitet, der Sie durch die Konfiguration von Lansuite f�hrt.
Halten Sie dazu bitte die Daten Ihres MySQL-Servers (Server-Adresse - meist 127.0.0.1 -, Benutzername,
Passwort und Datenbank) bereit.
W�rend der Installation werden Sie des weiteren dazu aufgefordert, den Daten-Export aus LANsurfer
anzugeben, der anschlie�end importiert wird. Diesen k�nnen Sie direkt von der LANsurfer Website
(http://www.lansurfer.de) kopieren.
(5) Sowie die Installation abgeschlossen ist, kann Lansuite benutzt werden.
Jeder Gast/Orga dessen Rechner nun �ber ein Netzwerk mit dem Server verbunden ist, kann auf Lansuite
zugreifen, indem er in einem Browser die IP Nummer des Server eingibt (z.B. http://192.168.1.1).
Sollten Sie Probleme mit der Installation haben, steht Ihnen unser Support-Board unter
http://board.one-network.org zur Verf�gung.
SYSTEMVORAUSSETZUNGEN
=====================
Hardware
--------
Je nach Anzahl der User variiert die Hardwarevoraussetzung.
Hier einge empfohlene Richtlinien:
unter 100 User: 486 100 Mhz + (od. kompatibel) - 64 MB Ram
ab 100 User: Pentium 200 Mhz + (od. kompatibel) - 64 MB Ram
ab 200 User: Pentium 500 Mhz + (od. kompatibel) - 128 MB Ram
ab 500 User: Pentium 1000 Mhz + (od. kompatibel) - 256 MB Ram
ab 1000 User: Dual Pentium 800 Mhz + (od. kompatibel) - 1024 MB Ram
Diese Wert sind reine Sch�tzungen und beruhen noch nicht auf Messwerten! Es kann daher keinerlei
Verantwortung f�r diese Empfehlungen �bernommen werden.
! Ab einer Usergrenze von 500 Usern ist es dringend empfehlenswert die Datenbank (MySQL-Server)
! auf einen seperaten Server auszulagern.
Software
--------
Empfohlene Betriebssysteme: Linux, FreeBSD, OpenBSD, Solaris9+, Microsoft Windows NT 4.0+, Windows 2000,
Windows .net Server,
- PHP kompatibler Webserver. Empfohlen: Apache ab Version 1.3
- MySQL ab Version 3.2
- PHP ab Version 4.3+
- PHP Module:
- FTP
- SNMP
- GD-LIBRARY (mit Freetype2-Support)
Sonstiges
---------
Um das Lansuite Modul "Downloads" nutzen zu k�nnen muss ein FTP-Server auf einem von dem Webserver
verschiedenen Server installiert sein.
@@ -0,0 +1,2 @@
Bei einem Update von Version 2.0.2 m�ssen alle Rechte im Forum neu gesetzt werden.
Es ist nicht m�glich von der Version > 2.0.2 wieder auf 2.0.2 zu wechseln.
@@ -0,0 +1,7 @@
Lansuite2
Version: 2.0.5 RC1
MD5-Sum: xxx
The MD5-Sum consists of all files in modules/, install/, inc/, base.php and index.php.
Notice: If you change any files in these folders, you have to change the md5 sum, too.
137 base.php
@@ -0,0 +1,137 @@
<?php
/*************************************************************************
*
* Lansuite - Webbased LAN-Party Management System
* -----------------------------------------------
*
* (c) 2001-2003 by One-Network.Org
*
* Lansuite Version: 2.0
* File Version: 2.0
* Filename: base.php
* Module: Framework
* Main editor:
* Last change: 22.06.2003 17:35
* Description: This is the lansuite base file for popups.
* Each javascript windows based on this file.
* This file makes all basic functions
* available - like the index.php but without
* the index HTML-framework
* Remarks:
*
**************************************************************************/
// Error Reporting auf "Alles außer Hinweise" setzen
error_reporting(E_ALL ^ E_NOTICE);
//
// Start session-management
//
session_start();
// Laden der Variablen
if (!is_array($_POST)) $_POST = $HTTP_POST_VARS;
if (!is_array($_GET)) $_GET = $HTTP_GET_VARS;
$vars = array_merge((array)$_POST, (array)$_GET);
// Save Path
$script_filename = substr($_SERVER["REQUEST_URI"], strrpos($_SERVER["REQUEST_URI"], "/") + 1, strlen($_SERVER["REQUEST_URI"]));
$script_filename = substr($script_filename, 0, strpos($script_filename, "?"));
// Read config-file
$config = parse_ini_file("inc/base/config.php", 1);
// Read definition file
include_once("inc/base/define.php");
$lang = array();
if (!$config) {
echo HTML_FONT_ERROR. "&Ouml;ffnen oder Lesen der Konfigurations-Datei nicht m&ouml;glich. Lansuite wird beendet." .HTML_NEWLINE . "
&Uuml;berpr&uuml;fen Sie die Datei <b>config.php</b> im Verzeichnis inc/base/" .HTML_FONT_END;
exit();
}
// Wenn configured = 0: Setup aufrufen
if ($config['environment']['configured'] == 0) {
$_GET["action"] = "wizard";
$_GET["mod"] = "install";
$script_filename = "install.php";
}
// Include base classes
include_once("inc/classes/class_db_mysql.php");
include_once("inc/classes/class_func.php");
include_once("inc/classes/class_auth.php");
include_once("inc/classes/class_display.php");
include_once("inc/classes/class_gd.php");
include_once("inc/classes/class_party.php");
include_once("inc/classes/class_barcode.php");
include_once("modules/install/class_install.php");
include_once("modules/mastersearch/class_mastersearch.php" );
include_once("modules/mail/class_mail.php" );
// Initialize base classes
$func = new func; // Base Functions (anything that doesnt belong elsewere)
$gd = new gd; // GD Functions (for graphical outputs)
//$sitetool = new sitetool(""); // Sitetool (for compressing the content send to the browser)
$dsp = new display(); // Display Functions (to load the lansuite-templates)
$mail = new mail(); // Mail Functions (for sending mails to lansuite-users)
//$xml = new xml; // XML Functions (to maintain XML-Ex-/Imports)
$install = new Install(); // Install Functions (Some basic Setup-Routines)
$db = new db; // DB Functions (to work with the databse)
//$stats = new stats(); // Statistic Functions (for generating server- and usage-statistics)
$db->connect();
// Load SQL-Tables used by each page
$install->SetTableNames();
// Config-Tabelle aulesen
$cfg = $func->read_db_config();
// Set language
($cfg["sys_language"]) ? $language = $cfg["sys_language"]
: $language = "de";
// Load Barcodesystem
$barcode = new barcode_system();
//// Load Base-Lang-File
// 2) Overwrite with $language
if ($language != "de" and file_exists("inc/language/language_$language.php")) include_once("inc/language/language_$language.php");
if ($language != "de" and file_exists("modules/mastersearch/language/mastersearch_lang_$language.php")) include_once("modules/mastersearch/language/mastersearch_lang_$language.php");
$authentication = new auth(false);
$auth = $authentication->auth;
// Party schreiben
$party = new party(); // initialize Parys
if ($_GET["mod"] != "install"){
$party->write_party_infos();
}
//
// Include base-files
//
include("inc/classes/class_seat.php");
//
// Define general index vars
//
$templ['index']['info']['current_date'] = $func->unixstamp2date(time(),'daydatetime');
$templ['index']['info']['lanparty_name'] = $config['lanparty']['name'];
$templ['index']['info']['version'] = $config['lansuite']['version'];
//
// Modules
//
include("base_module.inc.php");
?>
@@ -0,0 +1,162 @@
<?php
$language = "de";
switch($_GET['mod'])
{
/*
* You are in Modul-Switch ! (switch($mod){)
*
* Add "case" only!
*
*/
// DONT CHANGE FOLLOW !
/////////////////////////////////////// Messenger ////////////////////////////////////////////
case "query":
# include_once("modules/msgsys/mod_settings/modul_tables.inc.php");
include('modules/msgsys/query.php');
break;
case "query_messages":
# include_once("modules/msgsys/mod_settings/modul_tables.inc.php");
include('modules/msgsys/query_messages.php');
break;
case "query_console":
# include_once("modules/msgsys/mod_settings/modul_tables.inc.php");
include('modules/msgsys/query_console.php');
break;
/////////////////////////////////////// Messenger ////////////////////////////////////////////
//////////////////////////////////////// Helplet /////////////////////////////////////////////
case "helplet":
include('modules/helplet/helplet.php');
break;
case "helplet_top":
include('modules/helplet/helplet_top.php');
break;
case "helplet_content":
include('modules/helplet/helplet_content.php');
break;
//////////////////////////////////////// Helplet /////////////////////////////////////////////
/////////////////////////////////////// Tournament2 ///////////////////////////////////////////
case "tdetails":
# include_once("modules/tournament2/mod_settings/modul_tables.inc.php");
include_once("modules/tournament2/language/tournament2_lang_".$language.".php");
include('modules/tournament2/team_details.php');
break;
case "tree_img":
# include_once("modules/tournament2/mod_settings/modul_tables.inc.php");
include_once("modules/tournament2/language/tournament2_lang_".$language.".php");
include('modules/tournament2/tree_img.php');
break;
case "tree_frame":
# include_once("modules/tournament2/mod_settings/modul_tables.inc.php");
include_once("modules/tournament2/language/tournament2_lang_".$language.".php");
include('modules/tournament2/tree_frame.php');
break;
/////////////////////////////////////// Tournament2 ///////////////////////////////////////////
//////////////////////////////////////// Seating /////////////////////////////////////////////
case "seating":
# include_once("modules/seating/mod_settings/modul_tables.inc.php");
include('modules/seating/popup.php');
break;
case "ipprint":
if ($_SESSION["auth"]["type"] > 1) {
# include_once("modules/seating/mod_settings/modul_tables.inc.php");
include('modules/misc/ipprint_window.php');
}
break;
//////////////////////////////////////// Seating /////////////////////////////////////////////
/////////////////////////////////////// Picgallery ///////////////////////////////////////////
case "pic_download":
# include_once("modules/picgallery/mod_settings/modul_tables.inc.php");
include('modules/picgallery/download.php');
break;
/////////////////////////////////////// Picgallery ///////////////////////////////////////////
/////////////////////////////////////// NOC ///////////////////////////////////////////
case "noc_statistics_graph":
# include_once("modules/noc/mod_settings/modul_tables.inc.php");
include('modules/noc/statistics.php');
break;
case "noc_port_picture":
# include_once("modules/noc/mod_settings/modul_tables.inc.php");
include('modules/noc/port_picture.php');
break;
/////////////////////////////////////// NOC ///////////////////////////////////////////
/////////////////////////////////////// STATS ///////////////////////////////////////////
case "stats_graph":
include_once("modules/stats/language/stats_lang_de.php");
# include_once("modules/stats/mod_settings/modul_tables.inc.php");
# include_once("modules/noc/mod_settings/modul_tables.inc.php");
include('modules/stats/statistic_graph.php');
break;
/////////////////////////////////////// STATS ///////////////////////////////////////////
/////////////////////////////////////// PAYPAL ///////////////////////////////////////////
case "paypal":
include_once("modules/paypal/language/paypal_lang_$language.php");
include('modules/paypal/paying.php');
break;
/////////////////////////////////////// PAYPAL ///////////////////////////////////////////
/////////////////////////////////////// SIGNON ///////////////////////////////////////////
case "usermap_img":
# include_once("modules/guestlist/mod_settings/modul_tables.inc.php");
include('modules/guestlist/usermap_img.php');
break;
/////////////////////////////////////// SIGNON ///////////////////////////////////////////
/////////////////////////////////////// ADMINPAGE ///////////////////////////////////////////
case "export_data":
if ($_SESSION["auth"]["type"] > 2) include('modules/install/export.php');
break;
case "modules":
if ($_SESSION["auth"]["type"] > 2) include('modules/install/modules.php');
break;
/////////////////////////////////////// ADMINPAGE ///////////////////////////////////////////
/////////////////////////////////////// USRMGR ///////////////////////////////////////////
case "myticket_barcode":
# include_once("modules/usrmgr/mod_settings/modul_tables.inc.php");
include('modules/usrmgr/myticket_barcode.php');
break;
case "myticket":
# include_once("modules/usrmgr/mod_settings/modul_tables.inc.php");
include_once("modules/usrmgr/language/usrmgr_lang_".$language.".php");
include('modules/usrmgr/myticket_popup.php');
break;
/////////////////////////////////////// USRMGR ///////////////////////////////////////////
/////////////////////////////////////// INCLUDES ///////////////////////////////////////////
case "bannerclick":
include('modules/sponsor/bannerclick.php');
break;
case "test":
include("modules/test.php");
break;
/////////////////////////////////////// INCLUDES ///////////////////////////////////////////
/////////////////////////////////////// PDF Export Modul ////////////////////////////
case "pdf":
# include("modules/pdf/mod_settings/modul_tables.inc.php");
if ($_SESSION["auth"]["type"] > 2 || ($auth['userid'] == $_GET['userid'] && $_GET['action'] == "guestcards")){
if(isset($_GET['userid'])) $_POST['user'] = $_GET['userid'];
include("modules/pdf/modindex_pdf.php");
}
break;
/////////////////////////////////////// PDF Export Modul ////////////////////////////////
}
?>
Oops, something went wrong.

0 comments on commit 1925e61

Please sign in to comment.