Exemple #1
0
</span></h3><br/>
			    	<h3><span class="badge badge-warning" style="font-size:16px;"><?php 
echo $recipients - $opens_unique;
?>
</span> <?php 
echo _('not opened');
?>
</h3><br/>
			    	<h3><span class="badge badge-info" style="font-size:16px;"><?php 
echo $click_per;
?>
%</span> <?php 
echo _('clicked a link');
?>
 <span class="label"><?php 
echo get_click_percentage($_GET['c']);
?>
 <?php 
echo _('clicked');
?>
</span></h3>
			    </div>
	    	</div>
	    	
	    	<div class="span6">
	    		<div class="well">
			    	<h3><span class="badge badge-important" style="font-size:16px;"><?php 
echo $unsubscribe_per;
?>
%</span> <?php 
echo _('unsubscribed');
Exemple #2
0
								    </tr>
					  			';
            }
        } else {
            if ($error_stack != '') {
                $download_errors = ' | <a href="' . get_app_info('path') . '/includes/app/download-errors-csv.php?c=' . $id . '" title="' . _('Download CSV of emails that were not delivered to even after retrying') . '">' . $no_of_errors . ' ' . _('not delivered') . '</a>';
            } else {
                $download_errors = '';
            }
            echo '
				  				<tr id="' . $id . '">
							      <td><span class="label label-success">' . _('Sent') . '</span></a> <a href="' . get_app_info('path') . '/report?i=' . get_app_info('app') . '&c=' . $id . '" title="' . _('View report for this campaign') . '">' . $title . '</a>' . $download_errors . '</td>
							      <td>' . number_format($recipients) . '</td>
							      <td>' . parse_date($sent, 'long', true) . '</td>
							      <td><span class="label">' . $percentage_opened . '%</span> ' . number_format($opens_unique) . ' ' . _('opened') . '</td>
							      <td><span class="label">' . $percentage_clicked . '%</span> ' . number_format(get_click_percentage($id)) . ' ' . _('clicked') . '</td>
							      <td><a href="#duplicate-modal" title="" id="duplicate-btn-' . $id . '" data-toggle="modal" data-cid="' . $id . '" class="duplicate-btn"><i class="icon icon-copy"></i></a></td>
							      <td><a href="javascript:void(0)" title="Delete ' . $title . '?" id="delete-btn-' . $id . '" class="delete-campaign"><i class="icon icon-trash"></i></a></td>
							      <script type="text/javascript">
							    	$("#delete-btn-' . $id . '").click(function(e){
									e.preventDefault(); 
									c = confirm(\'' . _('Confirm delete') . ' ' . addslashes($title) . '?\');
									if(c)
									{
										$.post("includes/campaigns/delete.php", { campaign_id: ' . $id . ' },
										  function(data) {
										      if(data)
										      {
										      	$("#' . $id . '").fadeOut();
										      }
										      else
Exemple #3
0
?>
/includes/reports/export-csv.php?c=<?php 
echo $id;
?>
&a=unopens" title="<?php 
echo _('Export subscribers who did not open this email (includes subscribers newly added to the lists after this campaign was sent)');
?>
" style="float:left; margin: 5px 0 0 7px;"><i class="icon icon-download-alt"></i></a><br/>
			    	<h3 style="clear:both;margin-top: 27px;"><span class="badge badge-info" style="font-size:16px;"><?php 
echo $click_per;
?>
%</span> <?php 
echo _('clicked a link');
?>
 <span class="label"><?php 
echo get_click_percentage($cid);
?>
 <?php 
echo _('unique clicks');
?>
</span></h3>
			    </div>
	    	</div>
	    	
	    	<div class="span6">
	    		<div class="well">
			    	<h3><span class="badge badge-important" style="font-size:16px;"><?php 
echo $unsubscribe_per;
?>
%</span> <?php 
echo _('unsubscribed');
</td>
		              <td><span class="label"><?php 
        echo $percentage_opened;
        ?>
%</span> <?php 
        echo number_format($opens_unique);
        ?>
 <?php 
        echo _('opened');
        ?>
</td>
		              <td><span class="label"><?php 
        echo $percentage_clicked;
        ?>
%</span> <?php 
        echo number_format(get_click_percentage($ares_email_id));
        ?>
 <?php 
        echo _('clicked');
        ?>
</td>
		            </tr>
		            <?php 
    }
} else {
    echo '
				          		<tr>
				          			<td colspan="5">' . _('No autoresponder emails are set up.') . '</td>
				          		</tr>
				          	';
}