示例#1
0
?>
" target="_blank" class="row-fluid single-servicos">
							<i class="i-lilacs"></i><span class="single-servicos-text"><?php 
_e('Literatura Científica em LILACS', 'Ripsa');
?>
</span>
						</a>
						<?php 
$indicador = get_the_title($post->ID);
$edicao = get_post_meta($post->ID, "edicao", true);
include "lista_ficha_versions.php";
?>
						<span id="impressao" class="row-fluid single-servicos">
							<?php 
if (function_exists('pf_show_link')) {
    echo pf_show_link();
}
?>
							<?php 
if (function_exists('pdfprnt_show_buttons_for_custom_post_type')) {
    echo pdfprnt_show_buttons_for_custom_post_type($custom_query);
}
?>
 
						</span>
						<?php 
$comment_ficha = get_post_meta($post->ID, 'comentarios_indicadores', true);
?>
						<?php 
if (!empty($comment_ficha)) {
    ?>
	<div class="hero">
		<div class="page-container">
			<div class="client-mantle">
				<?php if (get_field('client_image', $report->report_client['ID'])): ?>
					<div class="client-mantle__img-wrap">
						<img class="" src="<?php echo get_field( 'client_image', 'user_' . $report->report_client['ID'] )['url']; ?>" alt="">
					</div>
				<?php endif ?>
				<div class="client-mantle__info">
					<h2 class="hero__client"><?php echo $report->report_client['display_name']; ?></h2>
					<h1 class="hero__title"><?php echo $report->get_title(); ?></h1>
					<?php if ($report->label) : ?>
						<h3 class="hero__label"><?php echo $report->label; ?></h3>
					<?php endif; ?>
					<h4 class="hero__date"><?php echo $report->report_date; ?></h4>
					<?php if(function_exists('pf_show_link')){echo pf_show_link();} ?>
				</div>
			</div>
		</div>
	</div>
	<div class="page-container"> 
	
	<?php if( $tv_radio_recap ): ?>
		<div class="report" id="radio">
		<?php the_partial('report-section-title', 
			array('title' => 'TV / Radio')
		); ?>
		<?php foreach( $tv_radio_recap as $i => $row ) : $media_outlet = new Report_View_Model ( $row['post'] ); 
			the_partial('report-section', array(
				'name'	=> $row['post']->post_title,
				'outlet_type' => $media_outlet->outlet_type,