?> " value="<?php echo $this->density; ?> " size="25" /> </div> <?php } else { ?> <div class="right-info wdf-normal"> <span class="unit"><?php echo __('WDF', 'wtb_seo'); ?> </span> <span class="number"><?php echo wtb_seo_helper::formatNumber($this->wdf); ?> %</span> <input type="hidden" name="<?php echo $this->getInfoKey('wdf'); ?> " value="<?php echo $this->score; ?> " /> </div> <?php } ?> </div>
?> </table> <?php $score = 0; if (count($this->_sections) > 0) { foreach ($this->_sections as $sect) { $score += $sect->score; } $score /= count($this->_sections); } ?> <div class="main-info"> <div class="<?php echo $this->getScoreColor($score); ?> "> <span class="unit"><?php echo __('Total score', 'wtb_seo'); ?> </span> <span class="number"><?php echo wtb_seo_helper::formatNumber($score); ?> %</span> </div> </div> </div> </div>