[ Index ]

PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09)

title

Body

[close]

/template/inc_script/frontend_render/disabled/ -> day_based_counter.php (source)

   1  <?php
   2  
   3  $_startDate     = '2006/09/01';
   4  $_startValue    = 0;
   5  $_countInterval = 29.667;
   6  $_countValue    = 2;
   7  
   8  $content['all'] = str_replace('{DAY_BASED_COUNTER}', $_startValue + $_countValue * ceil( (time() - strtotime($_startDate)) / ($_countInterval * 24 * 3600)), $content['all']);
   9  
  10  ?>


Generated: Wed Dec 30 05:55:15 2009 Cross-referenced by PHPXref 0.7