當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Booking::shoushuliaoByHid方法代碼示例

本文整理匯總了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


注:本文中的Booking::shoushuliaoByHid方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。