Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
session(); $row = DB::table('users')->where('id',Auth::id())->get(); foreach($row as $user){ Session::put('user', ['name' => $user->name,'email' => $user->email,'mobile' => $user->mobile,'role' => $user->role,'account_id'=>$user->account_id,'branch_id'=>$user->branch_id]); } if(!Session::get('user')['branch_id']){ # line ya juu itakaa hapa, nimeiweka hapo kwa muda } ########################################################### $uri = request()->segment(1); $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection =$deposits= $savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share=""; if($uri == 'home'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection =$deposits= $savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $home = 'active'; }else if($uri == 'customers'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $borrowers = 'active'; }else if($uri == 'loans'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $loans = 'active'; }else if($uri == 'repayments'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $repayments = 'active'; }else if($uri == 'collateral'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $collateral = 'active'; }else if($uri == 'calendar'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $calendar = 'active'; }else if($uri == 'collections'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $collection = 'active'; }else if($uri == 'savings'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $savings = 'active'; }else if($uri == 'deposits'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $deposits = 'active'; }else if($uri == 'deposits_transactions'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $deposits=$savings = $deposittransactions = $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $deposittransactions = 'active'; } else if($uri == 'savings_transactions'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings =$deposits = $deposittransactions= $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $transactions = 'active'; }else if($uri == 'payroll'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings =$deposits = $deposittransactions= $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $payroll = 'active'; }else if($uri == 'expenses_other_income'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings =$deposits = $deposittransactions= $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $expenses = 'active'; }else if($uri == 'asset_management'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings =$deposits = $deposittransactions= $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $assets = 'active'; }else if($uri == 'loan_fees'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings =$deposits = $deposittransactions= $transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $fees = 'active'; }else if($uri == 'reports'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings = $deposits = $deposittransactions=$transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share =""; $reports = 'active'; }else if($uri == 'accounting'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings = $deposits = $deposittransactions=$transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share = ""; $accounting = 'active'; }else if($uri == 'settings'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings = $deposits = $deposittransactions=$transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share = ""; $settings = 'active'; }else if($uri == 'share'){ $home = $borrowers = $loans = $repayments = $collateral = $calendar = $collection = $savings = $deposits = $deposittransactions=$transactions = $payroll = $expenses = $assets = $fees = $accounting = $reports = $settings = $share = ""; $share = 'active'; } if(isset(Session::get('user')['branch_id'])){ ## Load session set } ?> <? $brand="";$branch=[]; foreach(DB::table('branches')->where('id',Session::get('user')['branch_id'])->get() as $branch){ $brand = $branch->name; $branch = $branch; echo $brand; } ?>