Esempio n. 1
0
?>
</td>
            	  <td width="21%"><?php 
echo language('TABLE_impressions');
?>
</td>
            	  <td width="16%"><?php 
echo language('TABLE_clicks');
?>
</td>
           	    </tr>
          	</table>
        </div>
        </div>
        <?php 
$statistics = $stats->__call('get_agents', $parameters);
$impressions = 0;
$clicks = 0;
if ($statistics) {
    foreach ($statistics as $agent => $value) {
        $split = explode("|", $value);
        $impressions += $split[0];
        $clicks += $split[2];
        ?>
        <div class="box list">
          <table width="100%" border="0">
            <tr>
              <td width="29%"><?php 
        echo $agent;
        ?>
</td>
Esempio n. 2
0
        echo '<option value="' . $query[unique] . '" ' . $check . '>' . $query[name] . '</option>';
    }
    ?>
		            </select></td>
		          <?php 
}
?>
		          <td width="9%"><input type="submit" value="Filter" /></td>
	            </tr>
	          </table>
	        </form>
	      </div>
	  </div>
		<div class="box none">
        <?php 
$statistics = $stats->__call('get_countries', $parameters);
?>
        <?php 
if (!$statistics) {
    echo "<div class='inside'><div style='text-align:center; padding:100px 0 100px 0;'><h1>" . language('MESSAGE_no_stats') . "</h1></div></div>";
} else {
    ?>
        <div class="inside"  id="map" style="height:400px;"></div>
        <?php 
}
?>
        
        </div>
        <div class="box  list_head">
        <div class="inside">
          <table width="100%" border="0">
Esempio n. 3
0
                    <?php 
}
?>
                    <td width="9%"><input type="submit" value="<?php 
echo language('BUTTON_search');
?>
" /></td>
                  </tr>
            </table>
            </form>
        	</div>
        </div>
        <div class="box">
        <div class="inside">
        <?php 
$statistics = $stats->__call('get_impressions', $parameters);
?>
        <?php 
if (!$statistics) {
    echo "<div style='text-align:center; padding:100px 0 100px 0;'><h1>" . language('MESSAGE_no_stats') . "</h1></div>";
} else {
    ?>
       	  <div id="graph" style="  width: 100%; max-width:100%; height: 400px;"></div>
			<?php 
}
?>
		  <script>

				var day_data = [
		<?php 
if ($statistics) {
Esempio n. 4
0
?>
</td>
            	  <td width="16%"><?php 
echo language('TABLE_impressions');
?>
</td>
            	  <td width="13%"><?php 
echo language('TABLE_clicks');
?>
</td>
           	    </tr>
          	</table>
        </div>
        </div>
        <?php 
$statistics = $stats->__call('get_pages', $parameters);
$impressions = 0;
$clicks = 0;
if ($statistics) {
    foreach ($statistics as $page => $value) {
        $split = explode("|", $value);
        $impressions += $split[0];
        $clicks += $split[2];
        ?>
        <div class="box list">
          <table width="100%" border="0">
            <tr>
              <td width="43%"><?php 
        echo $page;
        ?>
</td>
Esempio n. 5
0
<div id="wrapper">
	<?php 
include "module.header.php";
include "module.menu.php";
?>
<div class="content">
	  <div class="info">
		<h1><?php 
echo language('PAGE_dashboard_title');
?>
</h1>
		</div>
        <div class="dashboard">
         <div class="left_half height_400 white">
                  <?php 
$statistics_imp = $stats_impressions->__call('get_impressions', $parameters_impressions);
?>
          <?php 
if (!$statistics_imp) {
    echo "<div style='text-align:center; padding:100px 0 100px 0;'><h1>" . language('MESSAGE_no_stats') . "</h1></div>";
} else {
    ?>
       	  <div id="graph" style="  width: 100%; max-width:100%; height: 380px;"></div>
			<?php 
}
?>
        
         <script>

				var day_data = [
		<?php