<?php
##############################################################################
# A MODIFIER
##############################################################################

# le nom du jeu, tel qu'il apparait dans les libell�s de mail et de titre
$GAME_NAME = "KestuFoot";

# le nom du projet. Il est utilis� pour : la base de donn�es, le repository, le r�pertoire de travail
$GAME_CODE_NAME = "KESTUFOOT_Pronostics";

# indique la version du jeu, utilis� comme r�pertoire du jeu
$GAME_VERSION_TAG = "v1.0";

# le sous-domaine de prod
$GAME_SUB_DOMAIN_PROD = "www.kestufoot.com";
$GAME_SUB_DOMAIN_PROD1 = "kestufoot.com";


# date de d�but d'op� (format AAAA-MM-JJ HH:MM:SS)
$DATE_START_GAME = "2000-04-19 12:00:00";

# date de fin d'op� (format AAAA-MM-JJ HH:MM:SS)
$DATE_END_GAME = "2050-07-12 23:59:59";

# email � qui sont envoy� les mails de service client (g�n�ralement un mail interne viralgames)
$CUSTOMER_SERVICE = "ktf@mails.qif1.com";

# email d'o� partent les mails du system (g�n�ralement mettre un noreply@...)
$FROM_FIELD = "www-data@mails.qif1.com";

# exp�diteur mail
$EXP_MAIL = $GAME_NAME;

# email � qui on peut r�pondre (g�n�ralement mettre un noreply@...)
$REPLY_TO_FIELD = "www-data@mails.qif1.com";

########### SPECIAL #################

####Codes permettant de tracker les �tapes cl�s du jeu####
#Code du tracking de l'inscription : 
$CODE_TRCK_INSCRIPTION = "Code_50";

#Code du tracking du lancement du jeu : 
$CODE_TRCK_MEMBER = "Code_51";

#Code du tracking de d�marrage du jeu : 
$CODE_TRCK_JEU = "Code_52";

#Code du tracking d'enregistrement du score (fin du jeu) : 
$CODE_TRCK_FIN_JEU = "Code_54";

#Code du tracking de l'acc�s � la page des cadeaux
$CODE_TRCK_CADEAUX = "Code_55";

#Code du tracking de l'acc�s � la page du r�glement
$CODE_TRCK_REGLEMENT = "Code_56";

#Code du tracking de l'acc�s � la page de contact
$CODE_TRCK_CONTACT = "Code_57";

#Code du tracking de l'acc�s � la page de la r�alisation
$CODE_TRCK_REALISATION = "Code_58";

#Code du tracking du lien externe vers http://kiosque.nouvelobs.com/
$CODE_TRCK_KIOSQUE = "Code_59";

#Code du tracking du lien externe vers nouvelobs.com
$CODE_TRCK_SITE = "Code_60";

##############################################################################
$GAME_SUB_DOMAIN_TEST = "tests.viralgames.fr";
$GAME_SUB_DOMAIN_SAM = "panamecity.viralgames.fr";
$GAME_MOBILE_DIR = "Mobile";
$GAME_SUB_DOMAIN_PROD_MOBILE = "m.kestufoot.com";
$GAME_MOBILE ="";

$GAME_SUB_DOMAIN_DEV_MOBILE = "mobile.localhost";
$GAME_SUB_DOMAIN_DEV = "ktf.localhost";





