<?php
// Exchange server for inet zasuvky CSV
// (UTF 8) Php/mysql
include 'zas2_func.php';

//$API = new classTableApi($SQL);

//$files_all = array(
//	'db', 
//	'changes'
//	);

//$key    = 'file';
//$file   = isset($_GET[$key]) ? $_GET[$key] : '';
//$file   = in_array($file,$files_all) ? $file : '';
//$key    = 'screen';
//$screen = isset($_GET[$key]) ? $_GET[$key] : '';
//$screen = in_array($screen,$files_all) ? $screen : '';

// export

$FFF = new classDBFiles();
$FFF->exportFromSql();


//$x = $API->encode($data);	var_dump($x);
//$x = $API->decode($x);		var_dump($x);
//$x = $data;
//$x = $API->keysAdd(1,$x);	var_dump($x);
//$x = $API->keysRemove(1,$x);	var_dump($x);
?>