<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('inc\hotel_searcharea.html', '483031db6574f85698fe3f98b1399b3e', 1340096966); ?>
<div class="sideboxarea">
<h2>缩小搜索范围</h2>
<div class="side_searchare">
<div class="title">酒店级别</div>

<?php if(is_array($search_level)) foreach($search_level as $k => $v) { ?>
<div class="item"<?php if($k>0) { ?> style="border-top:1px dashed #ccc;"<?php } ?>><a title="<?php echo $v['name']; ?>的酒店" href="<?php echo DOMAIN; echo ROOT; ?>hotel/list-level-<?php echo $v['id']; ?>.html"><?php echo $v['name']; ?>(<?php echo $v['count']; ?>)</a></div>
<?php } ?>
<div class="title" style="border-top:1px dotted #ccc;">区域分布</div>

<?php if(is_array($search_area)) foreach($search_area as $k => $v) { if($k % 2 == 0) { ?>
<div class="item"<?php if($k<count($search_area)-1) { ?> style="border-bottom:1px dashed #ccc;"<?php } ?>>
<?php } ?>
<div class="span"><a title="位于<?php echo $v['name']; ?>的酒店" href="<?php echo DOMAIN; echo ROOT; ?>hotel/list-area-<?php echo $v['id']; ?>.html"><?php echo $v['name']; ?>(<?php echo $v['count']; ?>)</a></div>
<?php if($k % 2 == 1 || $k == count($search_area)-1) { ?>
</div>
<?php } } ?>
<div class="title" style="border-top:1px dotted #ccc;">酒店服务</div>

<?php if(is_array($search_service)) foreach($search_service as $k => $v) { ?>
<div class="item"<?php if($k>0) { ?> style="border-top:1px dashed #ccc;"<?php } ?>><a title="有<?php echo $v['name']; ?>服务的酒店" href="<?php echo DOMAIN; echo ROOT; ?>hotel/list-service-<?php echo $v['id']; ?>.html"><?php echo $v['name']; ?>(<?php echo $v['count']; ?>)</a></div>
<?php } ?>
<div class="title" style="border-top:1px dotted #ccc;">标志物/地标</div>

<?php if(is_array($search_landmark)) foreach($search_landmark as $k => $v) { ?>
<div class="item"<?php if($k>0) { ?> style="border-top:1px dashed #ccc;"<?php } ?>><a title="位于<?php echo $v['name']; ?>的酒店" href="<?php echo DOMAIN; echo ROOT; ?>hotel/list-landmark-<?php echo $v['id']; ?>.html"><?php echo $v['name']; ?>(<?php echo $v['count']; ?>)</a></div>
<?php } ?>
</div></div>
