<?php get_header();?>

<body>

<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>

<div class="wrapbox mt1">

  <div class="mainbox">

    <div class="place"> <strong>当前位置:</strong><?php wheatv_breadcrumbs(); ?></div>

    <div class="listbox">

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

       <li>

          <div class="img_news"><?php dm_the_thumbnail(); ?> </div>

          <div class="img_tit">

            <dl>

              <dt><h3><a href="<?php the_permalink() ?>"><?php the_title_attribute(); ?></a></h3><span><i>282</i> view浏览</span></dt>

              <dd>

                <p><a target="_blank" href="<?php the_permalink() ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 135,"..."); ?></a></p>

              </dd>

            </dl>

          </div>

          <div class="img_tip"><span><?php the_date_xml()?>&nbsp;/&nbsp;<?php the_category(', ') ?>&nbsp;/&nbsp;<?php the_tags('', ', ', ''); ?>  &nbsp;&nbsp;</span><a class="fr mr1" target="_blank" href="<?php the_permalink() ?>">&gt;&gt;查看详细</a></div>

        </li>

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

      </ul>

    </div>

      <div class="clear"></div>

      <div class="list_pages">

 

        <?php pagination($query_string); ?>  <!--分页-->
   
      </div>

      <!-- /pages -->

  </div>

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

</div>
<?php get_footer();?>