switch($_SERVER["SERVER_NAME"])
{
	# l'url de prod
	case $GAME_SUB_DOMAIN_PROD:
	case $GAME_SUB_DOMAIN_PROD1:
		include("/var/www/htdocs/VIRALGAMES_Adm/Apache/enprod.php");
		$ROOT_DIR = "/var/www/htdocs/";
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/";					
		# URL du répertoire d'image ( ne pas oublier le / )
		/*if(isset($SERVER_URL_STATIC))
			$IMAGES_DIR = $SERVER_URL_STATIC.$GAME_DIR."Images/";
		else*/
			$IMAGES_DIR = $SERVER_URL."Images/";

        $versionmobile = false;
        $GAME_MOBILE = "http://".$GAME_SUB_DOMAIN_PROD_MOBILE;
		$BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Bib/" ;
	break;

    case $GAME_SUB_DOMAIN_PROD_MOBILE:
		include("/var/www/htdocs/VIRALGAMES_Adm/Apache/enprod.php");
		$ROOT_DIR = "/var/www/htdocs/";
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/";
		# URL du répertoire d'image ( ne pas oublier le / )
		/*if(isset($SERVER_URL_STATIC))
			$IMAGES_DIR = $SERVER_URL_STATIC.$GAME_DIR."Images/";
		else*/
			$IMAGES_DIR = $SERVER_URL."Images/";

        $versionmobile = true;
        $GAME_MOBILE = "http://".$GAME_SUB_DOMAIN_PROD_MOBILE;
		$BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Bib/" ;

	break;
		
	# l'url de test
	case $GAME_SUB_DOMAIN_TEST :
		include("/var/www/Adm/Apache/entest.php");
		$ROOT_DIR = "/var/www/htdocs/";
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/".$GAME_CODE_NAME."/";
		$IMAGES_DIR = $SERVER_URL."Images/";
		
		if ($versionmobile == NULL || $versionmobile == ''){
            if (!strstr($_SERVER["REQUEST_URI"], $GAME_MOBILE_DIR))
                $versionmobile = false;
            else
                $versionmobile = true;
        }

        $GAME_MOBILE = $SERVER_URL.$GAME_MOBILE_DIR;
		$BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Bib/" ;
	break;
	case $GAME_SUB_DOMAIN_SAM :	
		$DATABASE["host"] = "localhost";
		$DATABASE["login"] = "root";
		$DATABASE["password"] = "ytreza";
		$ROOT_DIR = "/var/www/htdocs/";
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/".$GAME_CODE_NAME."/";
		$IMAGES_DIR = $SERVER_URL."Images/";
		
		if ($versionmobile == NULL || $versionmobile == ''){
            if (!strstr($_SERVER["REQUEST_URI"], $GAME_MOBILE_DIR))
                $versionmobile = false;
            else
                $versionmobile = true;
        }

        $GAME_MOBILE = $SERVER_URL.$GAME_MOBILE_DIR;
		$BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Bib/" ;
	break;
	# l'url de dev
	case "localhost" :
		$DATABASE["host"] = "localhost";
		$DATABASE["login"] = "root";
		$DATABASE["password"] = "";
		$ROOT_DIR = "/wamp/www/";		
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/Dev/trunk/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/".$GAME_CODE_NAME."/Dev/trunk/";
		$IMAGES_DIR = $SERVER_URL."Images/";
        
		if ($versionmobile == NULL || $versionmobile == ''){
            if (!strstr($_SERVER["REQUEST_URI"], $GAME_MOBILE_DIR))
                $versionmobile = false;
            else
                $versionmobile = true;
        }

        $GAME_MOBILE = $SERVER_URL.$GAME_MOBILE_DIR;
        $BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Dev/trunk/Bib/" ;
	break;
    
    case $GAME_SUB_DOMAIN_DEV :
		$DATABASE["host"] = "localhost";
		$DATABASE["login"] = "root";
		$DATABASE["password"] = "";
		$ROOT_DIR = "/wamp/www/";		
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/Dev/trunk/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/";
		$IMAGES_DIR = $SERVER_URL."Images/";
        
		if ($versionmobile == NULL || $versionmobile == ''){
            if (!strstr($_SERVER["REQUEST_URI"], $GAME_MOBILE_DIR))
                $versionmobile = false;
            else
                $versionmobile = true;
        }

        $GAME_MOBILE = $SERVER_URL.$GAME_MOBILE_DIR;
        $BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Dev/trunk/Bib/" ;
	break;
    
    case $GAME_SUB_DOMAIN_DEV_MOBILE :
		$DATABASE["host"] = "localhost";
		$DATABASE["login"] = "root";
		$DATABASE["password"] = "";
		$ROOT_DIR = "/wamp/www/";		
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/Dev/trunk/";
		$SERVER_URL = "http://".$_SERVER["SERVER_NAME"]."/";
		$IMAGES_DIR = $SERVER_URL."Images/";
        
        $versionmobile = true;

        $GAME_MOBILE = $SERVER_URL.$GAME_MOBILE_DIR;
        $BIB_GLOBAL = $ROOT_DIR."VIRALGAMES_Adm/Dev/trunk/Bib/" ;
	break;


	
	default:
		/*include("/var/www/htdocs/VIRALGAMES_Adm/Apache/enprod.php");
		$ROOT_DIR = "/var/www/htdocs/";
		$GAME_DIR = $ROOT_DIR.$GAME_CODE_NAME."/";
		$SERVER_URL = "http://ns307642.ovh.net/KESTUFOOT_Pronostics/";
		//"http://".$_SERVER["SERVER_NAME"]."/";					
		# URL du r�pertoire d'image ( ne pas oublier le / )
		$IMAGES_DIR = $SERVER_URL."Images/";*/
		exit();
	break;
	
}
$DATABASE_PHORUM = 'KESTUFOOT_Phorum';
# fin de config de la bdd
$DATABASE["main_name"] = $DATABASE["session_name"] = $GAME_CODE_NAME;

