Exemplo n.º 1
0
         	</a>
        </p>
        <strong class="media"><?php 
echo truncate_number($pDeal->getMediaPenetration());
?>
</strong></div>
    </div>
   	<ul>
    	<?php 
foreach ($pDeal->getServices() as $key => $value) {
    ?>
      	<li class="<?php 
    echo strtolower($key);
    ?>
"><span><?php 
    echo truncate_number($value['mp']);
    ?>
</span></li>
      <?php 
}
?>
    </ul>
  </div>
</div>
<?php 
end_slot();
include_partial('global/graybox');
?>

<?php 
slot('content');
">
		  <?php 
echo upDownArrow($data[$type . '_count_delta']);
?>
&nbsp;
		  <?php 
echo absOrInfinity($data[$type . '_count_delta']);
?>
<small>&nbsp;%</small>
		</div>
		<?php 
if ($range == 'today' || $range == 'yesterday') {
    ?>
		<div class="small" style="color: #707275;">
		  <?php 
    echo truncate_number($data['current_pi_count']);
    ?>
 PIs&nbsp;
		  <?php 
    echo upDownArrow($data['pi_count_delta']);
    ?>
&nbsp;
		  <?php 
    echo absOrInfinity($data['pi_count_delta']);
    ?>
<small>&nbsp;%</small>
		</div>		
		<div class="small" style="color: #707275;">
		  <?php 
    echo absOrInfinity($data['current_conversion']);
    ?>
    <div class="stepBox mediaPartner alignleft">
      <div class="box_container alignleft">
        <div class="box">
          <p class="media_text_space">
          	<?php 
echo __("Media Penetration");
?>
          	<a href="#" class="myqtip" title="<?php 
echo __("Total number of contacts that are able to view the like referring to your content.");
?>
">
          		<img src="/img/qus_icon.png" class="tooltip-icon" />
          	</a>
          </p>
          <strong class="media"><?php 
echo truncate_number($pHost->getMediaPenetration());
?>
</strong></div>
      </div>
      <ul>
      <?php 
foreach ($pHost->getServices() as $key => $value) {
    ?>
        <li class="<?php 
    echo strtolower($key);
    ?>
"><span title="<?php 
    echo point_format($value['mp']);
    ?>
"></span></li>
      <?php 
Exemplo n.º 4
0
<?php

use_helper('YiidNumber');
?>

<div class="widget widget-single widget-one-section">
	<header><section><?php 
echo $title;
?>
</section></header>
	<section class="widget-data-section">
		<div class="large"><?php 
echo truncate_number($data['current_' . $type . '_count']);
?>
</div>
		<div class="bigger <?php 
echo upDownClass($data[$type . '_count_delta']);
?>
">
		  <?php 
echo upDownArrow($data[$type . '_count_delta']);
?>
&nbsp;
		  <?php 
echo absOrInfinity($data[$type . '_count_delta']);
?>
<small>&nbsp;%</small>
		</div>
	</section>
	<footer>
	  Powered by @