本文整理汇总了PHP中perch_content函数的典型用法代码示例。如果您正苦于以下问题:PHP perch_content函数的具体用法?PHP perch_content怎么用?PHP perch_content使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了perch_content函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: perch_layout
<?php
include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php';
perch_layout('blog.header');
perch_content('Datenschutz');
perch_layout('blog.footer');
示例2: perch_layout
<?php
include '../perch/runtime.php';
perch_layout('global.top');
perch_content('Hero');
perch_gallery_album_details('buy-me-now-stocked-fabrics', array('template' => 'fabrics-album.html'));
perch_gallery_album_images('buy-me-now-stocked-fabrics', array('template' => 'fabrics-album-image.html'));
perch_content('Share');
perch_content('Footer');
perch_layout('global.bottom');
示例3: perch_layout
?>
<body class="projects-page">
<div class="flex-container">
<?php
perch_layout('page-header');
?>
<?php
perch_content('page-content');
?>
<?php
perch_content('email-signup');
?>
<?php
perch_layout('footer');
?>
</div> <!-- flex container -->
<?php
perch_layout('scripts-links');
?>
</body>
</html>
示例4: perch_content
<div class="middle_main">
<!-- Main content -->
<!-- Left Content 590 -->
<div class="left_content_590">
<div class="nivo3">
<div id="slider">
<?php
perch_content('Gallery Images');
?>
</div>
</div>
<?php
perch_content('Main Content');
?>
<?php
perch_content('Price List Link');
?>
</div>
<!-- /Left Content -->
<!-- Sidebar -->
<?php
include '../inc/womens-rhs.php';
?>
<!-- /Sidebar -->
<br class="clear" />
<!-- /Main content -->
</div>
<div class="bottom_main"></div>
</div>
<!-- /MAIN -->
示例5: url
?>
<!-- content-->
<main id="content">
<header class="page-header xlarge stay image-background no-padding rel" style="background-image: url('/images/background-home.jpg');">
<div class="row">
<div class="header-blurb blurb-home text0 regular col-md-7">
<?php
perch_content('blurb');
?>
</div>
</div>
</header>
<!-- page content -->
<?php
perch_content('home topic');
?>
</main>
<!-- / content -->
<?php
include $base . "/part-footer.php";
?>
</div>
<!-- global wrapper -->
<?php
include $base . "/part-scripts.php";
?>
示例6: perch_content
</div>
<div class="row">
<div class="twelve columns">
<p class="handwritten">as seen in ]</p>
</div>
</div>
<div class="row">
<?php
perch_content('Footer Logos');
?>
</div>
<div class="row">
<div class="twelve columns">
<ul id="footer-creds">
<li>©The Cross Two Ltd.</li>
<li>Design By Kate Paillat</li>
<li>Site By Ifnotwhynot</li>
示例7: perch_content
<div id="prices">
<h3>Prices</h3>
<?php
perch_content('Prices');
?>
<hr />
</div>
示例8: perch_layout
perch_layout('header', array('title' => $page_details[0]['title'], 'desc' => $page_details[0]['info']));
} else {
perch_layout('header');
}
if (perch_get('s')) {
// Detail mode
perch_content_custom('Projects', array('template' => 'project.html', 'filter' => 'slug', 'match' => 'eq', 'value' => perch_get('s'), 'count' => 1));
} else {
?>
<div class="wrapper">
<div class="home-photography">
<div class="head-photo" style="background-image: url(/images/work-banner.jpg);"></div>
<div class="title-holder">
<?php
perch_content('Page Title Banner');
?>
</div>
</div>
<div class="portfolio portfolio-v2">
<div class="container">
<div class="filters">
<ul id="filters">
<li class="active" data-filter="*">All</li>
<li data-filter=".user-experience">User Experience</li>
<li data-filter=".web-design">Web Design</li>
<li data-filter=".development">Development</li>
<li data-filter=".maintenance">Maintenance</li>
</ul>
</div>
<div class="row portfolio-masonry">
示例9: perch_content
<div class="title-holder">
<?php
perch_content('Page Title Banner');
?>
</div>
</div>
<div class="row intro">
<div class="col-md-6 col-md-push-3 col-sm-8 col-sm-push-2 col-xs-12">
<?php
perch_content('Page Content');
?>
</div>
</div>
<div class="project-single">
<div class="container">
<?php
perch_content('Page Blocks');
?>
</div>
</div>
</div>
<?php
perch_layout('footer');
示例10: perch_content
perch_content('Tagline');
?>
<!-- /HOME SLOGAN -->
<div class="flash"><a title="Download Our Price List (PDF)" href="/cms/resources/4-hair-price-list-jan-2012.pdf">Download Our Price List</a></div>
<div class="blockWrapper">
<?php
perch_content('Content Blocks');
?>
</div>
<br class="clear" />
<div class="separator"></div>
<br class="clear" />
<h4 class="styling-tips"><a href="/styling-tips">Styling Tips</a></h4>
<?php
perch_content('Styling Tips Intro');
?>
<?php
$opts = array('page' => '/styling-tips.php', 'template' => '_styling_tips_home.html', 'sort-order' => 'DESC', 'count' => 3);
perch_content_custom('Style Tip', $opts);
?>
<a href="/styling-tips" class="right" style="clear:both; display:block;">See more styling tips...</a>
<br class="clear" />
<div class="separator"></div>
<br class="clear" />
<h4 class="styling-tips"><a href="/offers">Latest Offer</a></h4>
<?php
$opts = array('page' => '/offers.php', 'template' => '_offers_home.html', 'sort-order' => 'DESC', 'count' => 1);
perch_content_custom('Offers', $opts);
?>
示例11: perch_content
<h2>Men's</h2>
</div>
</div>
<!-- /LOCATION -->
<!-- MAIN -->
<div id="main">
<div class="top_main"></div>
<div class="middle_main">
<!-- Main content -->
<!-- Fullwidth -->
<div class="fullwidth">
<div class="nivo2">
<div id="slider">
<?php
perch_content('Gallery Images');
?>
</div>
</div>
<?php
perch_content('Main Content');
?>
</div>
<!-- /Fullwidth -->
<br class="clear" />
<!-- /Main content -->
</div>
<div class="bottom_main"></div>
</div>
<!-- /MAIN -->
<?php
include 'inc/footer.php';
示例12: perch_content
<?php
$base = $_SERVER["DOCUMENT_ROOT"];
include $base . '/perch/runtime.php';
perch_content('rss feed');
示例13: perch_content
<li class="icon_rss"><a href="/tips-rss" title="RSS feeds allow you to receive updates directly to your device or reader">Style Tips</a></li>
<li class="icon_rss"><a href="/offers-rss" title="RSS feeds allow you to receive updates directly to your device or reader">Offers</a></li>
</ul>
<br class="clear" />
</div>
<!-- /Left Part -->
<!-- Right Part -->
<div class="right_part_footer">
<!-- Twitter update-->
<div id="twitterUpdate">
<div id="tweeter"><?php
perch_content('Twitter User');
?>
</div>
<div id="deadTweets" class="droid">
<p><img src="/images/loadingTweets.gif" alt="" /> Loading...</p>
</div>
</div>
<!-- /Twitter update -->
<div id="fb-root" class="hide"></div>
<fb:like href="http://www.facebook.com/pages/4-Hair/168339339846806" send="false" width="410" show_faces="false" colorscheme="dark"></fb:like>
<br class="clear" />
</div>
<!-- /Right Part -->
示例14: perch_content
<div id="main">
<div class="top_main"></div>
<div class="middle_main">
<!-- Main content -->
<!-- PORTFOLIO -->
<div id="portfolio">
<br class="clear" />
<br />
<!-- ITEMS -->
<div class="list">
<ul id="portfolio-list" class="display">
<?php
perch_content('Team Members');
?>
</ul>
</div>
<!-- /ITEMS -->
</div>
<!-- /PORTFOLIO -->
<br class="clear" />
<!-- /Main content -->
</div>
示例15: perch_get_css
<?php
include 'perch/runtime.php';
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Perch Example Page</title>
<?php
perch_get_css();
?>
</head>
<body>
<h1><?php
perch_content('Main heading');
?>
</h1>
<?php
perch_content('Intro');
?>
<?php
perch_get_javascript();
?>
</body>
</html>