$ORIGINE = 1;

# repertoire o� sont stock�s les fichiers g�n�r�s
# par exemple : gazette, calendrier, pop_up info etc...
# ( ne pas oublier le / )
$ARCHIVES_DIR = $GAME_DIR."Adm/exploitation/";
$MAILING_TEMPLATES_DIR = $GAME_DIR."Mailing/";

# repertoire des fichier partag�s (bibliotheques)
$BIB = $GAME_DIR."Bib/";

###############################
if(!$BIB_VIRAL_MAIL){
	# constantes pour viralMail
	# o� se trouve la biblioth�que viral mail
	$BIB_VIRAL_MAIL=$ROOT_DIR."/MailSystem/bib_mail.php3";

	# o� se trouve le r�pertoire de spool pour le mail
	$VIRAL_MAIL_SPOOL=$ROOT_DIR."/exploitation/MailSystem/mail_spool1/";
}
###############################


# Expiration time for sessions (in seconds)
$SESSION_EXPIRATION_TIME = 3600; 
$SESSION_EXPIRATION_TIME_PERCENT_LIMIT = 75;
$SESSION_WITH_COOKIE = true;


#d�calage horaire
$JETLAG = 0;

# constantes pour la mise � jour des scores
$BET_NOT_SENT = 2;
$BET_SENT = 1;

# temps de pari par d�fault
$TEMPS_PARI = 60;

# URL where the game is installed
# This is the URL users have to go to in order to access
# the game
# Using a relative URL allows to be client-independent
# since the browser will automatically add the path to it
# Indeed, this URL is the starting point of every link that appears 
# on the pages.
$DYNAPI2_LOCATION = "dynAPI2/Core/js/dynapi.js";
$DYNAPI2_LIBPATH = "dynAPI2/Core/js/lib2.0/";


########################
# constante pour diff�rencier lycos & ktf
########################
$ORIGINE_KTF = 'LOC';

$ORIGIN = $ORIGINE = $ORIGINE_KTF;
$GAME_NAME = "KestuFoot";
# URL of registration page secured
$REGISTRATION_PAGE = $SERVER_URL . "inscrivez-vous.php";	
$CHECK_LOGIN_PAGE = $SERVER_URL . "login_box.core.php3";

########################
# constante pour le cookie
$COOKIE_NAME="cokt312";
########################
$COOKIE_LANG="coktlg";

########################
# constante pour l'affiliation des pages
$AFFILIATION_SERVER_PAGE = $SERVER_URL."affiliation_server.php3";
########################

$AFFICHE_PARIS_PAGE = $GAME_DIR."affiche_paris.php";
$AFFICHE_PARIS_CHOOSE_BET_PAGE = $GAME_DIR."affiche_paris_choose_bet.php3";

$AFFICHE_PARIS_BETS_PAGE = $GAME_DIR."affiche_paris_resultats.php3";
$AFFICHE_PARIS_MYBETS_PAGE = $GAME_DIR."affiche_paris_mybets.php3";

$CARNETADRESSE_PAGE = $SERVER_URL."carnet-adresse.php";

$FORM_HEADER = "form_header.inc";
$FORM_FOOTER = "form_footer.inc";

# temps max pour le d�roulement d'un script d'admin
$TIME_LIMIT = 40000;

# the winners (bis)
$ALL_WINNERS_PAGE = $SERVER_URL . "gagnants.php";

# the postit
$POSTIT_PAGE = $SERVER_URL . "postit.php3";

# the postit
$POSTIT_UPDATE = $SERVER_URL . "postit_update.php3";

# the postit delete
$POSTIT_DELETE_ONE = $SERVER_URL . "postit_delete_one.php3";

# URL of cartons jaunes
$CARTONS_JAUNES_PAGE = $SERVER_URL . "mes-cartons.php";

# URL of black liste
$BLACK_LIST_PAGE = $SERVER_URL . "blacklist.php";

# URL of login page
$LOGIN_PAGE = $SERVER_URL . "accueil.php";

# URL of member home page
$MEMBER_PAGE = $SERVER_URL . "accueil-membre.php";

