<?php include 'header.php';?>
<card title="<?php echo ($isOriginal ? '原创' : '') . $typename;?>小说 - <?php echo setting('webname');?>">
<p align="left">
<?php include 'globalHeader.php';?>
<a href="<?php echo url('new');?>">最新</a>|<a href="<?php echo url('type');?>">书库</a>|<?php echo memberLink('书房');?>|<a href="<?php echo url('top');?>">排行</a>
<br/>
排序:<?php echo $navString;?>
<br/>
<?php if (!empty($array)):?>
	<?php foreach ($array as $value):?>
        <?php echo $floor--;?>.<a href="<?php echo url('bookshow', array('bid'=>$value['bookid']));?>">《<?php echo $value['bookname'];?>》</a>/<?php echo ilink($value['author'],url('search',array('class'=>2,'author'=>urlencode($value['author']))));?>/约<?php echo round($value['size'] / 10000,2);?>万字<br/>
        <?php echo ilink('简介',url('bookinfo',array('bid'=>$value['bookid'])));?>:<?php echo $value['bookinfo']?>
		<br/>-----------<br/>
    <?php endforeach;?>
    [共<?php echo $pageObj->getTotalRecord();?>本 <?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
    <br/>
	<?php echo $pageObj->show();?><input name="page" type="text" size="3" format="*n" emptyok="true" /><a href="<?php echo url('booktype', $jumpParams);?>&amp;page=$(page)">跳页</a>
<?php else:?>
	<?php echo "暂无数据<br/>";?>
<?php endif;?>
<br/>
<?php include_once 'adList.php';?>
【搜索小说】
<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='author' 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';?>