\fpcm\model\view\helper::editButton($comment->getEditLink() . '&mode=' . $commentsMode, $comment->getEditPermission(), $commentsMode == 2 ? 'fpcm-ui-commentlist-link' : '');
    ?>
        </td>
        <td><strong title="<?php 
    print substr(\fpcm\model\view\helper::escapeVal($comment->getText()), 0, 100);
    ?>
..."><?php 
    print \fpcm\model\view\helper::escapeVal($comment->getName());
    ?>
</strong></td>
        <td><?php 
    print \fpcm\model\view\helper::escapeVal($comment->getEmail());
    ?>
</td>
        <td><?php 
    \fpcm\model\view\helper::dateText($comment->getCreatetime());
    ?>
</td>
        <td class="fpcm-td-commentlist-meta"><?php 
    include __DIR__ . '/metainfo.php';
    ?>
</td>
        <td class="fpcm-td-select-row">
        <?php 
    if ($comment->getEditPermission()) {
        ?>
            <?php 
        fpcm\model\view\helper::checkbox('ids[]', 'fpcm-list-selectbox', $comment->getId(), '', 'chbx' . $comment->getId(), false);
        ?>
        <?php 
    } else {
示例#2
0
    ?>
system/logout" class="fpcm-loader">
                         <span class="fpcm-navicon fa fa-sign-out fa-fw"></span>
                         <span class="fpcm-navigation-descr"><?php 
    $FPCM_LANG->write('LOGOUT_BTN');
    ?>
</span>
                     </a>
                 </li>
                 <li class="fpcm-menu-top-level2 fpcm-menu-top-level2-status">
                     <span><b><?php 
    $FPCM_LANG->write('PROFILE_MENU_LOGGEDINSINCE');
    ?>
:</b></span>
                     <span><?php 
    \fpcm\model\view\helper::dateText($FPCM_SESSION_LOGIN);
    ?>
 (<?php 
    print $FPCM_DATETIME_ZONE;
    ?>
)</span>
                     <span><b><?php 
    $FPCM_LANG->write('PROFILE_MENU_YOURIP');
    ?>
</b></span>
                     <span><?php 
    print fpcm\classes\http::getIp();
    ?>
</span>
                 </li>
             </ul>
示例#3
0
            \fpcm\model\view\helper::editButton($user->getEditLink());
            ?>
</td>
                            <td><strong><?php 
            print \fpcm\model\view\helper::escapeVal($user->getUserName());
            ?>
</strong></td>
                            <td><a href="mailto:<?php 
            print \fpcm\model\view\helper::escapeVal($user->getEmail());
            ?>
"><?php 
            print \fpcm\model\view\helper::escapeVal($user->getEmail());
            ?>
</a></td>
                            <td class="fpcm-ui-center fpcm-ui-users-registeredtime"><?php 
            \fpcm\model\view\helper::dateText($user->getRegistertime());
            ?>
</td>
                            <td class="fpcm-ui-center fpcm-ui-users-articlecount"><?php 
            if (isset($articleCounts[$user->getId()])) {
                print $articleCounts[$user->getId()];
            } else {
                ?>
0<?php 
            }
            ?>
</td>
                            <td class="fpcm-td-select-row"><input type="radio" name="useridsd" value="<?php 
            print $user->getId();
            ?>
"></td>
示例#4
0
<?php

if ($timesMode) {
    $timeInfoCreate = $FPCM_LANG->translate('EDITOR_AUTHOREDIT', array('{{username}}' => isset($users[$article->getCreateuser()]) ? $users[$article->getCreateuser()] : $FPCM_LANG->translate('GLOBAL_NOTFOUND'), '{{time}}' => \fpcm\model\view\helper::dateText($article->getCreatetime(), false, true)));
    $timeInfoChange = $FPCM_LANG->translate('EDITOR_LASTEDIT', array('{{username}}' => isset($users[$article->getChangeuser()]) ? $users[$article->getChangeuser()] : $FPCM_LANG->translate('GLOBAL_NOTFOUND'), '{{time}}' => \fpcm\model\view\helper::dateText($article->getChangetime(), false, true)));
} else {
    $timeInfoCreate = $FPCM_LANG->translate('EDITOR_AUTHOREDIT', array('{{username}}' => isset($users[$article->getCreateuser()]) ? $users[$article->getCreateuser()]->getDisplayname() : $FPCM_LANG->translate('GLOBAL_NOTFOUND'), '{{time}}' => \fpcm\model\view\helper::dateText($article->getCreatetime(), false, true)));
    $timeInfoChange = $FPCM_LANG->translate('EDITOR_LASTEDIT', array('{{username}}' => isset($users[$article->getChangeuser()]) ? $users[$article->getChangeuser()]->getDisplayname() : $FPCM_LANG->translate('GLOBAL_NOTFOUND'), '{{time}}' => \fpcm\model\view\helper::dateText($article->getChangetime(), false, true)));
}
?>

<div class="fpcm-ui-editor-metabox-left">
    <?php 
if (!$timesMode && !$isRevision) {
    ?>
    <div class="fpcm-ui-editor-metabox-left-frontend"><?php 
    \fpcm\model\view\helper::linkButton($article->getArticleLink(), 'GLOBAL_FRONTEND_OPEN', '', 'fpcm-ui-button-blank fpcm-openlink-btn', '_blank');
    ?>
</div>
    <div class="fpcm-ui-editor-metabox-left-short"><?php 
    \fpcm\model\view\helper::linkButton($article->getArticleShortLink(), 'EDITOR_ARTICLE_SHORTLINK', '', 'fpcm-ui-button-blank fpcm-articlelist-shortlink');
    ?>
</div>
    <?php 
    if ($article->getImagepath()) {
        ?>
<div class="fpcm-ui-editor-metabox-left-aimg"><?php 
        \fpcm\model\view\helper::linkButton($article->getImagepath(), 'EDITOR_ARTICLEIMAGE_SHOW', '', 'fpcm-ui-button-blank fpcm-filelist-articleimage');
        ?>
</div><?php 
    }
示例#5
0
</td>
    </tr>                    
    <?php 
}
?>
    
    <?php 
foreach ($sessionList as $sessionItem) {
    ?>
    <tr>
        <td><?php 
    print isset($userList[$sessionItem->getUserId()]) ? $userList[$sessionItem->getUserId()]->getDisplayName() : $FPCM_LANG->translate('GLOBAL_NOTFOUND');
    ?>
</td>
        <td><?php 
    print $sessionItem->getIp();
    ?>
</td>
        <td><?php 
    \fpcm\model\view\helper::dateText($sessionItem->getLogin());
    ?>
</td>
        <td><?php 
    print $sessionItem->getLogout() > 0 ? \fpcm\model\view\helper::dateText($sessionItem->getLogout()) : $FPCM_LANG->translate('LOGS_LIST_TIMEOUT');
    ?>
</td>
    </tr>
    <?php 
}
?>
</table>
示例#6
0
    \fpcm\model\view\helper::linkButton('#', 'CRONJOB_LIST_EXECDEMAND', $cronjob->getCronName(), 'fpcm-ui-button-blank fpcm-cronjoblist-exec');
    ?>
</td>
                        <td class="fpcm-cronjob-name"><?php 
    $FPCM_LANG->write('CRONJOB_' . strtoupper($cronjob->getCronName()));
    ?>
</td>
                        <td class="fpcm-cronjob-interval fpcm-ui-center"><?php 
    fpcm\model\view\helper::select('intervals_' . $cronjob->getCronName(), $FPCM_LANG->translate('SYSTEM_OPTIONS_CRONINTERVALS'), $cronjob->getIntervalTime(), false, false, false, 'fpcm-cronjoblist-intervals');
    ?>
</td>
                        <td class="fpcm-ui-center"><?php 
    \fpcm\model\view\helper::dateText($cronjob->getLastExecTime());
    ?>
</td>
                        <td class="fpcm-ui-center"><?php 
    \fpcm\model\view\helper::dateText($cronjob->getNextExecTime());
    ?>
</td>
                    </tr>
                    <?php 
}
?>
                </table>

            </div>
            
        </div>
        
    </form> 
