Exemple #1
0
                            <?php 
    while ($posts->next()) {
        ?>
                            <tr id="<?php 
        $posts->theId();
        ?>
">
                                <td><input type="checkbox" value="<?php 
        $posts->cid();
        ?>
" name="cid[]"/></td>
                                <td><a href="<?php 
        $options->adminUrl('manage-comments.php?cid=' . $posts->cid);
        ?>
" class="balloon-button size-<?php 
        echo Typecho_Common::splitByCount($posts->commentsNum, 1, 10, 20, 50, 100);
        ?>
"><?php 
        $posts->commentsNum();
        ?>
</a></td>
                                <td>
                                <a href="<?php 
        $options->index('publish?cid=' . $posts->cid);
        ?>
" target="_blank"><?php 
        $posts->title();
        ?>
</a>
                                <?php 
        if ($posts->hasSaved || 'post_draft' == $posts->type) {
Exemple #2
0
                            <?php 
while ($users->next()) {
    ?>
                            <tr id="user-<?php 
    $users->uid();
    ?>
">
                                <td><input type="checkbox" value="<?php 
    $users->uid();
    ?>
" name="uid[]"/></td>
                                <td><a href="<?php 
    $options->adminUrl('manage-posts.php?uid=' . $users->uid);
    ?>
" class="balloon-button left size-<?php 
    echo Typecho_Common::splitByCount($users->postsNum, 1, 10, 20, 50, 100);
    ?>
"><?php 
    $users->postsNum();
    ?>
</a></td>
                                <td><a href="<?php 
    $options->adminUrl('user.php?uid=' . $users->uid);
    ?>
"><?php 
    $users->name();
    ?>
</a>
                                <a href="<?php 
    $users->permalink();
    ?>
Exemple #3
0
                                    <a class="hidden-by-mouse" href="<?php 
                $options->index('/action/metas-category-edit?do=default&mid=' . $categories->mid);
                ?>
" title="<?php 
                _e('设为默认');
                ?>
"><?php 
                _e('默认');
                ?>
</a>
                                    <?php 
            }
            ?>
                                    </td>
                                    <td><a class="balloon-button left size-<?php 
            echo Typecho_Common::splitByCount($categories->count, 1, 10, 20, 50, 100);
            ?>
" href="<?php 
            $options->adminUrl('manage-posts.php?category=' . $categories->mid);
            ?>
"><?php 
            $categories->count();
            ?>
</a></td>
                                </tr>
                                <?php 
        }
        ?>
                                <?php 
    } else {
        ?>