
<!-- div class="container" style="float:left;" -->
<div class="container-fluid">
    <?php
        echo '<table>';
        echo '<tr>';
        echo '<td><img src="' . plugins_url( 'quttera_icon.png', __FILE__ ) . '" height="30px" width="30px" style="margin-right: 5px;"/></td>';
        echo '<td><h2>Quttera Web Malware Scanner for WordPress (Plugin version 3.1.0.7)</h2></td>';
        echo '</tr>';
        echo '</table>';

        echo "<script type='text/javascript' src='" . plugins_url( 'JS/bootstrap.js', __FILE__ ) . "'></script>\n";
    ?>
	<div class="row">
		<div class="col-md-12">
			<h3 class="text-muted">Internal Scanner</h3>
			<p style="margin-bottom: 0px;">The internal scan will check PHP/JS/CSS and image files for malware. This is a heuristic scanning of the file system for malware. Heuristics are used in our technology to detect unknown infection. Note: due to the high sensitivity, it might flag not dangerous code as well (False-Positive). For the resolution of the false-positives please contact quttera support on plugin page or email support@quttera.com.</p>
            <p style="margin-top: 0px;">Press <b>Scan Now</b> to run internal scan</p>
			<hr>
		</div>
	</div>
    <div class="row">
        <div class="col-md-8">
            <form action="<?php admin_url( 'tools.php?page=quttera_wm_scanner' ); ?>" method="post">
                <?php wp_nonce_field( /*action*/'qtr_wm_scanner-scan_url' ); ?>
                <input type="hidden" name="action" value="scan"/>
                <button type="button" class="button-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="run-internal-scanner">
                    Scan Now
                </button>
                <button type="button" class="button-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="stop-internal-scanner">
                    Stop Scanner
                </button>

                <button type="button" class="button-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="get-scanner-report">
                    Download Scanner Report
                </button>

                <div class="btn-group pull-right">
                    <button type="button" class="button-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        Clear <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="#" id="clean-log">Scan Activity Log</a></li>
                        <li><a href="#" id="clean-ignore-list">Ignored Threats List</a></li>
                        <li><a href="#" id="clean-files-white-list">Whitelisted Files List</a></li>
                        <li><a href="#" id="clean-threats-white-list">Whitelisted Threats List</a></li>
                    </ul>
                </div>
                <div id="progress_bar" class="progress-bar progress-bar-info progress-bar-striped active"
                    role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="margin-top: 10px;width:100%;display:none;">
                    Scan In Progress
                </div>
            </form>
            <div class="form-group" style="margin-top: 5px;">
                <label for="log">Scan Activity Log:</label>
                <textarea class="form-control" rows="5" cols="80" id="log" style="resize: none; "  data-role="none"></textarea>
            </div>
            <div id="progress-pane" style="display:none;">
                <ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
                    <li class="active"><a href="#summary" data-toggle="tab">Summary</a></li>
                    <li><a href="#detected" data-toggle="tab">Detected Threats</a></li>
                    <li><a href="#ignored" data-toggle="tab">Ignored Threats</a></li>
                </ul>
                <div id="report-tab-content" class="tab-content">
                    <div class="tab-pane active" id="summary">
                        <div class="panel panel-default">
                        <!-- Default panel contents -->
                            <div class="panel-heading">Execution Summary:</div>
                            <!-- Table -->
                            <table class="table">
                                <tr><td>Scan Start Time:</td><td><div id="scan_start_time"></div></td></tr>
                                <tr><td>Total Scanned:</td><td><div id="total_scanned_files"></div></td></tr>
                                <tr><td>Clean Files:</td><td><div id="scanned_clean_files"></div></td></tr>
                                <tr><td>Potentially Suspicious Files:</td><td><div id="scanned_pos_suspicious_files"></div></td></tr>
                                <tr><td>Suspicious Files:</td><td><div id="scanned_suspicious_files"></div></td></tr>
                                <tr><td>Malicious Files:</td><td><div id="scanned_malicious_files"></div></td></tr>
                            </table>
                        </div>
                    </div>
                    <div class="tab-pane" id="detected">
                        <div class="panel panel-default">
                        <!-- Default panel contents -->
                            <div class="panel-heading">Detected Threats:</div>
                            <div id="detected_threats_report"></div>
                        </div>
                    </div>
                    <div class="tab-pane" id="ignored">
                        <div class="panel panel-default">
                        <!-- Default panel contents -->
                            <div class="panel-heading">Ignored Threats:</div>
                            <div id="ignored_threats_report"></div>
                        </div>
                    </div>
                </div> <!-- tab content -->
            </div>
        </div>

        <!-- div id="help_block" style="margin-top:-49px;margin-right:10px;float:right;width:auto;padding:10px;background:#ffffff;border:1px solid #c6c6c6; border-radius:5px; " -->
        <div class="col-md-4" id="help_block" style="background:#ffffff;border:1px solid #c6c6c6; border-radius:5px;"> 
        <!-- div class=".col-md-4" -->
            <p><a href="https://blog.quttera.com/post/how-to-locate-hosts-that-infecting-or-sending-spam-from-your-word-press-installation/" target="_blank">How to find WordPress reinfection source</a></p>
            <p><a href="https://blog.quttera.com/post/my-site-is-blacklisted-what-next/" target="_blank">My site is blacklisted. What next?</a></p>
            <p><a href="https://blog.quttera.com/post/from-compromised-website-to-ransomware-infection/" target="_blank">From Compromised Website To Ransomware Infection</a></p>
            <p><a href="http://quttera.com/faq" target="_blank">FAQ section</a></p>
            <p><a href="http://quttera.com/article/about-quttera-malware-scan-report" target="_blank">About Quttera investigation reports</a></p>
            <p><a href="http://quttera.com/article/how-to-fix-redirect" target="_blank">How to fix website redirection</a></p>
            <p><a href="http://quttera.com/resources/Investigation_engine_added_value_and_user_benefits.pdf" target="_blank">About Quttera investigation technology</a></p>
            <p><a href="http://quttera.blogspot.com/2013/11/javascript-malware-in-websites.html" target="_blank">What is JavaScript malware</a></p>
            <p><a href="http://blog.quttera.com" target="_blank">Blog</a></p>
            <p><a href="http://us4.campaign-archive1.com/home/?u=90d60a6d22c38baa430812885&id=b2e88adcdf" target="_blank">Newsletter Archive</a></p>

            <form method="get" action="http://quttera.com/about" target="new">
                <input type="submit" class="button-primary" value="About Us" style="font-weight: bold;"/>
            </form>
            <p></p>
            <form method="get" action="mailto:contactus@quttera.com?Subject=Wordpress%20user%20request" target="new">
                <input type="submit" class="button-primary" value="Contact Us" style="font-weight: bold;"/>
            </form>
            <p></p>
            <form method="get" action="http://helpdesk.quttera.com" target="new">
                <input type="submit" class="button-primary" value="Contact Support Team" style="font-weight: bold;"/>
            </form>
            <p><b>Our services</b></p>
            <form action="http://quttera.com/website-anti-malware-monitoring" target="new"> 
                <input type="submit" class="button-primary" value="Web malware monitoring and alerting" style="font-weight: bold;"/>
            </form>
            <p></p>
            <form action="http://quttera.com/anti-malware-website-monitoring-signup" target="new"> 
                <input type="submit" class="button-primary" value="Malware Cleaning & Monitoring Plans" style="font-weight: bold;"/>
            </form>
            </br>
        </div>
    </div> <!-- row -->
</div> <!-- container -->
