<?php
$data = $data ?? [];
$settings=$data["settings"] ?? [];
$setting=$settings["setting"] ?? [];
$user = $data["user"] ?? [];
$head = $data["head"] ?? "";
$script = $data["script"] ?? "";
$language = $lang ?? 'en';

$logo = $setting['Logo'] ?? '';
$logo = !empty($logo) ? $logo : ($language == 'tr' ? 'assets/admin/images/dropzone-placeholder/150x50@2x-logo-tr.png' : 'assets/admin/images/dropzone-placeholder/150x50@2x-logo-en.png');

$favicon = $setting['Favicon'] ?? '';
$favicon = !empty($favicon) ? $favicon : ($language == 'tr' ? 'assets/admin/images/dropzone-placeholder/600x400@2x-ico-tr.png' : 'assets/admin/images/dropzone-placeholder/600x400@2x-ico-en.png');
