?> "><?php echo $Blog->disp('name', 'htmlbody'); ?> </a></h2> <?php // ------------------------- TITLE FOR THE CURRENT REQUEST ------------------------- request_title(array('title_before' => '<h2>', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => true, 'format' => 'htmlbody')); // ------------------------------ END OF REQUEST TITLE ----------------------------- ?> <?php // ------------------------------------ START OF POSTS ---------------------------------------- // Display message if no post: display_if_empty(); while ($Item =& mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" ?> <?php // ------------------------------ DATE SEPARATOR ------------------------------ $MainList->date_if_changed(array('before' => '<h2>', 'after' => '</h2>', 'date_format' => '#')); ?> <div id="<?php $Item->anchor_id(); ?> " class="bPost bPost<?php $Item->status_raw(); ?>
* b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html} * @copyright (c)2003-2013 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins * @subpackage manual */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $MainList; // --------------------------------- START OF COMMON LINKS -------------------------------- skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 1, 'use_search_disp' => 1)); // ---------------------------------- END OF COMMON LINKS --------------------------------- // Display message if no post: display_if_empty(array('before' => '<p class="msg_nothing" style="margin: 2em 0">', 'after' => '</p>', 'msg_empty' => T_('Sorry, we could not find anything matching your request, please try to broaden your search.'))); // --------------------------------- START OF POSTS ------------------------------------- if (isset($MainList) && $MainList->result_num_rows > 0) { // -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) -------------------- mainlist_page_links(array('block_start' => '<p class="center"><strong>', 'block_end' => '</strong></p>', 'prev_text' => '<<', 'next_text' => '>>')); // ------------------------- END OF PREV/NEXT PAGE LINKS ------------------------- echo '<ul class="posts_list" style="margin-top:1em">'; while (mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_list.inc.php', array()); // ----------------------------END ITEM BLOCK ---------------------------- } echo '</ul>'; // -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) -------------------- mainlist_page_links(array('block_start' => '<p class="center"><strong>', 'block_end' => '</strong></p>', 'prev_text' => '<<', 'next_text' => '>>'));
* @package evoskins * @subpackage photoalbums */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $Item; // --------------------------------- START OF POSTS ------------------------------------- // Display message if no post: $params_no_content = array('before' => '<div class="msg_nothing">', 'after' => '</div>'); if (!is_logged_in()) { // fp> the following is kind of a hack. It's not really correct. $url = get_login_url('no public ocntent'); $params_no_content['msg_empty'] = '<p>' . T_('This site has no public contents.') . '</p><p><a href="' . $url . '">' . T_('Log in now!') . '</a></p>'; } $list_is_empty = display_if_empty($params_no_content); if (!$list_is_empty) { ?> <div class="posts_list"> <?php while ($Item =& mainlist_get_item()) { // For each blog post, do everything below up to the closing curly brace "}" // Temporarily switch to post locale (useful for multilingual blogs) $Item->locale_temp_switch(); ?> <div id="<?php $Item->anchor_id(); ?> " class="<?php $Item->div_classes($params); ?>
?> <?php // ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) ------------------- item_prevnext_links(array('block_start' => '<nav><ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_end' => '</li>', 'next_start' => '<li class="next">', 'next_end' => '</li>', 'block_end' => '</ul></nav>')); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> <?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------ request_title(array('title_before' => '<h2 class="title_head_post">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody', 'register_text' => '', 'login_text' => '', 'lostpassword_text' => '', 'account_activation' => '', 'msgform_text' => '', 'user_text' => '', 'users_text' => '', 'display_edit_links' => false)); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> <?php $list_is_empty = display_if_empty(); if (!$list_is_empty) { // Go Grab the featured post: if (!in_array($disp, array('single', 'page')) && ($Item =& get_featured_Item())) { // We have a featured/intro post to display: // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'excerpt', 'intro_mode' => 'normal', 'item_class' => $Item->is_intro() ? 'well evo_intro_post' : 'well evo_featured_post')); // ----------------------------END ITEM BLOCK ---------------------------- } ?> <?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('author_link_text' => 'preferredname', 'profile_tabs' => array('block_start' => '<nav><ul class="nav nav-tabs profile_tabs">', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="active">', 'item_selected_end' => '</li>', 'block_end' => '</ul></nav>'), 'pagination' => array('block_start' => '<div class="center"><ul class="pagination">', 'block_end' => '</ul></div>', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => '<i class="fa fa-angle-double-left"></i>', 'next_text' => '<i class="fa fa-angle-double-right"></i>'), 'skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>', 'register_page_before' => '<div class="evo_panel__register">', 'register_page_after' => '</div>', 'register_form_title' => T_('Register'), 'register_links_attrs' => '', 'register_use_placeholders' => true, 'register_field_width' => 252, 'register_disabled_page_before' => '<div class="evo_panel__register register-disabled">', 'register_disabled_page_after' => '</div>', 'activate_form_title' => T_('Account activation'), 'activate_page_before' => '<div class="evo_panel__activation">', 'activate_page_after' => '</div>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>', 'featured_intro_before' => '<div class="jumbotron"><div class="intro_background_image"></div>', 'featured_intro_after' => '</div>', 'msgform_form_title' => T_('Sending a message'))); // Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory.
global $ASearch_plugin; if (is_object($ASearch_plugin)) { $ASearch_plugin->display_results(); } // PREV/NEXT POST LINKS (SINGLE POST MODE) item_prevnext_links(array('block_start' => '<div class="navigation">', 'prev_start' => '<div class="left">', 'prev_end' => '</div>', 'next_start' => '<div class="right">', 'next_end' => '</div>', 'block_end' => '</div>')); // TITLE FOR THE CURRENT REQUEST request_title(array('title_before' => '<h2 class="request_title">', 'title_after' => '</h2>', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => false, 'title_page_disp' => false, 'format' => 'htmlbody')); if ($Item =& get_featured_Item()) { // We have a featured/intro post to display: // ITEM BLOCK INCLUDED HERE skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'auto', 'intro_mode' => 'normal', 'item_class' => 'bPost bFeatured', 'image_size' => 'fit-400x320')); } // START OF POSTS // Display message if no post: display_if_empty(array('before' => '<div class="bPost display_empty">', 'after' => '</div>')); while ($Item =& mainlist_get_item()) { // ITEM BLOCK INCLUDED HERE skin_include('_item_block.inc.php', array('content_mode' => 'auto', 'image_size' => 'fit-400x320')); } // PREV/NEXT PAGE LINKS (POST LIST MODE) mainlist_page_links(array('block_start' => '<div class="page_nav">', 'block_end' => '</div>', 'prev_text' => '<<', 'next_text' => '>>')); // MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) skin_include('$disp$', array('disp_posts' => '', 'disp_single' => '', 'disp_page' => '')); // "After Posts" CONTAINER EMBEDDED HERE skin_container(NT_('After Posts'), array('block_start' => '<div class="AfterPosts">', 'block_end' => '</div>')); ?> </div> <div id="sidebar"> <?php // "Sidebar" CONTAINER EMBEDDED HERE