C:\xampp\htdocs\landing\wp-content\plugins\hummingbird-performance\admin\views\wphb-uptime-page.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
 * Uptime page.
 *
 * @package Hummingbird
 *
 * @var \Hummingbird\Admin\Pages\Uptime $this
 * @var string $retry_url
 */

if ( ! defined'ABSPATH' ) ) {
    exit;
}

if ( 
$this->has_meta_boxes'summary' ) ) {
    
$this->do_meta_boxes'summary' );
}

if ( 
$this->has_meta_boxes'box-uptime-disabled' ) ) {
    
$this->do_meta_boxes'box-uptime-disabled' );
} else {
    
?>
    <div class="sui-row-with-sidenav">
        <?php $this->show_tabs(); ?>
        <?php if ( $error ) : ?>
            <div class="sui-box">
                <div class="sui-box-header"><?php esc_html_e'Uptime''wphb' ); ?></div>
                <div class="sui-box-body">
                    <div class="sui-notice sui-notice-error">
                        <div class="sui-notice-content">
                            <div class="sui-notice-message">
                                <i class="sui-notice-icon sui-icon-info sui-md" aria-hidden="true"></i>
                                <p><?php echo esc_html$error ); ?></p>
                                <p>
                                    <a href="<?php echo esc_url$retry_url ); ?>" class="sui-button sui-button-blue">
                                        <?php esc_html_e'Try again''wphb' ); ?>
                                    </a>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        <?php else : ?>
            <?php $this->do_meta_boxes$this->get_current_tab() ); ?>
        <?php endif; ?>
    </div>
    <?php
}
?>

<?php $this->modal'add-recipient' ); ?>

<script>
    jQuery(document).ready( function() {
        if ( window.WPHB_Admin ) {
            window.WPHB_Admin.getModule( 'uptime' );
        }
    });
</script>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586