本文整理汇总了PHP中Booking::shoushuliaoByHid方法的典型用法代码示例。如果您正苦于以下问题:PHP Booking::shoushuliaoByHid方法的具体用法?PHP Booking::shoushuliaoByHid怎么用?PHP Booking::shoushuliaoByHid使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Booking
的用法示例。
在下文中一共展示了Booking::shoushuliaoByHid方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: url
} 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
}
}
?>
开发者ID:khuyennd,项目名称:dev-tasagent,代码行数:30,代码来源:8bc8e2af41f55f9419956524f7f180966f6ed6e6.file.homepage_popitem.tpl.php
示例2: smartyTranslate
<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 -->
开发者ID:khuyennd,项目名称:dev-tasagent,代码行数:29,代码来源:ed9ccc0ac74f971ee3b94736104e54d49b0b8cf0.file.searchhotel.tpl.php