From f8155f2557320dcdc482abbd1b11e818fca460f0 Mon Sep 17 00:00:00 2001 From: Holiienko Roman Date: Tue, 23 Jan 2024 15:50:36 +0300 Subject: [PATCH] fixing previous commit --- resources/views/menu/abitur/web-consultations.blade.php | 4 ++++ resources/views/menu/course.blade.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/resources/views/menu/abitur/web-consultations.blade.php b/resources/views/menu/abitur/web-consultations.blade.php index efaa0a8..2365629 100644 --- a/resources/views/menu/abitur/web-consultations.blade.php +++ b/resources/views/menu/abitur/web-consultations.blade.php @@ -9,6 +9,10 @@ $pageScrapper = new PageScrapper("https://www.mkgtu.ru/postuplenie/web-consultations/", '
'); $row = $pageScrapper->getHTML(); $content = $pageScrapper->normalizeURLFile($row); + $page = "https://mkgtu.ru/postuplenie/priemnaya-kampaniya/spetsialitet-magistratura-2022/"; + $strForScissors = '//isU'; + $tmp = preg_match_all($strForScissors, $content, $arr); + $content = str_replace($arr[1],'',$content); echo $content; @endphp diff --git a/resources/views/menu/course.blade.php b/resources/views/menu/course.blade.php index 9a98c14..9fa261d 100644 --- a/resources/views/menu/course.blade.php +++ b/resources/views/menu/course.blade.php @@ -39,6 +39,10 @@ $pageScrapper = new PageScrapper("https://mkgtu.ru/postuplenie/podat-dokumenty-onlayn/", '
'); $row = $pageScrapper->getHTML(); $content = $pageScrapper->normalizeURLFile($row); + $page = "https://mkgtu.ru/postuplenie/priemnaya-kampaniya/spetsialitet-magistratura-2022/"; + $strForScissors = '//isU'; + $tmp = preg_match_all($strForScissors, $content, $arr); + $content = str_replace($arr[1],'',$content); echo $content; @endphp