HEX
Server: LiteSpeed
System: Linux s166.bitcommand.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: h340499 (1922)
PHP: 8.2.16
Disabled: 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
Upload Files
File: /home/h340499/public_html/wp-content/plugins/thim-core/templates/dashboard/boxes/master.php
<?php
$body_template = 'boxes/' . $args['template'] . '.php';

$locked       = $args['lock'] && ! Thim_Product_Registration::is_active();
$box_id       = isset( $args['id'] ) ? $args['id'] : '';
$class_extend = apply_filters( 'thim_core_dashboard_box_classes', '', $box_id );
$class_extend .= isset( $args['class'] ) ? $args['class'] : '';
?>

<div class="tc-box<?php echo esc_attr( $locked ? ' locked' : '' ); ?> <?php echo esc_attr( $class_extend ); ?>"
	 data-id="<?php echo esc_attr( $args['id'] ); ?>">
	<div class="tc-box-header">
		<?php
		if ( $args['lock'] ) {
			Thim_Dashboard::get_template( 'partials/box-status.php' );
		}
		?>
		<h2 class="box-title"><?php echo esc_html( $args['title'] ); ?></h2>
		<?php if ( $args['id'] == 'appearance' ) {
			echo '<a href="' . wp_customize_url() . '" class="sub_link">' . __( 'Go to Customize', 'thim-core' ) . '</a>';
		}
		if ( $args['id'] == 'changelog' && $args['links'] ) {
 			echo '<a href="' . esc_url($args['links']) . '" class="sub_link" target="_blank">' . __( 'View all Changelog', 'thim-core' ) . '</a>';
		}
		?>
	</div>

	<?php Thim_Dashboard::get_template( $body_template ); ?>
</div>