PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/bettingbin.com/wp-content/themes/mercury/aces/ |
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 |
Dir : //home/trave494/bettingbin.com/wp-content/themes/mercury/aces/casino-item-style-2.php |
<?php global $post; $casino_allowed_html = array( 'a' => array( 'href' => true, 'title' => true, 'target' => true, 'rel' => true ), 'br' => array(), 'em' => array(), 'strong' => array(), 'span' => array(), 'p' => array() ); $casino_short_desc = wp_kses( get_post_meta( get_the_ID(), 'casino_short_desc', true ), $casino_allowed_html ); $casino_external_link = esc_url( get_post_meta( get_the_ID(), 'casino_external_link', true ) ); $casino_button_title = esc_html( get_post_meta( get_the_ID(), 'casino_button_title', true ) ); $casino_overall_rating = esc_html( get_post_meta( get_the_ID(), 'casino_overall_rating', true ) ); if ($casino_button_title) { $button_title = $casino_button_title; } else { if ( get_option( 'casinos_play_now_title') ) { $button_title = esc_html__( get_option( 'casinos_play_now_title') ); } else { $button_title = esc_html__( 'Play Now', 'mercury' ); } } if ($casino_external_link) { $external_link_url = $casino_external_link; } else { $external_link_url = get_the_permalink(); } $terms = get_the_terms( $post->ID, 'casino-category' ); ?> <div class="space-companies-archive-item box-25 left relative"> <div class="space-companies-archive-item-ins relative"> <?php $casino_img = wp_get_attachment_image_src(get_post_thumbnail_id(), 'mercury-450-317'); if ($casino_img) { ?> <div class="space-companies-archive-item-big-img text-center relative"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> <img src="<?php echo esc_url($casino_img[0]); ?>" alt="<?php the_title_attribute(); ?>"> </a> </div> <?php } ?> <div class="space-companies-archive-item-wrap text-center big relative"> <div class="space-companies-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-companies-archive-item-rating relative"> <?php if( function_exists('wp_star_rating') ){ wp_star_rating( array( 'rating'=>$casino_overall_rating, 'type'=>'rating' ) ); } ?> </div> <?php if ($casino_short_desc) { ?> <div class="space-companies-archive-item-short-desc relative"> <?php echo wp_kses( $casino_short_desc, $casino_allowed_html ); ?> </div> <?php } ?> <div class="space-companies-archive-item-button relative"> <a href="<?php echo esc_url( $external_link_url ); ?>" title="<?php echo esc_html( $button_title ); ?>" <?php if ($casino_external_link) { ?>target="_blank" rel="nofollow"<?php } ?>><?php echo esc_html( $button_title ); ?></a> </div> </div> </div> </div>