@php $banner_list = GetBanner($ebook_volume_details[0]->ebook_volume_id,"eBook_volume"); @endphp
@section('metatags')
@php
$image_file_name=$ebook_volume_details[0]->image_file_name;
if(empty($image_file_name)) $image_file_name= 'no_image.jpg';
if(!(file_exists('images/bentham/'.$image_file_name))){
			$image_file_name = 'no_image.jpg';
}
	$image_url= 'http://'.$_SERVER['HTTP_HOST'].'/images/bentham/'.$image_file_name;
	$url='http://'.$_SERVER['HTTP_HOST'].'/ebook_volume/'.$ebook_volume_details[0]->ebook_volume_id;
	$ebook_title = $ebook->title;
	$subtitle = $ebook->subtitle;
	$isbn = $ebook_volume_details[0]->isbn;
	if($CountMultipleVolumeExist > 0){
		$volumeLabel = 'Volume: '.$ebook_volume_details[0]->volume_name;
	}
	else{
		$volumeLabel = '';
	}

	$checkLoginFlag=false;
@endphp
<meta property="og:type"   content="website" /> 
<meta property="og:title" content="{{strip_tags($ebook_title)}}" />		
<meta property="og:url" content="{{$url}}"/>
<meta property="og:image" content="{{$image_url}}" />
<meta property="og:description" content="{{$subtitle}}" />
<meta property="og:site_name" content="http://{{$_SERVER['HTTP_HOST']}}" />
@endsection


