</li><?php 
    }
}
?>
         </ul>
      </nav>
   </div>
</header>

<?php 
$term = sp_get_term($_GET['id']);
$child_terms = sp_get_child_terms($term['parent']);
$pterm = sp_get_term($term['parent']);
$nav_label = $pterm['name'];
$lists = sp_sql_posts_paged_bycatid($_GET['id'], "order:post_modified DESC,listorder ASC;", 33, "{prev}{liststart}{list}{listend}{next}");
$kaoyan_img = sp_getslide('kaoyan_img');
$kyimg = $kaoyan_img[0];
$nav_label = isset($nav_label) ? $nav_label : $post_title;
$nid = sp_nav_id($nav_label);
$nav_cid = sp_nav_cid($nid);
if ($nav_cid == 1) {
    $navList = tree_to_list($navTree);
} else {
    $navT = sp_get_menu_tree($nav_cid);
    $navList = tree_to_list($navT);
}
$snav = getParents($navList, $nid);
$parent_sid = $snav[0]['id'];
$parent_slabel = $snav[0]['label'];
$parent_shref = $snav[0]['href'];
$child_snav = getChilds($navList, $parent_sid);
?>
" style="margin:18px 0;">
				 <input type="text" class="" placeholder="Search" name="keyword" value="<?php 
echo I('get.keyword');
?>
"/>
				 <input type="submit" class="btn btn-info" value="Go" style="margin:0"/>
			</form>
		</div>
       </div>
     </div>
   </div>
 </div>

<?php 
$home_slides = sp_getslide("portal_index");
$home_slides = empty($home_slides) ? $default_home_slides : $home_slides;
?>
<ul id="homeslider" class="unstyled">
	<?php 
if (is_array($home_slides)) {
    foreach ($home_slides as $key => $vo) {
        ?>
<li>
		<div class="caption-wraper">
			<div class="caption"><?php 
        echo $vo["slide_name"];
        ?>
</div>
		</div>
		<a href="<?php 
?>
						<div class="aboutmorecon">
							<?php 
echo $post_content;
?>
						</div>
						<div class="seemore">
							<a href="#">展开查看更多</a>
						</div>
						
						<div class="slidebox_3">
	<div class="slide_out" style="height: 520px;">
		<div class="slide" style="position: relative; overflow: hidden;">
		<?php 
$slides_keywords = explode(" ", $post_keywords);
$slides = sp_getslide(array_pop($slides_keywords));
$slide_account = count($slides);
?>
		<?php 
if (is_array($slides)) {
    foreach ($slides as $key => $vo) {
        ?>
<img src="/data/upload/<?php 
        echo $vo["slide_pic"];
        ?>
" alt="<?php 
        echo $vo["slide_content"];
        ?>
" width="780" height="520" style="position: absolute; top: 0px; left: 0px; display: block; z-index: 9; opacity: 1;" /><?php 
    }
}
                    </div>
                    <!-- mainProNav end -->
                </div>
                <!--以下代码不作为插件效果内容 -->

            </div>
            <!-- mainMenuV end -->
        </div>
        <!-- mainMenudl end -->
    </div>
    <!-- navigationBar end -->
</div>


<?php 
$home_slides = sp_getslide("index");
$home_slides = empty($home_slides) ? $default_home_slides : $home_slides;
?>
<ul id="homeslider" class="unstyled">
    <?php 
if (is_array($home_slides)) {
    foreach ($home_slides as $key => $vo) {
        ?>
<li>
            <div class="caption-wraper">

            </div>
            <a href="<?php 
        echo $vo["slide_url"];
        ?>
"><img src="<?php 
	            
	            <li class="services"><a href="#" onclick="location.href='/';" style="color:#974dea;">>> 去图书馆首页</a></li>

	        </ul>
		</div>
	</div>
	<div id="main-content">
		<div id="termid<?php 
echo $first_term['term_id'];
?>
">
			<div class="main-slider">
				<div class="flexslider">
					<ul class="slides">
						<?php 
$slides = sp_getslide($one['post_keywords']);
?>
						<?php 
if (empty($slides)) {
    ?>
<li>
							<div class="slider-caption">
								<h2><?php 
    echo $name;
    ?>
</h2>
								<p><?php 
    echo $description;
    ?>
</p>
							</div>
 
   	<section class="indcontainer_out" style="height:660px;">
   		<?php 
$indexbg_pic = !empty($theme_config['indexbg']) ? $theme_config['indexbg'] : "/tpl/hualibootx/Public/images/bg_index.jpg";
?>

      	<div class="indcontainer" style="padding-top: 100px; padding-bottom: 1px;background: url(/data/upload/<?php 
echo $indexbg_pic;
?>
) no-repeat 50% top;height:660px;">
        	<div class="container">
            	<?php 
echo hook('searchbox');
?>
				<?php 
$homeHot = sp_getslide($theme_config['homeHot']);
$homeHot = empty($homeHot) ? $default_home_slides : $homeHot;
$newtab_plugin = sp_get_plugin_config("Newtab");
$newtab = array($newtab_plugin['tabname1_value'], $newtab_plugin['tabname2_value'], $newtab_plugin['tabname3_value']);
$navTree2 = sp_get_menu_tree($theme_config['commonly_used_module']);
$tongzhi = get_news_list($newtab[0], 6);
$xwzx = get_news_list($newtab[1], 6);
$jz = get_news_list($newtab[2], 6, 'jz');
?>
				<div class="indprimarybox">
				  	<div class="indcol">
				    	<div class="item item_1">
					      	<header class="boxtitle">
					        	<span class="t">热点</span>
					      	</header>
					      	<div class="hotcon">