示例#1
0
 <?php 
echo _('unsubscribed');
?>
</span></h3><br/>
			    	
			    	<?php 
if ($bounce_detection) {
    ?>
			    	<h3><span class="badge badge-inverse" style="font-size:16px;"><?php 
    echo $bounce_percentage;
    ?>
%</span> <?php 
    echo _('bounced');
    ?>
 <span class="label"><?php 
    echo get_bounced();
    ?>
 <?php 
    echo _('bounced');
    ?>
</span></h3><br/>
			    	<?php 
} else {
    ?>
			    	<h3><span class="badge badge-inverse" style="font-size:16px;"><?php 
    echo _('No bounces were registered');
    ?>
</span></h3><br/>
			    	<?php 
}
?>
示例#2
0
         $scheduled_title = _('Scheduled on') . ' ' . $send_date_totime . ' (' . $timezone . ') ' . _('to') . ' (' . $scheduled_list_name . ')';
     }
 }
 if ($opens == '') {
     $percentage_opened = 0;
     $opens_unique = 0;
 } else {
     $opens_array = explode(',', $opens);
     $opens_array2 = array();
     foreach ($opens_array as $oa) {
         $oa = $oa . ',';
         $oa = delete_between(':', ',', $oa);
         array_push($opens_array2, $oa);
     }
     $opens_unique = count(array_unique($opens_array2));
     $percentage_opened = round($opens_unique / ($recipients - get_bounced($id)) * 100, 2);
 }
 if ($recipients == 0 || $recipients == '') {
     $percentage_clicked = round(get_click_percentage($id) * 100, 2);
 } else {
     $percentage_clicked = round(get_click_percentage($id) / $recipients * 100, 2);
 }
 //tags for subject
 preg_match_all('/\\[([a-zA-Z0-9!#%^&*()+=$@._\\-\\:|\\/?<>~`"\'\\s]+),\\s*fallback=/i', $title, $matches_var, PREG_PATTERN_ORDER);
 preg_match_all('/,\\s*fallback=([a-zA-Z0-9!,#%^&*()+=$@._\\-\\:|\\/?<>~`"\'\\s]*)\\]/i', $title, $matches_val, PREG_PATTERN_ORDER);
 preg_match_all('/(\\[[a-zA-Z0-9!#%^&*()+=$@._\\-\\:|\\/?<>~`"\'\\s]+,\\s*fallback=[a-zA-Z0-9!,#%^&*()+=$@._\\-\\:|\\/?<>~`"\'\\s]*\\])/i', $title, $matches_all, PREG_PATTERN_ORDER);
 $matches_var = $matches_var[1];
 $matches_val = $matches_val[1];
 $matches_all = $matches_all[1];
 for ($i = 0; $i < count($matches_var); $i++) {
     $field = $matches_var[$i];