applicant-site/resources/views/menu/abitur/web-consultations.blade.php

23 lines
924 B
PHP
Raw Normal View History

@extends('layouts.applicant-layout')
@section('content')
<div class=" fw-bolder fs-1 text-center py-5"> Веб-консультации для абитуриентов и их родителей </div>
<div class="container pt-4 d-flex justify-content-center">
2024-01-22 17:08:45 +03:00
<div class="col-10">
@php
use App\Services\PageScrapper;
$pageScrapper = new PageScrapper("https://www.mkgtu.ru/postuplenie/web-consultations/", '<div class=["\']content_info["\']>');
$row = $pageScrapper->getHTML();
$content = $pageScrapper->normalizeURLFile($row);
2024-01-23 15:50:36 +03:00
$page = "https://mkgtu.ru/postuplenie/priemnaya-kampaniya/spetsialitet-magistratura-2022/";
$strForScissors = '/<footer(.*)<\/footer>/isU';
$tmp = preg_match_all($strForScissors, $content, $arr);
$content = str_replace($arr[1],'',$content);
2024-01-22 17:08:45 +03:00
echo $content;
2024-01-22 17:08:45 +03:00
@endphp
</div>
</div>
@endsection