21 lines
762 B
PHP
21 lines
762 B
PHP
@extends('layouts.applicant-layout')
|
|
|
|
@section('content')
|
|
<div class=" fw-bolder fs-1 text-center py-5 lh-lg"> Подготовительные курсы </div>
|
|
<div class="container pt-4 d-flex justify-content-center">
|
|
|
|
<div class="col-10">
|
|
@php
|
|
use App\Services\PageScrapper;
|
|
$pageScrapper = new PageScrapper("https://mkgtu.ru/postuplenie/podgotovitelnye-kursy/", '<div class=["\']content_info["\']>');
|
|
$row = $pageScrapper->getHTML();
|
|
$content = $pageScrapper->normalizeURLFile($row);
|
|
$content = $pageScrapper->cutHTML($content,'/<footer(.*)<\/footer>/isU');
|
|
echo $content;
|
|
|
|
@endphp
|
|
|
|
</div>
|
|
</div>
|
|
@endsection
|