</div>
示例#7
0
    fpcm\model\view\helper::checkbox('filenames[]', 'fpcm-list-selectbox', base64_encode($file->getFilename()), '', 'cb_' . $file->getFilename(), false);
    ?>
                </div>
                
                <div class="fpcm-clear"></div>
            </div> 
            
            <div class="fpcm-filelist-meta fpcm-ui-left fpcm-small-text">
                <table class="fpcm-ui-table fpcm-ui-nobg">
                    <tr>
                        <td><strong><?php 
    $FPCM_LANG->write('FILE_LIST_UPLOAD_DATE');
    ?>
:</strong></td>
                        <td><?php 
    \fpcm\model\view\helper::dateText($file->getFiletime());
    ?>
</td>                    
                    </tr>
                    <tr>
                        <td><strong><?php 
    $FPCM_LANG->write('FILE_LIST_UPLOAD_BY');
    ?>
:</strong></td>
                        <td><?php 
    print isset($users[$file->getUserid()]) ? $users[$file->getUserid()]->getDisplayName() : $FPCM_LANG->translate('GLOBAL_NOTFOUND');
    ?>
</td>                    
                    </tr>
                    <tr>
                        <td><strong><?php 
示例#8
0
                    
                    <tr class="fpcm-td-spacer"><td></td></tr>                    
                    <?php 
foreach ($ipList as $value) {
    ?>
                    <tr>
                        <td><?php 
    print \fpcm\model\view\helper::escapeVal($value->getIpaddress());
    ?>
</td>
                        <td><?php 
    print isset($users[$value->getUserid()]) ? $users[$value->getUserid()]->getDisplayName() : $FPCM_LANG->translate('GLOBAL_NOTFOUND');
    ?>
</td>
                        <td><?php 
    \fpcm\model\view\helper::dateText($value->getIptime());
    ?>
</td>
                        <td class="fpcm-td-iplist-meta">
                            <div class="fpcm-ui-editor-metabox-right fpcm-ui-iplist-metabox-right">
                                <span class="fa-stack fa-fw fpcm-ui-editor-metainfo fpcm-ui-status-<?php 
    print $value->getNocomments();
    ?>
" title="<?php 
    $FPCM_LANG->write('IPLIST_NOCOMMENTS');
    ?>
">
                                    <span class="fa fa-square fa-stack-2x"></span>
                                    <span class="fa fa-comments fa-stack-1x fa-inverse"></span>
                                </span>