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


PHP admin_authorized函数代码示例

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


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

示例1: Dashboard

 function Dashboard()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:8,代码来源:dashboard.php

示例2: Welcome

 function Welcome()
 {
     parent::__construct();
     $this->load->library('session');
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:9,代码来源:welcome.php

示例3: Picupload

 function Picupload()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     $this->load->helper('form');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:9,代码来源:picupload.php

示例4: Companies

 function Companies()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     $this->load->helper('url');
     $this->load->helper('form');
     $this->load->library('form_validation');
     $this->load->model('Company_model');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:12,代码来源:companies.php

示例5: Translation

 function Translation()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('translation')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('file');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:13,代码来源:translation.php

示例6: Orders

 function Orders()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('orders')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('url');
     $this->load->model('Order_model');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:14,代码来源:orders.php

示例7: Provinces

 function Provinces()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('provinces')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('url');
     $this->load->model('Province_model');
     $this->load->model('Country_model');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:15,代码来源:provinces.php

示例8: Addons

 function Addons()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('addons')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->model('Addon_model');
     $this->load->helper('url');
     $this->load->helper('form');
     $this->load->library('form_validation');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:16,代码来源:addons.php

示例9: Socialmediaprofile

 function Socialmediaprofile()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('discounts')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('url');
     $this->load->model('Discounts_model');
     $this->load->helper('form');
     $this->load->library('form_validation');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:16,代码来源:socialmediaprofile.php

示例10: Deliverycharges

 function Deliverycharges()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('deliverycharges')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('url');
     //$this->load->model('Deliverycharge_model');
     $this->load->helper('form');
     $this->load->library('form_validation');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:16,代码来源:deliverycharges.php

示例11: Reports

 function Reports()
 {
     parent::__construct();
     if (!admin_authorized()) {
         redirect('/siteadmin/login');
         exit;
     }
     if (!accessGrant('reports')) {
         redirect('/siteadmin');
         exit;
     }
     $this->load->helper('url');
     $this->load->model('Report_model');
     $this->load->model('Customer_model');
     $this->load->model('Affiliate_model');
     $this->load->model('Company_model');
 }
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:17,代码来源:reports.php


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