Location: PHPKode > projects > Skat Statistics > skatstat-1.7.1/skatstat/inc/smconfig.php
<?
$CONF         = array();    // Hold configuration info
$SKAT_SESSION = array();    // Hold configuration info
require_once("dbconn.php");

//  CONFIG -> Webwurzel für skatstat, z.B. http://localhost/skatstat 
// define("BASEHREF",	"http://192.168.1.5:8080");
 define("BASEHREF",	"http://192.168.1.5:8080");

//define("BASEHREF",	"http://localhost/");
//  CONFIG -> Absender EMail Adresse bei Passwortversandt, z.B. hide@address.com
define("FROMEMAIL",	"XY");

//  CONFIG -> Name der Seite
define("SITENAME",	"Skat Analyse");








/**
* Do Not Change Anything Below This Line Unless You Know What You Do!
* 
* Aendern Sie nichts unterhalb dieser Zeile, ausser sie wissen genau was sie 
* tun!
*
*
*/


$CONF['dbConn']   = "";     // Database connection resource
$CONF['WWWROOT']   = BASEHREF;     // HTTP Skat Root
$CONF['IMGROOT']   = $CONF['WWWROOT']."/img";     // HTTP Skat Root

define("TBLPRAEFIX","skatstat_");
$CONF['tbl_uac']          = TBLPRAEFIX . "Benutzerzugriff"; // Table for events
$CONF['tbl_user']         = TBLPRAEFIX . "Benutzer";  // Table for events
$CONF['tbl_grp']          = TBLPRAEFIX . "Gruppen";  // Table for events

$CONF['tbl_cattype']      = TBLPRAEFIX . "Kategorietyp";  // Table for events
$CONF['tbl_position']= TBLPRAEFIX . "Spielposition";
$CONF['tbl_cards']       = TBLPRAEFIX . "Karten";
$CONF['tbl_gamecat']     = TBLPRAEFIX . "Spielkategorie";

$CONF['tbl_cat']          = TBLPRAEFIX . "Category";  // Table for events
$CONF['tbl_player']       = TBLPRAEFIX . "Spieler";   // Table for events
$CONF['tbl_scoresheet']   = TBLPRAEFIX . "Spielliste";
$CONF['tbl_column']       = TBLPRAEFIX . "Spalte";
$CONF['tbl_game']        = TBLPRAEFIX . "Spiel";
$CONF['tbl_grand']        = TBLPRAEFIX . "GrandOuvert";
$CONF['tbl_club']         = TBLPRAEFIX . "Verein";   // Table for events


# Columnames

$CONF['tbl_number'] = "Number";
$CONF['col_table'] = "Tisch";
$CONF['col_date'] = "Datum";
$CONF['col_series'] = "Serie";
$CONF['col_catid'] = "CatId";
$CONF['col_MD5']   = "MD5";
$CONF['col_AlleinspielerId'] = "AlleinspielerId";
$CONF['col_SpiellisteId'] = "SpiellisteId";
$CONF['col_Ueberreizt'] = "Ueberreizt";
$CONF['col_Eingepasst'] = "Eingepasst";
$CONF['col_Grundwert'] = "Grundwert";
$CONF['col_Spitzen'] = "Spitzen";
$CONF['col_Hand'] = "Hand";
$CONF['col_Schneider'] = "Schneider";
$CONF['col_Schneider_angesagt'] = "Schneider_angesagt";
$CONF['col_Schwarz'] = "Schwarz";
$CONF['col_Schwarz_angesagt'] = "Schwarz_angesagt";
$CONF['col_Offen'] = "Offen";
$CONF['col_Spielwert'] = "Spielwert";
$CONF['col_SpielerId'] = "SpielerId";
$CONF['col_SpiellisteId'] = "SpiellisteId";
$CONF['col_Platznummer'] = "Platznummer";
$CONF['col_Gewonnen'] = "Gewonnen";
$CONF['col_Verloren'] = "Verloren";
$CONF['col_Spielpunkte'] = "Spielpunkte";
$CONF['col_Extrapunkte'] = "Extrapunkte";
$CONF['col_Fremdpunkte'] = "Fremdpunkte";
$CONF['col_Summe'] = "Summe";

# Ajax URL parameters
$CONF[QU] = "QU";
$CONF[HS] = "HS";
$CONF[LS] = "LS";
$CONF[EQ] = "EQ";
$CONF[EQGrand] = 8;
$CONF[EQNull] = 16;
$CONF[EQFarbe] = 32;
$CONF[HSHand] = 123;
$CONF[HSGrand] = 1423;
$CONF[HSFarbe] = 34123;
$CONF[HSNull] = 2134;
$CONF[HSSpiel] = 223134;
$CONF[LSHand] = 123;
$CONF[LSGrand] = 1423;
$CONF[LSFarbe] = 34123;
$CONF[LSNull] = 2134;
$CONF[LSSpiel] = 223134;

# Statistic parameters
/** Gives the number of ticks on the y and x axis.
 *  This value may be increased on a large monitor
*/
define("NOYSAMPLES",	"25");
define("NOXSAMPLES",	"40");

/**
 * Time after the Cookie becomes invalid, if it is not refreshed
 *
 */
define("COOKIETTL", 60 * 60);
?>
Return current item: Skat Statistics