<?php get_header(); ?>
<!– 幻灯片 –>
<div class="slider-displayBox"> <?php echo do_shortcode(''); ?> </div>
<!– 幻灯片end –>
<!– 主体 –>
<div class="container clearfix">
<div class="resource-container">
<div class="content-header">
<h2>资源导航</h2>
<a href="<?php echo esc_url(get_category_link( get_cat_ID( '资源导航' ) ));?>">>>更多</a> </div>
<div class="content-body">
<ul>
<?php query_posts(array('category_name'=>'resource_left','orderby'=>'date','order'=>'DSC','posts_per_page'=>8)); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php echo wp_trim_words( get_the_title(), 8 );?></a></li>
<?php endwhile; ?>
<?php else: ?>
<h3>暂未发布文章</h3>
<?php endif; ?>
<?php wp_reset_query() ?>
</ul>
<img src="<?php bloginfo('template_directory'); ?>/img/分隔线.png" alt="">
<ul>
<?php query_posts(array('category_name'=>'resource_right','orderby'=>'date','order'=>'DSC','posts_per_page'=>8)); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php echo wp_trim_words( get_the_title(), 8 );?></a></li>
<?php endwhile; ?>
<?php else: ?>
<h3>暂未发布文章</h3>
<?php endif; ?>
<?php wp_reset_query() ?>
</ul>
</div>
</div>
<div class="search-container">
<ul class="tab clearfix">
<li class="tab–active"><a href="http://mlib.fosu.edu.cn/sms/opac/search/showiphoneSearch.action">馆藏书刊</a></li>
<!– <li><a href="http://lib.fosu.edu.cn/News/Show.asp?id=224" target="_blank">随书光盘</a></li> –>
<li><a href="https://www.fosu.edu.cn/library/czzl/269.html" target="_blank">随书光盘</a></li>
<li><a href="http://xueshu.baidu.com/" target="_blank">百度学术</a></li>
<li><a href="http://uas.gd.calis.edu.cn:8090/" target="_blank">E读搜索</a></li>
<li><a href="https://www.duxiu.com/" target="_blank">读秀知识</a></li>
<li><a href="https://www.cnki.net/" target="_blank">CNKI知识</a></li>
<li><a href="http://fosu.shuhenglib.com/acqu" target="_blank">图书荐购</a></li>
</ul>
<div class="tab-content-container">
<div class="tab-content">
<div class="content clearfix" data-index="1">
<!– 搜索框 –>
<form class="search clearfix" action="http://mlib.fosu.edu.cn/sms/opac/search/showiphoneSearch.action?" target="_blank">
<button type="submit" style="height:50px; width:200px; font-size:24px" onclick="window.location.href='http://mlib.fosu.edu.cn/sms/opac/search/showiphoneSearch.action'">馆藏检索</button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="container clearfix">
<div class="news-container">
<div class="content-header">
<ul class="tab_ul">
<li class="tab_current"><a href="<?php echo esc_url(get_category_link( get_cat_ID( '图书馆动态' ) ));?>">图书馆动态</a></li>
<li><a href="<?php echo esc_url(get_category_link( get_cat_ID( '资源动态' ) ));?>">试用资源</a></li>
<li><a href="<?php echo esc_url(get_category_link( get_cat_ID( '阅读推广' ) ));?>">活动推介</a></li>
</ul>
<!– <h2>图书馆动态</h2> –>
<!– <a href="<?php echo esc_url(get_category_link( get_cat_ID( '图书馆动态' ) ));?>">>>更多</a> –>
</div>
<div class="content-body">
<ol id="tab1" class="tab_content dis news-collection_js">
<?php query_posts(array('category_name'=>'dynamic','orderby'=>'date','order'=>'DSC','posts_per_page'=>9)); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li> <a href="<?php the_permalink(); ?>"> <span class="context"><?php echo wp_trim_words( get_the_title(), 18 );?></span> <span class="time">
<?php the_time('Y-m-d') ?>
</span> </a> </li>
<?php endwhile; ?>
<?php else: ?>
<h3>暂未发布文章</h3>
<?php endif; ?>
<?php wp_reset_query() ?>
</ol>
<ol id="tab2" class="tab_content undis news-collection_js">
<?php query_posts(array('category_name'=>'ziyuandongtai','orderby'=>'date','order'=>'DSC','posts_per_page'=>9)); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li> <a href="<?php the_permalink(); ?>"> <span class="context"><?php echo wp_trim_words( get_the_title(), 18 );?></span> <span class="time">
<?php the_time('Y-m-d') ?>
</span> </a> </li>
<?php endwhile; ?>
<?php else: ?>
<h3>暂未发布文章</h3>
<?php endif; ?>
<?php wp_reset_query() ?>
</ol>
<ol id="tab3" class="tab_content undis news-collection_js">
<?php query_posts(array('category_name'=>'spread','orderby'=>'date','order'=>'DSC','posts_per_page'=>9)); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li> <a href="<?php the_permalink(); ?>"> <span class="context"><?php echo wp_trim_words( get_the_title(), 18 );?></span> <span class="time">
<?php the_time('Y-m-d') ?>
</span> </a> </li>
<?php endwhile; ?>
<?php else: ?>
<h3>暂未发布文章</h3>
<?php endif; ?>
<?php wp_reset_query() ?>
</ol>
</div>
<script type="text/javascript">
$(document).ready(function(){
var tab_menu_li = $('.content-header .tab_ul li');
$('.content-body ol.tab_content:not(.dis)').fadeOut();
tab_menu_li.hover(function(){
$(this).addClass('tab_current').siblings().removeClass('tab_current');
var tab_menu_li_index = tab_menu_li.index(this);
$('.content-body ol.tab_content').eq(tab_menu_li_index).fadeIn(500)
.siblings().stop(true,false).fadeOut(500);
},function(){
// $(this).removeClass('xuquan_nav_current');
});
});
</script>
</div>
<div class="service-container">
<ul class="clearfix">
<li> <a href="https://www.fosu.edu.cn/library/situation/712.html" target="_blank"><span>图书馆简介</span></a> </li>
<li> <a href="https://www.fosu.edu.cn/library/situation/51.html" target="_blank"><span>借阅规则</span></a> </li>
<li> <a href="https://www.fosu.edu.cn/library/situation/55.html" target="_blank"><span>开馆时间</span></a> </li>
<li> <a href="https://www.fosu.edu.cn/library/category/service" target="_blank"><span>读者服务</span></a> </li>
</ul>
<ul class="clearfix">
<li> <a href="https://www.fosu.edu.cn/library/category/ziyuandongtai" target="_blank"><span>资源动态</span></a> </li>
<li> <a href="<?php echo esc_url(get_category_link( get_cat_ID( '查收查引' ) ));?>" target="_blank"><span>查收查引</span></a> </li>
<li> <a href="http://10.130.22.34/opac/servlet/opac.go?cmdACT=newcatalogue" target="_blank"><span>新书推荐</span></a> </li>
<li> <a href="https://www.fosu.edu.cn/library/category/spread" target="_blank"><span>阅读推广</span></a> </li>
</ul>
</div>
</div>
<!– 主体end –>
<?php get_footer(); ?>