当前位置: 首页>>代码示例>>PHP>>正文


PHP member::MP方法代码示例

本文整理汇总了PHP中member::MP方法的典型用法代码示例。如果您正苦于以下问题:PHP member::MP方法的具体用法?PHP member::MP怎么用?PHP member::MP使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在member的用法示例。


在下文中一共展示了member::MP方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: domanage

 function domanage()
 {
     member::MP("menu_template_manage");
     $dir = trim($_GET["dir"]);
     $L = FS::folder($dir, "templates", "");
     include admincp::tpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:7,代码来源:templates.mo.php

示例2: domanage

 function domanage()
 {
     member::MP("menu_plugin_manage");
     $plugins = $this->iCMS->getCache('system/plugins');
     $rs = plugin::doList();
     include admincp::tpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:7,代码来源:plugins.mo.php

示例3: domanage

 function domanage()
 {
     member::MP("menu_models_manage");
     $rs = model::data();
     $_count = count($rs);
     include admincp::tpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:7,代码来源:models.mo.php

示例4: domanage

 function domanage()
 {
     member::MP("menu_group_manage");
     include iPATH . 'include/group.class.php';
     $group = new group();
     $type = $_GET['type'];
     include admincp::tpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:8,代码来源:groups.mo.php

示例5: doedit

 function doedit()
 {
     member::MP("menu_account_edit");
     include iPATH . 'include/group.class.php';
     $group = new group('a');
     $rs = iCMS_DB::getRow("SELECT * FROM `#iCMS@__members` WHERE `uid`='" . intval($_GET['uid']) . "'");
     $info = unserialize($rs->info);
     include admincp::tpl("account.edit");
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:9,代码来源:account.mo.php

示例6: doDefault

 function doDefault()
 {
     member::MP("menu_filter");
     $cache = $this->iCMS->getCache(array('system/word.filter', 'system/word.disable'));
     foreach ((array) $cache['system/word.filter'] as $k => $val) {
         $filterArray[$k] = implode("=", (array) $val);
     }
     include admincp::tpl('filter');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:9,代码来源:filter.mo.php

示例7: domanage

 function domanage()
 {
     member::MP("menu_user_manage");
     $maxperpage = 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__members`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "位会员");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__members` where `type`='0' order by uid DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('user.manage');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:10,代码来源:user.mo.php

示例8: dodefault

 function dodefault()
 {
     member::MP(array("menu_index_advertise", "menu_advertise"));
     $maxperpage = 30;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__advertise`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个广告");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__advertise` order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl("advertise");
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:10,代码来源:advertise.mo.php

示例9: dodefault

 function dodefault()
 {
     member::MP("menu_search");
     $maxperpage = 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__search`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个关键字");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__search` order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('search');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:10,代码来源:search.mo.php

示例10: dodefault

 function dodefault()
 {
     member::MP(array("menu_index_link", "menu_link"));
     $maxperpage = 60;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__links`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, '个链接');
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__links` ORDER BY `logo`, `orderNum` ASC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('link');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:10,代码来源:link.mo.php

示例11: dodefault

 function dodefault()
 {
     member::MP("menu_keywords");
     $_GET['keywords'] && ($sql[] = " `keyword` REGEXP '{$_GET['keywords']}'");
     $_GET['replace'] && ($sql[] = " `replace` REGEXP '{$_GET['replace']}'");
     isset($_GET['status']) && $_GET['status'] != '-1' && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__keywords` {$where}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个关键字");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__keywords` {$where} order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('keywords');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:14,代码来源:keywords.mo.php

示例12: dodefault

 function dodefault()
 {
     global $firstcount, $pagenav;
     member::MP("menu_message");
     $_GET['keywords'] && ($sql[] = " CONCAT(author,email,url,ip) REGEXP '{$_GET['keywords']}'");
     isset($_GET['status']) && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__plugins_message` {$where} order by id DESC");
     page($total, $maxperpage, "条留言");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__plugins_message` {$where} order by id DESC LIMIT {$firstcount},{$maxperpage}");
     $_count = count($rs);
     include plugin::acptpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:14,代码来源:message.mo.php

示例13: doRecover

 function doRecover()
 {
     member::MP("menu_database_recover");
     //        include(iPATH.'admin/table.array.php');
     $filedb = array();
     $handle = opendir(iPATH . 'admin/backup');
     while ($file = readdir($handle)) {
         if (preg_match("/^iCMS_/", $file) && preg_match("/\\.sql\$/", $file)) {
             $strlen = preg_match("/^iCMS_/", $file) ? 16 + strlen("iCMS_") : 19;
             $fp = fopen(iPATH . "admin/backup/{$file}", 'rb');
             $bakinfo = fread($fp, 200);
             fclose($fp);
             $detail = explode("\n", $bakinfo);
             $bk['name'] = $file;
             $bk['version'] = substr($detail[1], 10);
             $bk['time'] = substr($detail[2], 8);
             $bk['pre'] = substr($file, 0, $strlen);
             $bk['num'] = substr($file, $strlen, strrpos($file, '.') - $strlen);
             $filedb[] = $bk;
         }
     }
     include admincp::tpl();
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:23,代码来源:database.mo.php

示例14: doDefault

 function doDefault()
 {
     member::MP(array("menu_index_comment", "menu_comment"));
     include_once iPATH . 'include/model.class.php';
     if ($_GET['st'] == "title") {
         $_GET['keywords'] && ($sql[] = " `title` REGEXP '{$_GET['keywords']}'");
     } else {
         if ($_GET['st'] == "contents") {
             $_GET['keywords'] && ($sql[] = " `contents` REGEXP '{$_GET['keywords']}'");
         }
     }
     $_GET['starttime'] && ($sql[] = " `addtime`>='" . strtotime($_GET['starttime']) . "'");
     $_GET['endtime'] && ($sql[] = " `addtime`<='" . strtotime($_GET['endtime']) . "'");
     $mid = (int) $_GET['mid'];
     $mid && ($sql[] = " `mId`='" . $mid . "'");
     isset($_GET['status']) && $_GET['status'] != '-1' && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__comment` {$where}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "条评论");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__comment` {$where} order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('comment');
 }
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:24,代码来源:comment.mo.php

示例15:

    echo $configRs['watercolor'];
    ?>
" size="10" maxlength="7" class="txt"/></td>
      </tr>
      <tr>
        <td class="td120">水印透明度:</td>
        <td colspan="3" class="rowform"><input type="text" name="waterpct" value="<?php 
    echo $configRs['waterpct'];
    ?>
" size="10" maxlength="3" class="txt"/></td>
      </tr>
    </tbody>
    <?php 
}
if (in_array($this->action, array('default', 'patch'))) {
    member::MP(array("menu_setting_all", "menu_setting_patch"));
    ?>
    <thead>
      <tr>
        <th colspan="4">手动更新</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td colspan="4">iCMS版本目前版本:iCMS <?php 
    echo iCMS_VER;
    ?>
 <?php 
    echo iCMS_RELEASE;
    ?>
<br />你可以立即检查更新,升级到最新版本.查看更多信息请访问 <a href="http://www.idreamsoft.com" target="_blank">www.idreamsoft.com</a> <input type="button" value="在线升级" onClick="location.href='<?php 
开发者ID:idreamsoft,项目名称:iCMS5.1,代码行数:31,代码来源:setting.php


注:本文中的member::MP方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。