* @package evoskins * @subpackage manual */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } global $Settings, $Session; ?> <!-- =================================== START OF SIDEBAR =================================== --> <div id="sidebar" class="bSideBar"> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: // Note: this container is designed to be a single <ul> list skin_container(NT_('Sidebar'), array('block_title_start' => '', 'block_title_end' => '', 'expand_all' => false, 'sorted' => true)); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32)); ?> </div> <script type="text/javascript"> var has_touch_event; window.addEventListener( 'touchstart', function set_has_touch_event () { has_touch_event = true; // Remove event listener once fired, otherwise it'll kill scrolling window.removeEventListener( 'touchstart', set_has_touch_event );
?> </ul> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'img/powered-by-b2evolution-138x39-895C46.gif', 'img_width' => 138, 'img_height' => 39)); ?> </div> </div> <!-- END RS DIV --> </div> <!-- END CONTENT DIV --> <!-- =================================== START OF FOOTER =================================== --> <div class="pagefoot"> <?php // Display container and contents: skin_container(NT_("Footer"), array()); // Note: Double quotes have been used around "Footer" only for test purposes. ?> <p class="center"> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); ?> <?php // Display a link to contact the owner of this blog (if owner accepts messages): $Blog->contact_link(array('before' => '', 'after' => '', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...'))); // Display a link to help page: $Blog->help_link(array('before' => ' • ', 'after' => ' ', 'text' => T_('Help'))); ?>
</div><!-- .row --> <footer class="row"> <!-- =================================== START OF FOOTER =================================== --> <div class="col-md-12 center"> <?php if ($Skin->is_visible_container('footer')) { // Display 'Footer' widget container ?> <div class="evo_container evo_container__footer"> <?php // Display container and contents: skin_container(NT_("Footer"), array('block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>')); // Note: Double quotes have been used around "Footer" only for test purposes. ?> </div> <?php } ?> <p> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); // TODO: dh> provide a default class for pTyp, too. Should be a name and not the ityp_ID though..?! ?> <?php
die('Please, do not access this page directly.'); } ?> <div id="sidebar"> <div class="rss2" align="center"> <?php echo '<a href="' . $Blog->gen_blogurl() . '?tempskin=_rss2"><img alt="rss" src="images/rss.png" /></a>, '; ?> </div> <ul> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </ul> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'images/b2evo-tilqi-logo-trans.png', 'img_width' => 150, 'img_height' => 58)); ?> <div class="validators" align="center"> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="images/valid-xhtml10.png" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>
<?php // ------------------------- "Front Page Secondary Area" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Front Page Secondary Area'), array('block_start' => '<div class="widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h2 class="page-header">', 'block_title_end' => '</h2>')); // ----------------------------- END OF "Front Page Secondary Area" CONTAINER ----------------------------- ?> </div> </div><!-- .col --> <footer class="col-md-12 center"> <div class="evo_container evo_container__footer"> <?php // ------------------------- "Footer" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Footer'), array()); // ----------------------------- END OF "Footer" CONTAINER ----------------------------- ?> </div> <p> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); // TODO: dh> provide a default class for pTyp, too. Should be a name and not the ityp_ID though..?! ?> <?php // Display a link to contact the owner of this blog (if owner accepts messages): $Blog->contact_link(array('before' => '', 'after' => ' • ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...'))); // Display a link to help page:
<?php /** * This is the template that displays the front page of a collection (when front page enabled) * * This file is not meant to be called directly. * It is meant to be called by an include in a *.main.php template. * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } $params = array_merge(array('author_link_text' => 'name', 'featured_intro_before' => '', 'featured_intro_after' => '', 'front_block_start' => '<div class="evo_widget $wi_class$">', 'front_block_end' => '</div>', 'front_block_first_title_start' => '<h3>', 'front_block_first_title_end' => '</h3>', 'front_block_title_start' => '<h3>', 'front_block_title_end' => '</h3>'), $params); // ------------------ "Front Page Main Area" CONTAINER EMBEDDED HERE ------------------- // Display container and contents: ?> <div class="evo_container evo_container__front_page_primary"> <?php skin_container(NT_('Front Page Main Area'), array('author_link_text' => $params['author_link_text'], 'featured_intro_before' => $params['featured_intro_before'], 'featured_intro_after' => $params['featured_intro_after'], 'block_start' => $params['front_block_start'], 'block_end' => $params['front_block_end'], 'block_first_title_start' => $params['front_block_first_title_start'], 'block_first_title_end' => $params['front_block_first_title_end'], 'block_title_start' => $params['front_block_title_start'], 'block_title_end' => $params['front_block_title_end'])); // --------------------- END OF "Front Page Main Area" CONTAINER ----------------------- ?> </div>
<?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('disp_posts' => '', 'disp_single' => '', 'disp_page' => '', 'author_link_text' => 'preferredname')); // Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </div> <!-- =================================== START OF SIDEBAR =================================== --> <div class="evo_sidebar"> <?php // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<div class="evo_side_item $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>')); ?> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32)); ?> </div> <div class="clear"><?php echo get_icon('pixel'); ?> </div> </div>
<footer id="main-footer"> <?php if ($Skin->is_visible_container('footer')) { ?> <!-- =================================== START OF FOOTER =================================== --> <?php if ($Skin->get_setting('footer_widget') == '1') { ?> <div class="main_widget"> <div class="container"> <div class="row"> <?php // Display container and contents: skin_container(NT_("Footer"), array('block_start' => '<div class="evo_widget $wi_class$ col-xs-12 col-sm-6 col-md-3 clearfix">', 'block_end' => '</div>', 'block_title_start' => '<h3 class="title_widget">', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>', 'search_class' => 'compact_search_form', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>')); // Note: Double quotes have been used around "Footer" only for test purposes. ?> </div><!-- .row --> </div><!-- end .container--> </div><!-- .main_widger --> <?php } ?> <!-- Social Media --> <?php if ($Skin->get_setting('footer_user_link') == 1) { ?> <div class="footer_social_media"> <div class="container">
<?php /** * This is the sidebar include template. * * For a quick explanation of b2evo 2.0 skins, please start here: * {@link http://manual.b2evolution.net/Skins_2.0} * * This is meant to be included in a page template. * * @package evoskins * @subpackage nonzero */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } ?> <div id="columnD_wide"> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar-w-1'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h4><span>', 'block_title_end' => '</span></h4>', 'list_start' => '<ul class="links">', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div> <!-- end of class="notes" -->')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </div> <!-- end of id="wideContent" -->
</div><!-- .row --> </div><!-- .container --> </div><!-- .main-content --> <footer id="main-footer"> <!-- =================================== START OF FOOTER =================================== --> <?php if ($Skin->is_visible_container('footer')) { ?> <div class="widget_footer"> <div class="container"> <div class="row"> <?php // Display container and contents: skin_container(NT_("Footer"), array('block_start' => '<div class="evo_widget $wi_class$ col-xs-12 col-sm-6 col-md-3">', 'block_end' => '</div>', 'block_title_start' => '<h4 class="widget_title">', 'block_title_end' => '</h4>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>')); // Note: Double quotes have been used around "Footer" only for test purposes. ?> </div><!-- .row --> </div><!-- .container --> </div><!-- .widget_footer --> <?php } ?> <div class="copyright"> <div class="container"> <p> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • '));
die('Please, do not access this page directly.'); } // ---------------------------- SITE HEADER INCLUDED HERE ---------------------------- // If site headers are enabled, they will be included here: siteskin_include('_site_body_header.inc.php'); // ------------------------------- END OF SITE HEADER -------------------------------- ?> <div id="page" class="page-<?php echo $Skin->get_setting('sidebar_position'); ?> "> <div id="header"> <div id="headerimg"> <?php // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="widget $wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); ?> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>')); // ----------------------------- END OF "Header" CONTAINER ----------------------------- ?> </div> </div> <hr />
$action_links = '<div class="' . button_class('group') . '">' . $action_links . '</div>'; } if ($Item->status != 'published') { $Item->format_status(array('template' => '<div class="evo_status evo_status__$status$ badge pull-right">$status_title$</div>')); } $Item->title(array('link_type' => $params['item_link_type'], 'before' => '<div class="evo_post_title"><h1>', 'after' => '</h1>' . $action_links . '</div>', 'nav_target' => false)); ?> <?php if ($disp == 'single') { ?> <div class="evo_container evo_container__item_single"> <?php // ------------------------- "Item Single" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Item Single'), array('widget_context' => 'item', 'block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'widget_item_tags_before' => '<div class="small text-muted">' . T_('Tags') . ': ', 'widget_item_tags_after' => '</div>', 'widget_item_tags_separator' => ', ', 'widget_item_small_print_before' => '<p class="small text-muted">', 'widget_item_small_print_after' => '</p>', 'widget_item_small_print_display_author' => false, 'widget_item_content_params' => $params)); // ----------------------------- END OF "Item Single" CONTAINER ----------------------------- ?> </div> <?php } else { // ---------------------- POST CONTENT INCLUDED HERE ---------------------- skin_include('_item_content.inc.php', $params); // Note: You can customize the default item content by copying the generic // /skins/_item_content.inc.php file into the current skin folder. // -------------------------- END OF POST CONTENT ------------------------- if (!$Item->is_intro() && !$Item->is_featured()) { // Don't display this additional info for intro posts // List all tags attached to this post: $Item->tags(array('before' => '<div class="small text-muted">' . T_('Tags') . ': ', 'after' => '</div>', 'separator' => ', ')); echo '<p class="small text-muted">';
</header> <?php } ?> <?php if ($disp == 'single') { ?> <div class="evo_container evo_container__item_single"> <?php // ------------------------- "Item Single" CONTAINER EMBEDDED HERE -------------------------- // WARNING: EXPERIMENTAL -- NOT RECOMMENDED FOR PRODUCTION -- MAY CHANGE DRAMATICALLY BEFORE RELEASE. // Display container contents: skin_container(NT_('Item Single'), array('widget_context' => 'item', 'block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'widget_coll_item_tags_before' => '<div class="evo_post__full">' . T_('Tags') . ': ', 'widget_coll_item_tags_after' => '</div>', 'widget_coll_item_content_params' => $params)); // ----------------------------- END OF "Item Single" CONTAINER ----------------------------- ?> </div> <?php } else { if ($Skin->get_setting('posts_format') == 'default') { // this will create a <section> // ---------------------- POST CONTENT INCLUDED HERE ---------------------- skin_include('_item_content.inc.php', array_merge(array('more_link_text' => 'Continue reading'), $params)); // Note: You can customize the default item content by copying the generic // /skins/_item_content.inc.php file into the current skin folder. // -------------------------- END OF POST CONTENT ------------------------- } else { if ($Skin->get_setting('posts_format') == 'masonry') { // If Masonry Post Format
<?php /** * This is the mobile footer include template. * * For a quick explanation of b2evo 2.0 skins, please start here: * {@link http://b2evolution.net/man/skin-development-primer} * * This is meant to be included in a page template. * * @package evoskins * @subpackage evopress */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } ?> <div id="mobile_footer" class="mobile_footer"> <ul> <?php // ------------------------- "Mobile Footer" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Mobile: Footer'), array('block_start' => '<li class="widget $wi_class$">', 'block_end' => '</li>', 'block_title_start' => '', 'block_title_end' => '', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>')); // ----------------------------- END OF "Mobile Footer" CONTAINER ----------------------------- ?> </ul> </div>
<?php include_headlines(); ?> </head> <body> <?php // -------------------------------- END OF HEADER -------------------------------- // ---------------------------- SITE HEADER INCLUDED HERE ---------------------------- // If site headers are enabled, they will be included here: siteskin_include('_site_body_header.inc.php'); // ------------------------------- END OF SITE HEADER -------------------------------- ?> <?php // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div>', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => T_('Select blog:') . ' ', 'list_end' => '', 'item_start' => ' [', 'item_end' => '] ', 'item_selected_start' => ' [<strong>', 'item_selected_end' => '</strong>] ')); ?> <hr> <div align="center"> <h1><?php $Blog->name(); ?> </h1> <?php $Blog->tagline(array('before' => '<p>', 'after' => '</p>')); ?> </div> <?php $Blog->longdesc(array('before' => '<hr><small>', 'after' => '</small>'));
$disp_status = 'layout'; break; } if ($Skin->is_visible_sidebar($disp_status)) { // Display sidebar: ?> <aside id="main-sidebar" class="col-xs-12 col-sm-12 col-md-4<?php echo $Skin->get_setting('layout') == 'left_sidebar' ? ' pull-left' : ''; ?> "> <!-- =================================== START OF SIDEBAR =================================== --> <div class="evo_container evo_container__sidebar"> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<div class="panel panel-default evo_widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<div class="panel-heading"><h4 class="panel-title">', 'block_title_end' => '</h4></div>', 'block_body_start' => '<div class="panel-body">', 'block_body_end' => '</div>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>', 'search_class' => 'compact_search_form', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </div><!-- .sidebar --> <div class="evo_container evo_container__sidebar2"> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar 2'), array('block_start' => '<div class="panel panel-default evo_widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<div class="panel-heading"><h4 class="panel-title">', 'block_title_end' => '</h4></div>', 'block_body_start' => '<div class="panel-body">', 'block_body_end' => '</div>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>', 'search_class' => 'compact_search_form', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </div><!-- .sidebar2 --> </aside><!-- #main-sidebar --> <?php }
// Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </div> <!-- RIGHT COLUMN --> <div id="right-column"> <?php // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<div class="right-column-box-standard">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>')); ?> </div> <!-- end of right column --> <!-- FOOTER --> <? include("_body_footer.inc.php") ?> </div> <?php $Hit->log();
$Blog->disp('url', 'raw'); ?> "><?php $Blog->disp('name', 'htmlbody'); ?> </a></h1> <?php skin_widget(array('widget' => 'coll_member_count', 'before' => '(', 'after' => ')')); ?> <div class="top_menu floatright"> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Menu'), array('block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => ' <span class="menu_link">', 'item_end' => '</span> ', 'item_selected_start' => ' <span class="menu_link">', 'item_selected_end' => '</span>', 'item_title_before' => '', 'item_title_after' => '')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> </div> <div class="clear"></div> </div> <?php if ($disp == 'single') { // ------------------- NAVIGATION BAR FOR ALBUM(POST) ------------------- if ($single_Item =& mainlist_get_item()) { // Get Item here, because it can be not defined yet, e.g. in Preview mode ?> <div class="nav_album">
?> " title="Submit Reddit" target="_blank">Reddit</a> + <a href="http://www.simpy.com/simpy/LinkAdd.do?href=<?php echo $Item->get_permanent_url(); ?> &title=<?php echo $Item->title(array('link_type' => 'none')); ?> " title="Submit to Simpy" target="_blank">Simpy</a> + <a href="http://www.spurl.net/spurl.php?title=<?php echo $Item->title(array('link_type' => 'none')); ?> &url=<?php echo $Item->get_permanent_url(); ?> " title="submit to Spurl" target="_blank">Spurl</a> + <a href="http://technorati.com/faves?add=<?php echo $Item->get_permanent_url(); ?> " title="Submit to Technorati" target="_blank">Technorati</a> + <a href="http://www.wink.com/_/tag?url=<?php echo $Item->get_permanent_url(); ?> &doctitle=<?php echo $Item->title(array('link_type' => 'none')); ?> " title="Submit to Wink" target="_blank">Wink</a> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Socialbar'), array('block_start' => '<!-- <div class="$wi_class$"> -->', 'block_end' => '<!-- </div> -->', 'block_title_start' => '<strong><span>', 'block_title_end' => '</span></strong>', 'list_start' => '', 'list_end' => '', 'item_start' => '', 'item_end' => '', 'group_start' => '', 'group_end' => '', 'notes_start' => '<div class="notes">', 'notes_end' => '</div> <!-- end of class="notes" -->')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </p> </div> <!-- end of class="socialbar" -->
* This is meant to be included in a page template. * * @package evoskins * @subpackage glossyblue */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } ?> <div id="footer"> <div id="inner_footer"> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar 2'), array('block_start' => '<div class="$wi_class$ footer_widget">', 'block_end' => '</div>', 'block_title_start' => '<h4>', 'block_title_end' => '</h4>', 'block_display_title' => true, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>', 'disp_search_options' => false)); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> <div class="clear"><?php echo get_icon('pixel'); ?> </div> </div> </div><!--/footer --> </div><!--/page --> <!--credits start --> <div id="credits"> <div class="alignleft"> <?php // Display a link to contact the owner of this blog (if owner accepts messages):
// -------------------------- HTML HEADER INCLUDED HERE -------------------------- skin_include('_body_header.inc.php'); // Note: You can customize the default HTML header by copying the generic // /skins/_html_header.inc.php file into the current skin folder. // -------------------------------- END OF HEADER -------------------------------- ?> <div id="bwrapper"> <div class="bloglist"> <?php $Blog->dget('name'); ?> <?php // ------------------------- "Page Top" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Page Top" CONTAINER ----------------------------- ?> <img src="img/bloglist-top-left-corner.gif" class="tl" alt="tlc" /> </div><!-- end of bloglist--> </div><!-- end of b(loglist)wrapper--> </div> <!--end of header--> <div id="wrapper"> <div id="inner_wrapper"> <?php // -------------------------- sidebar INCLUDED HERE --------------------------
<?php /** * This is the template that displays the front page of a collection (when front page enabled) * * This file is not meant to be called directly. * It is meant to be called by an include in a *.main.php template. * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } $params = array_merge(array('author_link_text' => 'name', 'featured_intro_before' => '', 'featured_intro_after' => '', 'front_block_start' => '<div class="evo_widget $wi_class$ clearfix">', 'front_block_end' => '</div>', 'front_block_first_title_start' => '<h3>', 'front_block_first_title_end' => '</h3>', 'front_block_title_start' => '<h3>', 'front_block_title_end' => '</h3>'), $params); // ------------------ "Front Page Main Area" CONTAINER EMBEDDED HERE ------------------- // Display container and contents: ?> <div class="evo_container evo_container__front_page_primary"> <?php skin_container(NT_('Front Page Main Area'), array('author_link_text' => $params['author_link_text'], 'featured_intro_before' => $params['featured_intro_before'], 'featured_intro_after' => $params['featured_intro_after'], 'block_start' => $params['front_block_start'], 'block_end' => $params['front_block_end'], 'block_first_title_start' => $params['front_block_first_title_start'], 'block_first_title_end' => $params['front_block_first_title_end'], 'block_title_start' => $params['front_block_title_start'], 'block_title_end' => $params['front_block_title_end'], 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>')); // --------------------- END OF "Front Page Main Area" CONTAINER ----------------------- ?> </div>
<ul> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: // Note: this container is designed to be a single <ul> list skin_container(NT_('Menu'), array('block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li class="evo_widget $wi_class$">', 'item_end' => '</li>', 'item_selected_start' => '<li class="active evo_widget $wi_class$">', 'item_selected_end' => '</li>', 'item_title_before' => '', 'item_title_after' => '')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> </ul> </div> <div class="pageHeader"> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="description">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>')); // ----------------------------- END OF "Header" CONTAINER ----------------------------- ?> </div> </div> </div> <div class="posts"> <div class="innerwrap"> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS ------------------------- messages(array('block_start' => '<div class="action_messages">', 'block_end' => '</div>')); // --------------------------------- END OF MESSAGES --------------------------------- ?>
$Item->edit_link(array('before' => ' • ', 'after' => '')); ?> </div> <?php } ?> </header> <?php if ($disp == 'single') { ?> <div class="evo_container evo_container__item_single"> <?php // ------------------------- "Item Single" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Item Single'), array('widget_context' => 'item', 'block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'widget_item_tags_before' => '<div class="post_tags"><h3>' . T_('Tags') . '</h3>: ', 'widget_item_tags_after' => '</div>', 'widget_item_tags_separator' => '', 'widget_item_content_params' => $params, 'widget_item_attachments_params' => array('limit_attach' => 1000, 'before' => '<div class="evo_post_attachments"><h3>' . T_('Attachments') . ':</h3><ul class="evo_files">', 'after' => '</ul></div>', 'before_attach' => '<li class="evo_file">', 'after_attach' => '</li>', 'before_attach_size' => ' <span class="evo_file_size">(', 'after_attach_size' => ')</span>'))); // ----------------------------- END OF "Item Single" CONTAINER ----------------------------- ?> </div> <?php } else { // this will create a <section> // ---------------------- POST CONTENT INCLUDED HERE ---------------------- skin_include('_item_content.inc.php', $params); // Note: You can customize the default item content by copying the generic // /skins/_item_content.inc.php file into the current skin folder. // -------------------------- END OF POST CONTENT ------------------------- // this will end a </section> } ?>
<tr valign="top"> <td class="ft_avatar"><?php $Item->author(array('link_text' => 'only_avatar', 'thumb_size' => 'crop-top-80x80')); ?> </td> <td valign="top"> <?php $post_header_class = 'bPostDate'; if ($Skin->enabled_status_banner($Item->status)) { $Item->format_status(array('template' => '<div class="floatright"><span class="note status_$status$"><span>$status_title$</span></span></div>')); $legend_statuses[] = $Item->status; } if ($disp == 'single') { // ------------------------- "Item Single" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Item Single'), array('widget_context' => 'item', 'block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'widget_item_content_params' => $params)); // ----------------------------- END OF "Item Single" CONTAINER ----------------------------- } else { // ---------------------- POST CONTENT INCLUDED HERE ---------------------- skin_include('_item_content.inc.php', $params); // Note: You can customize the default item content by copying the generic // /skins/_item_content.inc.php file into the current skin folder. // -------------------------- END OF POST CONTENT ------------------------- } ?> </td> </tr> <tr> <td><a href="<?php echo $Item->get_permanent_url(); ?>
</a> <?php } ?> </div> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Menu'), array('block_start' => '<ul id="head-pages">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> <?php // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<ul id="head-blogs">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); ?> <ul id="head-account"> <?php if (is_logged_in()) { // Build menu for logged in user if ($current_User->check_perm('admin', 'normal')) { // User has a permission to access admin global $admin_url; ?> <li><a href="<?php echo $admin_url; ?> "><?php echo T_('Admin');
echo T_('Other Blogs'); ?> </a> </div> <?php // ------------------------- "Navigation Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Mobile: Navigation Menu'), array('block_start' => '<ul id="head-nav">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Navigation Menu" CONTAINER ----------------------------- ?> <?php // ------------------------- "Tools Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Mobile: Tools Menu'), array('block_start' => '<ul id="head-tools">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Tools Menu" CONTAINER ----------------------------- ?> <?php // --------------------------------- START OF BLOG LIST -------------------------------- // Call widget directly (without container): skin_widget(array('widget' => 'colls_list_public', 'block_start' => '<ul id="head-blogs">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ---------------------------------- END OF BLOG LIST --------------------------------- ?> </div> </div> <?php } ?>
?> </div> <div class="bTitle"> <h2> <?php $Item->edit_link(array('before' => '', 'after' => ' ', 'text' => get_icon('edit'))); $Item->title(); ?> </h2> <div class="postmeta"> <?php $Item->categories(array('before' => T_('Categories') . ': ', 'after' => '', 'include_main' => true, 'include_other' => true, 'include_external' => true, 'link_categories' => true)); // List all tags attached to this post: $Item->tags(array('before' => ' / ' . T_('Tags') . ': ', 'after' => '', 'separator' => ', ')); // Link to comments, trackbacks, etc.: $Item->feedback_link(array('type' => 'comments', 'link_before' => ' / <span class="comments">', 'link_after' => '</span>', 'link_text_zero' => '#', 'link_text_one' => '#', 'link_text_more' => '#', 'link_title' => '#', 'use_popup' => false)); ?> </div> </div> <div class="clear"></div> <?php // POST CONTENT INCLUDED HERE skin_include('_item_content.inc.php', $params); // "Post bottom" CONTAINER EMBEDDED HERE skin_container(NT_('Post bottom'), array('block_start' => '<div class="PostBottom">', 'block_end' => '</div>')); ?> </div> <?php // FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE skin_include('_item_feedback.inc.php'); locale_restore_previous();
skin_widget(array('widget' => 'colls_list_public', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="selected">', 'item_selected_end' => '</li>')); ?> </div> <?php } ?> </div> <!-- end of id="pagetop" --> <div id="topsearch"> <?php skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 0)); ?> </div> <!-- end of id="topsearch" --> </div> <!-- end of class="floatright" --> <div class="clear"></div> </div> <!-- end of id="header" --> <div id="nav"> <ul> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Menu'), array('block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> <li class="date"><script src="rsc/js/date.js"></script></li> </ul> </div> <!-- end of id="nav" -->
function display_footer_container() { global $Blog, $app_version; if (version_compare($app_version, '4.0') < 0) { // b2evo 3 $WidgetCache =& get_Cache('WidgetCache'); } else { // b2evo 4 and up $WidgetCache =& get_WidgetCache(); } $fwcount = 0; if ($Widget_array = $WidgetCache->get_by_coll_container($Blog->ID, 'Footer')) { foreach ($Widget_array as $ComponentWidget) { if ($ComponentWidget->enabled) { $fwcount++; } } } if ($fwcount < 1) { $fwcount = 1; } echo '<ul class="blocks widgetcount-' . $fwcount . '">'; // "Footer" CONTAINER EMBEDDED HERE skin_container(NT_('Footer'), array('block_start' => '<li class="block"><div class="block-content clearfix">', 'block_end' => '</div></li>', 'block_title_start' => '<h4 class="title">', 'block_title_end' => '</h4>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li class="page_item">', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>')); echo '</ul>'; }