<html>
<head>
<title>ci-hotel</title>
</head>
<body>
<h1>ci-hotel</h1>
<?php if(is_array($hotels)) : ?>
<?php foreach ($hotels as $hotel): ?>
<h2 class="entry_title"><?php echo $hotel['hotel_name'] ?></h2>
<div class="entry_content">
<?php
echo '<a href="' . site_url('hotel/detail/'. $hotel['hotelid']) . '">詳細</a>';
?>
</div><!-- entry_content -->
<?php endforeach;?>
<?php endif;?>
</body>
</html>
