<?php $title = setting('webname') . date("m月d日") . '最新小说 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<div class="nav"><?php echo indexLink();?> <?php echo memberLink();?></div>
<?php echo randAd('other');?> 
<div class="kind"><a href="<?php echo url('new');?>">小说最新连载更新<?php echo date('[m-d]');?></a></div>
<?php if (!empty($newbooks)):?>
    <?php foreach ($newbooks as $newbook):?>
	   <a href="<?php echo url('booktype', array('tid'=>$newbook['typeid']));?>"><?php echo $newbook['typename'];?>|</a><a href="<?php echo url('bookshow', array('tid'=>$newbook['typeid'], 'bid'=>$newbook['bookid']));?>">《<?php echo $newbook['bookname'];?>》</a><br/>
    <?php endforeach;?>
<?php else:?>
    暂无新书<br/>    
<?php endif;?>
<?php include_once tpl('globalFooter');?>