PluginProbe
WPCasa – Real Estate for WordPress / trunk
WPCasa – Real Estate for WordPress vtrunk
1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.1.1 trunk 1.2.0 1.2.1 1.2.10 1.2.10.1 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.2.9.1 1.2.9.2 1.3.0 All 31 releases
wpcasa / includes / admin / views / panel-server-info.php

panel-server-info.php in WPCasa – Real Estate for WordPress trunk, at includes/admin/views/panel-server-info.php

44 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2
3 <h3><?php esc_html_e( 'Server Information', 'wpcasa' ) ?></h3>
4
5 <div class="wpsight-admin-ui-content">
6 <table class="wpsight-admin-ui-table">
7
8 <tbody>
9
10 <tr>
11
12 <td><?php echo esc_html__( 'PHP Version', 'wpcasa' ); ?>:</td>
13 <td><?php echo esc_html( phpversion() ); ?></td>
14
15 </tr>
16
17 <tr>
18
19 <td><?php echo esc_html__( 'Memory Limit', 'wpcasa' ); ?>:</td>
20 <td><?php echo esc_html( ini_get( 'memory_limit' ) ); ?></td>
21
22 </tr>
23
24 <?php if( function_exists( 'memory_get_usage' ) ) {
25
26 $usage = memory_get_usage( true );
27 $usageInMb = $usage/1024/1024;
28 ?>
29 <tr>
30
31 <td><?php echo esc_html__( 'Memory Usage', 'wpcasa' ); ?>:</td>
32 <td><?php echo esc_html( $usageInMb ); ?>M</td>
33
34 </tr>
35 <?php
36 } ?>
37
38 </tbody>
39
40 </table>
41 </div>
42
43 <!--<a href="#" target="_blank" class="button button-primary button-text-icon"><span class="dashicons dashicons-cloud"></span>--><?php //_e( 'Detailed Report', 'wpcasa' ) ?><!--</a>-->
44