<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getCommon($_GET['from'], $_GET['to'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getGeoMap($_GET['from'], $_GET['to'], $_GET['in'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getAvgInOut($_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getOrgs($_GET['from'], $_GET['to'], $_GET['gr'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getDynamic($_GET['from'], $_GET['to'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getStorage($_GET['amount'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getSecr($_GET['amount'], $_GET['in'], $_GET['out'], $_GET['proc_in'], $_GET['proc_out'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getCurAmount($_GET['from'], $_GET['to'], $_GET['in'], $_GET['usr'])); ?>
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); //print_r($ch_analiz->getGroupsDyn($_GET['from'], $_GET['to'], $_GET['in'])); //exit; echo json_encode($ch_analiz->getGroupsDyn($_GET['from'], $_GET['to'], $_GET['gr'], $_GET['usr']));
<?php require_once "../../lib/init.php"; require_once "../../lib/analiz.php"; $ch_analiz = new CashAnaliz($db, $usr, $lng); echo json_encode($ch_analiz->getMothDyn($_GET['from'], $_GET['to'], $_GET['usr'])); ?>