<section id="ebook-banner" class="ebook_volume">

      <div class="container" >
        <div class="row">
          <div class="col-md-2">
          	<div class="position-relative">
          		@if($ebook_volume_details[0]->image_file_name != '')
				  <img 
				  src="{{'/images/bentham/'.$ebook_volume_details[0]->image_file_name}}"
				  width="160" height="211"
				  class="img-fluid" alt="">	
				@else         
					<img src="https://via.placeholder.com/200x200" alt="profile pic" width="160" height="211">
				@endif
				@if(\Route::current()->getName() != 'pre_order_form' && \Route::current()->getName() != 'preview_pre_order')
				  @if((!isset($VolumeDownloadAccess) || (!$VolumeDownloadAccess) ))
					@if($ebook_volume_details[0]->sample_file_name != "")
						
						
						{{ Form::open(array('method' => 'POST','route' => 'download_volume_file')) }}
						<input type="hidden" name="agree-flag" id="agree-flag" value="1">
						<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'sample'.'||'.'S'.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

						<button type="submit" class="btn btn-success btn-sm free-sample" >Free Sample</button>

						{{ Form::close() }}
					
					
					@endif
				  @elseif($vol_type == 888)
					  @if($ebook_volume_details[0]->sample_file_name != "")
							
							{{ Form::open(array('method' => 'POST','route' => 'download_volume_file')) }}
							<input type="hidden" name="agree-flag" id="agree-flag" value="1">
							<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'sample'.'||'.'S'.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

							<button type="submit" class="btn btn-success btn-sm free-sample" >Free Sample</button>

							{{ Form::close() }}
							  
						@endif
				  @endif
				@endif	  
			</div>
		  
			@if($ebook_volume_details[0]->ebook_status == 2 && \Route::current()->getName() != 'pre_order_form' && \Route::current()->getName() != 'preview_pre_order')
				<a class="btn btn-outline-light btn-sm btn-block mt-3" href="/pre_order/{{ $ebook_volume_details[0]->ebook_volume_id }}" name="language_btn">Pre-Order</a>
			@endif

			@if($ebook_volume_details[0]->flyer_link != "")
			<!--a class="btn btn-outline-light btn-sm mt-3 btn-block" href="/DownloadFlyer/{{Crypt::encrypt(config('constants.admin.root_path').'E-books/BEN/'.$ebook_volume_details[0]->eisbn.'/'.$ebook_volume_details[0]->volume_name.'/EBOOK/'.$ebook_volume_details[0]->flyer_link)}}" name="language_btn">Download PDF Flyer</a-->		
			<a class="btn btn-outline-light btn-sm mt-3 btn-block" href="/images/ebook-flyer/{{$ebook_volume_details[0]->flyer_link}}" name="language_btn">Download PDF Flyer</a>
			
			@endif
			@if(\Route::current()->getName() != 'pre_order_form' && \Route::current()->getName() != 'preview_pre_order')
			<!-- <a class="btn btn-light btn-sm mt-3 btn-block" href="{{route('alert-subscription')}}">Alert Subscription</a> -->
			@endif
		  </div>
          <div class="col-md-5">
			
            <h1 class="h4">{!! $ebook->title !!}</h1>
			<h5 class="h5">{!! $ebook_volume_details[0]->ebook_subtitle !!}</h5>
			<h3 class="h5">{{$volumeLabel}}</h3>
			<!-- ebook volume authors -->
			@if (isset($ebook_volume_details) && $ebook_volume_details[0]->ebook_volume_id)
				
				@php ($author_name = null) @endphp
				@php ($co_author_name = null) @endphp
				@php ($editor_name = null) @endphp
				@php ($co_editor_name = null) @endphp
				@php ($guest_name = null) @endphp

				@foreach ($authors as $author)
					@if($author->iseditorcoeditor == 'a') 
						@php $author_name .= ucfirst($author->first_name).' '.ucfirst($author->last_name).', '; @endphp
					@elseif($author->iseditorcoeditor == 'ca') 
						@php $co_author_name .= ucfirst($author->first_name).' '.ucfirst($author->last_name).', '; @endphp
					@elseif($author->iseditorcoeditor == 'e') 
						@php $editor_name .= ucfirst($author->first_name).' '.ucfirst($author->last_name).', '; @endphp
					@elseif($author->iseditorcoeditor == 'ce') 
						@php $co_editor_name .= ucfirst($author->first_name).' '.ucfirst($author->last_name).', '; @endphp
					@elseif($author->iseditorcoeditor == 'ge')
						@php $guest_name .= ucfirst($author->first_name).' '.ucfirst($author->last_name).', '; @endphp
					@endif
				@endforeach
				<h6>
				@if($author_name) Authors(s) : {!! rtrim($author_name,', ') !!}<br> @endif
				@if($co_author_name) Co-Author(s) : {!! rtrim($co_author_name,', ') !!}<br> @endif
				@if($editor_name) Editor(s) : {!! rtrim($editor_name,', ') !!}<br> @endif
				@if($co_editor_name) Co-Editor(s) : {!! rtrim($co_editor_name,', ') !!}<br> @endif
				@if($guest_name) Guest-Editor(s) : {!! rtrim($guest_name,', ') !!}<br> @endif
				</h6>
				
				
			<p>
				@if($ebook_volume_details[0]->doi != "")
				DOI: <a href="https://doi.org/{{ $ebook_volume_details[0]->doi }}" target=
                    "_blank" class="text-white">{{ $ebook_volume_details[0]->doi }}</a>
				@endif	

				@if($ebook_volume_details[0]->eisbn != "")
				<br />eISBN: {{ $ebook_volume_details[0]->eisbn }}, 
				@endif	

				{{ $ebook_volume_details[0]->year }}

				@if($ebook_volume_details[0]->isbn != "")
				<br />ISBN: {{ $ebook_volume_details[0]->isbn }}
				@endif	

				@if($ebook_volume_details[0]->issn != "")
				<br />ISSN: {{ $ebook_volume_details[0]->issn }} <strong>(Print)</strong>
				@endif	

				@if($ebook_volume_details[0]->eissn != "")
				<br />ISSN: {{ $ebook_volume_details[0]->eissn }} <strong>(Online)</strong>
				@endif	
				
				
			</p>	
			
			
		  <p><a class="btn btn-outline-light btn-sm" href="/bybook">Back</a>
		  	<a class="btn btn-outline-light btn-sm" href="mailto:?subject=Library%20Recommendation:%20<?php echo strip_tags($ebook_title);?>&body=%0ALibrary%20Name:%0ALibrary%20Address:%0ALibrary%20Email:%0APhone:%0AFax:%0A%0ADear%20____%5BPLEASE%20INSERT%20THE%20NAME%20OF%20YOUR%20LIBRARIAN%20/%20INFORMATION%20SPECIALIST%5D%0A%0AI%20would%20like%20to%20recommend%20the%20following%20Bentham%20eBook%20for%20our%20library.%20I%20believe%20that%20this%20would%20be%20a%20valuable%20addition%20to%20our%20on-line%20/%20print%20collection.%20Please%20contact%20the%20publisher%20at%20ebooks@benthamscience.org%20for%20further%20purchase%20related%20details.%20The%20book's%20details%20are%20below.%0A%0AeBook%20Title:%20<?php echo strip_tags($ebook_title);?>%0AeISBN:%20<?php echo strip_tags($isbn);?>%0AeBook%20URL:%20<?php echo $url;?>%0A%0AThank%20you.%0A%0ASincerely,%0A%5BPLEASE%20INSERT%20YOUR%20NAME%20AND%20CONTACT%20ADDRESS%5D">Recommend this Book to your Library</a>
		  	<a class="btn btn-outline-light btn-sm" href="javascript:void(0);"  data-toggle="modal" data-target="#CiteWindow">Cite as</a>

  	
		  </p> 
		
			@endif
        </div>
        		
		@if($ebook_volume_details[0]->ebook_status == 1) <!-- Ebook is Pre-published Donot show e-Book Web Price -->
			
			
			@if(isset($VolumeDownloadAccess) && $VolumeDownloadAccess > 0 && $vol_type != 888)
				
				<div class="col-md-4 offset-md-1 d-flex align-items-top">
					<div class="list-group bg-transparent">

					  <div href="#" class="list-group-item list-group-item-action bg-siteblue text-white">
					  <h5 class="m-0">Book Web Price: <span class="float-right">US $</span></h5>
					  
					  </div>					  
					  @if($ebook_volume_details[0]->ebook_price_pod > 0 && strtolower($ebook_volume_details[0]->select_ebook_type) != 'video')
						<a href="/order_print_version/{{ $ebook_volume_details[0]->ebook_volume_id }}/POD" class="list-group-item list-group-item-action">Order Printed Copy  <span class="badge badge-secondary float-right">{{ $ebook_volume_details[0]->ebook_price_pod }}</span></a>
					  @endif

					  @if(strtolower($ebook_volume_details[0]->select_ebook_type) == 'video')

						<div class="dropdown btn-group btn-group-sm">
							  <a class="list-group-item list-group-item-action dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Download Options 
							  @if($access_base_text != "")							
									<span class="badge badge-danger">{{$access_base_text}}</span>
								@endif
								 
							  </a>
							  <div class="dropdown-menu">								
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file')) }}
								      <input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'video'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

										<button type="submit" class="dropdown-item">Download video File</button>
											
								      {{ Form::close() }}
							  </div>
						</div>						
							
					 @else
					 

						@if(isset($VolumeDownloadAccess) && $VolumeDownloadAccess > 0)
						  
						  
			              @if($terms_popup)
			                  @php
			                    $checklicense = 'javascript:return CheckEbookLicense(this.id)';
			                  @endphp
			                @else
			                  @php
						  
								  $checklicense ='';
								  $D_key = false;
								  
									if ($vol_type == 444 || $vol_type == 555)
									{
										$D_key = true;
									}
								  
								  if(isset($vol_access_base_text) && $vol_access_base_text === 'Token Based Access' && $D_key == true)
								  {
									
									$checklicense ="javascript:return LoginToDownload('download_hide_".$ebook_volume_details[0]->ebook_volume_id."')";
									 $checkLoginFlag=true;
								  }                  
							  
			                  @endphp
			              @endif
				
								@php
		                  if($user_access_id > 0)
		                  {
		                    $param['user_access_id']=$user_access_id;
		                    $user_access_info = \App\Models\UserAccess\UserAccess::GetUserAccess($param);
		                  }
		                  else
		                  {
		                    $user_access_info=array();
		                  }

								@endphp
		      @if($VolumeDownloadAccess > 0  && $ViewOption==0 )
							<div class="dropdown btn-group btn-group-sm">

							  <a class="list-group-item list-group-item-action dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Download Options  
							   @if(isset($vol_access_base_text))<span class="badge badge-danger">{{$vol_access_base_text}}</span>@endif</a>
							  <div class="dropdown-menu">
							
							
							@if($ebook_volume_details[0]->file_name)
								
								@if(!$checkLoginFlag)
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file','id' => 'download-form-pdf')) }}
									<input type="hidden" name="agree-flag" id="agree-flag" value="1">
									<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'pdf'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">
								@else
                  <form action="#">
                @endif

								<button type="submit" id="pdf" class="dropdown-item popsubmit" onclick="{{$checklicense}}">Download PDF File <i class="fas fa-download"></i></button>
		              
								@endif
								{{ Form::close() }}				  
								@if($ebook_volume_details[0]->supplementary_filename)
									
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file','id' => 'download-form-supp')) }}
									  <input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'supp'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

												<button type="submit" class="dropdown-item">Download Supplementary File</button>
											
									  {{ Form::close() }}
								@endif
								@if($ebook_volume_details[0]->prc_file_name)
									
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file','id' => 'download-form-prc')) }}
									  <input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'prc'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

												<button type="submit" class="dropdown-item">Download PRC File</button>
											
									  {{ Form::close() }}
								@endif
								@if($ebook_volume_details[0]->epub_file_name)
									
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file')) }}
									  <input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'epub'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

												<button type="submit" class="dropdown-item">Download ePub File</button>
											
									  {{ Form::close() }}
								@endif


								@php 
									$eparam=encrypt(array('readebookpdf',$ebook_volume_details[0]->ebook_volume_id,config('constants.admin.token')));
									
								@endphp
							
								@if(!$checkLoginFlag)
									<!-- 							<a class="dropdown-item"  target="_blank" href="{{route('ebook_volume', ['id' => $ebook_volume_details[0]->ebook_volume_id,'page_name'=>'readebookpdf','param' => $eparam])}}">Read</a>
									 -->									                

									  </div>
								</div>
								@endif	
					@endif
				@endif	
