HEX
Server: Apache
System: Linux 4485441ca2e2 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 11:03:07 UTC 2025 aarch64
User: (1000)
PHP: 8.2.24
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/ganryujima_new_1602/single/_160513_blomaga.php
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php
  $cover = get_field('cover');
  $coverurl = wp_get_attachment_image_src($cover, '16-9');
  $title_num = get_field('title_num');
  $name = get_field('name');
  $nickname = get_field('nickname');
  $interviewer = get_field('interviewer');
  $interviewer_name = get_field('interviewer_name');
  $lead_text = get_field('lead_text');
?>
<article class="l-paper l-article m_single_budo">
  <div class="article-title cover-bg">
    <div class="cover">
      <?php if($cover){ ?>
        <img src="<? echo $coverurl[0]; ?>" alt="">
      <?php } else { ?>
        <img src="<? echo $iconurl[0]; ?>" alt="">
      <?php } ?>
    </div>
  	<h1><span class="bg-black-opa title_num"><?php echo $title_num; ?></span><br /><span class="bg-black-opa"><?php the_title(); ?></span></h1>
  	<aside>
  	  <p class="name">
  	    <?php echo $name; ?>
  	    <span class="cat">(<?php the_field('category',$post->ID); ?>)</span>
        vs
  	    <?php echo $interviewer; ?>
  	  </p>
  	</aside>
    <?php include(TEMPLATEPATH.'/_page_sns.php'); ?>
  </div>
  <h2 class="panel headline"><?php echo $lead_text; ?></h2>
  <?php if( have_rows('conversation')): ?>
    <?php while( have_rows('conversation') ): the_row(); ?>
      <?php
        $sub_title = get_sub_field('sub_title');
        $img = get_sub_field('cnv_img');
        $imgurl = wp_get_attachment_image_src($img, 'full');
        $question = get_sub_field('question');
        $answer = get_sub_field('answer');
      ?>
      <?php if ($sub_title): ?>
        <h3 class="sub_headline"><?php echo $sub_title; ?></h3>
      <?php endif; ?>
      <?php if ($question): ?>
        <div class="question">
          <span class="interview_name"><?php echo $interviewer_name; ?></span>
          <span><?php echo $question; ?></span>
        </div>
      <?php endif; ?>
      <?php if ($answer): ?>
        <div class="answer">
          <span class="interview_name"><?php echo $nickname; ?></span>
          <span><?php echo $answer; ?></span>
        </div>
      <?php endif; ?>
      <?php if($imgurl){ ?>
        <div class="pht_news">
          <img src="<? echo $imgurl[0]; ?>" alt="">
        </div>
      <?php } ?>
    <?php endwhile; ?>
  <?php endif; ?>
</article>
<?php include('_links.php'); ?>
<?php endwhile; endif; ?>
<?php wp_reset_query(); ?>