turkmentv/resources/views/web/bukjalar.blade.php

1066 lines
76 KiB
PHP

@extends('web.layouts.app')
@section('after_styles')
<link rel="stylesheet" href="{{ asset ('assets/css/simple-line-icons.css')}}">
<link rel="stylesheet" href="{{ asset ('assets/libs/owl/owl-carousel/owl.carousel.css')}}">
<link rel="stylesheet" href="{{ asset ('assets/libs/owl/owl-carousel/owl.theme.css')}}">
<link rel="stylesheet" href="{{ asset ('assets/css/3dslider-style.css')}}">
@endsection
@section('content')
<style type='text/css'>
div.textarea {
width: 100%;
}
div.bukjalar-box{
/*border:1px solid red;*/
height: auto;
}
div.bukja{
/*border:1px solid blue;*/
text-align: center;
}
div.bukja > button{
width: 100%;
margin-bottom: 1em;
}
form .form-row > div{}
.all_total_price{
font-size: 24px;
font-weight: bold;
}
.all_total_price > span{
color:green;
}
.udalit-etmeli-dal-tablitsa{
display: none !important;
}
.btn-outline-primary{
border: 1px solid darkslategray;
background: transparent;
}
/*.btn-outline-primary:hover{*/
/* border: 1px solid darkslategray;*/
/* background: steelblue;*/
/* color:#fff;*/
/*}*/
a:hover,a:focus{
text-decoration: none;
outline: none;
}
.vertical-tab{
display: table;
width: 100%;
}
.vertical-tab .nav-tabs{
display: table-cell;
width: 28%;
/*min-width: 28%;*/
vertical-align: top;
border: none;
}
.vertical-tab .nav-tabs li{
float: none;
vertical-align: top;
}
.vertical-tab .nav-tabs li a{
color: #187F7E;
background: transparent;
font-size: 1em;
font-weight: bolder;
text-align: center;
padding: 13px 10px 12px;
margin: 0 0 10px 0;
border: none;
display: block;
position: relative;
z-index: 1;
transition: all 0.1s ease 0s;
}
.vertical-tab .nav-tabs li:last-child a{ margin-bottom: 0; }
.vertical-tab .nav-tabs li a:hover,
.vertical-tab .nav-tabs li.active a,
.vertical-tab .nav-tabs li.active a:hover{
color: #fff;
background: #fff;
border: none;
/*border-top: 1px solid #d1d1d1;*/
text-shadow: 0 0 5px rgba(0,0,0,0.3);
}
/*.vertical-tab .nav-tabs li a:before,*/
.vertical-tab .nav-tabs li a:after{
content: '';
background: #2B9996;
height: 0;
width: 100%;
position: absolute;
left: 0;
top: 0;
z-index: -1;
transition: all 0.1s ease;
border-radius: 2px;
}
.vertical-tab .nav-tabs li a:before{
width: 0;
height: 4px;
top: -4px;
}
.vertical-tab .nav-tabs li a:hover:before,
.vertical-tab .nav-tabs li.active a:before,
.vertical-tab .nav-tabs li.active a:hover:before{
width: 100%;
}
.vertical-tab .nav-tabs li a:hover:after,
.vertical-tab .nav-tabs li.active a:after,
.vertical-tab .nav-tabs li.active a:hover:after{
height: 100%;
}
.vertical-tab .tab-content{
color: #333;
background: #fff;
font-size: 14px;
/*line-height: 25px;*/
padding: 10px 10px;
margin-top: 10px;
border: 1px solid #187F7E;
display: table-cell;
position: relative;
}
.vertical-tab .tab-content h3{
color: #187F7E;
font-weight: 800;
/*text-transform: uppercase;*/
/*letter-spacing: 1px;*/
margin: 0 0 7px 0;
font-size: 18px !important;
}
.prop-desc > p{
padding-left: 10px;
}
.folder_title{
color:#fff;
background-color: #187F7E;
padding: 4px 0px;
margin-bottom: 0;
margin-top: 0;
}
.for-border-box{
border:1px solid #090909;
border-right:0;
border-top:0;
}
.for-border-box div > p{
padding-left: 10px;
}
.bukja-table{
margin-bottom: 1.5em;
box-shadow: 3px 2px 3px #5C5C5C;
}
table tr td{
border:1px solid #A19D9C;
border-top: 0;
border-bottom: 0;
text-align: center;
}
table tr > td:first-child{
border: 0;
text-align: left;
border-top: 1px solid #eaeaeb;
}
table tr > td:last-child{
border: 0;
border-top: 1px solid #eaeaeb;
}
table tr > th{
text-align: center;
}
table tr > th:first-child{
text-align: left;
}
.tot_price_center_box{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
}
.tot_price_center_box > span {
font-weight: bold;
font-size: 18px;
}
.left-bar{
display: flex;
flex-flow: column;
height: 65vh;
justify-content: space-between;
}
.contact-info-box{
border-left: 5px solid #329996;
padding-left: .8em;
font-weight: bolder;
}
.contact-info-box > h4{
}
.contact-info-box ul > li{
margin: .5em 0;
}
.calc_text{
background: #329996;
color: #fff;
margin: 0;
padding: .2em;
font-weight: normal;
}
.order-text{
font-size: 11px;
font-weight: bold;
}
#calculator-fix{
display: flex;
flex-flow: column;
justify-content: space-between;
}
.yaylym-tertip{
margin-top: 7em;
}
.yaylym-btn{
border: 1px solid #D01828;
background-color: #D01828;
color: #fff;
font-weight: bold;
border-radius: 2px;
}
.yaylym-btn:hover{
color: #fff !important;
text-decoration: underline;
}
.yaylym_text{
font-size: 12px;
margin-top: .2em;
}
/*for filter buttons box*/
.filter-buttons-box{
display:flex;
justify-content:space-between;
margin-bottom:1em;
}
.filter-btn{
width: 20%;
border-radius: 1px;
background-color: #fff;
border:1px solid #329996;
font-size: 1em;
font-weight: bolder;
color: #187F7E;
}
.filter-btn:focus{
outline: none;
color:#187F7E;
outline-offset: 0;
}
.filter-btn:hover{
color:#fff;
background-color: #187F7E;
}
.active-filter-btn{
color:#fff !important;
background-color: #187F7E;
}
.for-scroll-box{
height: 80vh;
overflow: scroll;
padding: 10px 5px 10px 0px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.for-scroll-box::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.for-scroll-box{
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/*for filter buttons box end*/
@media only screen and (max-width: 479px){
.vertical-tab .nav-tabs{
width: 100%;
display: block;
border: none;
}
.vertical-tab .nav-tabs li a{ margin: 0 0 10px; }
.vertical-tab .tab-content{
display: block;
font-size: 12px !important;
}
.vertical-tab .tab-content h3{ font-size: 18px; }
}
@media screen and (min-width:320px) and (max-width: 475px) {
#bukjalar-slider{
width: 25em !important;
}
}
@media screen and (max-width:350px){
#bukjalar-slider{
width: 21em !important;
}
}
@media screen and (min-width:992px) {
.desctop-d-none{
display: none;
}
}
@media screen and (max-width:992px) {
.m-p-0{
padding:0;
}
.left-bar{
flex-flow: column-reverse !important;
margin-top: 1em;
height:auto;
}
.mt-1{
margin-top: 2em;
}
.folders-tab{
padding: 5px 1px 5px 1px !important;
}
.m-t-c{
text-align: center !important;
}
.filter-btn{
width: 30%;
}
.prop_ul{
margin-top: 1em;
}
.mobile-d-none{
display: none;
}
}
</style>
<div class="container wrapper" style = "padding-top: 10px !important;padding-bottom: 10px !important; margin-bottom: 5em;">
<div class="row" style="padding-top: 0; padding-bottom: 0">
{{-- <h2 style="margin-top: 50px"><a href="" class="fontSemiBold">Mahabat Nyrhnama bukjalary <i class="fa fa-play-circle-o"></i></a></h2>--}}
@if(isset($folders))
@foreach($folders as $folder)
@endforeach
<div class="col-md-3 col-lg-3 col-xs-12" style="padding:0;">
<div class="vertical-tab" role="tabpanel">
<!-- Nav tabs -->
<div class="left-bar " style="position:relative;">
<div>
<ul class="nav nav-tabs prop_ul" role="tablist" style="box-shadow: 0px 0px 5px #aaaaaa;">
@foreach($props as $prop)
<li role="presentation" prop-id="{{$prop->filter_value}}" class="{{ ($prop->filter_value==1) ? 'active' : ''}}" ><a href="#Section{{$prop->filter_value}}" id="prop-{{$prop->filter_value}}" aria-controls="home-{{$prop->id}}" role="tab" data-toggle="tab">{{$prop->title}}</a></li>
@endforeach
</ul>
</div>
{{-- <div>--}}
{{-- <div id="bukjalar-slider" style="width: 20em; padding-top: 1em;">--}}
{{-- <div style="border:1px solid red;width: 26em !important;">--}}
{{-- <a href="#" style="width: 100%;">--}}
{{-- <img src="{{asset('assets/img/1.jpg')}}" alt="1" style="width: 100%;height:8em;object-fit: cover;">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- <div style="border:1px solid red;">--}}
{{-- <a href="#">--}}
{{-- <img src="{{asset('assets/img/2.jpg')}}" alt="2" style="width: 100%;height:8em;object-fit: cover;">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- <div style="border:1px solid red;">--}}
{{-- <a href="#">--}}
{{-- <img src="{{asset('assets/img/3.jpg')}}" alt="3" style="width: 100%;height:8em;object-fit: cover;">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- </div>--}}
<div class="contact-info-box mobile-d-none">
<h4><b>MAHABAT MÜDIRLIGI</b></h4>
<ul class="list-unstyled">
<li>Phone: +993 12 493705</li>
<li>Aşgabat şäheri Oguzhan 13</li>
<li>mahabat@turkmentv.gov.tm</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-lg-6 col-xs-12 m-p-0 mt-1">
<div class="filter-buttons-box">
<button class="btn filter-btn tv-filter-btn active-filter-btn">TV</button>
<button class="btn filter-btn radio-filter-btn">RADIO</button>
<button class="btn filter-btn sub-filter-btn">SUBTITLE</button>
<button class="btn filter-btn web-filter-btn">WEBSITE</button>
</div>
<div class="vertical-tab" role="tabpanel" style="box-shadow: 0px 0px 5px #aaaaaa; border: 0;">
<!-- Tab panes -->
<div class="tab-content tabs folders-tab" style="border: 0;">
@foreach($props as $prop)
@if($prop->filter_value==1)
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
<h3 class="m-t-c">{{$prop->title}}</h3>
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
</div>
<div class="for-scroll-box">
@foreach($folders as $folder)
@if($folder->property->filter_value ==1)
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
@if($folder->on_radio != false) on_radio @endif
@if($folder->on_subtitle != false) on_subtitle @endif
@if($folder->on_web != false) on_web @endif">
@if(isset($folder->total_price) & $folder->total_price !== '')
@php
$k=0
@endphp
<div class="row">
<div class="col-md-12 col-xs-12" style="padding:0">
<h4 class="text-center folder_title">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Umumy bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}}@endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}} @endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
@if($folder->total_price !== '')
@if($k < 1)
<td rowspan="15" style="position: relative">
<div class="tot_price_center_box">
<span>@isset($folder->total_price) {{$folder->total_price}} TMT <i style="display: none">{{$k=$k+1}}</i> @endisset</span>
</div>
</td>
@endif
@endif
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
@if(!isset($folder->total_price) & $folder->total_price == '')
<div class="row">
<div class="col-md-12 col-xs-12" style="padding: 0">
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: #187F7E; padding: 4px 0px;">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}} @endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}}@endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
<td> {{$table['price'] ?? '0'}} TMT </td>
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
</div>
@endif
@endforeach
</div>
</div>
@endif
@if($prop->filter_value==2)
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
<h3 class="m-t-c">{{$prop->title}}</h3>
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
</div>
<div class="for-scroll-box">
@foreach($folders as $folder)
@if($folder->property->filter_value ==2)
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
@if($folder->on_radio != false) on_radio @endif
@if($folder->on_subtitle != false) on_subtitle @endif
@if($folder->on_web != false) on_web @endif">
@if(isset($folder->total_price) & $folder->total_price !== '')
@php
$k=0
@endphp
<div class="row">
<div class="col-md-12 col-xs-12" style="padding:0">
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: #187F7E; padding: 4px 0px;">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Umumy bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}}@endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}} @endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
@if($folder->total_price !== '')
@if($k < 1)
<td rowspan="15" style="position: relative">
<div class="tot_price_center_box">
<span>@isset($folder->total_price) {{$folder->total_price}} TMT <i style="display: none">{{$k=$k+1}}</i> @endisset</span>
</div>
</td>
@endif
@endif
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
@if(!isset($folder->total_price) & $folder->total_price == '')
<div class="row">
<div class="col-md-12 col-xs-12" style="padding: 0">
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: #187F7E; padding: 4px 0px;">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}} @endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}}@endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
<td>{{$table['price'] ?? ''}} TMT</td>
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
</div>
@endif
@endforeach
</div>
</div>
@endif
@if($prop->filter_value==3)
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
<h3 class="m-t-c">{{$prop->title}}</h3>
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
</div>
<div class="for-scroll-box">
@foreach($folders as $folder)
@if($folder->property->filter_value ==3)
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
@if($folder->on_radio != false) on_radio @endif
@if($folder->on_subtitle != false) on_subtitle @endif
@if($folder->on_web != false) on_web @endif">
@if(isset($folder->total_price) & $folder->total_price !== '')
@php
$k=0
@endphp
<div class="row">
<div class="col-md-12 col-xs-12" style="padding:0">
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: #187F7E; padding: 4px 0px;">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Umumy bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}}@endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}} @endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
@if($folder->total_price !== '')
@if($k < 1)
<td rowspan="15" style="position: relative">
<div class="tot_price_center_box">
<span>@isset($folder->total_price) {{$folder->total_price}} TMT <i style="display: none">{{$k=$k+1}}</i> @endisset</span>
</div>
</td>
@endif
@endif
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
@if(!isset($folder->total_price) & $folder->total_price == '')
<div class="row">
<div class="col-md-12 col-xs-12" style="padding: 0">
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: #187F7E; padding: 4px 0px;">
<b>{{$folder->title}}</b></h4>
</div>
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Wagt aralygy</th>
<th scope="col">TV</th>
<th scope="col">Radio</th>
<th scope="col">Subtitle</th>
<th scope="col">Web</th>
<th scope="col" class="text-center">Bahasy</th>
</tr>
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
<td>@isset($table['set_radio']) {{$table['set_radio']}} @endisset</td>
<td>@isset($table['set_sub']) {{$table['set_sub']}}@endisset</td>
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
<td>{{$table['price'] ?? '0'}} TMT @endisset</td>
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
</div>
@endif
@endforeach
</div>
</div>
@endif
@endforeach
</div>
</div>
</div>
<div class="col-md-3 col-lg-3 col-xs-12 mt-1">
<div>
<div class="calc_boxx">
<h4 class="fontSemiBold calc_text">CALCULATOR</h4>
<span class="order-text">Sargyt etmek üçin aşakdaky maglumatlary dolduryň</span>
<form id="folder_form">
<div class="form-row for-add-button">
<div class="row add_box">
<div class="calculator-box">
<div class="mb-3" style="margin-top: 1em;">
<label for="validationDefault01">Sekund sany
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Duration of commercial" class="fa fa-info-circle"></i>
</label>
<input type="number" class="form-control" id="calc_second" placeholder="Naçe sekunt?" value="" required>
</div>
<div style="display: none;">
<span id='selected_folder_id' style="display:none;"></span>
<span id='selected_folder_text' style="display:none;"></span>
</div>
<div class="mb-3" style="margin-top: 1em;">
<label for="folder_select">Bukja
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Choose your package" class="fa fa-info-circle"></i>
</label>
<select id="folder_select" class="form-control" name="folder_select">
<option selected>--</option>
<optgroup id="opt_prop_1" label="Döwlet eýeçiligi">
@foreach($folders as $folder)
@if($folder->property->filter_value == 1)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@endif
@endforeach
</optgroup>
<optgroup id="opt_prop_2" label="Hususy eýeçilikdäki ýerli kärhanalar">
@foreach($folders as $folder)
@if($folder->property->filter_value == 2)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@endif
@endforeach
</optgroup>
<optgroup id="opt_prop_3" label="Daşary ýurt kärhanalary we ilçihanalar">
@foreach($folders as $folder)
@if($folder->property->filter_value == 3)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folderId="{{$folder->property->filter_value}}">{{$folder->title}}</option>
@endif
@endif
@endforeach
</optgroup>
</select>
</div>
<div class="mb-3" id="bukja_1_1_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time1">Wagt aralygy</label>
<select id="select_time1" class="form-control sel_time">
<option selected>--</option>
@foreach($folders as $folder)
@if($folder->property->filter_value == 1)
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price']}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price']}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price']}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price']}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@endforeach
@endif
@endif
@endforeach
</select>
</div>
<div class="mb-3" id="bukja_1_2_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time2">Wagt aralygy</label>
<span id=""></span>
<select id="select_time2" class="form-control sel_time">
<option selected>--</option>
@foreach($folders as $folder)
@if($folder->property->filter_value == 2)
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price']}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price']}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price']}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price']}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@endforeach
@endif
@endif
@endforeach
</select>
</div>
<div class="mb-3" id="bukja_1_3_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time3">Wagt aralygy</label>
<span id=""></span>
<select id="select_time3" class="form-control sel_time">
<option selected>--</option>
@foreach($folders as $folder)
@if($folder->property->filter_value == 3)
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price']}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price']}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price']}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price']}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price']}} TMT">{{$ft['time']}}</option>
@endif
@endforeach
@endif
@endif
@endforeach
</select>
</div>
<div class="mb-3 form-group" style="margin-top: 1em;">
<label for="folder_day">Gün
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Number of days of air" class="fa fa-info-circle"></i>
</label>
<input type="number" class="form-control" id="folder_day" placeholder="Naçe gün" value="" required>
</div>
<div class=" mb-3 form-group">
<label for="all_price">Jemi baha</label>
<div class="all_total_price" style="color:#187F7E"><span id="all_price" style="color:#187F7E">0</span> TMT</div>
</div>
<div class="text-right mb-3">
<button type="button" class="btn" id="hasapla-btn" style="font-size: 1em; background-color: #187F7E; color: #fff;">Hasapla</button> |
<button type="button" class="btn" id="add_new_calc" style="font-size: 1em; background-color: #187F7E; color: #fff; ">+</button>
</div>
<div id="customer_cases" style="margin-top: 1em;"> {{--For orders--}} </div>
</div>
</div>
</div>
<div class="row" id="order_it_box" style="display: none;">
<div style="margin-top:15px; width:100%; text-align: right;">
<button type="button" class="btn btn-danger" id="clear_table">Arassala</button> |
<button type="button" class="btn btn-primary" id="order_it_btn" data-toggle="modal"
data-target="#exampleModalCenter" style="background-color: #187F7E; border:1px solid #187F7E;">Sargyt et</button>
</div>
</div>
</form>
</div>
<div class="yaylym-tertip">
<a href="/mahabat" class="btn yaylym-btn">ÝAÝLYM TERTIBI</a>
<p class="yaylym_text">Sargyt edilen mahabatlaryň ýaýlyma goýberilişi bilen tanyşmak üçin ýaýlym tertibine basyň!</p>
</div>
<div class="contact-info-box desctop-d-none" style="margin-top: 1em;">
<h4><b>MAHABAT MÜDIRLIGI</b></h4>
<ul class="list-unstyled">
<li>Phone: +993 12 493705</li>
<li>Aşgabat şäheri Oguzhan 13</li>
<li>mahabat@turkmentv.gov.tm</li>
</ul>
</div>
</div>
</div>
{{--Udalit-etmeli-dal--}}
<div class="nyrhnama-box">
<div class="calc-box" style="margin-bottom: 25px;">
<div class="ui active centered inline loader"></div>
<form id="folder_form">
<div class="udalit-etmeli-dal-tablitsa">
<div class="row" style="margin-top: 25px;">
<div class="col-md-12">
<h4 class="fontSemiBold">Siziň saýlan bukjalaryňyz</h4>
<h6 id="no-table-message" class="fontSemiBold" style="color: red;">Siz entek bukja saýlaňyzok.</h6>
</div>
</div>
<div id="orders-table-box" style="display: none;">
<div class="row" style="margin-top:15px;">
<div class="customer_table">
<span id="choices_count" style="display: none;"></span>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Saýlanan bukja</th>
<th scope="col">Sekund</th>
<th scope="col">Wagt aralygy</th>
<th scope="col">Gün sany</th>
<th scope="col">Bukja üçin jemi baha</th>
</tr>
</thead>
<tbody id="orders_table">
{{-- zakazy sdes--}}
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{{--Udalit-etmeli-dal-end--}}
@else
<div class="col-md-12 col-xs-12 text-center">
<p><b>Bukja yok</b></p>
</div>
@endif
{{--<!--Sargyt uchin modal-->--}}
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Bukjany sargyt etmek üçin aşakdaky maglumatlary dolduryň</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<form id="send_form" method="POST" action="{{route('bukjalar.store')}}">
<div class="modal-body">
<div class="alert alert-success" role="alert" id="alert_success" style="display: none">
Siziň bukjaňyz üstünlikli kabul edildi. Bizden barjak jaňa garaşmagyňyzy haýyş edýäris.
</div>
<div class="alert alert-danger" role="alert" id="alert_danger" style="display: none">
Ýalňyşlyk ýüze çykdy. Täzeden synanyşyň ýa-da <a href="{{route('cont')}}">Habarlaşmak üçin</a> bölümini saýlaň.
</div>
<div class="form-group">
<label for="customer_name" class="col-form-label">Ady:<span style="color:red;">*</span></label>
<input type="text" class="form-control for-clear" id="customer_name" placeholder="Sargyt edijiniň ady ýa-da familiýasy" required>
</div>
{{csrf_field()}}
<div class="form-group">
<label for="customer_phone" class="col-form-label">Telefon: <span style="color:red;">*</span></label>
<input type="text" class="form-control for-clear" id="customer_phone" placeholder="+993 61234567" required>
</div>
<div class="form-group">
<label for="customer_email" class="col-form-label">E-mail:</label>
<input type="email" class="form-control for-clear" id="customer_email" placeholder="meselem@gmail.com">
</div>
<div class="form-group">
<label for="customer_notes" class="col-form-label" >Goşmaça bellikler:</label>
<textarea class="form-control for-clear" id="customer_notes" placeholder="Mahabat etmek isleäýän zadyňyz barada şu ýerik ýazyň..."></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Yza</button>
<button type="button" class="btn btn-primary" id="customer_send_btn" style="background-color: #187F7E; border:1px solid #187F7E;">Ugrat</button>
</div>
</form>
</div>
</div>
</div>
{{--<!--Sargyt uchin modal end-->--}}
</div>
</div>
@endsection
@section('after_scripts')
<script src="{{ asset('assets/libs/owl/owl-carousel/owl.carousel.js')}}"></script>
<script src="{{ asset('assets/js/index.js')}}"></script>
<script src="{{ asset('assets/js/scripts.js')}}"></script>
@endsection