<?php // Add partner nav $partner = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/core/block-partner-nav.php", "Beyond jofumc.org"); $partner->emit(); // Random picture... $pic = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/app/block-random-image.php", "JoF in action"); $pic->setParameter('random_image_path', 'assets/random_pool'); $pic->setParameter('random_image_width', 198); $pic->emit(); // Add the twitter widget (with parameters) $twidget = new akBlock(BLOCK_TYPE_RAW, "blocks/app/block-twitter-widget.php"); $twidget->setParameter('tweet_shell_bg', '#94BBDC'); $twidget->setParameter('tweet_fg', '#1B3B55'); $twidget->setParameter('tweet_bg', '#E0EBF5'); $twidget->setParameter('tweet_width', '200'); $twidget->emit(); // Add the Upper Room link $upper = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/app/block-upper-room.php", "The Upper Room® Daily Devotional"); $upper->setParameter('text_width', '190'); $upper->emit();
<?php // Sermons $ser = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/app/block-sermon-list.php", "Sermons"); $ser->emit(); // Upcoming events $events = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/app/block-events-list.php", "Looking Ahead"); $events->emit(); // Add the twitter widget (with parameters) $twidget = new akBlock(BLOCK_TYPE_RAW, "blocks/app/block-twitter-widget.php"); $twidget->setParameter('tweet_shell_bg', '#C82020'); $twidget->setParameter('tweet_shell_fg', '#FFFFFF'); $twidget->setParameter('tweet_fg', '#000000'); $twidget->setParameter('tweet_bg', '#FFFFFF'); $twidget->setParameter('tweet_width', config_getParameter('skin_width_multibar')); $twidget->emit();
<?php // Add a calendar... //require_once("library/core/class-date.php"); //$calendar = new akBlock(BLOCK_TYPE_MULTIBAR,"blocks/core/block-calendar.php"); //$calendar->title = "Calendar"; //$calendar->emit(); // Staff blogs $blogs = new akBlock(BLOCK_TYPE_MULTIBAR, "blocks/app/block-staff-blog.php", "Staff Blogs"); $blogs->emit(); // Add partner nav $partner = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/core/block-partner-nav.php", "Beyond JoF"); $partner->emit(); // Random picture... $pic = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-random-image.php", "Snapshots from the Journey"); $pic->setParameter('random_image_path', 'assets/random_pool'); $pic->setParameter('random_image_width', 172); $pic->emit(); // Add the twitter widget (with parameters) $twidget = new akBlock(BLOCK_TYPE_RAW, "blocks/app/block-twitter-widget.php"); $twidget->setParameter('tweet_shell_bg', '#66273B'); $twidget->setParameter('tweet_bg', '#B85B79'); $twidget->setParameter('tweet_fg', '#FFFFFF'); $twidget->setParameter('tweet_width', '172'); $twidget->emit(); ?> <div class="block-wrapper-div"></div>
<?php // Basic contact info // Contact info $contact = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/core/block-contact.php", "Contact Us"); $contact->emit(); // Staff blogs $blogs = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-staff-blog.php", "Staff Blogs"); $blogs->emit(); // Random picture... $pic = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-random-image.php", "JoF in action"); $pic->setParameter('random_image_path', 'assets/random_pool'); $pic->setParameter('random_image_width', 198); $pic->emit(); // Add an Upper Room devotional link $ur = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-upper-room.php", "The Upper Room® Daily Devotional"); $ur->emit(); // Calendar //require_once("library/core/class-date.php"); //$calendar = new akBlock(BLOCK_TYPE_SIDEBAR,"blocks/core/block-calendar.php"); //$calendar->title = "Calendar"; //$calendar->emit();