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Y50(J z+=tNdU^T{aPYjLuVDo4gZQoFAvO|$#44qtJDLH e8R(u0txfd!`~BnY=d-O<^0NYM5pWLGapRJQWw z1`<@JcTV{r0mfh=>N)KL5`=t3g2j>pXPFkQ>Wfx83M(X_JNWY{-PD^Sl%dEL1q zWg==j>j#ER&4iejWWy&{T;u1}bJeXA{1>vrhPJ&Qe1yxSHgAT6{3L z99+u5Q@t-=&Jn 1CbGOmX);(WCn{2DYq4Z9DBXe;9B%9NPO< zcJGDT_C;7IPo_B5rT_!Q(Cl{B%HFpZzl!;kh!hH~ 'Админка - Редактор шапки-футера сайта']) @section('script') + @endsection @section('search') @@ -38,6 +63,11 @@ Добавить опцию + +
@@ -50,8 +80,8 @@+ + diff --git a/resources/views/admin/reclames/add.blade.php b/resources/views/admin/reclames/add.blade.php new file mode 100644 index 0000000..8c85a0c --- /dev/null +++ b/resources/views/admin/reclames/add.blade.php @@ -0,0 +1,7 @@ +@extends('layout.admin', ['title' => 'Админка - Добавление рекламы']) + +@section('content') + +@endsection diff --git a/resources/views/admin/reclames/edit.blade.php b/resources/views/admin/reclames/edit.blade.php new file mode 100644 index 0000000..04550dc --- /dev/null +++ b/resources/views/admin/reclames/edit.blade.php @@ -0,0 +1,7 @@ +@extends('layout.admin', ['title' => 'Админка - Редактирование рекламы']) + +@section('content') + +@endsection diff --git a/resources/views/admin/reclames/form.blade.php b/resources/views/admin/reclames/form.blade.php new file mode 100644 index 0000000..b02a743 --- /dev/null +++ b/resources/views/admin/reclames/form.blade.php @@ -0,0 +1,98 @@ +@csrf + +@isset($reclame) + @method('PUT') +@endisset + + + +№ Название Ссылка -Категория -Шапка +Родитель +Сортировка Дата создания Редактировать @@ -69,18 +99,51 @@ {{$page->link}}- {{$page->category}} ({{$page->code_id}}) + ++ + +{{$page->created_at}} + /*?> + */ ?> @endforeach diff --git a/resources/views/admin/editbloks/index_ajax.blade.php b/resources/views/admin/editbloks/index_ajax.blade.php new file mode 100644 index 0000000..8683d3d --- /dev/null +++ b/resources/views/admin/editbloks/index_ajax.blade.php @@ -0,0 +1,85 @@ +++ ++ +
++ + + + @foreach($header_footer as $page) +№ +Название +Ссылка +Родитель +Сортировка +Дата создания +Редактировать ++ + @endforeach + ++ {{$page->id}} + ++ {{$page->name}} + ++ {{$page->link}} + ++ + ++ + + ++ {{$page->created_at}} + ++ /*?> + + */ ?> + ++ =$header_footer->appends($_GET)->links('admin.pagginate'); ?> ++ + diff --git a/resources/views/admin/pages/form.blade.php b/resources/views/admin/pages/form.blade.php index cb73ab2..1ea5e6f 100644 --- a/resources/views/admin/pages/form.blade.php +++ b/resources/views/admin/pages/form.blade.php @@ -4,14 +4,6 @@ @method('PUT') @endisset - -- -+diff --git a/resources/views/admin/reclames/index.blade.php b/resources/views/admin/reclames/index.blade.php index d794ceb..a686147 100644 --- a/resources/views/admin/reclames/index.blade.php +++ b/resources/views/admin/reclames/index.blade.php @@ -35,7 +35,7 @@ @section('content') - + Добавить рекламу+ Заголовок рекламы + + @error('title') + + {{ $message }} + + @enderror +
+ ++ + + is_hidden) ? "checked" : "" }} /> + Скрыть рекламу +
+ ++ Ссылка + + @error('link') + + {{ $message }} + + @enderror +
+ ++ Текст + + @error('text') + + {{ $message }} + + @enderror +
+ ++ Позиция (число) + + @error('position') + + {{ $message }} + + @enderror +
+ ++ Картинка + + @error('image') + + {{ $message }} + + @enderror + @isset($reclame->image) + + @endisset + +
+ ++++ ++
@@ -72,14 +72,18 @@ {{$reclame->position}}- {{$reclame->is_hidden}} + @if ($reclame->is_hidden) + Скрыто + @else + Показано + @endif {{$reclame->col_vo_click}} -