# URL of invitation page
$INVITATION_PAGE = $SERVER_URL . "invitation.php";

# URL of forgotten password
$FORGOTTEN_PAGE = $SERVER_URL . "mot-de-passe-oublie.php";

# URL of Team selection for rss
$CHOOSE_FAVTEAM_PAGE = $SERVER_URL . "equipes-foot.php";
$CHOOSE_MORETEAM_PAGE = $SERVER_URL . "autre-equipes-foot.php";

# URL of high scores page
$HIGH_PAGE = $SERVER_URL . "mes-classements.php";

# URL of guide section
$GUIDE_PAGE = $SERVER_URL . "regles-du-jeu.php";
$SHOP_PAGE = $SERVER_URL ."acheter-le-cadeau.php";

# URL of the chat page
$CHAT_PAGE = $SERVER_URL . "chat.php";

$CHAT_FORBIDDEN_PAGE = $SERVER_URL . "chat-interdit.php";

# URL of gifts page
$GIFTS_PAGE = $SERVER_URL . "boutique-cadeaux.php";

# URL of page partenaires
$PARTENAIRES_PAGE = $SERVER_URL . "partenaires.php";

#URL of ending registration
$CLOSING_REGISTRATION_PAGE = $SERVER_URL . "fin-inscription.php";

#URL of coreg registration
$COREG_REGISTRATION_PAGE = $SERVER_URL . "inscrivez-vous-2.php";

#URL of modify email
$INSCRIPTION_RELANCE = $SERVER_URL . "modifier-email.php";

# URL of rules
$RULES_PAGE = $SERVER_URL . "reglement.php";

# URL of closing connection
$DECONNECTION_PAGE = $SERVER_URL . "deconnexion.php";

# URL of tree page
$TREE_PAGE = $SERVER_URL . "fiche-joueur.php";

# URL of choosing a bet page
$CHOOSE_BET_PAGE = $SERVER_URL . "mes-pronostics.php";


# URL of the bet page
$BET_PAGE = $SERVER_URL . "pronostiquer.php";

# URL of all bets page
$MY_BETS_PAGE = $SERVER_URL . "mes-resultats.php";

# URL of the news
$NEWS_PAGE = $SERVER_URL . "actualites.php";

# URL of the news archive
$ALL_NEWS_PAGE = $SERVER_URL . "archives_news.php3";

# URL of the adding friends page
$ADD_FRIENDS_PAGE = $SERVER_URL . "mes-amis.php";

# URL of the unregister page
$UNREGISTER_PAGE = $SERVER_URL . "unregister.php3";

# URL of the replay page
$REPLAY_PAGE = $SERVER_URL . "remise-a-100-pts.php";

$KFGRATUITS_PAGE = $SERVER_URL. "kf-gratuits.php";

# chemin du fichier de stats
$FICH_STATS = $ARCHIVES_DIR."stats.inc";

$STATS_PAGE = $SERVER_URL . "actu_stats.php3";
$STATS_PAGE_MODULE = $SERVER_URL . "actu_stats_module.php";

# page des anciens high-scores
$OLD_SCORES = $SERVER_URL."oldScores.php3";

# page to register the address
$REGISTER_ADDRESS = $SERVER_URL . "register_address.php3";

# URL of the popup comments page
$CONFIRM_BET_POPUP = $SERVER_URL . "confirm_bet_popup.php3";

# URL of the forum page
$FORUM_PAGE = $SERVER_URL . "forums/index.php";

# URL of the user options page
$USER_OPTIONS_PAGE = $REGISTRATION_PAGE;

# URL Faire le plein de joker
$JOKER_ACHAT_POPUP = $SERVER_URL . "joker_achat_popup.php3";

$AJOUT_TOURNOI_PAGE = $SERVER_URL . "ajout_tournoi.php3";
$TOURNOI_SELECTION_MATCHS_PAGE = $SERVER_URL . "tournoi_selection_matchs.php3";
$TOURNOI_PAGE = $SERVER_URL . "tournoi.php3";

$AFFICHE_NIVEAUX_PAGE = $SERVER_URL . "affiche_niveau.php3";

$CONTACT_PAGE = $SERVER_URL . "contact.php";



//URL DES INSTANTS GAGNANTS KTF avec le "/"
$KTF_IG_PAGE = "http://www.instantscadeaux.kestufoot.com/";
########################################################"

# Email of the news
$NEWS_EMAIL = "gazette@viralgames.com";

