<?php include 'header.php';?>
<card title="小说书库 - <?php echo setting('webname');?>">
<p align="left">
<?php include 'globalHeader.php';?>
<anchor>返回<prev/></anchor>/<?php echo memberLink('书房');?>/<a href="<?php echo url('new');?>">新书</a>/<a href="<?php echo url('over');?>">全本</a>
<br/>
-------------------
<br/>
<?php if(!empty($typearray)):?>
<?php $i = 0; foreach ($typearray as $type):?><?php if ($i > 3 && $i % 4 == 0):?><br/><?php endif;?><a href="<?php echo url('booktype', array('tid'=>$type['typeid']));?>"><?php echo $type['typename'];?></a><?php $i++;?><?php if ($i % 4 != 0):?>|<?php endif;?><?php endforeach;?>
<?php else:?>
    暂无数据
<?php endif;?>
<br/>
-------------------
<br/>
【搜索小说】
<br/>
<input name='key' title='搜索内容' type='text' size='3'/><anchor>搜书名<go href='<?php echo url('search');?>' accept-charset='utf-8' method='get'><postfield name='class' value='1'/><postfield name='key' value='$(key)'/><postfield name='sid' value='<?php echo $sid;?>'/></go></anchor>_<anchor>作者<go href='<?php echo url('search');?>' accept-charset='utf-8' method='get'><postfield name='class' value='2'/><postfield name='key' value='$(key)'/><postfield name='sid' value='<?php echo $sid;?>'/></go></anchor>
<br/>
<a href="<?php echo url('demand');?>">没找到你要的书请再此留言</a>
<br/>
<?php include_once 'footer.php';?>