• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP sysMsg函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中sysMsg函数的典型用法代码示例。如果您正苦于以下问题:PHP sysMsg函数的具体用法?PHP sysMsg怎么用?PHP sysMsg使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: defshow

 public function defshow()
 {
     $this->pageinfo();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPur->adminCheck("PW_BLOG", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $sql = "SELECT post_title,ID,post_date,post_modified,flag FROM wp_posts WHERE post_status='publish' ORDER BY post_modified DESC";
     $pager = new Page();
     $get_page = is_numeric($_GET["page"]) ? $get_page : 1;
     $pagesize = $_GET["pagesize"] ? $_GET["pagesize"] : $size;
     $pager->Page($key = '', $pagesize, $groupsize = 0, $current = $get_page);
     $pager->execute($this->mDb, $sql);
     $pages['link'] = $pager->pageLinks();
     $pages['frontlink'] = $pager->searchlinks();
     $pages['fromto'] = $pager->fromto();
     $pages['total'] = $pager->getTotalpage();
     $pages['current'] = $pager->getCurrent();
     $pages['totalnum'] = $pager->getTotalnum();
     $pages['jump'] = $pager->jump();
     $pages['pagenum'] = $pagesize;
     $rs = $pager->getResult();
     $r["logs"] = $rs;
     $r["pages"] = $pages;
     $this->result["logs"] = $r["logs"];
     $this->result["pages"] = $r["pages"];
     $this->tplname = 'admin/blog';
     $this->mLog->adminLog("查看博文管理列表");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:30,代码来源:blog.class.php


示例2: add

 public function add()
 {
     $this->_globals();
     if ($this->mPurview->adminCheck("PW_PRODS", "2") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($this->mPurview->adminCheck("PW_PRODS", "3") == false && $_GET["id"]) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     //大类
     $this->result["catelist"] = $this->mBasic->getCateListByID(4210, "t");
     //商圈城市
     $this->result["bcitylist"] = $this->mBasic->getCateListByID("parameters", 3, "t");
     $this->result["catelist"] = $this->mBasic->getCateListByID("parameters", 4210, "t");
     if ($_GET["id"]) {
         $this->result["log"] = $this->getRow("cases", $_GET["id"]);
         //小类
         if ($this->result["log"]["cateid"]) {
             $this->result["smallcatelist"] = $this->mCategory->getCateList($this->result["log"]["cateid"], "t");
         }
         //商圈城市
         if ($this->result["log"]["bcity"]) {
             $this->result["districtlist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["bcity"], "t");
         }
         $this->result["images"] = $this->mCases->getFilebyPid($_GET["id"]);
     } else {
         $this->result["log"]["status"] = 1;
     }
     $this->mLog->adminLog("添加编辑商品");
     $this->tplname = 'cases_add';
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:31,代码来源:cases.class.php


示例3: deleteUser

function deleteUser($id)
{
    $db = Database::obtain();
    $sql = "DELETE FROM `" . TABLE_USERS . "` WHERE `id`={$id}";
    $db->query($sql);
    sysMsg('User with id ' . $id . ' deleted.');
}
开发者ID:hscale,项目名称:SiteZilla,代码行数:7,代码来源:user_functions.php


示例4: show

 public function show()
 {
     $this->checkLogin();
     //$this->mDb->debug = true;
     if ($this->mPur->adminCheck("EYE_GROUP", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($this->mAction == "save") {
         echo $this->mGro->savePost("groups");
         $this->mLog->adminLog("添加/编辑用户组");
         die;
     }
     if ($this->mAction == "del") {
         if ($this->mGro->Del("groups", $_POST["id"]) == false) {
             echo "error";
         } else {
             echo "succeed";
         }
         die;
     }
     $this->mLog->adminLog("查看用户组");
     $this->result["sites"]["contents"] = "active";
     $this->result["logs"] = $this->mGro->cateList("groups");
     $this->tplname = 'group';
     $this->Display();
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:26,代码来源:group.class.php


示例5: add

 public function add()
 {
     if ($this->mPur->adminCheck("PW_PRODC", "2") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($this->mPur->adminCheck("PW_PRODC", "3") == false && $_GET["id"]) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->pageinfo();
     if ($_GET["id"]) {
         $this->result["log"] = $this->mCate->getRow($_GET["id"]);
     }
     if ($this->result["log"]["brands"]) {
         $this->result["selectbrandlist"] = $this->mBrand->getDropList("t", " WHERE id IN(" . $this->result["log"]["brands"] . ")");
         $this->result["brandlist"] = $this->mBrand->getDropList("t", " WHERE id NOT IN(" . $this->result["log"]["brands"] . ")");
     } else {
         $this->result["brandlist"] = $this->mBrand->getDropList("t");
     }
     if ($_GET["pid"]) {
         $this->result["log"]["pid"] = $_GET["pid"];
     }
     $this->result["statuslist"] = array(1 => "启用", 0 => "关闭");
     $this->result["plist"] = $this->mCate->cateDropList($this->result["log"]["pid"]);
     $this->tplname = 'admin/category_add';
     $this->mLog->adminLog("添加/编辑分类");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:26,代码来源:category.class.php


示例6: saveWebsiteSettings

function saveWebsiteSettings($website)
{
    $db = Database::obtain();
    $id = $website['id'];
    $db->update(TABLE_WEBSITES, $website, "id='" . $id . "'");
    sysMsg(MSG00003);
}
开发者ID:hscale,项目名称:SiteZilla,代码行数:7,代码来源:settings_functions.php


示例7: defshow

 public function defshow()
 {
     $this->_globals();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPurview->adminCheck("PW_CONTS", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($_GET["order_id"]) {
         $where[] = " order_id = '" . $_GET["order_id"] . "'";
     }
     if ($_GET["payflag"]) {
         $where[] = " payflag = '" . $_GET["payflag"] . "'";
     }
     if ($_GET["price"]) {
         $where[] = " totprice = '" . $_GET["price"] . "'";
     }
     if ($_GET["email"]) {
         $r = $this->mCustomer->getUserByEmail($_GET["email"]);
         $where[] = " uid = '" . $r["id"] . "'";
     }
     $r = $this->mBasic->getList("orderprodlist", $where);
     foreach ($r["logs"] as $key => $val) {
         $r["logs"][$key]["payflagname"] = $this->result["payflaglist"][$val["payflag"]];
         $r["logs"][$key]["email"] = $this->mCustomer->getEmailById($val["uid"]);
         $r["logs"][$key]["infolist"] = $this->mDb->getall("SELECT * FROM " . get_table("orderprod") . " p ," . get_table("orderprodlist") . " o ," . get_table("products") . " pr WHERE p.oid=o.id AND p.pid = pr.id AND p.oid = '" . $val["id"] . "'");
         $r["logs"][$key]["infos"] = $this->mDb->getall("SELECT * FROM " . get_table("orderprod") . " p ," . get_table("orderprodlist") . " o  WHERE p.oid=o.id  AND p.oid = '" . $val["id"] . "'");
     }
     $this->result["logs"] = $r["logs"];
     $this->result["pages"] = $r["pages"];
     $this->tplname = 'order';
     $this->mLog->adminLog("查看订单列表");
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:33,代码来源:order.class.php


示例8: show

 public function show()
 {
     $this->checkLogin();
     if ($this->mPur->adminCheck("SYS_BASIC", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($this->mAction == "save") {
         $this->mLog->adminLog("更新全局设置");
         $this->save();
     }
     $this->result["log"]["url"] = _URL_;
     $this->result["log"]["dbhost"] = _DB_HOST;
     $this->result["log"]["dbuser"] = _DB_USER;
     $this->result["log"]["dbpass"] = _DB_PASS;
     $this->result["log"]["dbname"] = _DB_NAME;
     $this->result["log"]["dbtype"] = _DB_TYPE;
     $this->result["log"]["dbchar"] = _DB_CHAR;
     $this->result["log"]["dbdebug"] = _DB_DEBUG;
     $this->result["log"]["pages"] = _PAGES;
     $this->result["log"]["lang"] = _LANG;
     $this->result["log"]["css"] = _CSS_PATH;
     $this->result["log"]["file"] = _FILE_PATH;
     $this->result["log"]["cache"] = _CAC_PATH;
     $this->result["log"]["tpl"] = _TPL_PATH;
     $this->result["urls"] = array("" => ".htaccess", "/index.php" => "index.php", "/?" => "?");
     $this->result["sites"]["system"] = "active";
     $this->result["caches"] = array(0 => "开启", 1 => "禁用");
     $this->tplname = 'admin/globals';
     $this->mLog->adminLog("查看全局设置");
     $this->Display();
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:31,代码来源:globals.class.php


示例9: defshow

 public function defshow()
 {
     $this->pageinfo();
     if ($this->mPur->adminCheck("PW_DM", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->tplname = 'admin/directmail';
     $this->mLog->adminLog("查看邮件列表");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:9,代码来源:directmail.class.php


示例10: defshow

 public function defshow()
 {
     if ($this->mPur->adminCheck("PW_PRODI", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->pageinfo();
     $this->mLog->adminLog("商品图片批量导入");
     $this->tplname = 'admin/pictureimport';
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:9,代码来源:pictureimport.class.php


示例11: defshow

 public function defshow()
 {
     if ($this->mPur->adminCheck("PW_PRODU", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->pageinfo();
     $this->result["catelist"] = $this->mProd->getDropList("t", "  WHERE status=1");
     $this->mLog->adminLog("商品批量导入");
     $this->tplname = 'import';
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:10,代码来源:import.class.php


示例12: defshow

 public function defshow()
 {
     if ($this->mPur->adminCheck("PW_CDOWN", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->pageinfo();
     $this->result["countdowns"] = $this->mProd->getCountDownSales();
     $this->result["grouplist"] = $this->mClient->getGroupDropList();
     $this->tplname = 'today';
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:10,代码来源:today.class.php


示例13: defshow

 public function defshow()
 {
     $this->_globals();
     if ($this->mPurview->adminCheck("PW_DATABS", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->result["logs"] = $this->mDBAdmin->getList();
     $this->result["datalist"] = $this->mDBAdmin->getList("s");
     $this->tplname = "database";
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:10,代码来源:dbadmin.class.php


示例14: defshow

 public function defshow()
 {
     $this->pageinfo();
     if ($this->mPur->adminCheck("PW_DATABS", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->result["logs"] = $this->bk->getList();
     $this->result["datalist"] = $this->bk->getList("s");
     $this->tplname = "admin/database";
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:10,代码来源:database.class.php


示例15: defshow

 public function defshow()
 {
     $this->pageinfo();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPur->adminCheck("PW_ORDER", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->tplname = 'ordersearch';
     $this->mLog->adminLog("订单查找");
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:11,代码来源:ordersearch.class.php


示例16: defshow

 public function defshow()
 {
     $this->checkLogin();
     if ($this->mPur->adminCheck("PW_SETUP", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->result["log"] = $this->mSite->get();
     $this->result["sites"]["system"] = "selected";
     $this->result["sites"]["title"] = "系统设置";
     $this->tplname = 'admin/setting';
     $this->mLog->adminLog("查看系统设置");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:12,代码来源:setting.class.php


示例17: defshow

 public function defshow()
 {
     $this->pageinfo();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPur->adminCheck("PW_ORDER", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->result["logs"] = $this->mProd->getTopHitsList();
     $this->tplname = 'admin/hotproductreport';
     $this->mLog->adminLog("查看销售报表列表");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:12,代码来源:hotproductreport.class.php


示例18: defshow

 public function defshow()
 {
     $this->pageinfo();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPur->adminCheck("PW_ORDER", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $this->result["orderlist"] = $this->mOrd->getOrderListByflag("0", "t");
     $this->tplname = 'admin/ordermerge';
     $this->mLog->adminLog("订单查找");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:12,代码来源:ordermerge.class.php


示例19: add

 public function add()
 {
     $this->_globals();
     if ($this->mPurview->adminCheck("PW_PRODS", "2") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     if ($this->mPurview->adminCheck("PW_PRODS", "3") == false && $_GET["id"]) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     //大类
     $this->result["catelist"] = $this->mCategory->getCateList(21, "t");
     //省份
     $this->result["provincelist"] = $this->mBasic->getCateListByID("parameters", 1, "t");
     //地铁城市
     $this->result["metrocitylist"] = $this->mBasic->getCateListByID("parameters", 2, "t");
     //商圈城市
     $this->result["bcitylist"] = $this->mBasic->getCateListByID("parameters", 3, "t");
     if ($_GET["id"]) {
         $this->result["log"] = $this->getRow("services", $_GET["id"]);
         //小类
         if ($this->result["log"]["cateid"]) {
             $this->result["smallcatelist"] = $this->mCategory->getCateList($this->result["log"]["cateid"], "t");
         }
         //省份
         if ($this->result["log"]["province"]) {
             $this->result["citylist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["province"], "t");
         }
         if ($this->result["log"]["city"]) {
             $this->result["countylist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["city"], "t");
         }
         //地铁城市
         if ($this->result["log"]["metrocity"]) {
             $this->result["linelist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["metrocity"], "t");
         }
         if ($this->result["log"]["line"]) {
             $this->result["stationlist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["line"], "t");
         }
         //商圈城市
         if ($this->result["log"]["bcity"]) {
             $this->result["districtlist"] = $this->mBasic->getCateListByID("parameters", $this->result["log"]["bcity"], "t");
         }
         //
         $this->result["images"] = $this->mService->getFilebyPid($_GET["id"]);
     } else {
         $this->result["log"]["is_alone_sale"] = 1;
     }
     //$this->result["catelist"] = $this->mCate->cateDropList($this->result["log"]["class_id"]);
     //$this->result["grouplist"] = $this->mClient->getGroupDropList("t");
     $this->mLog->adminLog("添加编辑商品");
     $this->tplname = 'service_add';
 }
开发者ID:hetykai,项目名称:feidaoyu,代码行数:51,代码来源:service.class.php


示例20: defshow

 public function defshow()
 {
     $this->pageinfo();
     include _APP_PATH . "libs/adodb/adodb-pager1.inc.php";
     $this->result["sites"]["contents"] = "active";
     if ($this->mPur->adminCheck("PW_LOGS", "1") == false) {
         sysMsg("非法授权页面,请与管理员联系");
     }
     $r = $this->mLog->getList();
     $this->result["logs"] = $r["logs"];
     $this->result["pages"] = $r["pages"];
     $this->tplname = 'admin/log';
     $this->mLog->adminLog("查看系统日志列表");
 }
开发者ID:yfg2014,项目名称:yangphp_4,代码行数:14,代码来源:log.class.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP sys_ReturnBqClassname函数代码示例发布时间:2022-05-23
下一篇:
PHP syntablestruct函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap