403Webshell
Server IP : 104.21.28.229  /  Your IP : 216.73.216.142
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/public_html/wp-content/plugins/learnpress/inc/admin/views/dashboard/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/public_html/wp-content/plugins/learnpress/inc/admin/views/dashboard/html-orders.php
<?php
/**
 * Template for displaying statistic orders dashboard in wp-admin
 *
 * @author  ThimPress
 * @package LearnPress/Inc/Admin/Views/
 * @version 4.0.1
 */

defined( 'ABSPATH' ) || exit;

if ( ! isset( $order_statuses ) || ! isset( $lp_order_icons ) ) {
	return;
}
?>

<li class="count-number total-raised">
	<span>
		<i class="dashicons dashicons-chart-bar"></i>
		<?php echo learn_press_get_total_price_order_complete(); ?></span>
	<p><?php esc_html_e( 'Total Raised', 'learnpress' ); ?></p>
</li>

<?php
$counts = learn_press_count_orders();
foreach ( $order_statuses as $key => $status ) :
	$count = $counts[ $key ];
	$url   = $count ? admin_url( 'edit.php?post_type=' . LP_ORDER_CPT . '&post_status=' . $key ) : '#';
	?>

	<li class="counter-number order-<?php echo $status; ?>">
		<div class="counter-inner">
			<a href="<?php echo esc_url_raw( $url ); ?>">
				<span>
					<?php
					if ( $count ) {
						printf( translate_nooped_plural( _n_noop( '%d order', '%d orders' ), $count, 'learnpress' ), $count );
					} else {
						printf( __( '%d order', 'learnpress' ), 0 );
					}
					//echo $lp_order_icons[ $status ];
					?>
				</span>
				<p><?php printf( '%s', LP_Order::get_status_label( $status ) ); ?></p>
			</a>
		</div>
	</li>
<?php endforeach; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit