示例#1
0
<?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&reg; Daily Devotional");
$upper->setParameter('text_width', '190');
$upper->emit();
示例#2
0
<?php

// Contact info
$contact = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/core/block-contact.php", "Contact Us");
$contact->emit();
// Sermons
$ser = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-sermon-list.php", "Sermons");
$ser->emit();
// Add an Upper Room devotional link
$ur = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-upper-room.php", "The Upper Room&reg; Daily Devotional");
$ur->emit();
// Add an upcoming events block
$ev = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-events-list.php", "Upcoming Events");
$ev->emit();
示例#3
0
<?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>
示例#4
0
<?php

// Contact info
$contact = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/core/block-contact.php", "Contact Us");
$contact->emit();
// Sermons
$ser = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-sermon-list.php", "Sermons");
//$ser->setTitleLink("/sermon.php","Sermon Archive");
$ser->emit();
// Staff blogs
//$blogs = new akBlock(BLOCK_TYPE_SIDEBAR,"blocks/app/block-staff-blog.php","Staff Blogs");
//$blogs->emit();
// Upcoming events
$events = new akBlock(BLOCK_TYPE_SIDEBAR, "blocks/app/block-events-list.php", "Looking Forward");
$events->emit();
// Calendar
//$calendar = new akBlock(BLOCK_TYPE_SIDEBAR,"blocks/core/block-calendar.php");
//$calendar->title = "Calendar";
//$calendar->emit();
示例#5
0
<?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();
示例#6
0
<?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&reg; 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();