Current File : /home/lifechur/legacy.lifechurchboston.org/lifepagetest.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/page.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Life Church Boston :: Life Page</title>
<!-- InstanceEndEditable -->
<link href="p7csslm/p7csslm02.css" rel="stylesheet" type="text/css" />
<link href="stylesheets_additional/style-common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="p7pm/p7popmenu.js"></script>
<style type="text/css" media="screen">
<!--
@import url(p7pm/p7pmh22.css);
-->
</style>
<!-- Set Up Popup Windows script for use by our "Email this Page link -->
<script type="text/javascript">
//Popup Window Script © CJ Website Design
function popUp(url){
window.open(url,"pop","width=650,height=500,toolbars=0,scrollbars=1")
}
</script>
<!-- Set Up Slide Show (contains slideshow_rotateimage() and slideshow_setinterval() functions). -->
<script src='scripts/slideshowsetup.js' type='text/javascript'></script>
<!-- To hide status bar selectively -->
<script src="scripts/hidestatus.js" language="javascript" type="text/javascript"></script>
<!--[if IE 5]>
<style>body {text-align: center;}#wrapper {text-align: left;}.menulist a {float: left; clear: both;}
#column_wrapper {height: 1%;}</style>
<![endif]-->
<!--[if lte IE 7]>
<style>#wrapper, #footer, #masthead, #column_wrapper {zoom: 1;}</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<meta name="Keywords" content="Life, Church, Boston, Custom, Home, Page" />
<!--
<script type="text/javascript" src="bin/audio-player/audio-player.js"></script>
<script type="text/javascript">
AudioPlayer.setup("http://www.lifechurchboston.org/bin/audio-player/player.swf", {
width: 290,
initialvolume: 100,
transparentpagebg: "yes",
left: "000000",
lefticon: "FFFFFF"
});
</script> -->
<!-- InstanceEndEditable -->
</head>
<body id="p7bod" onload="P7_PMmark(4,'staff','Staff','classes','Classes & Training','messages','Sunday Messages','ministries','Get Involved');P7_initPM(1,22,1,-20,10)">
<a name="TopOfPage"></a><div id="wrapper">
<div id="masthead">
<!--
<img src="../p7csslm/img/bkgd-shadow-top.jpg" alt="" width="830" height="28" />
-->
<table class="nav-top" align="right">
<tr><td>
<!-- Begin Share This Code -->
<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=733b45d9-146b-4987-a025-4564089f1289&type=website&popup=true&style=horizontal&post_services=email%2Cfacebook%2Ctwitter%2Cgbuzz%2Cmyspace%2Cdigg%2Csms%2Cwindows_live%2Cdelicious%2Cstumbleupon%2Creddit%2Cgoogle_bmarks%2Clinkedin%2Cbebo%2Cybuzz%2Cblogger%2Cyahoo_bmarks%2Cmixx%2Ctechnorati%2Cfriendfeed%2Cpropeller%2Cwordpress%2Cnewsvine"></script></td>
<!-- End Share This Code -->
<td><a href="#mainContent">Skip to Content</a> | <a href="contact.html">Contact Us</a> | <!-- E-mail this Page -->
<script language="javascript" type="text/javascript">
<!--
document.write("<a title='opens new window' href=\"javascript:popUp('http://www.lifechurchboston.org/sendpage/friend.php?id=" +document.URL);
document.write("&js=on');\">E-mail this Page <img src='http://www.lifechurchboston.org/images/icon.9h.newwindow.004D99.gif' alt='opens new window' width='9' height='9' border='0' /></a>");
//-->
</script>
|
<!-- Link to Our Site -->
<a href="linktous.html" title="opens new window">Link to this Site <img src="images/icon.9h.newwindow.004D99.gif" alt="" border="0" /></a> | <a href="index.php">Home</a></td></tr></table>
<div id="logo-holder" style="padding-left:14px;padding-bottom:1px;">
<!-- InstanceBeginEditable name="regionLogoHolder" -->
<img src="images/headers75-home.jpg" alt="Life Church Boston: Bringing God's river of life to you by changing the way church is done - one life group at a time." width="801" height="125" border="0" usemap="#Home" />
<!-- InstanceEndEditable -->
<map name="Home" id="Home">
<area shape="rect" coords="6,6,205,65" href="index.php" alt="Homepage" title="Homepage" />
</map>
</div>
<div class="content">
<!-- The next line is executed for PHP files only -->
<?php include($_SERVER['DOCUMENT_ROOT']."/Templates/pagetopmenussi.html"); ?>
<!-- The next line is executed for non-PHP files only -->
<!--#include virtual="/Templates/pagetopmenussi.html" -->
</div>
</div>
<div id="column_wrapper">
<div id="left">
<div class="content">
<?php include($_SERVER['DOCUMENT_ROOT']."/Templates/pageleftmenussi.html"); ?>
<?php include($_SERVER['DOCUMENT_ROOT']."/Templates/pageleftextrassi.html"); ?>
<!-- The next two lines are executed for non-PHP files only -->
<!--#include virtual="/Templates/pageleftmenussi.html" -->
<!--#include virtual="/Templates/pageleftextrassi.html" -->
</div>
</div>
<div id="right"><a name="mainContent" id="mainContent"></a>
<!-- Begin Like Button Code -->
<!-- Create a variable named $url to hold the URL of the current page. -->
<?php $url = "http".((!empty($_SERVER['HTTPS'])) ? "s" : "")."://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>
<!-- Create the Like button and point it to the current page. -->
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($url); ?>"&layout=standard&show_faces=false&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
<!-- End Like Button Code -->
<!--
<div id="emergencybox">
<h3>Emergency Notice </h3>
<p>That being said, the ownership issues inherent in dominant thematic implementations of all issues described above cannot be understand</p>
</div>
-->
<div id="pmmcrumb">
<p><a id="pmmcr" href="index.php">Home</a> >> </p>
</div>
<div class="content">
<!-- InstanceBeginEditable name="regionContent" -->
<h1>Our Calendar / Life Page</h1>
<p><---- Click the "<strong>Calendar / Life Page</strong>"
link in the left column to return to this page.</p>
<p>Welcome to our Calendar / Life Page - a custom page for members
and visitors. Keep us just one click away:<br />
<img src="images/icon.16h.customhome.gif" alt="" width="16" height="16" />
<script language="JavaScript" type="text/javascript" src="scripts/make_homepage.js"></script>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" valign="top">
<p>
<?php require_once('indexnoticessi.html'); ?>
</p> </td>
</tr>
<tr>
<td valign="top" width="250">
<!-- Slide Show: Start -->
<script type="text/javascript" >
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
//new fadeshow(fadeimages, 215, 129, 1, 2500, 0)
</script>
<noscript>
If you want to see the slide show, you must activate javascript.
</noscript>
<!-- Slide Show: End -->
<?php
require_once '/home/lifechur/carp/carp/carp.php';
MyCarpConfReset(); // Reset all settings to their defaults
CarpConf('encodingout','UTF-8'); // Set UTF-8 encoding for Carp output
//$processedcarpdata['channel']['title']. If the "iorder" setting contains "url", the item link URLs will be found in $processedcarpdata['items'][0]['url'], //$processedcarpdata['items'][1]['url'], $processedcarpdata['items'][2]['url']
CarpLoadPlugin('processeddata.php');
$processeddatacarpconf['allow_display'] = 0; // Store the output, but don't display it.
// Add any desired configuration settings before CarpCacheShow using "CarpConf" and other functions
// Don't display "Newsfeed display by CaRP" after feed
CarpConf('poweredby','');
// Surround description with '<p></p>' (paragraph tags)
CarpConf('bidesc','<p class="blogdesc">');
CarpConf('aidesc','</p>');
// Set the CSS classes of the channel and item links
CarpConf('clinkclass','');
CarpConf('ilinkclass','link_carp');
// Open links in a new window.
CarpConf('linktarget',1);
// channel information to display: hide it
CarpConf('cborder','');
CarpConf('caorder','');
// only show the item image and link
//CarpConf('iorder','image,link');
CarpConf('iorder','image');
// Put the image for each item in a separate table cell
//CarpConf('biimage','<td>');
//CarpConf('aiimage','</td><td>');
CarpConf('defiimagew',60);
CarpConf('maxiimagew',60);
// display up to 200 characters in the title
CarpConf('maxititle',200);
// Setup unordered list
CarpConf('bitems','<div class="blog2"> <h3><a href="http://blogs.lifechurchboston.org/community/category/calendar/">Photo Items:</a></h3><ul>');
// Eliminate line feed after each field
CarpConf('afield','');
// put a bullet before each item
CarpConf('bi','<li>');
CarpConf('ai','</li>');
// Close unordered list
CarpConf('aitems','</ul></div> ');
// preserves images and links in descriptions
CarpConfAdd('descriptiontags', '|img|a|/a');
// show up to 20 items (for Life Church newsfeed only / current Flickr limit)
CarpConf('maxitems',20);
// Filter The Photo Blog
CarpShow('http://api.flickr.com/services/feeds/photoset.gne?set=72157623979946224&nsid=14210903@N02&lang=en-us');
// Grab the RSS photostream photos from the $processedcarpdata array (created by the CaRP Processed Data plugin) and populate the slideshow array (galleryarray).
include "scripts/getrsspics.php";
// The slideshowsetup.js file contains functions that rotate the photos from galleryarray into the slideshow div below.
?>
<!-- The slideshowsetup.js file contains functions that rotate the photos from galleryarray into the slideshow div below. -->
<!-- Simple Slide Show: Start -->
<!-- <div style="width: 215px; height: 145px; border: 0px solid gray;"> -->
<!-- <div style="width: 340px; height:340px; border: 0px solid gray;">
<object width='340' height='340'><param name='movie' value='http://www.slideflickr.com/slide/JsEPVzgs'></param><param name='wmode' value='transparent'></param><embed src='http://www.slideflickr.com/slide/JsEPVzgs' type='application/x-shockwave-flash' wmode='transparent' width='340' height='340'></embed></object>
</div> -->
<div style="width: 340px; height:340px; border: 0px solid gray;">
<!-- START EMBED CODE -->
<script type="text/javascript" src="http://lifechurch.slideshowpro.com/m/embed.js"></script>
<div id="album-342323">
</div>
<!-- START EMBED CODE -->
<script type="text/javascript" src="http://lifechurch.slideshowpro.com/m/embed.js"></script>
<div id="album-342323">
</div>
<script type="text/javascript">
SlideShowPro({
attributes: {
id: "album-342323",
width: 250,
height: 250
},
mobile: {
auto: false
},
params: {
bgcolor: "#000000",
allowfullscreen: true
},
flashvars: {
xmlFilePath: "http://lifechurch.slideshowpro.com/images.php?album=342323",
paramXMLPath: "http://lifechurch.slideshowpro.com/m/params/chromeless.xml",
panZoom: "On",
navAppearance: "Visible on Rollover"
}
});
</script>
<!-- END EMBED CODE -->
</div>
<!-- Now that the image has loaded we invoke the slideshow_setinterval() function (contained in slideshowsetup.js) to start the image rotation -->
<script language="JavaScript" type="text/javascript">
slideshow_setinterval();
</script>
<!-- Simple Slide Show: End --></td>
<td valign="top" style="padding-left:10px;"><h2>Contents</h2>
<ul>
<li><a href="#search">Search</a></li>
<li><a href="#calendar_section">Calendar</a></li>
<li><a href="messages/sundaylife.php">Sunday Life Sermon Podcast</a></li>
<li><a href="lifegroups/lifegroups_meeting.html"> Life
group discussion questions </a></li>
<li><a href="#Bible">Bible Resources</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#messages">Sunday Messages</a></li>
<li><a href="#community_corner">Community Corner</a>
<!-- Personal Homepage Script: End -->
</li>
</ul></td>
</tr>
</table>
<hr size="1" noshade="noshade" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="padding-left: 10px;">
<!-- Google Search: Start -->
<h3><a name="search" id="search"></a>Search Our Websites or the Web</h3>
<p>
<form action="search-results.html" id="searchbox_012471084448061608098:cbgkx42v1py">
<table><tr>
<td><input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="safe" value="active" />
<!-- Life Church Boston -->
<input name="cx" type="radio" id="custom" value="012471084448061608098:cbgkx42v1py" checked="checked" />
<label for="custom">Life Church Boston</label></td>
<!-- Life Church Ministries -->
<td><input id="custom1" type="radio" name="cx" value="012471084448061608098:hpesothozhs" />
<label for="custom1">Life Church Ministries</label></td>
<!-- WWW: World Wide Web -->
<td><input id="www" type="radio" name="cx" value="012471084448061608098:wgfript5cio" />
<label for="www">WWW (world wide web) </label></td>
</table>
<br />
<input type="text" name="q" size="25" /><br /><input type="submit" name="sa" value="Search" /> <input type="reset" name="reset" alt="reset" value="Reset">
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_012471084448061608098%3Acbgkx42v1py&lang=en"></script>
<!-- Google Search: End --></td>
</tr>
</table>
<hr size="1" noshade="noshade" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="55%" valign="top" style="border-right: 1px solid #CCCCCC;padding-right: 15px;"><!-- Life Church Upcoming Events: Start -->
<h2><a name="calendar_section" id="calendar_section"></a>Calendar Information</h2>
<p>This is the official Life Church Calendar
<a href="http://e-life.lifechurchboston.org/" target="_blank">e-Life</a>!
If you're involved in an official Life Church event that doesn't appear
here please let the event coordinator know. He/she is responsible for
getting it into the calendar by <a href="http://www.lifechurchboston.org/welcome/e-Life.html#calendar">updating
e-Life</a>. Click <a href="http://www.lifechurchboston.org/welcome/e-Life.html#calendar">here</a> for
directions on <a href="http://www.lifechurchboston.org/welcome/e-Life.html#calendar">how
to update the calendar</a>.</p>
<p><a href="#calendar">Life Church Calendar (inline)</a></p>
<p><a href="http://lifechurch.ccbchurch.com/w_calendar.php" target="_blank">Life
Church Calendar (opens in newpage)</a></p>
<p><a href="#list">One Month Calendar Events List</a></p>
<p><a href="lifepage_calendar_list.php">One
Year Calendar Events List</a></p>
<p><a name="list" id="list"></a>
<?php
//$startDateString = "2011-06-12";
//$endDateString = "2011-06-12";
$startTimestamp = time();
$endTimestamp = mktime(0,0,0,date("m")+1,date("d"),date("Y"));
$startDateString = date("Y-m-d", $startTimestamp);
$endDateString = date("Y-m-d", $endTimestamp);
$startDateStringDisplay = date("m/d/Y", $startTimestamp);
$endDateStringDisplay = date("m/d/Y", $endTimestamp);
// URL string
$url = "https://lifechurch.ccbchurch.com/app/api.php?srv=public_calendar_listing&date_start=".$startDateString."&date_end=".$endDateString;
$username = "webuser";
$password = "webuser1";
// Init curl
$curl = curl_init();
// Set Curl options
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_USERPWD, "$username:$password");
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_HEADER, 0);
// Execute and close
$output = curl_exec($curl);
curl_close($curl);
//print "<h2>Event List</h2>";
//print "<p>Output: $output</p>";
$doc = new SimpleXmlElement($output, LIBXML_NOCDATA);
//$doc = simplexml_load_string($output);
//print "<p>Output: $output</p>";
//print "<p>Doc: $doc</p>";
//print_r($doc);
if(isset($doc->response))
{
print "<table width='100%' border='1' cellspacing='0' cellpadding='5'>";
print "<tr><th colspan='2'>One Month Calendar Events List<br />(from e-Life: $startDateStringDisplay - $endDateStringDisplay)</th></tr>";
parseITEM($doc);
print "</table>";
}
function parseITEM($xml)
{
// echo "<strong>".$xml->response->items->item[0]."</strong>";
$cnt = count($xml->response->items->item);
//print "<p>We are parsing - $cnt</p>";
//$cnt = 7;
for($i=0; $i<$cnt; $i++)
{
if($xml->response->items->item[$i]->group_name == "Life Church")
{
$date = $xml->response->items->item[$i]->date;
$title = $xml->response->items->item[$i]->event_name;
$desc = $xml->response->items->item[$i]->event_description;
$time = $xml->response->items->item[$i]->start_time;
$location = $xml->response->items->item[$i]->location;
}
$date = $xml->response->items->item[$i]->date;
$title = $xml->response->items->item[$i]->event_name;
$desc = $xml->response->items->item[$i]->event_description;
$start_time = $xml->response->items->item[$i]->start_time;
$end_time = $xml->response->items->item[$i]->end_time;
$location = $xml->response->items->item[$i]->location;
//$event_id = $xml->response->items->item[$i]->date->getAttribute("ccb_id");
//$event_id = $xml->response->items->item[$i]->event_name->attributes();
$event_id = $xml->response->items->item[$i]->event_name['ccb_id'];
$timestamp = strtotime($date." ".$start_time);
if(($start_time == "00:00:00") && ($end_time =="23:59:00")) {
$outputdate = date("D M d\, Y",$timestamp);
} else {
$outputdate = date("D M d\, Y g:i A",$timestamp);
}
print "<tr><td width='50%'>$outputdate</td>";
print "<td width='50%'><a href=\"http://lifechurch.ccbchurch.com/w_event_detail.php?event_id=$event_id&occur=$date\">$title</a></td>";
//print "$desc<br />";
//print "$location<br /></dd>";
print "</tr>";
}
}
print "<hr />";
?>
<hr size="1" noshade="noshade" /><hr />
<h2><a name="calendar" id="calendar"></a>Calendar</h2>
<p> </p>
<iframe src="http://lifechurch.ccbchurch.com/w_calendar.php" width="100%" height="1100"></iframe>
<p> </p>
<!-- ?php
require_once '/home/lifechur/carp/carp/carp.php';
MyCarpConfReset(); // Reset all settings to their defaults
CarpConf('encodingout','UTF-8'); // Set UTF-8 encoding for Carp output
CarpLoadPlugin('sort.php');
SortCarpReset();
// Add any desired configuration settings before CarpCacheShow using "CarpConf" and other functions
// Do not display "Newsfeed display by CaRP" after feed
CarpConf('poweredby','');
// Surround description with '<p></p>' (paragraph tags)
CarpConf('bidesc','<p class="blogdesc">');
CarpConf('aidesc','</p>');
// Set the CSS classes of the channel and item links
CarpConf('clinkclass','');
CarpConf('ilinkclass','link_carp');
// Open links in a new window.
CarpConf('linktarget',1);
// channel information to display: hide it
CarpConf('cborder','');
CarpConf('caorder','');
// only show the item link
//CarpConf('iorder','link,date,title,author,desc');
CarpConf('iorder','link');
SortCarpByOneField('title','ascending');
CarpConf('defiimagew',60);
CarpConf('maxiimagew',60);
// display up to 200 characters in the title
CarpConf('maxititle',200);
// Setup unordered list
CarpConf('bitems','<div class="blog2"> <h3><a href="http://blogs.lifechurchboston.org/community/category/calendar/">(from Community Blog):</a></h3><ul>');
// put a bullet before each item
CarpConf('bi','<li>');
CarpConf('ai','</li>');
// Close unordered list
CarpConf('aitems','</ul></div> ');
// preserves links in descriptions
CarpConfAdd('descriptiontags', '|a|/a');
// show up to 15 items (for Life Church newsfeed only)
CarpConf('maxitems',15);
// Filter The Community Blog
//CarpCacheShow('http://blogs.lifechurchboston.org/community/category/calendar?feed=rss2', 'filter-calendar2');
CarpShow('http://blogs.lifechurchboston.org/community/category/calendar?feed=rss2');
?>
-->
<!-- Life Church Upcoming Events: End -->
<!--
<p><a href="http://lifechurch.ccbchurch.com/app/w_calendar.php" class="link_external">Complete Life Church Boston Calendar</a></p>
-->
</p> </td>
</tr>
</table>
<hr size="1" noshade="noshade" />
<p> </p>
<hr size="1" noshade="noshade" />
<h2><a name="Bible" id="Bible"></a>The Bible</h2>
<table>
<tr>
<td width="350" valign="top">
<!-- Daily Bible Readings: Start -->
<h3>Our Recommended Bible Reading Plan:</h3>
<p>
<!-- <p style="margin-top: -35px;"> -->
<script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/115667637702514278323/oneyearbibleonlinegadget.xml&up_myreadingplan=1&up_myversion=NIV1984&up_mynewbrowser=0&synd=open&w=320&h=325&title=One+Year+Bible+Online&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
</p>
<!-- Daily Bible Readings: End --></td>
<!-- Provides space between columns/cells -->
<td width="10" style="border-left: 1px solid #CCCCCC;"> </td>
<td valign="top">
<!-- Scripture Search: Start -->
<h3>Search the Bible</h3>
<div align="center">
<p>Lookup a word or passage<br />
in the Bible</p>
<form action="http://www.biblegateway.com/quicksearch/" method="post">
<p style="margin-bottom: 0;">
<input type="text" name="quicksearch" /><br />
<input type="submit" value="Search BibleGateway.com" /><br />
</p>
<a href="http://www.biblegateway.com/" title="The Bible in multiple languages, versions, and formats">
<img src="http://www.biblegateway.com/images/logos/bglogo_sm.gif" width="146" height="44" alt="BibleGateway.com" border="0" /></a><br />
</form>
</div>
<!-- Scripture Search: End --></td>
</tr>
</table>
<!-- Other Bible Reading Plans: Start -->
<h3 class="h3_border_top">Other Bible Reading Plans:</h3>
<ul>
<li><a href="http://www.ibsstl.org/dm/index.php" target="_blank" class="link_external">International Bible Society Daily Manna From The 'Net</a></li>
<li><a href="http://www.ibsstl.org/bibles/dailyreading/index.php" target="_blank" class="link_external">International Bible Society Daily Reading</a></li>
</ul>
<h3>More Bible Resources</h3>
<ul>
<li><a href="http://blogs.lifechurchboston.org/community/spiritual-growth/gods-word/" target="_blank" class="link_external">Resources
From The
Life Church Community Blog</a></li>
</ul>
<hr size="1" noshade="noshade" />
<!-- Blog: Start -->
<h2><a name="blog" id="blog"></a>Our Blog</h2>
<p>Visit our <a href="http://blogs.lifechurchboston.org/" class="link_carp" target="_blank">blog</a> and share your thoughts:</p>
<!-- Display our latest blog entries. -->
<?php
require_once '/home/lifechur/carp/carp/carp.php';
MyCarpConfReset(); // Reset all settings to their defaults
CarpConf('encodingout','UTF-8'); // Set UTF-8 encoding for Carp output
// don't display "Newsfeed display by CaRP" after feed
CarpConf('poweredby','');
// Surround description with a '<p>'
CarpConf('bidesc','<p class="blogdesc">');
CarpConf('aidesc','</p>');
// Set the CSS classes of the channel and item links
CarpConf('clinkclass','');
CarpConf('ilinkclass','link_carp');
// Open links in a new window.
CarpConf('linktarget',1);
// Channel information to display: hide it
CarpConf('cborder','');
CarpConf('caorder','');
// Only show the item link
CarpConf('iorder','link');
// display up to 200 characters in the title
CarpConf('maxititle',200);
// use "title" attribute in the title link
CarpConf('ilinktitles',2);
// Setup unordered list
CarpConf('bitems','<div class="blog2"> <ul> ');
// put a bullet before each item
CarpConf('bi','<li>');
CarpConf('ai','</li>');
// Close unordered list
CarpConf('aitems','</ul> </div> ');
// preserves links in descriptions
//CarpConfAdd('descriptiontags', '|a|/a');
// show up to 25 items (for Life Church newsfeed only)
CarpConf('maxitems',25);
// Filter Pastor Rocklyn's Blog
CarpCacheFilter('http://blogs.lifechurchboston.org/pastorrocklyn/?feed=rss2', 'filter-lifepage-rocklyn');
// Filter Pastor Eva's Blog
CarpCacheFilter('http://blogs.lifechurchboston.org/pastoreva/?feed=rss2', 'filter-lifepage-eva');
// Filter Pastor Valerie's Blog
CarpCacheFilter('http://blogs.lifechurchboston.org/pastorvalerie/?feed=rss2', 'filter-lifepage-valerie');
// Filter The Community Blog
CarpCacheFilter('http://blogs.lifechurchboston.org/community/?feed=rss2', 'filter-lifepage-community');
// Aggregate the content from the cache and display in (hopefully) order by date
//CarpAggregate("filter-lifepage-rocklyn|filter-lifepage-eva|filter-lifepage-valerie|filter-lifepage-community");
CarpAggregate("filter-lifepage-rocklyn|filter-lifepage-eva|filter-lifepage-valerie");
?>
<h2><a name="messages" id="messages"></a>Our Sunday Messages</h2>
<p>Listen to our <a href="messages/sundaylife.php" class="link_carp" target="_blank">sermons</a> online:</p>
<?php
$carp_dir = "/home/lifechur/carp/carp/";
require_once "$carp_dir/carp.php";
// Reset everything - start with a clean slate.
MyCarpConfReset();
// Set up the audio player.
CarpLoadPlugin('podcast.php');
$podcastcarpconf['player-path']='http://media.lifechurchboston.org/podcasts/sundaylife/';
$podcastcarpconf['bg']='FFFFFF'; // White page background
$podcastcarpconf['player-settings']['bg']='FFFFCC'; // Yellow player background
$podcastcarpconf['player-settings']['track']='006633'; // Dark green track
// Don't say "Newsfeed display by by CaRP" after the newsfeeds
CarpConf('poweredby','');
// Set the CSS classes of the channel and item links
CarpConf('clinkclass','');
CarpConf('ilinkclass','link_carp');
// Open links in a new window.
CarpConf('linktarget',1);
// Channel information to display
CarpConf('cborder','');
CarpConf('caorder','');
// Show the item link, descriptions, and podcast
CarpMapField('author','itunes:author',0,10);
CarpConf('iorder','title,author,podcast,url,desc');
// Use "title" attribute in the title link
CarpConf('ilinktitles',2);
// Setup unordered list
CarpConf('bitems','<div class="newsitem"> <ul> ');
// Set up a bullet to precede each item
CarpConf('bi','<li>');
// Display the title in bold text.
CarpConf('bilink','<strong>');
CarpConf('ailink','</strong>');
// Create a table before the item podcast to enclose the "Listen Here:" text and to prefix the audio player.
CarpConf('bipodcast','<table><tr><td>Listen Here:</td><td>');
CarpConf('aipodcast','</td>');
// Display the url as a link to the text "Notes".
CarpConf('biurl','<td><a href="');
CarpConf('aiurl','" class="link_carp" target="_blank">Notes</a></td></tr></table>');
// Display the url as a link to the text "Notes".
//CarpConf('bidesc','<p>');
CarpConf('aidesc','<br /> ');
// Close the table cell, table row, and table after the audio player; then close the list item.
CarpConf('ai','</li>');
// Close unordered list
CarpConf('aitems','</ul> </div> ');
// Show up to 2 items (for Life Church newsfeed only)
CarpConf('maxitems',5);
// Display up to 200 characters in the title
CarpConf('maxititle',200);
// Show the newsfeed.
CarpCacheShow('http://www.lifechurchboston.org/messages/podcast.xml');
?>
<p>Looking for earlier sermons? Check out our <a href="messages/sundaylife.php" class="link_carp" target="_blank">sermon catalog</a>.</p>
<h2><a name="community_corner" id="community_corner"></a>Community Corner</h2>
<?php
require_once '/home/lifechur/carp/carp/carp.php';
// Add any desired configuration settings before CarpCacheShow using "CarpConf" and other functions
// Reset all settings to their defaults
MyCarpConfReset();
// Don't display "Newsfeed display by CaRP" after feed
CarpConf('poweredby','');
// Surround description with '<p></p>' (paragraph tags)
CarpConf('bidesc','<p class="blogdesc">');
CarpConf('aidesc','</p>');
// Set the CSS classes of the channel and item links
CarpConf('clinkclass','');
CarpConf('ilinkclass','link_carp');
// Channel information to display: hide it
CarpConf('cborder','');
CarpConf('caorder','');
// Show the item image and link
CarpConf('iorder','image,link');
CarpConf('biimage','<td>');
CarpConf('aiimage','</td><td>');
CarpConf('defiimagew',60);
CarpConf('maxiimagew',60);
// display up to 200 characters in the title
CarpConf('maxititle',200);
// Use "title" attribute in the title link
CarpConf('ilinktitles',2);
// Setup unordered list
CarpConf('bitems','<div class="blog2"><p>The latest items from our <a href="http://blogs.lifechurchboston.org/community/" class="link_carp" target="_blank">community</a> blog.</p><table cellpadding="10">');
// Put a bullet before each item
CarpConf('bi','<tr>');
CarpConf('ai','</td></tr>');
// Close unordered list
CarpConf('aitems','</table></div> ');
// Preserves links in descriptions
//CarpConfAdd('descriptiontags', '|a|/a');
// Show up to 3 items (for Life Church newsfeed only)
CarpConf('maxitems',3);
// Filter The Community Blog
//CarpCacheShow('http://blogs.lifechurchboston.org/community/?feed=rss2', 'filter-community-corner');
//CarpShow('http://blogs.lifechurchboston.org/community/?category=community_corner&feed=rss2');
CarpShow('http://blogs.lifechurchboston.org/community/category/community-corner/feed');
?>
<!-- Blog: End -->
<hr size="1" noshade="noshade" />
<table>
<tr>
<td valign="top" width="183">
<h3>Shopping</h3><br />
<!-- Amazon -->
<iframe src="http://rcm.amazon.com/e/cm?t=lifechurchboston-20&o=1&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="No"></iframe>
<!-- Amazon end --></td>
<td valign="middle" style="padding-left: 100px;">
<a href="http://click.linksynergy.com/fs-bin/click?id=fjLTcuJo1Mw&offerid=78941.10000180&type=4&subid=0">
<img alt="iTunes_RGB_9mm" border="0" src="http://images.apple.com/itunesaffiliates/logos/iTunes_RGB_9mm.gif"></a>
<img border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=fjLTcuJo1Mw&bids=78941.10000180&type=4&ammp;subid=0">
<br />
<a href="http://click.linksynergy.com/fs-bin/click?id=fjLTcuJo1Mw&offerid=78524.10000011&type=3&subid=0">
iTunes: A digital jukebox with <br />a music download store inside.</a>
<img border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=fjLTcuJo1Mw&lbids=78524.10000011&type=3&subid=0"></td>
</tr>
</table>
<hr size="1" noshade="noshade" /><hr />
<!-- InstanceEndEditable -->
<!-- #BeginLibraryItem "../Library/TopOfPage.lbi" -->
<p class="topofpage">[<a href="#TopOfPage">top of page</a>]</p>
<!-- #EndLibraryItem -->
</div></div>
<br class="clearfloat" />
</div>
<div id="footer">
<img src="p7csslm/img/bkgd-shadow-bottom.jpg" alt="" />
<div class="content">
<p><a href="index.php">Home</a> | <a href="contact.html">Contact Us</a> | Use <a href="contact.html">our contact form to submit website comments</a>.</p>
<p align="center">Life Church Boston is a Christian church focusing on discipleship, cell ministry (small groups), and relational evangelism.<br />
Founded 2003 • Rocklyn Clarke Sr. & Eva Clarke, founding pastors.<br />
Copyright© <a href="http://www.lifechurchministries.org/" title="leaves this site; goes Life Church Ministries website" class="link_external">Life Church Ministries, Inc.</a>
unless otherwise noted. <a href="/termsofuse.html">Terms of Use/Privacy Policy</a>. Powered by <a href="http://www.dreamhost.com/rewards.cgi?reclarke" class="link_external" title="leaves this site; goes Dreamhost website">DreamHost</a>.</p>
</div></div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4634987-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body><!-- InstanceEnd --></html>