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/page_site_common.php
<?php
/*
Template Name: SiteCommon
*/
?>
<?php include('_header.php'); ?>
<?php if(wp_is_mobile() && !is_Kindle() && !is_ipad()){
  include('_global_nav_sp.php');
} else {
  include('_global_nav.php');
} ?>

<div class="container">
  <h1 class="page-title">
    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
      <b><?php echo get_field('en_subtitle'); ?></b>
      <?php the_title(); ?>
    <?php endwhile; endif; ?>
  </h1>
  <section class="page-content">
    <section class="l-column <?php if(!wp_is_mobile() || is_Kindle() || is_ipad()){ echo 'table'; } ?>">
      <section class="l-main">
        <?php if (is_page('world')) { ?>
          <?php include(TEMPLATEPATH . '/site_common/world.php'); ?>
        <?php } else if (is_page('shopping')) { ?>
          <?php include(TEMPLATEPATH . '/site_common/shopping.php'); ?>
        <?php } else if (is_page('jobs')) { ?>
          <?php include(TEMPLATEPATH . '/site_common/jobs.php'); ?>
        <?php } else if (is_page('inquiry-complete')) { ?>
          <?php include(TEMPLATEPATH . '/site_common/inquiry_complete.php'); ?>
        <?php } else { ?>
          <article class="l-paper l-article">
            <?php
              if (is_page('inquiry')) {
                include(TEMPLATEPATH . '/site_common/inquiry.php');
              } else if (is_page('upload-json')) {
                include(TEMPLATEPATH . '/site_common/upload_json.php');
              } else if (is_page('rule')) {
                include(TEMPLATEPATH . '/site_common/rule.php');
              } else {
                if(have_posts()) : while(have_posts()) : the_post();
                  the_content();
                endwhile; endif;
              }
            ?>
          </article>
        <?php } ?>
      </section>
      <section class="l-side l-side-1 hidden-sp">
        <?php include('_side_column.php'); ?>
      </section>
    </section>
  </section>
</div>

<?php include('_footer.php'); ?>