ID, "mdx_post_show", true) === '3' && !$user_ID){
continue;
}
if(mdx_get_option('mdx_lazy_load_mode')=='seo2'){
get_template_part('template-parts/content-first-'.$style, get_post_format());
}else if($post_num == 4){
get_template_part('template-parts/content-'.$style, get_post_format());
if((mdx_get_option('mdx_logged_in_ad')==="false" && !empty(mdx_get_option('mdx_ad'))) || ((mdx_get_option('mdx_logged_in_ad')==="true" && !is_user_logged_in()) && !empty(mdx_get_option('mdx_ad')))){
$style_class = '';
if($style==='4'){
$style_class = " mdx-style-4-ad";
}
echo ''.htmlspecialchars_decode(mdx_get_option('mdx_ad')).'
';
}
}else{
get_template_part('template-parts/content-'.$style, get_post_format());
}
endwhile;
if($post_num >= 8){
if((mdx_get_option('mdx_logged_in_ad')==="false" && !empty(mdx_get_option('mdx_ad'))) || ((mdx_get_option('mdx_logged_in_ad')==="true" && !is_user_logged_in()) && !empty(mdx_get_option('mdx_ad')))){
$style_class = '';
if($style==='4'){
$style_class = " mdx-style-4-ad";
}
echo ''.htmlspecialchars_decode(mdx_get_option('mdx_ad')).'
';
}
}?>