<h1>
	<a href='prayerrequests.php' title='Prayer Requests'>Prayer Requests</a>
</h1>
<p class='random_verse'>
<?php
echo "\"{$this->data['verse']->text}\" <span>{$this->data['verse']->ref}</span>";
?>
</p>
<ul class='page_toc'>
	<li><a href='#cartersministrycalendar'>Carter's Ministry Calendar</a></li>
	<li><a href='#emailupdates'>E-mail Updates</a></li>
	<li class='last'><a href='#prayerletter'>Prayer Letter</a></li>
</ul>

<h2><a name='cartersministrycalendar'>Carter's Ministry Calendar</a></h2>
<p>The lastest Carter's Missionary Moments are listed below.</p>
<ul>
<?php foreach($this->data['xml']['missionarymoments']->moment as $moment): ?>
	<li>
		<p>
			<?php echo $moment->date; ?>: 
			<a href='javascript:PopUp("/site/data/missionarymoments/<?php echo $moment->file ?>")'><?php echo $moment->title ?></a>
		</p>
	</li>
<?php endforeach; ?>	
</ul>

<h2><a name='emailupdates'>E-mail Updates</a></h2>
<?php if($this->data['xml']['emailupdates']->emailupdate): ?>
<p>Click on the links below to view the latest e-mail updates.</p>
<ul>
<?php foreach($this->data['xml']['emailupdates']->emailupdate as $update): ?>
	<li>
		<?php echo $update->date; ?>:
		<a href='javascript:PopUp("/site/data/prayerrequests/emailupdates/<?php echo $update->file ?>")'><?php echo $update->title ?></a>
	</li>
<?php endforeach; ?>	
</ul>
<?php else: ?>
<p>There are no e-mail updates at this time.  Please check back soon!</p>
<?php endif; ?>

<h2><a name='prayerletter'>Prayer Letter</a></h2>
<?php if($this->data['xml']['prayerletters']): ?>
<p>Click on the links below to read a prayer letter.</p>
<ul>
	<?php foreach($this->data['xml']['prayerletters'] as $letter): ?>
	<li>
		<?php echo $letter->date ?>:
		<a href='javascript:PopUp("/site/data/prayerrequests/prayerletters/<?php echo $letter->file ?>")'><?php echo $letter->title ?></a>
	</li>
	<?php endforeach; ?>
</ul>
<?php else: ?>
<p>
	There is currently no prayer letters.  Check back soon!
</p>
<?php endif; ?>	