<?php
date_default_timezone_set('Asia/Tehran');

use Carbon\Carbon;
use Illuminate\Database\Capsule\Manager as DB;

include 'vendor/autoload.php';

include 'btn.php';

//echo Carbon::now('Asia/Tehran')->subHours(1)->toDateTimeString();
//echo '<pre>';
//print_r(\Database\Users::getAllWeek());
//echo '++++++++';
//echo '<pre>';
//print_r( date("Y/m/d"));

echo json_encode(\Database\Users::getAllStatusActiveUser2(true,'1','25'));