Exemplo n.º 1
0
"
                  data-user="******"></span>
            (<cite class="up-count"><?php 
echo $article->digg_count;
?>
</cite>)
        </small>
    </h2>

    <div class="entry">
        <div class="typo-p">
            <?php 
echo Helper\Html::fromMarkdown($article->content);
?>
        </div>

        <?php 
if ($article->link) {
    ?>
            <?php 
    include 'embed.php';
    ?>
            <p class="ref">
                <a href="<?php 
    echo url($article->link);
    ?>
" target="_blank"><i class="font font-link"></i> REF <?php 
    echo $article->link;
Exemplo n.º 2
0
?>
">
            <img class="avatar" src="<?php 
echo \Helper\Html::gravatar($author->email, 30);
?>
" />
            @<?php 
echo $author->name;
?>
        </a>
        <a href="#comment_<?php 
echo $comment->id;
?>
" class="identical-day"># <?php 
echo $comment->created_at;
?>
</a>
        <a href="#respond" class="reply">reply</a>
        <?php 
if (!empty($user) && $user->isAdmin()) {
    ?>
            <a href="javascript:;" class="delete admin-text">delete</a>
        <?php 
}
?>
    </div>
    <div class="typo-p"><?php 
echo Helper\Html::fromMarkdown($comment->text);
?>
</div>
</div>
Exemplo n.º 3
0
    echo $sender->name;
    ?>
</a>
                    <small class="identical-day"><?php 
    switch ($notify->type) {
        case Notify::REPLY:
            echo 'reply to you';
            break;
        case Notify::MENTION:
            echo 'mention you';
            break;
    }
    ?>
                    @ <?php 
    echo $notify->created_at;
    ?>
                    </small>
                </div>
                <div class="typo-small"><?php 
    echo Helper\Html::fromMarkdown($notify->message);
    ?>
</div>
            </div>
        <?php 
}
?>
    </div>
</article>

<?php 
echo $page;