@extends('partials.master')

@section('title')
	{{ Contest::title(trans('frontend.menu.reserved', ['band' => $band->name])) }}
@stop

@section('master')

<section id="areareservada">

		@include('partials.title', array('title' => trans('frontend.menu.profile')))
		<a class="btn_logout" href="{{ route('band-logout') }}">{{ trans('frontend.menu.logout') }}</a>
		<div class="main">

			<div class="billhead">
				<h2 class="banda_nome">{{{ $band->name }}}</h2>
				<h3 class="banda_musica_nome">{{{ $band->song }}}</h3>
			</div>

			<div class="video-wrapper clearfix">
				<iframe src="//www.youtube.com/embed/{{ $band->main_youtube_id }}?rel=0" frameborder="0" allowfullscreen="true"></iframe>
			</div>

			<div class="mini-video-wrapper {{ !$band->second_youtube_id && !$band->interview_youtube_id ? 'empty' : '' }}">
				@if ($band->second_youtube_id)
				<div class="mini-video">
					<iframe src="//www.youtube.com/embed/{{ $band->youtube_id }}?rel=0" frameborder="0" allowfullscreen="true"></iframe>
				</div>
				@endif

				@if ($band->interview_youtube_id)
				<div class="mini-video">
					<iframe src="//www.youtube.com/embed/{{ $band->interview_youtube_id }}?rel=0" frameborder="0" allowfullscreen="true"></iframe>
				</div>
				@endif
			</div>

			<div class="descricao">
				<p class="banda_descritivo">{{{ $band->bio }}}</p>
				<p class="banda_element">
					@foreach($band->elements as $member)
					<span>{{ $member->name }} - {{ $member->function }}</span>
					@endforeach
				</p>
			</div>

			<div class="contacto">
				{{-- <img src="{{ $band->image_url }}" border="0" alt=""> --}}
				<p class="subtitle">@lang('frontend.participate-form.contact-info')</p>
				<p class="infotxt">@lang('frontend.participate-form.not-visible')</p>
				<p class="txt">{{{ $band->email }}}<br>{{{ $band->phone }}}</p>
			</div>

			<div class="contacto-alternativo">
				<p class="subtitle">@lang('frontend.participate-form.alternative-contact-info')</p>
				<p class="infotxt">@lang('frontend.participate-form.not-visible')</p>
				<p class="txt">{{{ $band->alternative_name }}}<br>{{{ $band->alternative_email }}}<br>{{{ $band->alternative_phone }}}</p>
			</div>

			<div class="templateContainer">
				<p class="title">@lang('frontend.blitz-heading')</p>
				<p class="infotxt">@lang('frontend.blitz-text')</p>
				<div class="cartaz active" id="Template_1">
					<img src="{{ url("assets/img/blitz/{$edition}/cartaz_1_thumb.png") }}" alt="Template_1">
				</div>
				
                                <div class="cartaz" id="Template_2">
                                        <img src="{{ url("assets/img/blitz/{$edition}/cartaz_2_thumb.png") }}" alt="Template_2">
                                </div>
			</div>

			{{ Form::open(array('url' => route('blitz'), 'id' => 'generateKit')) }}
				<input type="hidden" name="band_id" value="{{ $band->id }}">
				<input type="hidden" name="template" value="Template_1">
				<button class="btn" id="downloadKit" style="margin-top:20px;clear:left;">@lang('frontend.blitz-submit')</button>
			{{ Form::close() }}

			<span class="errorKit"></span>

		</div>

		@include("editions.{$edition}.partners", array('class' => 'evento_area'))
</section>

@stop
