コード例 #1
0
                            <figure><img src="/APP/Home/View/Public/images/0<?php 
        echo $k % 4 + 1;
        ?>
.jpg" ></figure>
                            <ul>
                                <p><?php 
        echo $v['content'];
        ?>
</p>
                                <a href="<?php 
        echo U('Index/dailyContent', array('id' => $v['id']), '', 0);
        ?>
" class="readmore">阅读全文&gt;&gt;</a>
                            </ul>
                            <?php 
        $total = getCountComment($v['id']);
        ?>
                            <p class="autor"><span>作者:<?php 
        echo $v['author'];
        ?>
</span><span>分类:【<a href="/"><?php 
        echo $v['typeName'];
        ?>
</a>】</span><span>评论(<a href="/"><?php 
        echo $total;
        ?>
</a>)</span></p>
                            <div class="dateview"><?php 
        echo $v['c_time'];
        ?>
</div>
コード例 #2
0
?>
">图片生活</a><a class="e" href="<?php 
echo U('Index/about', '', '', 0);
?>
">关于我</a></nav>
  </header>

  <article>
    <h2 class="about_h">您现在的位置是:<a href="/">首页</a>><a href="1/">我的文章</a>><a href="1/">文章内容</a></h2>
    <div class="index_about">
      <h2 class="c_titile"><?php 
echo $dailyContent['name'];
?>
</h2>
      <?php 
$total = getCountComment($dailyContent['id']);
?>
      <p class="box_c"><span class="d_time">发布时间:<?php 
echo $dailyContent['c_time'];
?>
</span><span>编辑:<?php 
echo $dailyContent['author'];
?>
</span><span>评论(<?php 
echo $total;
?>
)</span></p>
      <ul class="infos">
        <?php 
echo $dailyContent['content'];
?>