PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/bettingbin.com/wp-content/themes/mercury/aces/related/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/bettingbin.com/wp-content/themes/mercury/aces/related/bonus-item-style-1.php

						<?php
							global $post;
							$bonus_allowed_html = array(
								'a' => array(
									'href' => true,
									'title' => true,
									'target' => true,
									'rel' => true
								),
								'br' => array(),
								'em' => array(),
								'strong' => array(),
								'span' => array(),
								'p' => array()
							);
							$bonus_short_desc = wp_kses( get_post_meta( get_the_ID(), 'bonus_short_desc', true ), $bonus_allowed_html );
							$bonus_external_link = esc_url( get_post_meta( get_the_ID(), 'bonus_external_link', true ) );
							$bonus_button_title = esc_html( get_post_meta( get_the_ID(), 'bonus_button_title', true ) );
							$bonus_code = esc_html( get_post_meta( get_the_ID(), 'bonus_code', true ) );
							$bonus_valid_date = esc_html( get_post_meta( get_the_ID(), 'bonus_valid_date', true ) );
							$bonus_dark_style = esc_attr( get_post_meta( get_the_ID(), 'bonus_dark_style', true ) );

							if ($bonus_button_title) {
								$button_title = $bonus_button_title;
							} else {
								if ( get_option( 'bonuses_get_bonus_title') ) {
									$button_title = esc_html__( get_option( 'bonuses_get_bonus_title') );
								} else {
									$button_title = esc_html__( 'Get Bonus', 'mercury' );
								}
							}

							if ($bonus_external_link) {
								$external_link_url = $bonus_external_link;
							} else {
								$external_link_url = get_the_permalink();
							}

							$terms = get_the_terms( $post->ID, 'bonus-category' );

						?>

						<div class="space-bonuses-archive-item box-33 left relative<?php if ($bonus_dark_style == true ) { ?> space-dark-style<?php } ?>">
							<div class="space-bonuses-archive-item-ins relative">
								<div class="space-bonuses-archive-item-wrap text-center relative">
									
									<?php if ( $terms ) { ?>
									<div class="space-bonuses-archive-item-cat relative">

										<?php foreach ( $terms as $term ) { ?>
									        <a href="<?php echo esc_url (get_term_link( (int)$term->term_id, $term->taxonomy )); ?>" title="<?php echo esc_attr($term->name); ?>"><?php echo esc_html($term->name); ?></a>
										<?php } ?>

									</div>
									<?php } ?>

									<div class="space-bonuses-archive-item-title relative">
										<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php get_the_title() ? the_title() : the_ID(); ?></a>
									</div>
									<div class="space-bonuses-archive-item-code relative">
										<div class="space-bonuses-archive-item-code-value relative">

											<?php if ($bonus_code) { ?>
												<?php echo esc_html( $bonus_code ); ?>
											<?php } else { ?>
												<?php esc_html_e( 'N/A', 'mercury' ); ?>
											<?php } ?>

										</div>
										<div class="space-bonuses-archive-item-code-title absolute">
											<span><?php esc_html_e( 'Bonus Code', 'mercury' ); ?></span>
										</div>
									</div>

									<?php if ($bonus_short_desc) { ?>
									<div class="space-bonuses-archive-item-short-desc relative">
										<?php echo wp_kses( $bonus_short_desc, $bonus_allowed_html ); ?>
									</div>
									<?php } ?>

									<div class="space-bonuses-archive-item-button relative">
										<a href="<?php echo esc_url( $external_link_url ); ?>" title="<?php echo esc_html( $button_title ); ?>" <?php if ($bonus_external_link) { ?>target="_blank" rel="nofollow"<?php } ?>><?php echo esc_html( $button_title ); ?></a>
									</div>

									<?php if ($bonus_valid_date) { ?>
									<div class="space-bonuses-archive-item-code-date relative">
										<?php esc_html_e( 'Valid Until:', 'mercury' ); ?> <span><?php echo esc_html( date_i18n('M d, Y',strtotime($bonus_valid_date))); ?></span>
									</div>
									<?php } ?>

								</div>
							</div>
						</div>