Sindbad~EG File Manager
<?php $__env->startSection('title','Campaign - Report'); ?>
<?php $__env->startSection('content'); ?>
<h2>Mailchimp - CAMPAIGNS</h2>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>#</th>
<th>Campaign</th>
<?php /* <th>Create Time</th> */ ?>
<th>Status</th>
<th>Emails Sent</th>
<th>Sent</th>
<?php /* <th>list_name</th> */ ?>
<?php /* <th>recipient_count</th> */ ?>
<?php /* <th>title</th> */ ?>
<th>Subject</th>
<?php /* <th>from_name</th> */ ?>
<?php /* <th>reply_to</th> */ ?>
<th>opens</th>
<th>Unique opens</th>
<th>Open rate</th>
<?php /* <th>Clicks</th>
<th>Subscriber clicks</th> */ ?>
<?php /* <th>click_rate</th> */ ?>
</tr>
</thead>
<tbody>
<?php if(isset($campaigns) && count($campaigns)>0): ?>
<?php foreach($campaigns as $key => $campaign): ?>
<?php
$create_time = isset($campaign["create_time"]) ? $campaign["create_time"] : null;
$status = isset($campaign["status"]) ? $campaign["status"] : null;
$emails_sent = isset($campaign["emails_sent"]) ? $campaign["emails_sent"] : null;
$send_time = isset($campaign["send_time"]) ? $campaign["send_time"] : null;
$recipients = isset($campaign["recipients"]) ? $campaign["recipients"] : null;
$list_name = isset($recipients["list_name"]) ? $recipients["list_name"] : null;
$recipient_count = isset($recipients["recipient_count"]) ? $recipients["recipient_count"] : null;
$settings = isset($campaign["settings"]) ? $campaign["settings"] : null;
$title = isset($settings["title"]) ? $settings["title"] : null;
$subject_line = isset($settings["subject_line"]) ? $settings["subject_line"] : null;
$from_name = isset($settings["from_name"]) ? $settings["from_name"] : null;
$reply_to = isset($settings["reply_to"]) ? $settings["reply_to"] : null;
$tracking = isset($campaign["tracking"]) ? $campaign["tracking"] : null;
//$opens = isset($tracking["opens"]) ? $tracking["opens"] : null;
$html_clicks = isset($tracking["html_clicks"]) ? $tracking["html_clicks"] : null;
$report_summary = isset($campaign["report_summary"]) ? $campaign["report_summary"] : null;
$opens = isset($report_summary["opens"]) ? $report_summary["opens"] : null;
$unique_opens = isset($report_summary["unique_opens"]) ? $report_summary["unique_opens"] : null;
$open_rate = isset($report_summary["open_rate"]) ? $report_summary["open_rate"] : null;
$clicks = isset($report_summary["clicks"]) ? $report_summary["clicks"] : null;
$subscriber_clicks = isset($report_summary["subscriber_clicks"]) ? $report_summary["subscriber_clicks"] : null;
$click_rate = isset($report_summary["click_rate"]) ? $report_summary["click_rate"] : null;
?>
<tr>
<td><?php echo $sno++; ?></td>
<td><?php echo isset($title) ? $title : ""; ?></td>
<?php /* <td><?php echo isset($create_time) ? $create_time : ""; ?></td> */ ?>
<td><?php echo isset($status) ? $status : ""; ?></td>
<td><?php echo isset($emails_sent) ? $emails_sent : ""; ?></td>
<td><?php echo isset($send_time) ? $send_time : ""; ?></td>
<?php /* <td><?php echo isset($list_name) ? $list_name : ""; ?> </td> */ ?>
<?php /* <td><?php echo isset($recipient_count) ? $recipient_count : ""; ?> </td> */ ?>
<?php /* <td><?php echo isset($title) ? $title : ""; ?> </td> */ ?>
<td><?php echo isset($subject_line) ? $subject_line : ""; ?> </td>
<?php /* <td><?php echo isset($from_name) ? $from_name : ""; ?> </td> */ ?>
<?php /* <td><?php echo isset($reply_to) ? $reply_to : ""; ?> </td> */ ?>
<td><?php echo isset($opens) ? $opens : ""; ?></td>
<td><?php echo isset($unique_opens) ? $unique_opens : ""; ?></td>
<td><?php echo isset($open_rate) ? $open_rate : ""; ?></td>
<?php /* <td><?php echo isset($clicks) ? $clicks : ""; ?></td>
<td><?php echo isset($subscriber_clicks) ? $subscriber_clicks : ""; ?></td> */ ?>
<?php /* <td><?php echo isset($click_rate) ? $click_rate : ""; ?></td> */ ?>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table> <!-- end of table -->
<div style="text-align: right;font-size: 20px;">
<ul style="list-style: none;">
<li style=" display: inline;">Pages : </li>
<?php for($i = 1; $i <= $pages; $i++): ?>
<li style=" display: inline;">
<?php if($i != $page): ?>
<a href="<?php echo URL::to('/'); ?>/campaigns/report?page=<?php echo $i; ?>"><?php echo $i; ?></a>
<?php else: ?>
<?php echo $i; ?>
<?php endif; ?>
</li>
<?php endfor; ?>
</ul>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('bolayout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists