Location: PHPKode > projects > D4WStatsLittle - Web Stats System > d4wstatslittle-web-stats-system/Install Without Using Dreamweaver/d4wstatslittle/report/reportes/soporte-de-cookies.inc.php
<?php
/*
+--------------------------------------------------------------------------
|   D4WStatsLittle v1.1.2 - Developers4Web Web Stats Software
|   ==========================================================
|   by Developers4Web.com
|	D4WStatsLittle is a Trade Mark of Developers4Web
|   Copyright Developers4Web 2005 - 2006. All rights reserved.
|   English:
|       http://stats-service.developers4web.com
|   Español:
|       http://www.developers4web.com
|   ========================================
|   optimized by Trio Solutions
|   Dreamweaver Extensions and Web Development Components 
|   English:
|       http://components.developers4web.com
|   Español:
|       http://componentes.developers4web.com
|   ========================================
|   Web: http://www.d4wstats.com
|   Date: Tuesday, February 20, 2006
|   Email: info (at) developers4web (dot) com
|	License Type: D4WSTATSLITTLE is NOT Open Source Software and Limitations Apply 
|   Licence Info: /d4wstatslittle/license.txt
+--------------------------------------------------------------------------
*/
?>
<div>
<div style="margin-bottom: 2px;color: #666666;">
<h3><?php echo ST_MSG_REPORT_COOKIES; ?></h3>
</div>

<?php
 require "./menu.php";
 function transCk ($value)
 {
     if ($value)
         return ST_MSG_SOPORT_COOKIES;
     else    
         return ST_MSG_NO_SOPORT_COOKIES;
 }
 
 $report = readDatabaseII("report-cookies.php");

 if ($report != '')
 {
  
?>

<table>
 <tr>
  <td>
   <table class="tableresume" width="600">
   <tr><td colspan="3" class="tdheadslow"><?php echo ST_MSG_COOKIES_TODAY; ?></td></tr>
   <tr><td class="tdhead"><?php echo ST_MSG_SOPORT; ?></td><td class="tdhead"><?php echo ST_MSG_VISITS; ?></td><td class="tdhead">%</td></tr>
   <?php
     
     $total = ($report["today"]["with_cookies"]+$report["today"]["without_cookies"]) / 100;
     if ($total == 0) $total = 1;
     echo '<tr class="tr2">';
     echo '<td class="tdfield">'.ST_MSG_SOPORT_COOKIES. '</td><td align="center">'.$report["today"]["with_cookies"].'</td><td align="center">'.round($report["today"]["with_cookies"]/$total,2).'%</td></tr>';
     echo '<tr class="tr1">';
     echo '<td class="tdfield">'.ST_MSG_NO_SOPORT_COOKIES. '</td><td align="center">'.$report["today"]["without_cookies"].'</td><td align="center">'.round($report["today"]["without_cookies"]/$total,2).'%</td></tr>';
       
   ?>   
   </table>
  </td>
 </tr>  
</table> 

<table>
 <tr>
  <td>
   <table class="tableresume" width="600">
   <tr><td colspan="3" class="tdheadslow"><?php echo ST_MSG_COOKIES_MONTH; ?></td></tr>
   <?php echo '<tr><td>'.VP_UPGRADE.'</td></tr>'; ?>
   </table>
  </td>
 </tr>  
</table> 


<table>
 <tr>
  <td>
   <table class="tableresume" width="600">
   <tr><td colspan="3" class="tdheadslow"><?php echo ST_MSG_COOKIES_TOTALS; ?></td></tr>
   <?php echo '<tr><td>'.VP_UPGRADE.'</td></tr>'; ?>
   </table>
  </td>
 </tr>  
</table> 

<?php }  ?> 

 </div>
Return current item: D4WStatsLittle - Web Stats System