@endif
				</div>
			</div>
			@else



					@if(!empty($bundle_content) && $bundle_content->ebook==1)
			        	<div class="col-md-4 offset-md-1 d-flex align-items-top">
						<div class="list-group bg-transparent">

						  <div href="#" class="list-group-item list-group-item-action bg-siteblue text-white">
						  <h5 class="m-0">Book Web Price: <span class="float-right">US $</span></h5>
						  
						  </div>					  
							{{ Form::open(array('method' => 'POST','route' => 'download_volume_bundle_file','id' => 'download-form-pdf')) }}
							<input type="hidden" name="agree-flag" id="agree-flag" value="1">
				            <input type="hidden" name="bundle_offer_order_id" id="bundle_offer_order_id" value="{{$bundle_content->bundle_offer_order_id}}"> 
							<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'pdf'.'||'.$bundle_content->content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">
						<div class="dropdown btn-group btn-group-sm">
							  <a class="list-group-item list-group-item-action dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Download Options 
							  @if($access_base_text !="")							
									<span class="badge badge-danger">{{$access_base_text}}</span>
								@endif
								 
							  </a>	
							<button type="submit" id="pdf" class="list-group-item list-group-item-action hvr-grow">Download PDF File </button>
							{{ Form::close() }}


							</div>

						</div>			
						</div>			
					@elseif($vol_type == 888)							
							
						<div class="col-md-4 offset-md-1 d-flex align-items-center">
							<div class="list-group bg-transparent">	
							<div href="#" class="list-group-item list-group-item-action bg-siteblue text-white">
							  <h5 class="m-0">Book Web Price: <span class="float-right">US $</span></h5>
							</div>
							@if($ebook_volume_details[0]->ebook_price_pod > 0)
								
							<a href="/order_print_version/{{ $ebook_volume_details[0]->ebook_volume_id }}/POD" class="list-group-item list-group-item-action hvr-grow">Order Printed Copy <span class="badge badge-secondary float-right">{{ $ebook_volume_details[0]->ebook_price_pod }}</span></a>
					  		@endif
								
							@if($ebook_volume_details[0]->sample_file_name != "")
							<div class="dropdown btn-group btn-group-sm">
							  <a class="list-group-item list-group-item-action dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Download Options 
									<span class="badge badge-danger">Trial Access</span>
							  </a>
								<div class="dropdown-menu">								
									{{ Form::open(array('method' => 'POST','route' => 'download_volume_file')) }}
								      <input type="hidden" name="agree-flag" id="agree-flag" value="1">
								<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'sample'.'||'.'S'.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">

										<button type="submit" class="dropdown-item">Download Sample File</button>
											
								      {{ Form::close() }}
							  	</div>
							  </div>
							  @endif
							</div>
						</div>
							
					@else	
			        
			        	<div class="col-md-4 offset-md-1 d-flex align-items-center">
							<div class="list-group bg-transparent">	
							<div href="#" class="list-group-item list-group-item-action bg-siteblue text-white">
							  <h5 class="m-0">Book Web Price: <span class="float-right">US $</span></h5>
							</div>								
							

							  {{ Form::open(array('id'=>"addtocartForm",'method' => 'POST','route' => 'cart.store')) }}					
								<input type="hidden" value="{{csrf_token()}}" name="_token">
								<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->nid)}}">        
								<button type="submit" class="list-group-item list-group-item-action hvr-grow">Buy Personal Book
								<span class="badge badge-secondary float-right">{{ $ebook_volume_details[0]->ebook_price }}</span>
								</button>
							  {{ Form::close() }}

							  <a href="/order_ebook/{{ $ebook_volume_details[0]->ebook_volume_id }}" class="list-group-item list-group-item-action hvr-grow">Order Library Book <span class="badge badge-secondary float-right">{{ $ebook_volume_details[0]->ebook_price * 4 }}</span></a>
							  	
								@if ($ebook_volume_details[0]->ebook_price_pod > 0)
									
							  <a href="/order_print_version/{{ $ebook_volume_details[0]->ebook_volume_id }}/POD" class="list-group-item list-group-item-action hvr-grow">Order Printed Copy <span class="badge badge-secondary float-right">{{ $ebook_volume_details[0]->ebook_price_pod }}</span></a>
							  @endif

							  @if ($ebook_volume_details[0]->ebook_price_podandpdf > 0)
							  <a class="list-group-item list-group-item-action bg-siteblue text-white hvr-grow" href="/order_print_version/{{ $ebook_volume_details[0]->ebook_volume_id }}/PODandPDF">
							  Order Book + Hard Copy  
							  <span class="badge badge-secondary float-right"><del>{{ $discount['total_net_price'] }}</del></span><br> 
							  <h5>50% off on book <span class="badge badge-light float-right">{{ $ebook_volume_details[0]->ebook_price_podandpdf }}</span> 
							  <i class="fas fa-arrow-circle-down"></i></h5></a>
							  @endif

							
							@if(!empty($ebook_volume_details[0]->amazon_kindle))
							  <a href="{{$ebook_volume_details[0]->amazon_kindle}}" class="list-group-item list-group-item-action hvr-grow">Also available on Amazon Kindle <i class="fab fa-amazon float-right"></i></a>
							@endif

							@if(!empty($ebook_volume_details[0]->amazon_paperback))
							  <a href="{{$ebook_volume_details[0]->amazon_paperback}}" class="list-group-item list-group-item-action hvr-grow">Also available on Amazon Paperback<i class="fab fa-amazon float-right"></i></a>
							@endif
							
							</div>
						</div>

	        	@endif	  
			@endif
		
		
		@endif
		</div>
      </div>
    </section>
	
