Пример #1
0
        ?>
</td>
<td><?php 
        echo $GL[GL_NAME];
        ?>
</td>
<td><?php 
        echo $GL[GL_ID];
        ?>
</td>
<td><?php 
        echo $GL[GL_PW];
        ?>
</td>
<td><?php 
        echo getAdminPerm($GL[GL_PERM]);
        ?>
</td>
<td><script>getDateFormat('<?php 
        echo $GL[GL_LOGTIME];
        ?>
' , 'xxxx-xx-xx [xx:xx]')</script></td>
<td><?php 
        if ($GL[GL_OUTTIME]) {
            ?>
<script>getDateFormat('<?php 
            echo $GL[GL_OUTTIME];
            ?>
' , 'xxxx-xx-xx [xx:xx]')</script><?php 
        } else {
            ?>
Пример #2
0
 * @license     http://www.dzzoffice.com/licenses/license.txt
 * @package     DzzOffice
 * @link        http://www.dzzoffice.com
 * @author      zyx(zyx@dzz.cc)
 */
if (!defined('IN_DZZ')) {
    exit('Access Denied');
}
include libfile('function/corpus');
$navtitle = '文集首页 - 我的';
$navlast = "我的文集";
$setting = C::t('corpus_setting')->fetch_all(array('moderators', 'maxcorpus', 'allownewcorpus'));
$ismoderator = 0;
$archiveview = $setting['archiveview'];
if ($setting['allownewcorpus'] > 0) {
    $ismoderator = getAdminPerm($setting['moderators']);
} elseif ($_G['uid'] > 0) {
    $ismoderator = 1;
}
if ($_G['adminid'] < 1 && $setting['maxcorpus'] && !C::t('corpus')->checkMaxCorpus($_G['uid'])) {
    $ismoderator = 0;
}
if ($_G['adminid'] == 1) {
    $ismoderator = 1;
}
if ($_GET['do'] == 'mySort') {
    $cids = trim($_GET['cids']);
    C::t('corpus_setting')->update('paixu_' . $_G['uid'], $cids);
    exit('success');
} elseif ($_GET['do'] == 'getUserPerm') {
    $cid = intval($_GET['cid']);