# rank of the invisible fruit
$INVISIBLE_FRUIT = "Fruit-Transp.gif";

# Maximum number of children to display in the tree
$MAX_CHILDREN_IN_TREE = 10;

# Maximum number of high scores to display
$MAX_SCORES = 10;

# Maximum number of members (0=infinity)
$MAX_NBMEMBERS=0;

# Nombre de pts pr un filleul
$NB_PTS_PAR_FILLEUL = 0;

# Nombre de pts pr un petit filleul
$NB_PTS_PAR_P_FILLEUL = 0;

# Nombre de pts pr un arriere petit filleul
$NB_PTS_PAR_AP_FILLEUL = 0;

# Nombre de pts en plus pr un filleul avec meme fruit
$NB_PTS_PAR_FILLEUL_FRUIT_PERE = 0;

# Nombre de pts pr en plus un petit filleul avec meme fruit
$NB_PTS_PAR_P_FILLEUL_FRUIT_PERE = 0;

# Nombre de pts pr en plus un arriere petit filleul avec meme fruit
$NB_PTS_PAR_AP_FILLEUL_FRUIT_PERE = 0;

# Nombre de pts accordes lors de l'inscription
$NB_PTS_INSCRIPTION = 100;

# Nombre de pts accordes si le joueur choisit le meme fruit que son pere
$NB_PTS_FRUIT_PERE = 0;

# points donn�s si on est parrain�
$INVITED_PTS = 0;

#nbr d'options par Player
$NB_PLAYER_OPTIONS=60;

# pourcentage limite du nb de points que l'on peut miser sur un match
$BET_LIMIT = 20;

$KF_PERFECT = 100;
$KF_CORRECT = 20;

$CONTAINER_ALL = 9;
$CONTAINER_ALL_SMALL = 0;

# tableua des differents etats du champ etat (table Matchs)
$TYPE_ETAT['COUR'] = -1; //etat lorsque le prono est en cours de saisie ou d annulation en cours
$TYPE_ETAT['DONE'] = 1; //etat du prono a la fin de la saisie ou de l annulation
$TYPE_ETAT['NULL'] = 0; // le resultat du prono n a pas ete saisi
$TYPE_ETAT['WAIT'] = 2; //le resultat du prono a ete saisi mais il n y a pas eu de mises a jour des scores

# tableau des differents types de resultat (correct, perfect et echec)
$TYPE_RESULT['CORRECT'] = 2;
$TYPE_RESULT['PERFECT'] = 3;
$TYPE_RESULT['ECHEC'] = 1;

# tableau renseignant EA sur quelle la table il doit traiter
# utilise dans les fichiers d'admin (add_categories)
$TRAITEMENT['Category'] = 1;
$TRAITEMENT['Match'] = 2;



$def="rien";
// le langage n'est pas choisi par le joueur
$CookVal=$HTTP_COOKIE_VARS["coktlg"]; // oui : on r�cup�re cette langue
$CookVal2=$coktlg; // oui : on r�cup�re cette langue
if (!isset($lang))
{
// alors on regarde s'il y a un cookie de langue
if ($CookVal!="")
{
	$lang=$HTTP_COOKIE_VARS["coktlg"]; // oui : on r�cup�re cette langue
	$def="pas de lang & cookie=".$lang.".";
	}
else
{
	$lang="fr"; // non : on prend le fran�ais par d�faut
	$def = "pas de langue pas de cookie : def=fr";
}
}
else
{
	// la langue est choisie par le joueur : on met � jour le cookie
	$def="set cookie = ".$lang;
//	setcookie($COOKIE_LANG, $lang);
	setcookie("coktlg", $lang, time()+1209600);
}


if ($lang=="")
	$lang="fr";

# ici on met en dur la langue parce que ce n'est plus utilis�
#include($GAME_DIR.$lang."/lang.php3");
include($GAME_DIR."fr/lang.php3");

# cr�ation d'�quipe
$EQUIPE_CREER_PAGE = $SERVER_URL . "creer_equipe.php3";

# gestion des �quipes
$ALL_EQUIPES_PAGE = $SERVER_URL . "all_equipes.php3";

# URL of betting for all /not used
$EQUIPE_PAGE = $SERVER_URL . "equipe.php3";

$COOKIE_FROMNEWS = "FromNews";

$COOKIE_SONDAGE = "ktf_sondage";

$NB_MAX_IN_EQUIPE = 11;

$COOKIE_LOGIN = "ktf_login";
$COOKIE_PWD = "ktf_pwd";

