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


PHP perch_layout函数代码示例

本文整理汇总了PHP中perch_layout函数的典型用法代码示例。如果您正苦于以下问题:PHP perch_layout函数的具体用法?PHP perch_layout怎么用?PHP perch_layout使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: perch_blog_categories

                    <li><a class="lnk__icn appnav icn__start homelink" href="/blog">Startseite</a></li>
                    <li><?php 
perch_blog_categories();
?>
</li>
                    <li class="moremenu-items"><?php 
perch_blog_date_archive_years();
?>
</li>
                    <li><a class="lnk__icn appnav icn__suche" href="/blog/suche">Suche</a>
                        <?php 
perch_search_form();
?>
                    </li>
                    <li><?php 
perch_layout('blog.links');
?>
</li>
                    <li id="moremenu-link"><a class="lnk__icn appnav icn__mehr" href="/blog/mehr">mehr</a></li>
                    <li class="moremenu-items"><?php 
perch_blog_tags();
?>
</li>
                    <li class="moremenu-items"><?php 
perch_layout('blog.infos');
?>
</li>
                </ul>
            </nav>

        <main>
开发者ID:nilsmielke,项目名称:frwssr-Blog,代码行数:31,代码来源:blog.header.php

示例2: perch_layout

<?php

include 'perch/runtime.php';
perch_layout('global.header');
perch_gallery_album_details(perch_get('s'), array('template' => 'bespoke_designer_details.html'));
perch_gallery_album_images(perch_get('s'), array('template' => 'bespoke_designer_gallery.html'));
perch_layout('global.footer', array('activePage' => 'contact'));
?>

开发者ID:AlexTebbutt,项目名称:tcs,代码行数:8,代码来源:bespoke-designer.php

示例3: perch_layout

<?php

include 'perch/runtime.php';
?>

<?php 
perch_layout('header');
$lang = PerchSystem::get_var('lang');
?>
<body>

	<?php 
if ($lang == 'it') {
    ?>
		<h1>Ciao!</h1>
	<?php 
} else {
    ?>
		<h1>Hello!</h1>
	<?php 
}
?>

	<?php 
perch_content('Main content - ' . $lang);
?>

</body>
</html>
开发者ID:philyboysmith,项目名称:multilingual-perch,代码行数:29,代码来源:multi-lingual_page.php

示例4: perch_search_form

				<use xlink:href="#tel-icon" />
			</svg>
			<span>01254 666444</span>
		</a>
		<a class="search-reveal" href="#">
			<svg class="icon-hover">
				<use xlink:href="#search-icon" />
			</svg>
		</a>
		<div class="menu-diddy menu-icon">
			<svg>
				<use xlink:href="#menu-icon" />
			</svg>
		</div>
	</div>
	</header>

<div class="search">
	<div id="pattern" class="pattern">
		<?php 
perch_search_form();
?>
	</div>
</div>


<?php 
perch_layout('main-nav');
?>
		
		
开发者ID:jimcurran,项目名称:bdmusichub,代码行数:29,代码来源:page-header.php

示例5: perch_content

?>

<div class="row">

  <div class="twelve columns inset-white">
		  
		  <h1 class="handwritten"><?php 
perch_content('Whats New Page Title');
?>
</h1>
		  
		  <?php 
perch_content('Whats New Page Main Copy');
?>
		  
	</div>
	
</div>
	  
		  
  <!-- Bespoke albums show here -->
  <?php 
perch_gallery_albums(array('template' => 'new_season_album.html', 'filter' => 'category', 'match' => 'eq', 'value' => 'new-season'));
?>
	

<?php 
perch_layout('global.footer', array('activePage' => 'new-season'));
?>

开发者ID:AlexTebbutt,项目名称:tcs,代码行数:29,代码来源:new-season.php

示例6: perch_layout

                            
                </div>
                <div class="footer__column">
                    <h3>Conversations</h3>
                    <nav class="icon-nav">
                        <ul>
                            <li><a href="http://twitter.com/perchdio"><?php 
perch_layout('icons/circle-icon--twitter');
?>
</a></li>
                            <li><a href="https://www.youtube.com/channel/UCnXiQiwhLY3wLlBvCsCg3Rg"><?php 
perch_layout('icons/circle-icon--youtube');
?>
</a></li>
                            <li><a href="mailto:hello@perchd.io"><?php 
perch_layout('icons/circle-icon--mail');
?>
</a></li>

                        </ul>
                    </nav>
                </div>

            </div>

            <hr />

            <div class="outer-container">
                <div class="copyright-notice">
                    <p>&copy; 2015 amillionmonkeys Ltd. Site designed by <a href="http://www.sarahevansdesign.co.uk/">Sarah Evans</a> and built by <a href="http://amillionmonkeys.co.uk">amillionmonkeys</a>.<br />
                    Trademarks and brands are the property of their respective owners.</p>
开发者ID:amillionmonkeys,项目名称:perchd,代码行数:30,代码来源:footer.php

示例7: perch_layout

<?php

include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php';
perch_layout('blog.header');
perch_content('Datenschutz');
perch_layout('blog.footer');
开发者ID:nilsmielke,项目名称:frwssr-Blog,代码行数:6,代码来源:datenschutz.php

示例8: perch_gallery_album_field

perch_gallery_album_field(perch_get('s'), 'albumTitle');
?>
&amp;body=https://waterford.sz/news/photos/album.php?s=<?php 
perch_gallery_album_field(perch_get('s'), 'albumSlug');
?>
"><i class="icon-email"></i></a></li>
        		</ul>
    		</div>
  		</div>   
	</div>
</div>

