| Server IP : 104.21.20.195 / Your IP : 172.71.28.154 Web Server : nginx/1.22.1 System : Linux ubuntu-s-6001-1-lun 5.15.0-191-generic #201-Ubuntu SMP Fri Aug 7 18:39:04 UTC 2026 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/ww88cv.com/wp-content/themes/mercury/ |
Upload File : |
<?php get_header(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( is_singular( $GLOBALS['mercury_casino_key'] ) ) {
// Get the page template if the custom post type is "Casino"
$casino_style = get_post_meta( get_the_ID(), 'casino_style', true );
if ($casino_style == 1) {
get_template_part( '/aces/single-casino/style-1' );
} else if ($casino_style == 2) {
get_template_part( '/aces/single-casino/style-2' );
} else if ($casino_style == 3) {
get_template_part( '/aces/single-casino/style-1-without-sidebar' );
} else if ($casino_style == 4) {
get_template_part( '/aces/single-casino/style-2-without-sidebar' );
} else if ($casino_style == 5) {
get_template_part( '/aces/single-casino/style-3' );
} else if ($casino_style == 6) {
get_template_part( '/aces/single-casino/style-3-without-sidebar' );
} else if ($casino_style == 7) {
get_template_part( '/theme-parts/single-empty' );
} else if ($casino_style == 8) {
get_template_part( '/theme-parts/single-empty-sidebar' );
} else {
get_template_part( '/aces/single-casino/style-1' );
}
} elseif ( is_singular( $GLOBALS['mercury_game_key'] ) ) {
// Get the page template if the custom post type is "Game"
$game_style = get_post_meta( get_the_ID(), 'game_style', true );
if ($game_style == 2) {
get_template_part( '/aces/single-game/style-1-without-sidebar' );
} else if ($game_style == 3) {
get_template_part( '/aces/single-game/style-2' );
} else if ($game_style == 4) {
get_template_part( '/aces/single-game/style-2-without-sidebar' );
} else if ($game_style == 5) {
get_template_part( '/aces/single-game/style-3' );
} else if ($game_style == 6) {
get_template_part( '/aces/single-game/style-3-without-sidebar' );
} else if ($game_style == 7) {
get_template_part( '/theme-parts/single-empty' );
} else if ($game_style == 8) {
get_template_part( '/theme-parts/single-empty-sidebar' );
} else {
get_template_part( '/aces/single-game/style-1' );
}
} elseif ( is_singular( $GLOBALS['mercury_bonus_key'] ) ) {
// Get the page template if the custom post type is "Bonus"
$offer_style = get_post_meta( get_the_ID(), 'mercury_offer_style', true );
if ($offer_style == 2) {
get_template_part( '/theme-parts/single-empty' );
} else if ($offer_style == 3) {
get_template_part( '/theme-parts/single-empty-sidebar' );
} else {
get_template_part( '/aces/single-bonus/style-1' );
}
} elseif ( is_singular( 'slotsl' ) ) {
// Get the page template if the custom post type is "Slots Launch"
get_template_part( '/theme-parts/slotslaunch/style-1' );
} else {
// Get the page template if the custom post type is "Post"
$post_style = get_post_meta( get_the_ID(), 'post_style', true );
if ($post_style == 1) {
get_template_part( '/theme-parts/single/style-1' );
} else if ($post_style == 2) {
get_template_part( '/theme-parts/single/style-2' );
} else if ($post_style == 3) {
get_template_part( '/theme-parts/single/style-3' );
} else if ($post_style == 4) {
get_template_part( '/theme-parts/single/style-4' );
} else if ($post_style == 5) {
get_template_part( '/theme-parts/single-empty' );
} else if ($post_style == 6) {
get_template_part( '/theme-parts/single-empty-sidebar' );
} else {
get_template_part( '/theme-parts/single/style-1' );
}
}
?>
</div>
<?php get_footer(); ?>