function _lbc03d71fd18_content($_l, $_args) { extract($_args); ?> <?php if (trim($post->content) != "") { ?> <section class="section content-section"> <div id="container" class="subpage wrapper onecolumn"> <div id="content" class="entry-content clearfix" role="main"> <div class="content-wrapper clearfix"> <header class="entry-title clearfix"> <h1><?php echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES); ?> </h1> <span class="breadcrumbs"><?php echo NTemplateHelpers::escapeHtml(__('You are here:', 'ait'), ENT_NOQUOTES); ?> <?php echo WpLatteFunctions::breadcrumbs(array()); ?> </span> </header> <?php echo $post->content; ?> </div> <!-- /.content-wrapper --> <?php NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['d17l81i8rg'])->render(); ?> </div> <!-- /#content --> </div> <!-- /#container --> </section> <?php } ?> <?php }
function aitEasyAdminHead() { // frontend styles echo '<link id="ait-style" rel="stylesheet" type="text/css" media="all" href="' . WpLatteFunctions::lessify() . '">'; // frontend javascript // echo '<script>'; // include_once dirname(__FILE__) . '/easy-admin.js'; // echo '</script>'; echo '<style>'; include_once dirname(__FILE__) . '/easy-admin.css'; echo '</style>'; $screen = get_current_screen(); if ($screen->base == 'profile') { echo '<script>'; include_once dirname(__FILE__) . '/easy-admin-profile.js'; echo '</script>'; } }
function _lbca32f6c9f7_content($_l, $_args) { extract($_args); ?> <section class="section content-section blog-section"> <div id="container" class="subpage 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 clearfix"> <?php if (!$isIndexPage) { if (trim($post->content) != "") { ?> <header class="entry-title clearfix"> <h1><?php echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES); ?> </h1> <span class="breadcrumbs"><?php echo NTemplateHelpers::escapeHtml(__('You are here:', 'ait'), ENT_NOQUOTES); ?> <?php echo WpLatteFunctions::breadcrumbs(array()); ?> </span> </header> <?php echo $post->content; ?> <?php } } ?> <?php NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-above') + $template->getParams(), $_l->templates['kwjpuxbgc0'])->render(); ?> <?php NCoreMacros::includeTemplate("snippets/content-loop.php", array('posts' => $posts) + $template->getParams(), $_l->templates['kwjpuxbgc0'])->render(); ?> <?php NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-below') + $template->getParams(), $_l->templates['kwjpuxbgc0'])->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['kwjpuxbgc0'])->render(); ?> </div> <!-- /.content-wrapper --> </div> <!-- /#content --> <?php } ?> </div> <!-- /#container --> </section> <?php }
echo htmlSpecialChars($post->permalink); ?> " class="share-link" rel="prettySociable">share</a></span> <div class="button edit-button edit left"><?php edit_post_link(__("Edit", "ait"), "<span class=\"edit-link\">", "</span>", $post->id); ?> </div> </div> </div> <div class="entry clearfix"> <div class="entry-meta left"> <a href="<?php echo WpLatteFunctions::getDayLink($post->date); ?> " class="date meta-info" title="<?php echo htmlSpecialChars($template->date($post->date, $site->dateFormat)); ?> " rel="bookmark"><?php echo NTemplateHelpers::escapeHtml($template->date($post->date, "F d, Y"), ENT_NOQUOTES); ?> </a> <a class="url fn n ln author meta-info" href="<?php echo htmlSpecialChars($post->author->postsUrl); ?> " title="View all posts by <?php echo htmlSpecialChars($post->author->name); ?>
echo WpLatteFunctions::getTitle(); ?> </title> <!--[if lt IE 9]> <script src="//ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <![endif]--> <?php if (is_singular() && get_option("thread_comments")) { wp_enqueue_script("comment-reply"); } wp_head(); ?> <link id="ait-style" rel="stylesheet" type="text/css" media="all" href="<?php echo WpLatteFunctions::lessify(); ?> " /> <link rel="shortcut icon" type="image/png" href="http://www.begara.com.br/B.jpg" /> <?php $useragent = $_SERVER['HTTP_USER_AGENT']; if (preg_match('/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i', $useragent) || preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i', substr($useragent, 0, 4))) { ?> <link rel='stylesheet' href='http://www.begara.com.br/begara-mobile.css' type='text/css' media='all' /> <?php } else { ?> <link rel='stylesheet' href='http://www.begara.com.br/begara.css' type='text/css' media='all' /> <?php
/** * Creates Entities from Custom Types (static Alias) * @param string $what Name of custom type without "ait-" prefix * @param string $category Selecting custom type by specific category * @param int $limit Limit of returned items * @return array|WpLattePostEntity */ public static function createCustomPostEntity($what, $category = 0, $limit = null, $order = 'menu_order', $suppress_filters = false) { if (empty($limit) or $limit === false) { $limit = -1; } // default, no value entered in admin or missing parameter $tax = array(); if ($category !== 0 && $category !== "0" && $category !== null) { $tax = array(array('taxonomy' => 'ait-' . $what . '-category', 'field' => 'slug', 'terms' => $category)); } $options = WpLatteFunctions::dash2camel($what) . 'Options'; // convention over configuration return WpLatte::createPostEntity(new WP_Query(array('tax_query' => $tax, 'post_type' => 'ait-' . $what, 'post_status' => 'publish', 'orderby' => $order, 'order' => 'ASC', 'posts_per_page' => $limit, 'suppress_filters' => $suppress_filters)), array('meta' => @$GLOBALS[$options], 'isCustomType' => true)); }
?> " class="comment"> <div class="left controls clearfix"> <div class="comment-avatar"><?php echo $comment->author->avatar; ?> </div> <div class="reply"><?php $a = array('Reply', $comment->args, $comment->depth, $comment->id); comment_reply_link(array_merge($a[1], array("reply_text" => $a[0], "depth" => $a[2], "max_depth" => $a[1]["max_depth"])), $a[3]); unset($a); ?> </div> <?php WpLatteFunctions::editCommentLink(__("Edit", "ait"), $comment->id, "<span class=\"edit-link\">", "</span>"); ?> </div> <div class="body clearfix"> <div class="arrow left"><!-- --></div> <div class="content "> <div class="headline"> <span class="author vcard"><cite class="fn"><?php echo $comment->author->nameWithLink; ?> </cite></span><span class="eh"> | </span><span class="date"><a href="<?php echo htmlSpecialChars($comment->url); ?> " class="comment-date"><time pubdate datetime="<?php echo htmlSpecialChars($template->date($comment->date, 'c'));
function _lbaa458dc557_content($_l, $_args) { extract($_args); ?> <?php if (trim($post->content) != "") { ?> <section class="section content-section"> <div id="container" class="subpage wrapper <?php if (is_active_sidebar("subpages-sidebar")) { } else { ?> onecolumn<?php } ?> "> <div id="content" class="entry-content clearfix" role="main"> <div class="content-wrapper clearfix"> <header class="entry-title clearfix"> <h1><?php echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES); ?> </h1> <span class="breadcrumbs"><?php echo NTemplateHelpers::escapeHtml(__('You are here:', 'ait'), ENT_NOQUOTES); ?> <?php echo WpLatteFunctions::breadcrumbs(array()); ?> </span> </header> <?php echo $post->content; ?> </div> <!-- /.content-wrapper --> <?php NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['pnrp9cdtnw'])->render(); ?> </div> <!-- /#content --> <?php if (is_active_sidebar("subpages-sidebar")) { ?> <div class="page-sidebar subpage-sidebar right clearfix"> <?php dynamic_sidebar('subpages-sidebar'); ?> </div> <?php } ?> </div> <!-- /#container --> </section> <?php } ?> <?php }
function _lb32e6997950_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; ?> "> <div class="entry-thumbnail"> <?php if (isset($fullwidth)) { ?> <img class="fullwidth" src="<?php echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 940, 'h' => 250), "", "&"); ?> " alt="" /> <?php } else { ?> <img src="<?php echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&"); ?> " alt="" /> <?php } ?> </div> </a> <?php } ?> <div class="entry-meta"> <span class="sep blog-date"><?php echo NTemplateHelpers::escapeHtml(__('On:', 'ait'), ENT_NOQUOTES); ?> </span> <a href="<?php echo WpLatteFunctions::getDayLink($post->date); ?> " title="<?php echo htmlSpecialChars($template->date($post->date, $site->dateFormat)); ?> " rel="bookmark"><time class="entry-date" datetime="<?php echo htmlSpecialChars($template->date($post->date, $site->dateFormat)); ?> " pubdate=""><?php echo NTemplateHelpers::escapeHtml($template->date($post->date, $site->dateFormat), ENT_NOQUOTES); ?> </time></a> <?php if ($post->type == 'post' && $post->categories) { ?> <span class="cat-links"> <span class="sep blog-categories entry-utility-prep entry-utility-prep-cat-links"><?php echo NTemplateHelpers::escapeHtml(__('Posted in', 'ait'), ENT_NOQUOTES); ?> </span> <?php echo $post->categories; ?> </span> <?php } ?> <div class="comments-link"> <a href="<?php echo $post->permalink; ?> #comments" title="<?php echo htmlSpecialChars(__('Comment on', 'ait')); ?> <?php echo htmlSpecialChars($post->title); ?> "><?php echo NTemplateHelpers::escapeHtml($post->commentsCount, ENT_NOQUOTES); ?> </a> </div> <span class="edit-link"><?php edit_post_link(__("Edit", "ait"), "<span class=\"edit-link\">", "</span>", $post->id); ?> </span> </div> <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['jt4zb7i7un'])->render(); ?> <?php if (isset($themeOptions->advertising->showBox4)) { ?> <div id="advertising-box-4" class="advertising-box"> <?php echo $themeOptions->advertising->box4Content; ?> </div> <?php } ?> <?php }
function _lbfe6609ff92_content($_l, $_args) { extract($_args); ?> <section class="section content-section single-post-section"> <div id="container" class="subpage wrapper <?php if (is_active_sidebar("post-sidebar")) { } else { ?> onecolumn<?php } ?> "> <div id="content" class="entry-content clearfix" role="main"> <div class="content-wrapper clearfix"> <?php if ($post->thumbnailSrc) { ?> <article id="post-<?php echo htmlSpecialChars($post->id); ?> " class="<?php echo htmlSpecialChars($post->htmlClasses); ?> clearfix"> <?php } else { ?> <article id="post-<?php echo htmlSpecialChars($post->id); ?> " class="<?php echo htmlSpecialChars($post->htmlClasses); ?> no-thumbnail clearfix"> <?php } ?> <?php NCoreMacros::includeTemplate("snippets/posted-on.php", $template->getParams(), $_l->templates['qua3fhiidj'])->render(); ?> <?php if ($post->thumbnailSrc != false) { ?> <a href="<?php echo htmlSpecialChars($post->thumbnailSrc); ?> "> <div class="entry-thumbnail"> <?php $imgWidth = 980; ?> <?php if (is_active_sidebar("post-sidebar")) { ?> <?php $imgWidth = 650; ?> <?php } ?> <img src="<?php echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => $imgWidth, 'h' => 400), "", "&"); ?> " alt="" /> </div> </a> <?php } ?> <div class="entry-meta clearfix"> <div class="date left"> <a href="<?php echo WpLatteFunctions::getDayLink($post->date); ?> " class="meta-info date" title="<?php echo htmlSpecialChars($template->date($post->date, $site->dateFormat)); ?> " rel="bookmark"> <?php echo NTemplateHelpers::escapeHtml($template->date($post->date, $site->dateFormat), ENT_NOQUOTES); ?> </a> </div> <div class="meta-info comments right"><span><?php echo NTemplateHelpers::escapeHtml($post->commentsCount, ENT_NOQUOTES); ?> </span></div> </div> <div class="entry-content"> <?php echo $post->content; ?> </div> <div class="entry-meta post-footer"> <?php if ($post->type == 'post') { ?> <p style="margin-bottom: 40px;"> <?php if ($post->categories) { ?> <span class="single-categories"><strong><?php echo NTemplateHelpers::escapeHtml(__('Categories:', 'ait'), ENT_NOQUOTES); ?> </strong> <?php echo $post->categories; ?> </span> <?php } ?> <span> | </span> <?php if ($post->tags) { ?> <span class="tag-links"> <span class="entry-utility-prep entry-utility-prep-tag-links"><strong><?php echo NTemplateHelpers::escapeHtml(__('Tagged:', 'ait'), ENT_NOQUOTES); ?> </strong></span> <?php echo $post->tags; ?> </span> <?php } ?> </p> <?php } ?> <?php if (strlen($post->author->bio) !== 0) { ?> <div class="author-archive-meta clearfix"> <div id="author-avatar" class="left"><?php echo $post->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($post->author->name, ENT_NOQUOTES); ?> </div> <div class="bio"><?php echo NTemplateHelpers::escapeHtml($post->author->bio, ENT_NOQUOTES); ?> </div> </div> </div> <?php } else { ?> <div class="author-name">Author: <?php echo NTemplateHelpers::escapeHtml($post->author->name, ENT_NOQUOTES); ?> </div> <?php } ?> </div><!-- /.entry-meta --> </article> <?php NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['qua3fhiidj'])->render(); ?> </div><!-- /.content-wrapper --> </div> <!-- /#content --> <?php if (is_active_sidebar("post-sidebar")) { ?> <div class="page-sidebar post-sidebar right clearfix"> <?php dynamic_sidebar('post-sidebar'); ?> </div> <?php } ?> </div ><!-- /#container --> </section> <?php }
<span><?php echo NTemplateHelpers::escapeHtml($themeOptions->general->logo_text, ENT_NOQUOTES); ?> </span> </a> <?php } } else { if (!empty($themeOptions->general->logo_img)) { ?> <a class="trademark" href="<?php echo htmlSpecialChars($homeUrl); ?> "> <img src="<?php echo WpLatteFunctions::linkTo($themeOptions->general->logo_img); ?> " alt="logo" /> </a> <?php } else { ?> <a href="<?php echo htmlSpecialChars($homeUrl); ?> "> <span><?php echo NTemplateHelpers::escapeHtml($themeOptions->general->logo_text, ENT_NOQUOTES); ?> </span> </a>