<section>
  <div class="cards">
    <header class="fp-header-ctnr">
      <h1 class="float-left medium blue">Latest photos</h1>
      <p class="small"><a class="float-right link margin-top-05" href="/news/photos/">All latest photos &#8250;</a></p>
    </header>

    <?php 
perch_gallery_albums(array('count' => 4, 'template' => 'album_recent.html', 'sort' => 'albumOrder', 'sort-order' => 'DESC', 'image' => true));
?>
  </div>
</section>
<div class="article-background"></div>

<?php 
perch_layout('footer');
?>

开发者ID:connor-baer,项目名称:waterford-website,代码行数:29,代码来源:album.php

示例9: perch_content

			<?php 
perch_content('About Us Left Column Image');
?>
							
	  </div>
	  
	  <div class="six columns">
		  
			<?php 
perch_content('About Us Right Column Image 1');
?>

			<?php 
perch_content('About Us Right Column Image 2');
?>

			<?php 
perch_content('About Us Right Column Copy');
?>
			
	  </div>
	  
  </div>
  
</div>
	
<?php 
perch_layout('global.footer', array('activePage' => 'about-us'));
?>

开发者ID:AlexTebbutt,项目名称:tcs,代码行数:29,代码来源:about-us.php

示例10: perch_content

				));

 			}
*/
?>
			
			</div>
		    
		</div>
		
		<div class="three columns">

			<?php 
perch_content('Blog Inlink Panels');
?>
			
		</div>
		
  </div>
  
</div>

	  

  </div>
  
</div>
	
<?php 
perch_layout('global.footer', array('activePage' => 'blog'));
开发者ID:AlexTebbutt,项目名称:tcs,代码行数:30,代码来源:post.php

示例11: perch_layout

<script src="<?php 
Common::version_file('/js/public.min.js');
?>
"></script>

<?php 
perch_layout('global.analytics', ['analytics_id' => GOOGLE_ANALYTICS_ID]);
开发者ID:xmmedia,项目名称:starter_perch,代码行数:7,代码来源:public.javascript.php

示例12: perch_layout

                    <i class="icon-nav__icon"><?php 
perch_layout('icons/circle-icon--gallery');
?>
</i>
                    <h5 class="icon-nav__title">Powered by Perch Gallery ></h5>
                </a></li>
                <li><a href="#">
                    <i class="icon-nav__icon"><?php 
perch_layout('icons/circle-icon--code');
?>
</i>
                    <h5 class="icon-nav__title">Code Snippets ></h5>
                </a></li>
                <li><a href="#">
                    <i class="icon-nav__icon"><?php 
perch_layout('icons/circle-icon--links');
?>
</i>
                    <h5 class="icon-nav__title">Handy Links ></h5>
                </a></li>
                <li><a href="#">
                    <i class="icon-nav__icon"><?php 
perch_layout('icons/circle-icon--videos');
?>
</i>
                    <h5 class="icon-nav__title">Videos ></h5>
                </a></li>
            </ul>
        </nav>
    </div>
</div>
开发者ID:amillionmonkeys,项目名称:perchd,代码行数:31,代码来源:homepage-header.php

示例13: perch_layout

<?php

include $_SERVER['DOCUMENT_ROOT'] . '/cms/runtime.php';
perch_layout('global-header');
?>


	<!--  change cols2-nav-right to cols2-nav-left if you want the sidebar on the left -->
	<div class="wrapper cols2-nav-right">

		<div class="primary-content">


		    <div class="post">
		    	<?php 
perch_blog_section(perch_get('s'));
?>

		    	<?php 
perch_blog_custom(['section' => perch_get('s')]);
?>

		    </div>
		</div>

		<nav class="sidebar">
		    <h2>Filter archive</h2>
		    <!--  By category listing -->
		    <?php 
perch_blog_categories(array('section' => perch_get('s')));
?>
开发者ID:jimcurran,项目名称:bdmusichub,代码行数:31,代码来源:section.php

示例14: perch_layout

<aside class="sidebar">
    <div class="widget widget--twitter">
        <div class="widget__header">
            <div class="widget__title"><h3><?php 
perch_layout('icons/icon--twitter');
?>
 Twitter</h3></div>
        </div>
        <div class="widget__content">
        <?php 
perch_twitter_get_latest(['exclude_replies' => true]);
?>
        </div>
    </div>

    <div class="widget widget--subscribe">
        <div class="widget__header">
            <div class="widget__title"><h3><?php 
perch_layout('icons/icon--rss');
?>
 Subscribe</h3></div>
        </div>
        <div class="widget__content">
            <p>Get a weekly summary of perchd.io articles and news.</p>
            <?php 
perch_mailchimp_form('subscribe.html');
?>
        </div>
    </div>

</aside>
开发者ID:amillionmonkeys,项目名称:perchd,代码行数:31,代码来源:sidebar.php

示例15: perch_layout

<aside class="sidebar">

    <div class="widget widget--user">
        <div class="widget__header">
            <div class="widget__title"><h3><?php 
perch_layout('icons/icon--user');
?>
 User</h3><hr /></div>
            
        </div>
        <div class="widget__content">
            <?php 
if (perch_member_logged_in()) {
    ?>
  
                <ul>
                    <li><a href="/user/apps">My Apps</a></li>
                    <li><a href="/user/">Edit profile</a></li>
                    <li><a href="/user/logout">Log out</a></li>
                </ul>

            <?php 
} else {
    perch_members_login_form();
}
?>
        </div>
    </div>

</aside>
开发者ID:amillionmonkeys,项目名称:perchd,代码行数:30,代码来源:user-sidebar.php


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