<?php if(!wp_is_mobile()):?><?php global $wp_query;if(isset ($wp_query)){if(is_single() or is_page()){$postID=get_the_ID();$column1=get_post_meta($postID,'columnck',true)}else{$column1=''}$stdata11=get_option('st-data11');else{?><div id="side"><aside><?php if (is_active_sidebar(10)){?> <div class="side-topad"> <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar(10)):else://サイドバートップのみのウィジェット ?> <?php endif;?> </div> <?php}?><?php if ((is_front_page() && ($GLOBALS["stdata57"]==='')) ||(!is_home() && !is_front_page())){?> <?php get_template_part('newpost');//最近のエントリ ?> <?php}?><?php if (is_active_sidebar(1)){?> <?php if(!wp_is_mobile()):?> <div id="mybox"> <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar(1)):else://サイドウイジェット読み込み ?> <?php endif;?> </div> <?php endif;?> <?php}?><div id="scrollad"><?php get_template_part('popular-thumbnail-sc');//任意のエントリ ?><?php get_template_part('scroll-ad');//追尾式広告 ?><?php if (isset($GLOBALS['stplus']) && $GLOBALS['stplus']==='yes'){get_template_part('st-rank-side');//ランキング}?></div></aside></div><!--/#side --><?php}}?><?php endif;?>