<?php include_once tpl('topnav');?>
<div id="logo"><?php echo printImage('logo_web.gif');?></div>
<div class="clear"></div>
<!-- 导航条 -->
<div class="site-nav">
	<div class="site-nav-items">
		<ul>
			<li><a href="<?php echo url('index');?>">首页</a></li>
			<li><a href="<?php echo url('new');?>">最新更新</a></li>
			<li><a href="<?php echo url('system',array('s'=>'member'));?>">我的<?php echo setting('webname');?></a></li>
			<li><a href="http://25800.net/?st=2">手机阅读</a></li>
			<li><a href="<?php echo url('system',array('s'=>'bbs'));?>">讨论区</a></li>
        </ul>
	</div>
	<form method="get" action="<?php echo url('search');?>">
	<div style="line-height: 34px; float: right;margin-top:4px;" class="search">
		<input type="text" name="key" value="请输入关键字" class="inputout" size="10" style="width: 200px; height: 24px; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #A6D098; margin-right: 4px;" /><select name="class" class="select"><option value="1">书名</option><option value="2">作者</option></select><input type="submit" id="sch-submit" onclick="return searchTo()" value="搜索" />
	</div>
	</form>
</div>
<!-- end  -->
<?php $typeList = get_type();$typeArray = array();?>
<?php foreach ($typeList as $t):?><?php $typeArray[] = ilink($t['typename'], url('booktype', array('tid'=>$t['typeid'])));;?><?php endforeach;?>
<div class="clear"></div>
<div id="types">
	<?php echo implode('┊', $typeArray);?>
</div>
<div class="brbr"></div>
<script type="text/javascript">BAIDU_CLB_fillSlot("220741");</script>
<div id="container">