Beispiel #1
0
"></a>
		</div>
		<h1 class="post-title"><?php 
$this->title();
?>
</h1>
        <ul class="post-meta">
            <li><a href="<?php 
$this->author->ucenter();
?>
"><?php 
$this->author();
?>
</a>&nbsp;·&nbsp;</li>
    		<li><span><?php 
echo Forum_Common::formatTime($this->created);
?>
</span>&nbsp;·&nbsp;</li>
    		<li><span><?php 
$this->viewsNum();
_e('次点击');
?>
</span></li>
    		<?php 
if ($this->user->hasLogin() && $this->user->uid == $this->author->uid) {
    ?>
    		  <li>&nbsp;·&nbsp;<span><a href="<?php 
    $this->options->index('publish?cid=' . $this->cid);
    ?>
"><?php 
    _e('编辑');
Beispiel #2
0
						<li><?php 
            $archives->tags(',');
            ?>
&nbsp;•&nbsp;</li>
					<?php 
        }
        ?>
                <li><a href="<?php 
        $archives->author->ucenter();
        ?>
"><?php 
        $archives->author->name();
        ?>
</a>&nbsp;•&nbsp;</li>
				<li><span><?php 
        echo Forum_Common::formatTime($archives->created, 'Y-m-d H:i:s');
        ?>
</span></li>
				<?php 
        if ($archives->lastUid) {
            ?>
				<li>&nbsp;•&nbsp;最后回复来自:<strong><a href="<?php 
            $archives->lastAuthor->ucenter();
            ?>
"><?php 
            $archives->lastAuthor->name();
            ?>
</a></strong></li>
				<?php 
        }
        ?>
Beispiel #3
0
    						<li><?php 
            $posts->tags(',');
            ?>
&nbsp;•&nbsp;</li>
    					<?php 
        }
        ?>
                    <li><a href="<?php 
        $posts->author->ucenter();
        ?>
"><?php 
        $posts->author->name();
        ?>
</a>&nbsp;•&nbsp;</li>
    				<li><span><?php 
        echo Forum_Common::formatTime($posts->created, 'Y-m-d H:i:s');
        ?>
</span></li>
    				<?php 
        if ($posts->lastUid) {
            ?>
    				<li>&nbsp;•&nbsp;最后回复来自:<strong><a href="<?php 
            $posts->lastAuthor->ucenter();
            ?>
"><?php 
            $posts->lastAuthor->name();
            ?>
</a></strong></li>
    				<?php 
        }
        ?>
Beispiel #4
0
    ?>
        <?php 
    while ($comments->next()) {
        ?>
            <div class="cell" style="background-color: #EDF3F5;"><?php 
        _e('回复了');
        ?>
 <a href="<?php 
        $comments->permalink();
        ?>
"><?php 
        $comments->title();
        ?>
</a>
                <span class="fr"><?php 
        echo Forum_Common::formatTime($comments->created);
        ?>
</span>
            </div>
            <div class="cell"><?php 
        $comments->content();
        ?>
</div>
        <?php 
    }
    ?>
        <?php 
} else {
    ?>
		<div class="cell">
		  <p class="aligncenter fade"><?php 
Beispiel #5
0
        }
        ?>
			<?php 
        if ($this->type == 'at') {
            ?>
                <div class="cell" style="background-color: #EDF3F5;">
                <a href="<?php 
            $this->author->ucenter();
            ?>
" target="_blank"><?php 
            $this->author->name();
            ?>
</a>
                <?php 
            _e('在');
            _e(Forum_Common::formatTime($this->created));
            _e('回复中@你:');
            ?>
				<a href="<?php 
            $this->permalink();
            ?>
" target="_blank"><?php 
            _e('查看');
            ?>
</a>
                </div>
				<div class="cell">
				<?php 
            $this->content();
            ?>
                </div>
Beispiel #6
0
} else {
    ?>
<!-- 页面为其他页时 -->
    			<?php 
    $this->archiveTitle(' &raquo; ', '', '');
    ?>
    		<?php 
}
?>
        </div>
    </div>
    <article class="cell post page" itemscope itemtype="http://schema.org/BlogPosting">
        <h1 class="post-title"><?php 
$this->title();
?>
</h1>
        <div class="post-content">
            <?php 
$this->content();
?>
        </div>
    </article>
    <div class="inner"><?php 
_e('最后更新:');
echo Forum_Common::formatTime($this->modified, 'Y-m-d H:i:s');
?>
</div>
    </div>
</div><!-- end #main-->
<?php 
$this->need('footer.php');