<?php if(get_option('seriesinfo')=='1') { $seri = get_post_meta(get_the_ID(),'ero_series',true); $seridesc = get_post_field('post_content', $seri); ?>
<div class="single-info bixbox">
	<div class="thumb">
		<?php echo Lightnovel::get_post_thumbnail((int)$seri, 'full', 215, 151, array('alt'=>get_the_title($seri),'title'=>get_the_title($seri))); ?>
	</div>
	<div class="infox">
				<div class="infolimit">
					<h2><?php echo get_the_title($seri); ?></h2>
					<?php $meta = get_post_meta( $seri, 'ero_alt', true ); if($meta){ ?><span class="alter"><?php echo $meta; ?></span><?php } ?>
				</div>
				<?php $score = get_post_meta( $seri, 'ero_score', true ); if($score){ ?>
				<div class="rating">
					<?php
					if(!$score || ! is_numeric($score)){ $score = '0.0';}
					$scorepros = $score * 10;
					if($score){ ?>
					<strong><?php echo GOV_lang::get('series_info_rating_label', ["rating" => $score]);?></strong>
					<div class="rating-prc">
						<div class="rtp">
							<div class="rtb"><span style="width:<?php echo $scorepros; ?>%"></span></div>
						</div>
					</div>
					<?php } ?>
				</div>
				<?php } ?>
				<div class="info-content">
				<div class="spe">
					<?php $meta = rwmb_the_value('ero_status','',$seri,false); if($meta){ ?><span><b><?php echo GOV_lang::get('series_info_status_label');?>:</b> <?php rwmb_the_value( 'ero_status', '', $seri ); ?></span><?php } ?>
					<?php echo get_the_term_list( $seri, 'type', '<span><b>'. GOV_lang::get('series_info_type_label') .':</b> ', ', ', '</span>' ); ?>
					<?php echo get_the_term_list( $seri, 'writer', '<span><b>'. GOV_lang::get('series_info_writer_label') .':</b> ', ', ', '</span>' ); ?>
					<?php echo get_the_term_list( $seri, 'artist', '<span><b>'. GOV_lang::get('series_info_artist_label') .':</b> ', ', ', '</span>' ); ?>
					<?php $meta = get_post_meta( $seri, 'ero_date', true ); if($meta){ ?><span class="split"><b><?php echo GOV_lang::get('series_info_released_label');?>:</b> <?php echo $meta; ?></span><?php } ?>
					<?php $meta = get_post_meta( $seri, 'ero_lang', true ); if($meta){ ?><span><b><?php echo GOV_lang::get('series_info_native_label');?>:</b> <?php echo $meta; ?></span><?php } ?>
				</div>
				<?php echo get_the_term_list( $seri, 'genre', '<div class="genxed">', ' ', '</div>' ); ?>
				<?php if($seridesc){ ?>
					<div class="desc mindes">
						<?php echo $seridesc; ?>
						<span class="colap"></span>
					</div>
				<?php } ?>
				</div>
			</div>
</div>
<?php } ?>