<?php get_header(); ?>

<div id="content">
<div id="content-inner">

<div id="alpha">
<div id="alpha-inner">

<div class="navi">
	<a href="<?php bloginfo('url'); ?>">TOPページ</a> &gt; 検索結果 
</div>

<h1 class="search-form-header">サイトを検索</h1>
<div class="search-form-content">
<?php include (TEMPLATEPATH . '/searchform_main.php'); ?>
</div>
<h2 class="search-results-header"><?php bloginfo('name'); ?>での"<?php echo attribute_escape($s); ?>"を含む項目</h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div id="entry-<?php the_ID(); ?>" class="entry-asset asset hentry">

    <div class="asset-header">
    <h2 class="asset-name entry-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    </div>

    <div class="asset-content entry-content">
        	<div class="asset-body">
             <?php the_content('続きを読む'); ?>
        	</div>
			<div class="clear"></div>		
			<div class="asset-meta">
			<span class="separator">|</span> <a class="permalink" rel="bookmark" href="<?php the_permalink() ?>">詳細ページ</a>
			<?php if (('open' == $post->comment_status) || ($comments)) : ?> | <a href="<?php comments_link(); ?>"><?php comments_number(); ?></a><?php endif; ?>
			<?php edit_post_link('編集', ' | ', ''); ?>
			</div>
    </div>
</div>

<?php endwhile; ?>
<?php else : ?>

<div class="search-not-found">結果は見つかりませんでした。</div>

<?php endif; ?>

</div>
</div>

<?php get_sidebar(); ?>
<?php
include (TEMPLATEPATH . '/sidebar2.php');
?>

<?php get_footer(); ?>
