<?php get_header();?>

<body class="articlelist">

<script language="javascript" type="text/javascript"> 

<!--                     

function CheckLogin(){          

var taget_obj = document.getElementById('_userlogin');          

myajax = new DedeAjax(taget_obj,false,false,'','','');          

myajax.SendGet2("/member/ajax_loginsta.php");          

 DedeXHTTP = null;

 }   

--> 

 </script>

<div class="header">

<div class="topbar">

 <div class="wrapbox">
     <div class="loginbar" id="_userlogin">欢迎来到<?php bloginfo('name'); ?></div>

    <div class="tlink"> +<a href="<?php echo get_option('home'); ?>" onClick="window.external.addFavorite(this.href,this.title);return false;" title="<?php bloginfo('description'); ?>

" rel="sidebar">添加到收藏夹</a> </div>
  </div>

  </div>

  <div class="top wrapbox">

    <div class="logo">

      <h1><a title="<?php bloginfo('description'); ?>" href="<?php echo get_option('home'); ?>"><?php bloginfo('description'); ?></a> </h1>

    </div>

    <div id="bdshare" class="bdshare_b" style="line-height: 12px;"><img src="<?php bloginfo('template_directory'); ?>/images/type-button-1.jpg" /> </div>

    <div class="dingyue">订阅到：<a href="http://mail.qq.com/cgi-bin/feed?u=/rss.php" target="blank" rel="nofollow">QQ邮箱</a> </div>

  </div>


  <div id="navMenu">

    <div class="wrapbox">

       <?php wp_nav_menu( array('sort_column' => 'menu_order', 'container_id'=>'menu','menu_class'=>'nav') ); ?>

              <div class="searchbar">

           <form  name="formsearch" action="<?php echo $_SERVER['PHP_SELF']; ?>">

            <div class="form">


              <input name="s" type="text" class="search-keyword" id="s" value="Hi,你在找什么呢？" onfocus="if(this.value=='Hi,你在找什么呢？'){this.value='';}"  onblur="if(this.value==''){this.value='Hi,你在找什么呢？';}" />

              <input  id="searchsubmit" type="submit" class="search-submit" value=" "></input>

            </div>

          </form>


        </div>

    </div>

  </div>

</div>

<!-- /header -->

<div class="wrapbox">

  <div class="mainbox">

    <div class="place">
<?php wheatv_breadcrumbs(); ?><!--面包屑导航-->
</div>

    <!-- /place -->

    <div class="listbox">
      


      <ul class="list_content">
        <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

       <li><?php dm_the_thumbnail1(); ?> 

          <h2 class="title"><a href="<?php the_permalink() ?>"><?php the_title_attribute(); ?></a></h2>

          <p class="info">编辑：<small><?php the_author_posts_link(); ?></small> 日期：<small><?php the_date_xml()?></small></p>

          <p class="intro"> <?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 135,"..."); ?><a class="more" href="<?php the_permalink() ?>">查看详情</a> </p>

          <p>所在分类：<?php the_category(', ') ?></p>

          <p>关键词：<?php the_tags('', ' ', ''); ?> </p>

          <p class="click"><?php get_post_views($post -> ID); ?> </p>

        </li>
           <?php endwhile; ?>
<?php else : ?>
<?php endif; ?>

      </ul>
   


    </div>

    <!-- /listbox -->

    <div class="list_pages">

      <?php pagination($query_string); ?>  
    </div>

    <!-- /pages -->

  </div>

  <!-- /mainbox -->

 <?php include( TEMPLATEPATH . '/sidebarcate.php' ); ?>  
  <!-- /sidebox -->

</div>

<?php get_footer();?>
