Esempio n. 1
0
<?php

use yii\helpers\Html;
use yii\widgets\LinkPager;
use app\models\IndexModel;
$IndexModel = new IndexModel();
$men = Yii::$app->cache;
?>
        <div id="main">
            <div class="left fl editors-choice" style="margin-bottom:8px;">
		        <div class="left-bd">
			        <div class="mod">
				        <div class="hd" style="height:50px;"></div>
				        <div class="bd">
					        <div class="txt-items-two-columns">
					            <!-- 本类6本小说推荐开始 -->
					            <?php 
foreach ($Class_Recommendation as $value) {
    ?>
					                    <div class="txtbox-item big">
							                <div class="txtbox-bd">
								                <div class="clear">
									                <div class="txtbox-pic">
										                <div class="txtbox-pic-wrap">
											                <a target="_blank" href="/directory/<?php 
    echo $value['bookname_pinyin'];
    ?>
/index" class="deep-blue">
												                <img width="70" height="98" src="/BookImages/<?php 
    echo $value['bookname_pinyin'];
    ?>
Esempio n. 2
0
<!--头部 end-->
<?php 
use app\models\IndexModel;
use app\models\TransPinyin;
$IndexModel = new IndexModel();
$TransPinyin = new TransPinyin();
?>
				<div id="main">
				    <div class="hd" style="background:#fff;"><p class="authlistsea">搜索“<?php 
echo $keywords;
?>
”结果列表 | 共有 <?php 
echo count($search_result);
?>
 条结果</p></div>
					
<div class="left fl editors-choice">
    <div class="left-bd">
    <div class="mod">
    <div class="topba-box">
    <div class="topba-title">
    <div class="topba-sm hgce">书名</div>
    <div class="topba-zj hgce">最新章节</div>
    <div class="topba-cz hgce">作者</div>
    <div class="topba-cz hgce">点击数</div>
    <div class="topba-tim hgce">更新日期</div>
    <div class="topba-cz hgce">状态</div>
    </div>
    <div class="topba-cont">
        <ul class="topba-list">
            <?php