|
|
@ -8,7 +8,7 @@
|
|
|
|
$tz = new DateTimeZone('UTC');
|
|
|
|
$tz = new DateTimeZone('UTC');
|
|
|
|
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$mailshot['completed'],$timezone=$tz);
|
|
|
|
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$mailshot['completed'],$timezone=$tz);
|
|
|
|
if ( $completed )
|
|
|
|
if ( $completed )
|
|
|
|
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \a\t ga' );
|
|
|
|
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \a\t g:ia' );
|
|
|
|
?></small></h3>
|
|
|
|
?></small></h3>
|
|
|
|
<blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<?php print strip_tags( preg_replace( '/\{\{[^\{]*\}\}/', '…', text_summary( $mailshot['campaign']['d']['body'], 'full_html' ) ) ); ?>
|
|
|
|
<?php print strip_tags( preg_replace( '/\{\{[^\{]*\}\}/', '…', text_summary( $mailshot['campaign']['d']['body'], 'full_html' ) ) ); ?>
|
|
|
|