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/popularpost/events.php
<?php
  $date = get_field('event_date', $p->id);
  $year = substr($date, 0, 4);
  $month = substr($date, 4, 2);
  $days = substr($date, 6, 2);
  $day = substr($date, 8);
?>
<article class="table_article m_article_events" alt="<?php the_permalink(); ?>">
  <div class="inner">
    <a href="<?php the_permalink() ?>">
      <span class="date">
        <span class="year">
          <?php echo $year; ?>
        </span>
        <span class="days">
          <?php echo $month.'.'.$days; ?>
        </span>
        <span class="day">
          (<?php echo $day; ?>)
        </span>
      </span>
      <span class="cnt">
        <h1>
          <?php if(mb_strlen($p->title)>30) {
            $title= mb_substr($p->title,0,30);
            echo $title.'...';
          } else {
            echo $p->title;
          }?>
        </h1>
      </span>
    </a>
  </div>
</article>