当前位置: 首页>>代码示例>>PHP>>正文


PHP Website::top方法代码示例

本文整理汇总了PHP中Website::top方法的典型用法代码示例。如果您正苦于以下问题:PHP Website::top方法的具体用法?PHP Website::top怎么用?PHP Website::top使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Website的用法示例。


在下文中一共展示了Website::top方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

global $website;
$event_id = 7853;
$key = 'cache:special-event:' . $event_id;
//$event = \mem($key);
\Website::top($this);
?>

<section class="main-content">

<div class="hotelbanner">
	<img class="hotel-banner" src="/templates/website/content/images/hotels/hotel-banner.jpg" alt="The Loews Philadelphia Hotel">
</div>

<article class="hotel-block">
	<span class="hotel-title">The Loews Philadelphia Hotel</span>
	
	<div class="hotel-inner">
		<img class="hotel-img" src="/templates/website/content/images/hotels/hotel_07.jpg" alt="The Loews Philadelphia Hotel">
		
		<div class="hotel-info">
		<p>
		<span class="heavytxt">Perfect for the Crystal Tea Room!</span><br>
		<span class="heavytxt">Includes:</span> <br>
		Deluxe accommodations. This amazing 4-Star hotel is 1 block away from the Crystal Tea Room.
		 <br> <br>
		<span class="heavytxt">Booking your room:</span>  <br>
		Booking your room: For this special rate, call 888-575-6397 and ask for Reservations. Tell them you are with "New Year's Eve Philly" (must mention booking code "NYEP14") to get our special discounted rate.
		 <br> <br>
		<span class="heavytxt">Remember:</span>  <br>
开发者ID:BWemagid,项目名称:downtown,代码行数:31,代码来源:details.php

示例2:

<?php

\Website::top();
?>

<div class="main_content">
    <div class="about-us-wrapper">
       <p> NewYearsEveCentral.com celebrates its 15th year anniversary this year as the largest and most trusted

        producer of New Year’s Eve events and parties in major cities across the U.S. </p>

        <p>We are the leading name in organizing premier New Year’s parties and are the preferred partner for top 

        hotels, bars, nightclubs, lounges, restaurants and entertainment center, and other venues in the biggest 

        cities across the country including New York City, Miami, Los Angeles, Atlanta, Baltimore, New Jersey, 

        Chicago, Boston, Philadelphia, Washington DC. </p>

        <p>NewYearsEveCentral.com produces hundreds of highly rated NYE events. We are also your user-friendly 

        NYE guide to finding the perfect New Year’s Eve party in your city, no mattered your preferred venue or 

        ambiance. Our company’s mission is to bring revelers the best New Year’s Eve experience a high quality 

        event packed with amenities and festivities.</p>

        <p>With NewYearsEveCentral.com’s extensive expertise, we offer an array of NYE events that will 

        accommodate – and delight - celebrants of all budgets, ages and party tastes. Most of our events 
开发者ID:BWemagid,项目名称:downtown,代码行数:30,代码来源:about-us.php


注:本文中的Website::top方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。