<?php
	include 'language.php';
	
	// Database configuration
    $host = "localhost"; // MySQL hostname
    $dbUserName = ""; // MySQL database username
    $dbPwd = ""; // MySQL database password
    $dbName = "html5game_membership"; // The name of the database
	
	// Game Type (luckywheels, lotterynumbers, junglescratch, slotmachine, bingobash, dicegame, superplinko, extremeplinko, scratchandwin, powerkeno, horseracing, luckyballs)
	$gameType = "luckywheels"; // The HTML5 Game name, enter one of the above
	
	// Table name
	$table_member = "member_accounts"; // The name of the table
	$table_points = "member_points"; // The name of the table
	$table_transaction = "member_transaction"; // The name of the table
	$table_redemption = "member_redeem"; // The name of the table
	$table_redemption_code = "member_redeem_code"; // The name of the table
	$table_rewards = "rewards_item"; // The name of the table
	$table_redeem = "redeem_code"; // The name of the table
	$table_products = "game_products"; // The name of the table
	$game_assets = "game_assets"; // The name of the table
	$game_settings = "game_settings"; // The name of the table
	$game_logs = "game_logs"; // The name of the table
	
	$rewards_upload_path = '../dashboard/upload/rewards/';
	$redeem_upload_path = '../dashboard/upload/redeem/';
	
	//Game points
	if($gameType == 'luckywheels'){
		$defaultPoint = 0;
		$defaultChance = 7; //default chance
		$defaultScore = 0;
	}else if($gameType == 'lotterynumbers'){
		$defaultPoint = 0;
		$defaultChance = 5; //defeault chance
		$defaultScore = 0;
	}else if($gameType == 'junglescratch'){
		$defaultPoint = 10; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'slotmachine'){
		$defaultPoint = 30; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'bingobash'){
		$defaultPoint = 0; //default point
		$defaultChance = 5;
		$defaultScore = 0;
	}else if($gameType == 'dicegame'){
		$defaultPoint = 500; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'superplinko'){
		$defaultPoint = 0;
		$defaultChance = 7; //default chance
		$defaultScore = 0;
	}else if($gameType == 'extremeplinko'){
		$defaultPoint = 0;
		$defaultChance = 100; //default chance
		$defaultScore = 0;
	}else if($gameType == 'scratchandwin'){
		$defaultPoint = 100; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'powerkeno'){
		$defaultPoint = 100; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'horseracing'){
		$defaultPoint = 100; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}else if($gameType == 'luckyballs'){
		$defaultPoint = 100; //default point
		$defaultChance = 0;
		$defaultScore = 0;
	}
	
	//Retrieve password email
	$email_subject = "Lucky Wheels Reset Password"; //email subject
	$email_from = "Lucky Wheels <luckywheels@luckywheels.com>"; //email from

	//session app
	$session_app = 'rapp';

	$testMode = false;
?>