<?php include tpl('header');?>
<card title="搜索结果 - <?php echo setting('webname');?>">
<p align="left">
<?php echo backLink();?>|<?php echo ilink('软件', url('system', array('s'=>'soft')));?>|<?php echo memberLink('书房');?>
<br/>
==共搜索到<?php echo $pageObj->getTotalRecord();?>个结果==
<br/>
<?php if (!empty($softs)):?>
    <?php foreach ($softs as $soft):?>
        <?php echo $floor--;?>.<?php echo ilink($soft['name'], url('system', array('s'=>'soft','a'=>'view','id'=>$soft['id'])));?><br/>
        类型:<?php echo ilink(softCategoryName($soft['cid']), url('system', array('s'=>'soft','a'=>'category','id'=>$soft['cid'])));?><br/>
        上传:<?php echo $soft['date'];?><br/>
    <?php endforeach;?>
    <?php echo $pageObj->show();?>
<?php else:?>
    搜索不到关键字为“<?php echo $key;?>”的内容，建议你换个关键字重新搜索
    <br/>
    重新搜索:<?php $this->widget('soft.widgets.SearchWidget');?>
    <br/>
<?php endif;?>

<?php include_once tpl('footer');?>