Commit 8dcef788 by Orine Matsui

本番データに更新

parent a62433d6
<?php $pageid="schedule";?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?>
<style>
.annotation a {
color: #7d0000;
text-decoration: underline;
}
</style>
<script type="text/javascript">
$(function () {
$('select[name="m_course"]').on('change', function() {
execMembersSearch();
});
$('select[name="m_area"]').on('change', function() {
execMembersSearch();
});
$('select[name="e_area"]').on('change', function() {
execExperienceSearch();
});
});
function execMembersSearch() {
$('#m_course').val($('select[name="m_course"] option:selected').val());
$('#m_area').val($('select[name="m_area"] option:selected').val());
$('#e_area').val('');
$('#submit_form').attr('action', '/pub/schedule');
$('#submit_form').submit();
}
function execExperienceSearch() {
$('#m_course').val('');
$('#m_area').val('');
$('#e_area').val($('select[name="e_area"] option:selected').val());
$('#submit_form').attr('action', '#seminar');
$('#submit_form').submit();
}
</script>
<div class="hero-second schedule-mv">
<div class="schedule-mv-inner">
<h2 class="schedule-mv-ttl"><span>公開講座・体験セミナー <br class="only-sp">日程一覧</span></h2>
<p class="schedule-mv-sub-ttl">『頂点への道』講座シリーズをはじめとした公開講座や 体験セミナー・講演会の日程一覧。</p>
</div>
</div>
<div class="schedule-info-area">
<a href="https://achievement.co.jp/news/info/20210119-02/" target="_blank">「公開講座の開催における新型コロナウィルス感染対策について」</a>
</div>
<!--タブ-->
<ul class="tabArea">
<li class="tab is-active">公開講座・<br class="only-sp">会員向けセミナー</li>
<li class="tab" id="seminar">体験セミナー・<br class="only-sp">講演会</li>
</ul>
<div class="contents2">
<div class="tabCont is-show">
<div class="selectArea">
<form action="" method="get" class="form">
<p class="txt">講座</p>
<select name="m_course">
<option value="">指定なし</option>
@foreach ($membersSeminarCategories as $categoryId => $value)
<?php
$selected = $categoryId == $m_course ? 'selected' : '';
?>
<option value="{{ $categoryId }}" {{ $selected }}>{{ $value['name'] }}</option>
@endforeach
</select>
</form>
<form action="" method="get" class="form">
<p class="txt">開催地</p>
<select name="m_area">
<option value="">指定なし</option>
@foreach ($membersSeminarPrefectures as $prefName)
<?php
$selected = $prefName == $m_area ? 'selected' : '';
?>
<option value="{{ $prefName }}" {{ $selected }}>{{ $prefName }}</option>
@endforeach
</select>
</form>
</div>
<?php
// セミナーが無いときの共通メッセージ
$disabledMembersSeminar = '<p class="schedule-ttl" style="font-size: 2rem; font-weight: normal;">該当するセミナーはありません。</p>';
// $disabledExperienceSeminar = '<p class="seminerBox-txt">該当するセミナーはありません。</p>';
?>
@foreach ($membersSeminarCategories as $categoryId => $categoryItem)
@if ($categoryItem['calendar'] == 'online')
@include('web.calendar.online')
@elseif ($categoryItem['calendar'] == 'normal')
@include('web.calendar.normal')
@elseif ($categoryItem['calendar'] == 'retake')
@include('web.calendar.retake')
@elseif ($categoryItem['calendar'] == 'zoom')
@include('web.calendar.zoom')
@elseif ($categoryItem['calendar'] == 'cpsp')
@include('web.calendar.cpsp')
@elseif ($categoryItem['calendar'] == 'qcc')
@include('web.calendar.qcc')
@endif
@endforeach
</div>
<!-- tabCont -->
<div class="tabCont experienceCont">
<div class="selectArea">
<form action="" method="post" class="form">
<p class="txt">開催地</p>
<select name="e_area">
<option value="">指定なし</option>
@foreach ($experienceSeminarPrefectures as $prefName)
<?php
$selected = $prefName == $e_area ? 'selected' : '';
?>
<option value="{{ $prefName }}" {{ $selected }}>{{ $prefName }}</option>
@endforeach
</select>
</form>
</div>
<section>
@foreach ($experienceSeminarCategories as $categoryId => $categoryItem)
@include('web.experience.experience')
@endforeach
</section>
</div>
<!-- tabCont -->
</div>
<!-- contents2 -->
<form id="submit_form" action="" method="get" class="form" style="display: none;">
<input id="m_course" type="hidden" name="m_course" value="">
<input id="m_area" type="hidden" name="m_area" value="">
<input id="e_area" type="hidden" name="e_area" value="">
</form>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/footer.php'); ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment