$url) { if (!empty($url)) { if (preg_match('/backend/i', $type)) { if (preg_match('/ico/i', $type)) { ?>