Пример #1
0
<?php

require_once "../../include/config.php";
require_once $basedir . "/admin/include/functions.php";
include $basedir . '/admin/include/isadmin.php';
$walletmenu = 'active';
$datatables = 'active';
$transactions = getAllTransactions();
$file = $basedir . '/temp/all_users.txt';
if (file_exists($file)) {
    $all_users = json_decode(file_get_contents($file), true);
} else {
    $temp = getAllUsers();
    foreach ($temp as $t) {
        $all_users[$t['user_id']] = $t;
    }
}
?>
<!DOCTYPE html>
<html>
	<head>
		<?php 
include $basedir . '/admin/include/header.php';
?>
	</head>

	<body class="skin-blue">
	<!-- header logo: style can be found in header.less -->
	<header class="header">
		<?php 
include $basedir . '/admin/include/header_menu.php';
 public function getAll()
 {
     $this->fetchTransactions();
     return getAllTransactions($this->transactions, $this->selectedFields, $this->order, null, null);
 }
Пример #3
0
 private function getAllTransaction()
 {
     $this->fetchTransactions();
     return getAllTransactions($this->finishedTransactions, $this->selectedFields, $this->order, $this->upperLimit, $this->lowerLimit);
 }