<?php // +---------------------------------------------------------------------- // | Demila [ Beautiful Digital Content Trading System ] // +---------------------------------------------------------------------- // | Copyright (c) 2015 http://demila.org All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Email author@demila.org // +---------------------------------------------------------------------- _setView(__FILE__); _setTitle($langArray['percents']); if (isset($_POST['report'])) { $reportClass = new report(); $reportData = $reportClass->getReport(); $depositData = $reportClass->getDeposits(); $withdrawData = $reportClass->getWithdraws(); $data = array(); if (is_array($reportData)) { foreach ($reportData as $date => $v) { $data[$date] = array(); } } if (is_array($depositData)) { foreach ($depositData as $date => $v) { $data[$date] = array(); } } if (is_array($withdrawData)) { foreach ($withdrawData as $date => $v) {