applicant-site/resources/views/menu/course.blade.php

65 lines
2.1 KiB
PHP
Raw Normal View History

2024-01-19 10:50:43 +03:00
@extends('layouts.applicant-layout')
2024-01-26 16:05:28 +03:00
@section('content')
2024-01-19 10:50:43 +03:00
<style>
.accordionHover {
transition: .3s all;
2024-01-19 10:50:43 +03:00
}
.accordionHover:hover {
background-color: #006147;
transform: scale(1.03);
color: #fff;
2024-01-19 10:50:43 +03:00
}
.accordion-button:not(.collapsed) {
color: #006147;
background-color: #fff;
2024-01-19 10:50:43 +03:00
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
.accordion-button:focus {
z-index: 3;
border-color: #479f76;
outline: 0;
2024-01-19 10:50:43 +03:00
box-shadow: 0 0 0 0.25rem rgba(0, 131, 16, .69);
}
.accordion-button:not(.collapsed)::after {
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='%230c63e4'%3e%3cg%3e%3ctitle%3eLayer 1%3c/title%3e%3cpath fill='%23396849' fill-rule='evenodd' d='m1.646,4.646a0.5,0.5 0 0 1 0.708,0l5.646,5.647l5.646,-5.647a0.5,0.5 0 0 1 0.708,0.708l-6,6a0.5,0.5 0 0 1 -0.708,0l-6,-6a0.5,0.5 0 0 1 0,-0.708z' id='svg_1'/%3e%3c/g%3e%3c/svg%3e");
2024-01-19 10:50:43 +03:00
}
</style>
<div class=" fw-bolder fs-1 text-center py-5 lh-lg"> Подача документов онлайн </div>
<div class="container pt-4 d-flex justify-content-center">
2024-01-23 11:05:43 +03:00
<div class="col-10">
@php
2024-01-26 16:05:28 +03:00
use DiDom\Document;
$document = new Document('https://mkgtu.ru/postuplenie/podat-dokumenty-onlayn/', true);
$posts = $document->find('.content_info');
echo $document->first('.content_info')->html();
/*
use App\Services\PageScrapper;
$pageScrapper = new PageScrapper("https://mkgtu.ru/postuplenie/podat-dokumenty-onlayn/", '<div class=["\']content_info["\']>');
$row = $pageScrapper->getHTML();
$content = $pageScrapper->normalizeURLFile($row);
$content = $pageScrapper->cutHTML($content,'/<footer(.*)<\/footer>/isU');
echo $content;
*/
2024-01-23 11:05:43 +03:00
@endphp
</div>
</div>
@endsection