@extends('layouts.site') @php $i = 1; if(isset($_GET['page'])){ $page = $_GET['page']; if($page > 1){ $i = (($page -1 ) * 15) + 1; } } $page = session()->get('page'); $sort = session()->get('sort'); $direction = session()->get('direction'); $zgloszenie_status_table = DB::connection('mysql-2')->table('zs102_sygnalista_status') ->get(); $zgloszenie_all_count = DB::table('t080_sygnalista_zgloszenia') ->count(); $status = session()->get('category'); $filter = session()->get('filter'); $dashboard_scope = request()->query('dashboard_scope'); $HowManyRecords = method_exists($zgloszenia, 'total') ? (int) $zgloszenia->total() : (int) $zgloszenia->count(); @endphp @section('title','Strona Startowa') @section('content')