upgrade your b2evolution.' ); } // This is the main template; it may be used to display very different things. // Do inits depending on current $disp: skin_init( $disp ); // -------------------------- HTML HEADER INCLUDED HERE -------------------------- skin_include( '_html_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 -------------------------------- ?> SetContent(); } public function SetContent() { $this->_head->SetTitle("Blog"); $this->_maincontenthtml = $this->GetPageHTML(); $this->SelectNavigation('Prize'); parent::SetContent(); } public function GetPageHTML() { $language = $this->_common->GetLanguage(); if ($language == 2) { $homeURL = $this->_common->GetPageURL('home'); header('Location:' . $homeURL); } $PrizeHTML = ''; { $PrizeHTML .= << HTML; } $html = << ?>
Blog
'
', 'block_end' => '
', ) ); // --------------------------------- END OF MESSAGES --------------------------------- ?> '', 'prev_start' => '', 'next_start' => '', 'block_end' => '
', 'prev_end' => '', 'next_end' => '
', ) ); // ------------------------- END OF PREV/NEXT POST LINKS ------------------------- ?> '

', 'title_after' => '

', 'title_none' => '', 'glue' => ' - ', 'title_single_disp' => true, 'format' => 'htmlbody', ) ); // ----------------------------- END OF REQUEST TITLE ---------------------------- ?> true, 'content_mode' => 'auto', // 'auto' will auto select depending on $disp-detail 'intro_mode' => 'normal', // Intro posts will be displayed in normal mode 'item_class' => 'featured_post', 'image_size' => 'fit-400x320', ) ); // ----------------------------END ITEM BLOCK ---------------------------- } ?> '

'.T_('Pages:').' ', 'block_end' => '

', ) ); // ------------------------- END OF PREV/NEXT PAGE LINKS ------------------------- ?> date_if_changed( array( 'before' => '

', 'after' => '

', 'date_format' => '#', ) ); // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------ skin_include( '_item_block.inc.php', array( 'content_mode' => 'auto', // 'auto' will auto select depending on $disp-detail 'image_size' => 'fit-400x320', ) ); // ----------------------------END ITEM BLOCK ---------------------------- } // ---------------------------------- END OF POSTS ------------------------------------ ?> '

', 'block_end' => '

', 'prev_text' => '<<', 'next_text' => '>>', ) ); // ------------------------- END OF PREV/NEXT PAGE LINKS ------------------------- ?> '', // We already handled this case above 'disp_single' => '', // We already handled this case above 'disp_page' => '', // We already handled this case above '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 --------------------------- ?>
.prize_box ul, .prize_box li {list-style: inherit; margin-left: 20px;} .prize_box ol { list-style: decimal outside none; margin-right: 16px;}

{$PrizeHTML}




HTML; return $html; } } $faq = new Prize(); $faq->RenderHTML(); ?>