<?php
 /*=======================================================================*\
 | Copyright (c) 2012, Leo 'Met0do' - http://www.met0do.org               |
 | For more stuffs and data, http://www.met0do.org - leo@met0do.org       |
 | ====================================================================== |
 | This program is free software: you can redistribute it and/or modify   |
 | it under the terms of the GNU General Public License as published by   |
 | the Free Software Foundation, either version 3 of the License, or      |
 | (at your option) any later version.                                    |
 | ====================================================================== |
 | This program is distributed in the hope that it will be useful,        |
 | but WITHOUT ANY WARRANTY; without even the implied warranty of         |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           |
 | GNU General Public License for more details.                           |
 \*=======================================================================*/
 
    /* requirements */
	require_once '../config.php';
	
	/* receiving form vars */
	$get["e0"] = $_POST["form-0-email"]; /* email of friend number 0 */
	$get["e1"] = $_POST["form-1-email"]; /* email of friend number 1 */
	$get["e2"] = $_POST["form-2-email"]; /* email of friend number 2 */
	$get["t"] =  $_SESSION["AS"];        /* current avatar session */
	
	########################################################################################################################################
	
	
	
	
	
	/* codification of send emails to friends, sorry, I was lazy to do it... do it by yourself */
	
	
	
	
	
	
	########################################################################################################################################
	
	/* creating message to JSON */
	header('Content-type: application/json');
	
	/* check errors */
	$json["status"] = "OK";
	$json["errors"] = null;
	$json["data"] = null;
	
	/* converting to json */
	echo json_encode($json);
	
	########################################################################################################################################
?>