| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) { |
| 3 |
exit; |
| 4 |
} |
| 5 |
include dirname(__FILE__) . '/includes/config.inc.php'; |
| 6 |
include dirname(__FILE__) . '/includes/breadcrumbs.inc.php'; |
| 7 |
?> |
| 8 |
<section class="hh-panel"> |
| 9 |
<h3><span class="hh-highlight"><?php _e('Inspect headers', 'http-headers'); ?></span></h3> |
| 10 |
<p><?php _e("Use this tool to inspect the HTTP headers of your website or your competitor's website.", 'http-headers'); ?></p> |
| 11 |
<div class="form-wrap"> |
| 12 |
<form action="<?php echo admin_url('admin-ajax.php'); ?>" method="get" id="frmIspect"> |
| 13 |
<?php wp_nonce_field('inspect'); ?> |
| 14 |
<input type="hidden" name="action" value="inspect"> |
| 15 |
<div class="form-row"> |
| 16 |
<div class="form-field form-col-6"> |
| 17 |
<label class="form-label">URL:</label> |
| 18 |
<input type="text" name="url" size="40" placeholder="<?php echo home_url('/'); ?>" value="<?php echo home_url('/'); ?>"> |
| 19 |
</div> |
| 20 |
<div class="form-field form-col-6"> |
| 21 |
<label class="form-label"> </label> |
| 22 |
<label><input type="checkbox" name="authentication" id="authentication"><?php _e('Authentication', 'http-headers'); ?></label> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
<div id="box-authentication" style="display: none"> |
| 26 |
<div class="form-field"> |
| 27 |
<label class="form-label"><?php _e('Auth Type', 'http-headers'); ?>:</label> |
| 28 |
<label class="form-lbl"><input type="radio" name="auth_type" value="basic" checked>Basic</label> |
| 29 |
<label class="form-lbl"><input type="radio" name="auth_type" value="digest">Digest</label> |
| 30 |
<label class="form-lbl"><input type="radio" name="auth_type" value="gss">GSS</label> |
| 31 |
<label class="form-lbl"><input type="radio" name="auth_type" value="ntlm">NTLM</label> |
| 32 |
</div> |
| 33 |
<div class="form-row"> |
| 34 |
<div class="form-field form-col-6"> |
| 35 |
<label class="form-label" for="username"><?php _e('Username', 'http-headers'); ?>:</label> |
| 36 |
<input type="text" name="username"> |
| 37 |
</div> |
| 38 |
<div class="form-field form-col-6"> |
| 39 |
<label class="form-label" for="password"><?php _e('Password', 'http-headers'); ?>:</label> |
| 40 |
<input type="text" name="password"> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
<?php submit_button(__('Inspect', 'http-headers')); ?> |
| 45 |
</form> |
| 46 |
</div> |
| 47 |
</section> |
| 48 |
|
| 49 |
<div id="hh-result"></div> |