<!-- Restricted Access Panel Window Start-->
@if (isset($ebook_volume_details) && $ebook_volume_details[0]->ebook_volume_id)
	<div class="modal fade" id='download_hide_{{$ebook_volume_details[0]->ebook_volume_id}}' tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
	<div class="modal-content">

		{{ Form::open(array('method' => 'POST','route' => 'download_volume_file','id' => 'download-form-pdf')) }}
		<input type="hidden" name="agree-flag" id="agree-flag" value="1">
		<input type="hidden" name="param" value="{{Crypt::encrypt($ebook_volume_details[0]->ebook_volume_id.'||'.'pdf'.'||'.$content_download_type.'||'.$restricted_user_access_key.'||'.$user_access_id)}}">
		
	<div class='modal-header bg-primary'>
	  <h4 class="modal-title text-white" id="modalLabelprimary">Restricted Access Panel</h4>
	  <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>
	 
	</div>
	<div class='modal-body'>
		
			  <label class="control-label">Content Access Key</label>
			  <input type="text" name="user_name" class="form-control" >
			  <label class="control-label">Password</label>
			  <input type="password" name="password" class="form-control">
		
	</div> <!-- /.modal-body -->   

	<div class="modal-footer">
	   <button type="submit" class="btn btn-primary" onclick="javascript: $('#download_hide_{{$ebook_volume_details[0]->ebook_volume_id}}').modal('hide');" ><span class="glyphicon glyphicon-remove-circle"></span> Login to Download</button>
	  <button type="button" class="btn btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove-circle"></span> Close</button>

	</div> 

	{{ Form::close() }}
	</div> <!-- /.modal-content -->
	</div> <!-- /.modal-dialog -->
	</div>
