2024-01-22 15:31:39 +03:00
|
|
|
|
@extends('layouts.applicant-layout')
|
|
|
|
|
@section('content')
|
2024-01-24 13:30:27 +03:00
|
|
|
|
<div class=" fw-bolder fs-1 text-center py-5 lh-lg"> Веб-консультации для абитуриентов и их родителей </div>
|
2024-01-22 15:31:39 +03:00
|
|
|
|
<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-24 13:30:27 +03:00
|
|
|
|
$content = $pageScrapper->cutHTML($content,'/<footer(.*)<\/footer>/isU');
|
2024-01-22 17:08:45 +03:00
|
|
|
|
echo $content;
|
2024-01-22 15:31:39 +03:00
|
|
|
|
|
2024-01-22 17:08:45 +03:00
|
|
|
|
@endphp
|
2024-01-22 15:31:39 +03:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@endsection
|