File: /home/mahdetej/public_html/wp-content/plugins/Melli-shild/admin/views/page-scanner.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$ui = Melli_Shield_Admin_UI::instance();
?>
<div class="wrap">
<?php $ui->header( Melli_Shield_Config::PAGE_SCANNER ); ?>
<?php $ui->page_title( __( 'اسکنر', 'melli-shield' ), __( 'یافتن URLهای خارجی در فایلها و پایگاهداده', 'melli-shield' ) ); ?>
<div class="msh-card">
<div class="msh-btn-row">
<button type="button" id="melli-shield-start-scan" class="msh-btn"><?php esc_html_e( 'اسکن فایلها', 'melli-shield' ); ?></button>
<button type="button" id="melli-shield-scan-db" class="msh-btn msh-btn--ghost"><?php esc_html_e( 'اسکن پایگاهداده', 'melli-shield' ); ?></button>
<button type="button" id="melli-shield-clear-scan" class="msh-btn msh-btn--danger msh-btn--sm"><?php esc_html_e( 'پاک کردن نتایج', 'melli-shield' ); ?></button>
<span id="melli-shield-scan-status" class="msh-status-text"></span>
</div>
<p id="melli-shield-scan-controls" class="msh-mt-md" style="display:none;">
<button type="button" id="melli-shield-pause-scan" class="msh-btn msh-btn--ghost msh-btn--sm"><?php esc_html_e( 'توقف موقت', 'melli-shield' ); ?></button>
<button type="button" id="melli-shield-stop-scan" class="msh-btn msh-btn--danger msh-btn--sm"><?php esc_html_e( 'توقف', 'melli-shield' ); ?></button>
<span class="msh-text-sm msh-text-muted"><?php esc_html_e( 'با توقف، نتایج تا این لحظه حفظ میشوند.', 'melli-shield' ); ?></span>
</p>
<div id="melli-shield-scan-progress" style="display:none;">
<div class="msh-progress"><div id="melli-shield-progress-bar" class="msh-progress__bar"></div></div>
<p id="melli-shield-progress-text" class="msh-text-xs msh-text-muted msh-mt-sm"></p>
</div>
</div>
<div id="melli-shield-scan-results">
<?php
$scanner = new Melli_Shield_Scanner();
echo $scanner->get_results_html();
?>
</div>
<?php $ui->footer(); ?>
</div>