</td>
		<td><?php 
echo adrotate_ctr($summary['total_clicks'], $summary['total_impressions']);
?>
%, <?php 
_e('based on', 'adrotate');
?>
 <?php 
echo $summary['total_impressions'];
?>
 <?php 
_e('impressions and', 'adrotate');
?>
 <?php 
echo $summary['total_clicks'];
?>
 <?php 
_e('clicks.', 'adrotate');
?>
</td>
	</tr>
	</tbody>
</table>

<h3><?php 
_e('Monthly overview of clicks and impressions', 'adrotate');
?>
</h3>
<?php 
echo adrotate_stats_graph('advertiserfull', $current_user->ID, 100000, mktime(0, 0, 0, date("m") - 2, 1, date("Y")), mktime(0, 0, 0, date("m") + 1, 0, date("Y")), 200);
        ?>
<br /><div class="adrotate_large"><?php 
        if ($ad['tracker'] == "Y") {
            echo $ctr . ' %';
        } else {
            echo '--';
        }
        ?>
</div></div></td>
	  	</tr>
		<tr class='<?php 
        echo $class;
        ?>
'>
			<td colspan="5"><?php 
        echo adrotate_stats_graph('advertiser', $ad['id'], $ad['id'], mktime(0, 0, 0, date("m") - 2, 1, date("Y")), mktime(0, 0, 0, date("m") + 1, 0, date("Y")), 100);
        ?>
</td>
		</tr>
	<?php 
    }
    ?>
	</tbody>

</table>
<p><center>
	<span style="border: 1px solid #e6db55; height: 12px; width: 12px; background-color: #ffffe0">&nbsp;&nbsp;&nbsp;&nbsp;</span> <?php 
    _e("Is almost expired.", "adrotate");
    ?>
	&nbsp;&nbsp;&nbsp;&nbsp;<span style="border: 1px solid #c00; height: 12px; width: 12px; background-color: #ffebe8">&nbsp;&nbsp;&nbsp;&nbsp;</span> <?php 
    _e("Has expired.", "adrotate");
?>
</h3>
<form method="post" action="admin.php?page=adrotate-ads&view=report&ad=<?php 
echo $ad_edit_id;
?>
">
<table class="widefat" style="margin-top: .5em">
	<tbody>
  	<tr>
        <th colspan="5">
        	<div style="text-align:center;"><?php 
echo adrotate_stats_nav('ads', $ad_edit_id, $month, $year);
?>
</div>
        	<?php 
echo adrotate_stats_graph('ads', $ad_edit_id, 1, $monthstart, $monthend);
?>
        </th>
  	</tr>
	</tbody>

</table>	
</form>


<form method="post" action="admin.php?page=adrotate-ads">
<h3><?php 
_e('Export options', 'adrotate-pro');
?>
</h3>
<table class="widefat" style="margin-top: .5em">
</table>

<h3><?php 
_e('Monthly overview of clicks and impressions', 'adrotate');
?>
</h3>
<table class="widefat" style="margin-top: .5em">

	<tbody>
  	<tr>
        <th colspan="5">
        	<div style="text-align:center;"><?php 
echo adrotate_stats_nav('groups', $group_edit_id, $month, $year);
?>
</div>
        	<?php 
echo adrotate_stats_graph('groups', $group_edit_id, 1, $monthstart, $monthend);
?>
        </th>
  	</tr>
	</tbody>

</table>	

<p><em><strong><?php 
_e('Note:', 'adrotate');
?>
</strong> <?php 
_e('All statistics are indicative. They do not nessesarily reflect results counted by other parties.', 'adrotate');
?>
</em></p>
Example #5
0
<h3><?php 
_e('Monthly overview of clicks and impressions', 'adrotate-pro');
?>
</h3>
<table class="widefat" style="margin-top: .5em">

	<tbody>
  	<tr>
        <th colspan="2">
        	<div style="text-align:center;"><?php 
echo adrotate_stats_nav('fullreport', 0, $month, $year);
?>
</div>
        	<?php 
echo adrotate_stats_graph('fullreport', 0, 1, $monthstart, $monthend);
?>
        </th>
  	</tr>
	</tbody>

</table>

<form method="post" action="admin.php?page=adrotate-ads">
<h3><?php 
_e('Export options', 'adrotate-pro');
?>
</h3>
<table class="widefat" style="margin-top: .5em">

	<tbody>
Example #6
0
<h3><?php 
_e('Monthly overview of clicks and impressions', 'adrotate-pro');
?>
</h3>
<table class="widefat" style="margin-top: .5em">					

	<tbody>
  	<tr>
        <th colspan="2">
			<div style="text-align:center;"><?php 
echo adrotate_stats_nav('advertiserfull', 0, $month, $year);
?>
</div>
        	<?php 
echo adrotate_stats_graph('advertiserfull', $current_user->ID, 1, $monthstart, $monthend);
?>
        </th>
  	</tr>
	</tbody>

</table>

<form method="post" action="admin.php?page=adrotate-advertiser">
<h3><?php 
_e('Export options for montly overview', 'adrotate-pro');
?>
</h3>
<table class="widefat" style="margin-top: .5em">					

    <tbody>