get(); if (isset($body_section['styles']) && !empty($body_section['styles'])) { $output_styles = preg_split("/(<\/style>|\/>)/", $body_section['styles']); $i = 1; foreach ($output_styles as $row) { if (empty($row)) { continue; } $style_tag = 'style'; $style_attr = ''; $value = ''; $style_attributes = preg_replace('/()/', $style_attributes, 2); if (isset($get_style_attr[1])) { $value = $get_style_attr[1]; } $get_style_tag = preg_split('/ 'html_tag', '#tag' => $style_tag, '#value' => $value, ]; if (is_array($style_attr)) { $page_top['top_styles_' . $i]['#attributes'] = $style_attr; } $i++; } } if (isset($body_section['scripts']) && !empty($body_section['scripts'])) { $output_scripts = preg_split("/(<\/script>|<\/noscript>)/", $body_section['scripts']); $i = 1; foreach ($output_scripts as $row) { if (empty($row)) { continue; } $script_tag = 'script'; $script_attr = ''; $value = ''; $script_attributes = preg_replace('/()/', $script_attributes, 2); if (isset($get_script_attr[1])) { $value = $get_script_attr[1]; } $get_script_tag = preg_split('/