@endif

	
	
	
    			        <!-- Cite Window Start-->
		        <div class="modal fade" id="CiteWindow" role="dialog">
		        <div class="modal-dialog">
		          <div class="modal-content">
		            <div class="modal-header">
		              <h4 class="modal-title">About this Book</h4>
		              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		            </div>
		            <div class="modal-body ">              
		              <p><strong>Cite this Book as:</strong></p>
		              <p>
		              	<b><u>For Books</u></b><br>

		              	
						@if($author_name){!! rtrim($author_name,', ') !!} @endif
						@if($editor_name){!! rtrim($editor_name,', ') !!} @endif
						, " {!! $ebook->title !!}  {!! $ebook->subtitle !!} ", Bentham Science Publishers ({{ $ebook_volume_details[0]->year }}). <a href="http://dx.doi.org/{{$ebook_volume_details[0]->doi}}" class="btn-link">https://doi.org/{{$ebook_volume_details[0]->doi}}</a> </p>
		              <table class="table">
		                <tr>
			                <td>
			                	<b>DOI</b><br><a href="http://dx.doi.org/{{$ebook_volume_details[0]->doi}}" class="btn-link">https://doi.org/{{$ebook_volume_details[0]->doi}}</a><br />
			                	<b>Publisher Name</b><br />
			                	Bentham Science Publisher
			                </td>
			                
			                <td>
			                	@if($ebook_volume_details[0]->isbn != "")
			                		<p><b>Print ISBN</b><br>{{$ebook_volume_details[0]->isbn}}</p>
			                	@endif
			                	@if($ebook_volume_details[0]->eisbn != "")
			                		<p><b>Online ISBN</b><br>{{$ebook_volume_details[0]->eisbn}} </p>
								@endif
			                </td>
		                </tr>
		              </table>
		            </div>
		            <div class="modal-footer">
		              <button type="button" class="btn btn-outline-dark" data-dismiss="modal">Close</button>
		              <a class="btn btn-outline-primary" href="{{route('ebook_volume', ['id' => $ebook_volume_details[0]->ebook_volume_id])}}" target="_blank">About this Book </a>
		            </div>
		          </div>
		        </div>
		        </div>
		        <!-- Cite Window End-->	
      @if (Session::has('message'))
      <div class="container">
	      <div class="alert alert-danger alert-dismissible fade show" data-auto-dismiss="5000" role="alert">
	      <b>Attention!</b>{{ Session::get('message') }}         
	         <button type="button" class="close" data-dismiss="alert" aria-label="Close">
	          <span aria-hidden="true">&times;</span>
	        </button>
	      </div>
	  </div>
      @endif
