<div class="pager"> <?php if (linkCheck($id - 1)) { ?> <a href="<?php echo linkMake($id - 1); ?> " class="prev">« 前の記事へ</a> <?php } ?> <?php if (linkCheck($id + 1)) { ?> <a href="<?php echo linkMake($id + 1); ?> " class="next">次の記事へ »</a> <?php } ?> </div> </section> <!--#information--> <footer class="footer contents-box"> <h2 class="section-title text-center"><span class="section-title__white">Information</span><span class="section-title-ja section-title__white text-center">基本情報</span></h2> <div class="inner"> <ul class="list-footer clearfix"> <li class="text-center"><img src="images/kunsei_cheese.png" alt="space_image" width="175" height="127"></li>
if (isset($_GET["cat"]) && $_GET["cat"] != "") { ?> <span class="section-title-ja text-center"><?php echo $catresults[0]["cat_name"]; ?> </span> <?php } ?> </h2> <ul class="news-list"> <?php foreach ($results as $key => $value) { ?> <li><a href='<?php echo linkMake($value["news_id"]); ?> '> <dl class="clearfix"> <dt><img src="admin/files/<?php echo $value["news_url"]; ?> " alt=""></dt> <dd class="sub"><span class="date"><?php echo date('Y.n.j.', strtotime($value["create_date"])); ?> </span> <span class="cat"> <?php if (isset($_GET["cat"])) { echo $catresults[0]["cat_slug"];