HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpmuhibbah_err/wp-content/plugins/awsm-team/templates/cards.php
<?php
/**
 * Cards Preset Template.
 *
 * @package awsm-team
 */

$flip      = false;
$flipclass = array( 'awsm-figcaption' );
if ( in_array( $options['preset'], array( 'style-2' ) ) ) {
	$flip      = true;
	$flipclass = array( 'awsm-flip-back' );
}
?>
<div id="<?php echo esc_attr( $this->add_id( array( 'awsm-team', $id ) ) ); ?>" class="awsm-grid-wrapper">
	<?php if ( $team->have_posts() ) : ?>
		<div class="awsm-grid <?php echo esc_attr( $this->item_style( $options ) ); ?>">
		<?php
		while ( $team->have_posts() ) :
			$team->the_post();
			$teamdata = $this->get_options( 'awsm_team_member', $team->post->ID );

			$personal_info = sprintf( '<div class="awsm-personal-info"><h3>%1$s</h3><span>%2$s</span></div>', get_the_title(), wp_kses( $teamdata['awsm-team-designation'], 'post' ) );
			?>
				<div id="<?php echo esc_attr( $this->add_id( array( 'awsm-member', $id, $team->post->ID ) ) ); ?>" class="awsm-grid-card">
				   <figure>
						<?php
							$this->checkprint( '<div class="awsm-flip-front">', $flip );
							echo $this->get_team_thumbnail( $team->post->ID ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
						if ( $flip ) {
							echo $personal_info; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
						}
							$this->checkprint( '</div>', $flip );
						?>
						 <figcaption class="<?php echo esc_attr( $this->addclass( $flipclass ) ); ?>">
							<?php
								$this->checkprint( '<div class="awsm-flip-back-inner">', $flip );
								echo $personal_info; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
							?>
							<div class="awsm-contact-info">
								<?php
									$this->checkprint( '<p>%s</p>', wp_kses( $teamdata['awsm-team-short-desc'], 'post' ) );
									include $this->settings['plugin_path'] . 'templates/partials/social.php';
								?>
							</div> <!-- .awsm-contact-info -->
							<?php $this->checkprint( '</div><!-- .awsm-flip-back-inner -->', $flip ); ?>
						 </figcaption>
					  <!-- </span> -->
				   </figure>
				</div>
			<?php
			endwhile;
		wp_reset_postdata();
		?>
		</div><!-- .grid -->
		<?php endif; ?>
</div>