} else {
            ?>
                       		<div style="width:150px;height:150px;background:#f1f1f1 url(<?php 
            echo $_smarty_tpl->getVariable('img_dir')->value;
            ?>
no_image.png) no-repeat center center;background-size:150px 150px;cursor: pointer" onclick="location.href='hotelpage.php?mid=<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['HotelId'];
            ?>
'"></div>
                       <?php 
        }
        ?>
                           <a href="hotelpage.php?mid=<?php 
        echo $_smarty_tpl->tpl_vars['item']->value['HotelId'];
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['item']->value['HotelName'];
        ?>
</a><br/>
                           <div class="money_tag"><?php 
        echo smartyTranslate(array('s' => "from JPY"), $_smarty_tpl);
        echo displayPriceSmarty(array('s' => Booking::shoushuliaoByHid($_smarty_tpl->tpl_vars['item']->value['LowestPrice'], $_smarty_tpl->tpl_vars['item']->value['HotelId']), 'nomark' => 1), $_smarty_tpl);
        echo smartyTranslate(array('s' => "temp"), $_smarty_tpl);
        ?>
</div>
                       </div>
                    <?php 
    }
}
?>
 
   									<input type="submit" name="search" value="<?php 
            echo smartyTranslate(array('s' => 'Booking'), $_smarty_tpl);
            ?>
" class="button orange" alt="<?php 
            echo smartyTranslate(array('s' => 'Booking'), $_smarty_tpl);
            ?>
"/>
   								</p>
                                 	<p class="right">1 <?php 
            echo smartyTranslate(array('s' => 'Night Total'), $_smarty_tpl);
            ?>
:<span class="bold" id="price_<?php 
            echo $_smarty_tpl->tpl_vars['hotel']->value['HotelId'];
            ?>
"> ¥ <?php 
            echo number_format(Booking::shoushuliaoByHid($_smarty_tpl->tpl_vars['hotel']->value['BookingPrice'], $_smarty_tpl->tpl_vars['hotel']->value['HotelId']), 0, ".", ",");
            ?>
</span></p>
                            </div>
                            <?php 
        }
        ?>
                        </form>
                    </div>
                    <?php 
    }
}
?>
                    <!-- search result —— hotel list end -->