public function getHtml()
    {
        $body = '
<div class="section">
    <h1 class="header center orange-text">' . $this->getProvider()->name . ' overview - <small>' . $this->getProvider()->version . '</small></h1>

    <div class="row center">
        <h5 class="header light">
            We took <strong>' . $this->getUserAgentCount() . '</strong> different user agents and analyzed them with this provider<br />
        </h5>
    </div>
</div>

<div class="section">
    ' . $this->getTable() . '
</div>
';
        return parent::getHtmlCombined($body);
    }
    public function getHtml()
    {
        $body = '
<div class="section">
    <h1 class="header center orange-text">Useragent parser comparison v' . COMPARISON_VERSION . '</h1>

    <div class="row center">
        <h5 class="header light">
            We took <strong>' . $this->getUserAgentCount() . '</strong> different user agents and analyzed them with all providers below.<br />
            That way, it\'s possible to get a real overview.
        </h5>
    </div>
</div>

<div class="section">
    ' . $this->getTable() . '
</div>
        
<div class="section center">
        
    <h2 class="header center orange-text">
        Detected by all providers
    </h2>
        
    <a href="detected/general/browser-names.html" class="btn waves-effect waves-light">
        Browser names    
    </a><br /><br />
        
    <a href="detected/general/rendering-engines.html" class="btn waves-effect waves-light">
        Rendering engines
    </a><br /><br />
        
    <a href="detected/general/operating-systems.html" class="btn waves-effect waves-light">
        Operating systems
    </a><br /><br />
        
    <a href="detected/general/device-brands.html" class="btn waves-effect waves-light">
        Device brands
    </a><br /><br />
        
    <a href="detected/general/device-models.html" class="btn waves-effect waves-light">
        Device models
    </a><br /><br />
        
    <a href="detected/general/device-types.html" class="btn waves-effect waves-light">
        Device types
    </a><br /><br />
        
    <a href="detected/general/bot-names.html" class="btn waves-effect waves-light">
        Bot names
    </a><br /><br />
        
    <a href="detected/general/bot-types.html" class="btn waves-effect waves-light">
        Bot types
    </a><br /><br />
        
</div>
';
        return parent::getHtmlCombined($body);
    }
    public function getHtml()
    {
        $additionalHeaders = $this->getUserAgent()->additionalHeaders;
        $addStr = '';
        if ($this->getUserAgent()->additionalHeaders !== null && count($this->getUserAgent()->additionalHeaders) > 0) {
            $addStr = '<strong>Additional headers</strong><br />';
            foreach ($this->getUserAgent()->additionalHeaders as $key => $value) {
                $addStr .= '<strong>' . htmlspecialchars($key) . '</strong> ' . htmlspecialchars($value) . '<br />';
            }
        }
        $body = '
<div class="section">
	<h1 class="header center orange-text">User agent detail</h1>
	<div class="row center">
        <h5 class="header light">
            ' . htmlspecialchars($this->getUserAgent()->string) . '<br />
            ' . $addStr . '
        </h5>
	</div>
</div>   

<div class="section">
    ' . $this->getProvidersTable() . '
</div>
';
        $script = '
$(document).ready(function(){
    // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
    $(\'.modal-trigger\').leanModal();
});
        ';
        return parent::getHtmlCombined($body, $script);
    }
    public function getHtml()
    {
        $script = '
$(document).ready(function(){
    // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
    $(\'.modal-trigger\').leanModal();
});
        ';
        $body = '
<div class="section">
	<h1 class="header center orange-text">User agent detail</h1>
	<div class="row center">
        ' . $this->getUserAgent() . '
        <p>
            Detected by ' . $this->getUserAgentEvaluation()->resultFound . ' of ' . $this->getUserAgentEvaluation()->resultCount . ' providers<br />
            As bot detected by ' . $this->getUserAgentEvaluation()->asBotDetectedCount . ' of ' . $this->getProviderCapabilityCount('botIsBot') . '
		</p>
	</div>
</div>   

<div class="section">
    ' . $this->getProvidersTable() . '
</div>
';
        // $body .= '
        // <div class="section">
        // ' . $this->getEvaluationTable() . '
        // </div>
        // ';
        return parent::getHtmlCombined($body, $script);
    }