$BG_COLOR_FOND_1 = "#005F3F"; 	//vert marais
$BG_COLOR_FOND_2 = "#FFFFFF";	//blanc
$BG_COLOR_FOND_3 = "#CCDFD9";	//vert marais p�le
$BG_COLOR_FOND_4 = "#66CC00";	//vert Paris
$BG_COLOR_FOND_5 = "#FFF5CC";	// jaune resultats pale
$BG_COLOR_FOND_6 = "#FFCC00";	// jaune r�sultats
$BG_COLOR_FOND_7 = "#E0F5CC";	// vert paris pale
$BG_COLOR_FOND_8 = "#CCCCCC";
$BG_COLOR_FOND_9 = "#F5F9F7";	//vert marais tr�s p�le
$BG_COLOR_FOND_10 = "#FF9900";	//orange
$BG_COLOR_FOND_11 = "#0099FF";	//bleu
$BG_COLOR_FOND_12 = "#EFEFEF";	//gris tr�s pale
$BG_COLOR_FOND_13 = "#F5CCCC";	//rouge starklub pale
$BG_COLOR_FOND_14 = "#FCF2F2";	//rouge starklub tres pale
$BG_COLOR_FOND_15 = "#CC0000";	//rouge starklub
$BG_COLOR_FOND_16 = "#A28951";  //vert marron
$BG_COLOR_FOND_17 = "#000000";  //noir
$BG_COLOR_FOND_NOEL= "#C20201"; //Rouge Noel

$VG_DEBUG=0;

# Active le robot anti-bot sur la registration
$REGISTRATION_ROBOT = true;
$REGISTRATION_CONFIRMATION_KEY = "fsnfshnqser";

# Active la validation de compte par email
$REGISTRATION_CONFIRM = true;
$REGISTRATION_CONFIRM_PAGE = $SERVER_URL . "confirmation.php3";

# Cl� d'encryptage des mots de passe
$PASSWORD_SECRET_KEY = "verhthbhdbtssdrsscv";

#CONSTANTE POUR LES CARTONS
$TYPE_CARTON["Jaune"] = "#F4DC00";
$TYPE_CARTON["Rouge"] = "#FF0000";
$TYPE_CARTON["Rose"] = "#FBAEF5";

$TYPE_CARTON["Non_lu"] = 0;
$TYPE_CARTON["Lu"] = 1;

# Lien externe vers un site payant.
$BET_IN_EURO_LINK = "http://www.betclic.com/register_b.aspx?p=KET";

# date de debut et fin de saison utilisee poyr la maj des classements de clubs
$DATE_DEBUT = "2013-07-22 09:00:00";
$DATE_FIN = "2014-07-01 12:01:00";

# patch florian
$RACINE_FROM_CORE = '../';
$MOBILE_DIR = "Mobile/";
$BIB_DIR_FROM_RACINE = 'Bib/';
$CORE = 'Core/';
$VIEW = 'View/';
$DISPLAY_BETS_CATEGORIES = $CORE.'MyBetsCategories.core.php';
$POPUP_BETS_VALIDATION = $CORE.'MyBetsValidationPopup.core.php';
$DISPLAY_GRID_OF_BETS = $SERVER_URL.'pronosticsGrille.php';

# PAGE DISPLAY IN GRID
$BETS_GRID_CORE_PAGE = $CORE.'MyBetsGrid.core.php';
$BETS_GRID_CORE = $SERVER_URL.$BETS_GRID_CORE_PAGE;

#PAGE DISPLAY FOR HOME
$BETS_FOR_HOME = $CORE."MyBetsList.core.php";

$NB_GAME_ON_HOME = 12;

$FLAG_UNKNOWN = "flags/unknown.jpg";

$BANNIERES_DIR = $IMAGES_DIR."Bannieres/";

// Colors of bets results
$PERFECT_BET = "#ff9900";;
$CORRECT_BET = "#66CC00";
$ECHEC_BET = "#FF7777";

// Colors of bets choice
$WAITING_RESULTS = "#9f9f9f";
$LIVE_MATCH = "#ff9933";
$TODAY_MATCH = "#FF0000";
$ALREADY_BET = "#008000";
$NOT_ALREADY_BET = "#0000FF";
$NOT_ALREADY_BET_IN_GRID = "#014701";

#Adresse de la page de tracking 
$TRCK_PAGE = $SERVER_URL."trck_clck.php3";


// Number of ads for grid submition
$NB_ADS = 3;
?>