<?php } else { ?> <div class="img-box"><img src="<?php bloginfo('stylesheet_directory'); ?> /images/nophoto.png" alt="<?php the_title_attribute(); ?> " style="width:225px;height:auto;" /></div> <?php } ?> <?php echo newmark(3); ?> <!-- ←NEW表記がある場合 --> </div> <p class="event-title"><?php the_title(); ?> </p> <table cellpadding="0" cellspacing="0" border="0"> <tr> <th><img src="/img/event-icon_01.png" alt="エリア" width="75" height="22" /></th> <td> <?php $area = get_post_meta($post->ID, 'area', false); $area = array_shift($area); foreach ((array) $area as $value) {
$category = get_post_meta($post->ID, 'category', false); $category = array_shift($category); ?> <!-- カテゴリデータ表示1 --> <img src="/mb/img/line_0<?php echo $category; ?> .gif" alt="" width="240" height="10" /><br /> <span style="<?php echo cat_color($category); ?> "><span><?php echo $config['c'][$category]; ?> </span></span><?php echo newmark(3, 'created', true); ?> <br /> <span style="font-size:large;"><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></span><br /> <img src="/mb/img/sp.gif" alt="" width="240" height="5" /><br /> <?php if (get_post_meta($post->ID, 'image01', TRUE)) { $thumbnail_id = get_post_meta($post->ID, 'image01', true); ?> <img src="<?php