本文整理汇总了PHP中NCoreMacros::includeTemplate方法的典型用法代码示例。如果您正苦于以下问题:PHP NCoreMacros::includeTemplate方法的具体用法?PHP NCoreMacros::includeTemplate怎么用?PHP NCoreMacros::includeTemplate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NCoreMacros
的用法示例。
在下文中一共展示了NCoreMacros::includeTemplate方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _lbbee78bef56_content
function _lbbee78bef56_content($_l, $_args)
{
extract($_args);
?>
<section class="section content-section blog-section not-found-section">
<div id="container" class="subpage blog 404 wrapper <?php
if (is_active_sidebar("blog-sidebar")) {
} else {
?>
onecolumn<?php
}
?>
">
<div id="content" class="entry-content clearfix" role="main">
<div class="content-wrapper">
<?php
NCoreMacros::includeTemplate("snippets/nothing-found.php", $template->getParams(), $_l->templates['pemu234rbc'])->render();
?>
</div> <!-- /.content-wrapper -->
</div> <!-- /#content -->
</div> <!-- /#container -->
</section>
<?php
}
示例2: if
if (!function_exists($_l->blocks['pravy_blok'][] = '_lb6fc8a9f5af_pravy_blok')) { function _lb6fc8a9f5af_pravy_blok($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?> <div class="box-3 hidden-print">
<!-- pravý blok-->
<?php $_ctrl = $_control->getComponent("vyhledavani"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;$_ctrl = $_control->getComponent("neprehlednete"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;$_ctrl = $_control->getComponent("post"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;NCoreMacros::includeTemplate("sponzori.latte", $template->getParameters(), $_l->templates['jm4gabvjw5'])->render() ?>
<!-- -->
<?php call_user_func(reset($_l->blocks['scripts']), $_l, get_defined_vars()) ?>
</div>
<?php
}}
示例3: _lb2ae0cf8578_sectionD
function _lb2ae0cf8578_sectionD($_l, $_args)
{
extract($_args);
NCoreMacros::includeTemplate("snippets/products.php", array('options' => $themeOptions->sections) + $template->getParams(), $_l->templates['zab63gd7v6'])->render();
}
示例4: _lb569a2977b8_sectionD
function _lb569a2977b8_sectionD($_l, $_args)
{
extract($_args);
NCoreMacros::includeTemplate("snippets/products.php", array('options' => $themeOptions->sections) + $template->getParams(), $_l->templates['d824im22lt'])->render();
}
示例5: dynamic_sidebar
<?php
if (is_active_sidebar("footer-widgets")) {
?>
<div id="footer-widgets" class="widget-area" role="complementary">
<?php
dynamic_sidebar('footer-widgets');
?>
</div>
<?php
}
?>
</div>
<?php
NCoreMacros::includeTemplate('snippets/branding-footer.php', $template->getParams(), $_l->templates['6h12xlrako'])->render();
?>
</footer>
</div><!-- #page -->
<?php
wp_footer();
?>
<?php
echo WpLatteMacros::googleAnalyticsCode($themeOptions->general->ga_code);
?>
示例6: putRevSlider
<?php
if ($headerType == 'slider') {
if (function_exists('putRevSlider')) {
putRevSlider($headerSlider);
}
}
?>
</div>
</div>
<?php
if (isset($isDirSingle)) {
NCoreMacros::includeTemplate('snippets/map-single-javascript.php', $template->getParams(), $_l->templates['p43q75hso3'])->render();
} else {
if ($headerType == 'map') {
NCoreMacros::includeTemplate('snippets/map-javascript.php', $template->getParams(), $_l->templates['p43q75hso3'])->render();
}
}
?>
<div id="directory-search" data-interactive="<?php
if (isset($themeOptions->search->enableInteractiveSearch)) {
?>
yes<?php
} else {
?>
no<?php
}
?>
">
<div class="defaultContentWidth clearfix">
示例7: unset
<?php
}
?>
<?php
}
}
//
// end of blocks
//
// template extending and snippets support
$_l->extends = true;
unset($_extends, $template->_extends);
if ($_l->extends) {
ob_start();
} elseif (!empty($control->snippetMode)) {
return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
$_l->extends = $layout;
$sectionsOrder = isset($post->options('sections-order')->overrideGlobal) ? $post->options('sections-order')->sectionsOrder : null;
?>
<?php
// template extending support
if ($_l->extends) {
ob_end_clean();
NCoreMacros::includeTemplate($_l->extends, get_defined_vars(), $template)->render();
}
开发者ID:ssuhss,项目名称:Begara,代码行数:31,代码来源:_Templates.page-servicos.php-e4759c4c84d58c135e15cc60be7a292d.php
示例8: _lbbd8dd06e01_content
function _lbbd8dd06e01_content($_l, $_args)
{
extract($_args);
?>
<section class="section content-section blog-section category-section">
<div id="container" class="subpage blog category wrapper <?php
if (is_active_sidebar("blog-sidebar")) {
} else {
?>
onecolumn<?php
}
?>
">
<?php
if ($posts) {
?>
<div id="content" class="entry-content clearfix" role="main">
<div class="content-wrapper">
<header class="subpage-header">
<h1 class="page-title">
<?php
echo NTemplateHelpers::escapeHtml(__('Category Archives:', 'ait'), ENT_NOQUOTES);
?>
<span><?php
echo NTemplateHelpers::escapeHtml($category->title, ENT_NOQUOTES);
?>
</span>
</h1>
<?php
if (strlen($category->description) !== 0) {
?>
<div class="category-archive-meta"><?php
echo $category->description;
?>
</div>
<?php
}
?>
</header>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-above') + $template->getParams(), $_l->templates['yadarop70c'])->render();
?>
<?php
NCoreMacros::includeTemplate("snippets/content-loop.php", array('posts' => $posts) + $template->getParams(), $_l->templates['yadarop70c'])->render();
?>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-below') + $template->getParams(), $_l->templates['yadarop70c'])->render();
?>
</div> <!-- /.content-wrapper -->
</div> <!-- /#content -->
<?php
if (is_active_sidebar("blog-sidebar")) {
?>
<div class="page-sidebar blog-sidebar right clearfix">
<?php
dynamic_sidebar('blog-sidebar');
?>
</div>
<?php
}
?>
<?php
} else {
?>
<div id="content" class="entry-content" role="main">
<div class="content-wrapper">
<?php
NCoreMacros::includeTemplate("snippets/nothing-found.php", $template->getParams(), $_l->templates['yadarop70c'])->render();
?>
</div> <!-- /.content-wrapper -->
</div> <!-- /#content -->
<?php
}
?>
</div> <!-- /#container -->
</section>
<?php
}
示例9: _lba3e8984406__sectionD
function _lba3e8984406__sectionD($_l, $_args)
{
extract($_args);
NCoreMacros::includeTemplate("snippets/products.php", array('options' => $post->options('tabs')) + $template->getParams(), $_l->templates['d17l81i8rg'])->render();
}
开发者ID:ssuhss,项目名称:Begara,代码行数:5,代码来源:_Templates.page-fullwidth.php-320d66c0c68a4eb6b19b829e3bf2a65d.php
示例10: _lbc776462133__sectionD
function _lbc776462133__sectionD($_l, $_args)
{
extract($_args);
NCoreMacros::includeTemplate("snippets/products.php", array('options' => $post->options('tabs')) + $template->getParams(), $_l->templates['qua3fhiidj'])->render();
}
示例11: _lbe5d497be66_content
function _lbe5d497be66_content($_l, $_args)
{
extract($_args);
?>
<article id="post-<?php
echo htmlSpecialChars($post->id);
?>
" class="<?php
echo htmlSpecialChars($post->htmlClasses);
?>
">
<header class="entry-header">
<h1 class="entry-title">
<a href="<?php
echo htmlSpecialChars($post->permalink);
?>
" title="<?php
echo htmlSpecialChars(__('Permalink to', 'ait'));
?>
<?php
echo htmlSpecialChars($post->title);
?>
" rel="bookmark"><?php
echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES);
?>
</a>
</h1>
</header>
<?php
if ($post->thumbnailSrc) {
?>
<a href="<?php
echo $post->thumbnailSrc;
?>
">
<?php
if (isset($fullwidth)) {
?>
<div class="entry-thumbnail"><img src="<?php
echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 940, 'h' => 250), "", "&");
?>
" alt="" /></div>
<?php
} else {
?>
<div class="entry-thumbnail"><img src="<?php
echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&");
?>
" alt="" /></div>
<?php
}
?>
</a>
<?php
}
?>
<div class="entry-content">
<?php
echo $post->content;
?>
</div>
</article><!-- /#post-<?php
echo NTemplateHelpers::escapeHtmlComment($post->id);
?>
-->
<?php
NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['vtzdkbc282'])->render();
?>
<?php
if (isset($themeOptions->advertising->showBox4)) {
?>
<div id="advertising-box-4" class="advertising-box">
<?php
echo $themeOptions->advertising->box4Content;
?>
</div>
<?php
}
?>
<?php
}
示例12: _lbec99d56a6f_content
function _lbec99d56a6f_content($_l, $_args)
{
extract($_args);
?>
<section class="section content-section blog-section archive-section">
<div id="container" class="subpage blog archive wrapper <?php
if (is_active_sidebar("blog-sidebar")) {
} else {
?>
onecolumn<?php
}
?>
">
<?php
if ($posts) {
?>
<div id="content" class="entry-content clearfix" role="main">
<div class="content-wrapper">
<header class="subpage-header">
<h1 class="page-title">
<?php
if ($archive->isDay) {
?>
<?php
echo NTemplateHelpers::escapeHtml(__('Daily Archives:', 'ait'), ENT_NOQUOTES);
?>
<span><?php
echo NTemplateHelpers::escapeHtml($template->date($posts[0]->date, $site->dateFormat), ENT_NOQUOTES);
?>
</span>
<?php
} elseif ($archive->isMonth) {
?>
<?php
echo NTemplateHelpers::escapeHtml(__('Monthly Archives:', 'ait'), ENT_NOQUOTES);
?>
' <span><?php
echo NTemplateHelpers::escapeHtml($template->date($posts[0]->date, 'F Y'), ENT_NOQUOTES);
?>
</span>
<?php
} elseif ($archive->isYear) {
?>
<?php
echo NTemplateHelpers::escapeHtml(__('Yearly Archives:', 'ait'), ENT_NOQUOTES);
?>
' <span><?php
echo NTemplateHelpers::escapeHtml($template->date($posts[0]->date, 'Y'), ENT_NOQUOTES);
?>
</span>
<?php
} else {
?>
<?php
echo NTemplateHelpers::escapeHtml(__('Blog Archives', 'ait'), ENT_NOQUOTES);
?>
<?php
}
?>
</h1>
</header>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-above') + $template->getParams(), $_l->templates['4t9g4yrz11'])->render();
?>
<?php
NCoreMacros::includeTemplate("snippets/content-loop.php", array('posts' => $posts) + $template->getParams(), $_l->templates['4t9g4yrz11'])->render();
?>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-below') + $template->getParams(), $_l->templates['4t9g4yrz11'])->render();
?>
</div> <!-- /.content-wrapper -->
</div> <!-- /#content -->
<?php
if (is_active_sidebar("blog-sidebar")) {
?>
<div class="page-sidebar blog-sidebar right clearfix">
<?php
dynamic_sidebar('blog-sidebar');
?>
</div>
<?php
}
?>
<?php
} else {
?>
//.........这里部分代码省略.........
示例13: list
<?php
//netteCache[01]000493a:2:{s:4:"time";s:21:"0.31916400 1429748526";s:9:"callbacks";a:3:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:103:"/home/storage/9/d7/dd/begara1/public_html/wp-content/themes/lawyer/Templates/snippets/nothing-found.php";i:2;i:1426731167;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"eee17d5 released on 2011-08-13";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:21:"WPLATTE_CACHE_VERSION";i:2;i:4;}}}
// source file: /home/storage/9/d7/dd/begara1/public_html/wp-content/themes/lawyer/Templates/snippets/nothing-found.php
list($_l, $_g) = NCoreMacros::initRuntime($template, 'slw82l5hve');
// snippets support
if (!empty($control->snippetMode)) {
return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php
echo NTemplateHelpers::escapeHtml(__('Nothing Found', 'ait'), ENT_NOQUOTES);
?>
</h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php
echo NTemplateHelpers::escapeHtml(__('Apologies, but no results were found for the request. Perhaps searching will help find a related post.', 'ait'), ENT_NOQUOTES);
?>
</p>
<?php
NCoreMacros::includeTemplate("search-form.php", $template->getParams(), $_l->templates['slw82l5hve'])->render();
?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
开发者ID:ssuhss,项目名称:Begara,代码行数:31,代码来源:_snippets.nothing-found.php-33a4530e0bb1fa8a30f775448792a9ad.php
示例14: _lb6762e04ece_content
function _lb6762e04ece_content($_l, $_args)
{
extract($_args);
?>
<section class="section content-section blog-section author-section">
<div id="container" class="subpage blog author wrapper <?php
if (is_active_sidebar("blog-sidebar")) {
} else {
?>
onecolumn<?php
}
?>
">
<?php
if ($posts) {
?>
<div id="content" class="entry-content clearfix" role="main">
<div class="content-wrapper">
<h1 class="page-title author">
<?php
echo NTemplateHelpers::escapeHtml(__('Author Archives:', 'ait'), ENT_NOQUOTES);
?>
<span class="vcard">
<a class="url fn n" href="<?php
echo htmlSpecialChars($author->postsUrl);
?>
" title="<?php
echo htmlSpecialChars($author->name);
?>
" rel="me"><?php
echo NTemplateHelpers::escapeHtml($author->name, ENT_NOQUOTES);
?>
</a>
</span>
</h1>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-above') + $template->getParams(), $_l->templates['rjeh8snbuy'])->render();
?>
<?php
if (strlen($author->bio) !== 0) {
?>
<div class="author-archive-meta clearfix">
<div id="author-avatar" class="left"><?php
echo $author->avatar(60);
?>
</div>
<div id="author-description" class="clearfix">
<div class="author-name"><?php
echo NTemplateHelpers::escapeHtml(_x('About', 'about author', 'ait'), ENT_NOQUOTES);
?>
<?php
echo NTemplateHelpers::escapeHtml($author->name, ENT_NOQUOTES);
?>
</div>
<div class="bio"><?php
echo NTemplateHelpers::escapeHtml($author->bio, ENT_NOQUOTES);
?>
</div>
</div>
</div>
<?php
}
?>
<?php
NCoreMacros::includeTemplate("snippets/content-loop.php", array('posts' => $posts) + $template->getParams(), $_l->templates['rjeh8snbuy'])->render();
?>
<?php
NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-below') + $template->getParams(), $_l->templates['rjeh8snbuy'])->render();
?>
</div> <!-- /.content-wrapper -->
</div> <!-- /#content -->
<?php
if (is_active_sidebar("blog-sidebar")) {
?>
<div class="page-sidebar blog-sidebar right clearfix">
<?php
dynamic_sidebar('blog-sidebar');
?>
</div>
<?php
}
?>
<?php
} else {
?>
<div id="content" class="entry-content" role="main">
//.........这里部分代码省略.........
示例15: _lb32de605720_sectionD
function _lb32de605720_sectionD($_l, $_args)
{
extract($_args);
NCoreMacros::includeTemplate("snippets/products.php", array('options' => $themeOptions->sections) + $template->getParams(), $_l->templates['g7ly26ljag'])->render();
}