<?php

/**
 *
 * @copyright  2016 izend.org
 * @version    1
 * @link       http://www.izend.org
 */
?>
<div id="campaignsummary">
<h3><?php echo htmlspecialchars($campaign_title ? $campaign_title : $campaign_id, ENT_COMPAT, 'UTF-8'); ?></h3>
<?php if ($campaign_abstract): ?>
<p><?php echo htmlspecialchars($campaign_abstract, ENT_COMPAT, 'UTF-8'); ?></p>
<?php endif; ?>
<?php if ($campaign_contents): ?>
<ol>
<?php foreach ($campaign_contents as $c): ?>
<?php extract($c);	/* page_title page_url */ ?>
<li><a href="<?php echo $page_url; ?>"><?php echo htmlspecialchars($page_title ? $page_title : $page_id, ENT_COMPAT, 'UTF-8'); ?></a></li>
<?php endforeach; ?>
</ol>
<?php endif; ?>
</div>
