<?php
/*
    CREATIVE COMMONS - Attribution-No Derivative Works 3.0 Germany:
    - You may not alter, transform, or build upon this work.
    - Dieses Werk darf nicht bearbeitet oder in anderer Weise verändert werden.
*/

  # If required change these variables ONLY BEFORE the installation:
  # Diese Variablen bei Bedarf NUR VOR der Installation ändern:
    $CharsURLs = 255;
    $CharsGigCountry = 3;
    $CharsGigDistrict = 3;
    $CharsGigPostcode = 10;
    $CharsGigCity = 40;
    $CharsGigEvent = 40;
    $CharsGigVenue = 40;
    $CharsGigVenueURL = 255;
    $CharsGigOrganizer = 40;
    $CharsGigLineup = 40;
    $CharsGigVisitors = 6;
    $CharsGigStageBuilding = 40;
    $CharsGigBeginning = 40;
    $CharsGigDuration = 40;
    $CharsGigEnding = 40;
    $CharsGigStatus = 20;
    $CharsGigArtist = 50;
    $CharsGigEntranceFee = 40;
    $CharsNewsTitle = 50;
    $CharsUserName = 20;
    $CharsSetupNewsChannelTitle = 50;
    $CharsSetupNewsChannelDescription = 255;
    $CharsSetupNewsChannelLanguage = 10;
    $CharsSetupNewsChannelCopyright = 50;
    $CharsMenuItemName = 20;
    $CharsMenuItemFile = 20;
    $MinUserPasswordChars = 4;
    $CharsVenueCountry = 3;
    $CharsVenueDistrict = 3;
    $CharsVenuePostalCode = 10;
    $CharsVenueCity = 40;
    $CharsVenueName = 40;
    $CharsArtistName = 50;
    $CharsOrganizerName = 40;

  # NEVER change these variables:
  # Diese Variablen NIEMALS ändern:
    $db = mysql_connect (DB_HOST, DB_USER, DB_PASSWORD)
          or die ('<span class="ERROR">ERROR: No connection to database! ('.mysql_error().')</span><br />');
    mysql_select_db(DB_NAME, $db);
    mysql_query('SET NAMES utf8'); // utf8, latin1
    mysql_query('SET CHARACTER SET utf8'); // utf8, latin1
    include_once(dirname(__FILE__).'/version.php');
    $allGigAttributes = "GigDate, GigArtist, GigBeginning, GigDateOfAdding, GigDateOfLastEdit, GigNotes, GigDuration, GigEnding, GigEntranceFee, GigIsPrivate, GigLineup, GigLocation, GigEvent, GigOrganizer, GigPublish, GigStageBuilding, GigStatus, GigVenue, GigVisitors";
    $allBackendCalenderFormAttributes = "GigDate, GigStatus, GigIsPrivate, GigPublish, GigVenueID, GigEvent, GigEventURL, GigEntranceFee, GigOrganizerID, GigArtistID, GigLineup, GigVisitors, GigStageBuilding, GigBeginning, GigDuration, GigEnding, GigNotes";
    $allFrontendAttributes = "GigDate, GigLocation, GigEvent, GigEntranceFee, GigVenue, GigOrganizer, GigArtist, GigLineup, GigVisitors, GigStageBuilding, GigDuration, GigEnding, GigNotes, GigStatus, GigIsPrivate, GigDateOfAdding, GigDateOfLastEdit, GigDetailsLink";
    $allFrontendDetailAttributes = "GigLocation, GigEvent, GigEntranceFee, GigVenue, GigOrganizer, GigArtist, GigLineup, GigVisitors, GigStageBuilding, GigBeginning, GigDuration, GigEnding, GigNotes, GigStatus, GigIsPrivate, GigDateOfAdding, GigDateOfLastEdit";
    $StandardUserBackendCalenderListCols = "GigDate, GigBeginning, GigArtist, GigLocation, GigEvent, GigVenue, GigLineup, GigStageBuilding, GigNotes, GigIsPrivate, GigPublish";
    $StandardFrontendAttributes = "GigDate, GigLocation, GigArtist, GigVenue, GigEvent, GigDetailsLink";
    $StandardFrontendDetailAttributes = "GigLocation, GigEvent, GigEntranceFee, GigVenue, GigArtist, GigIsPrivate";
    $ShowCMS = 1; // 0, 1
    $ContentPath = "frontend/content/"; // frontend/content/
    $PossibleImageExtensions = array ('jpg','png','gif','jpeg','JPG');
    $PossibleTextExtensions = array ('txt','php','html','htm');

?>