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


PHP base_url函数代码示例

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


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

示例1: index

 /**
  * Load the main view with all the current model model's data.
  * @return void
  */
 public function index()
 {
     $config['per_page'] = 20;
     $config['base_url'] = base_url() . 'admin/profit_and_loss_logs';
     $config['use_page_numbers'] = TRUE;
     $config['num_links'] = 5;
     $config['full_tag_open'] = '<ul>';
     $config['full_tag_close'] = '</ul>';
     $config['num_tag_open'] = '<li>';
     $config['num_tag_close'] = '</li>';
     $config['cur_tag_open'] = '<li class="active"><a>';
     $config['cur_tag_close'] = '</a></li>';
     $page = $this->uri->segment(3);
     //math to get the initial record to be select in the database
     $limit_end = $page * $config['per_page'] - $config['per_page'];
     if ($limit_end < 0) {
         $limit_end = 0;
     }
     $data['user_fund_log'] = $this->user_fund_log_model->get_user_profit_loss_log1($config['per_page'], $limit_end);
     $data['count_user_fund_log'] = $this->user_fund_log_model->count_user_profit_loss_log();
     $config['total_rows'] = $data['count_user_fund_log'];
     $this->pagination->initialize($config);
     //echo "<pre>";print_r($data['share_limit']); exit;
     // Need loop for added property name and userid
     $data['main_content'] = 'admin/profit_and_loss/list';
     $this->load->view('includes/template', $data);
 }
开发者ID:beyondkeysystem,项目名称:testone,代码行数:31,代码来源:admin_profit_and_loss_logs.php

示例2: __construct

 function __construct()
 {
     parent::__construct();
     $this->gallery_path = realpath(APPPATH . '../images');
     /*I also can use BASEPATH rather than APPPATH*/
     $this->gallery_path_url = base_url() . 'images/';
 }
开发者ID:koushik0004,项目名称:indiansss,代码行数:7,代码来源:gallery_model.php

示例3: form_buscar

 function form_buscar()
 {
     if (!$this->session->userdata('sess_id_user')) {
         redirect("login");
     } else {
         $this->load->library('pagination');
         /*Se personaliza la paginación para que se adapte a bootstrap*/
         $config['base_url'] = base_url() . 'departamentos/form_buscar/';
         $config['total_rows'] = $this->Departamentos_model->get_total_departamentos();
         $config['per_page'] = 10;
         $desde = $this->uri->segment(3) ? $this->uri->segment(3) : 0;
         $config['cur_tag_open'] = '<li class="active"><a href="#">';
         $config['cur_tag_close'] = '</a></li>';
         $config['num_tag_open'] = '<li>';
         $config['num_tag_close'] = '</li>';
         $config['last_link'] = FALSE;
         $config['first_link'] = FALSE;
         $config['next_link'] = '&raquo;';
         $config['next_tag_open'] = '<li>';
         $config['next_tag_close'] = '</li>';
         $config['prev_link'] = '&laquo;';
         $config['prev_tag_open'] = '<li>';
         $config['prev_tag_close'] = '</li>';
         $datos["titulo"] = " .: Mantenimiento :.";
         $datos["departamento"] = $this->Departamentos_model->get_departamentos($config['per_page'], $desde);
         $this->pagination->initialize($config);
         $this->load->view("header", $datos);
         $this->load->view("departamentos/buscar_departamento", $datos);
         $this->load->view("footer", $datos);
         $this->load->view("fin", $datos);
     }
 }
开发者ID:thewalox,项目名称:mantenimiento,代码行数:32,代码来源:departamentos.php

示例4: index

 public function index()
 {
     if (empty($this->session->userdata('user'))) {
         redirect(base_url());
     } else {
         $user = $this->session->userdata('user');
         switch ($user->id_jenis_user) {
             case 00:
                 $this->load->view("group-admin");
                 break;
             default:
                 $data['id_grup'] = $this->input->get('id_grup');
                 if ($this->input->get('id_grup')) {
                     $data['id_grup'] = $this->input->get('id_grup');
                 } else {
                     $user = $this->session->userdata('user');
                     $id_user = $user->id_user;
                     $query = $this->model_anggota->viewByIdUser($id_user);
                     $data['id_grup'] = $query[0]->id_grup;
                 }
                 $this->load->view("grup", $data);
                 break;
         }
     }
 }
开发者ID:rizqyfahmi,项目名称:CollaborativeLearning,代码行数:25,代码来源:grup.php

示例5: index

 function index()
 {
     $css = array(base_url() . "resources/css/jqueryui.css", base_url() . "resources/plugin/codeprettifier/prettify.css", base_url() . "resources/plugin/form-toggle/toggles.css", base_url() . "resources/plugin/pines-notify/jquery.pnotify.default.css", base_url() . "resources/plugin/bootstrap3-dialog-master/bootstrap-dialog.css");
     $js = array(base_url() . "resources/plugin/bootstrap3-dialog-master/bootstrap-dialog.js", base_url() . "resources/plugin/pines-notify/jquery.pnotify.min.js");
     $this->template_admin->header_web(TRUE, "Contest", $css, $js, TRUE, "");
     $this->template_admin->headerbar();
     $this->template_admin->top_menu(TRUE);
     $this->load->view("panel/panel_utama");
     $this->template_admin->panel_menu();
     $this->load->view("panel/panel_content");
     $this->load->view("panel/panel_wrap");
     //        $this->mongo_db->select_db("Assets");
     //        $this->mongo_db->select_collection("Color");
     //        $isiform['colorls']=$this->mongo_db->find(array(),0,0,array('name'=>1));
     //        $this->mongo_db->select_collection("AvatarBodyPart");
     //        $isiform['tipe']=$this->mongo_db->find(array("parent"=>''),0,0,array('name'=>1));
     //        $this->mongo_db->select_collection("Brand");
     //        $isiform['brand']=$this->mongo_db->find(array(),0,0,array('name'=>1));
     //        $this->mongo_db->select_db("Articles");
     //        $this->mongo_db->select_collection("ContentType");
     //        $isiform['searchtype']=$this->mongo_db->find(array(),0,0,array('name'=>1));
     //        $this->mongo_db->select_collection("ContentCategory");
     //        $isiform['searchcategory']=$this->mongo_db->find(array(),0,0,array('name'=>1));
     //        $this->mongo_db->select_db("Game");
     //        $this->mongo_db->select_collection("RequiredRewards");
     //        $isiform['datareward']=$this->mongo_db->find(array('type'=>'Rewards'),0,0,array('name'=>1));
     //        $this->load->view("leaderboard_view",$isiform);
     $this->load->view("panel/close_div");
     $this->load->view("panel/close_div");
     $this->template_admin->addresbar();
     $this->load->view("panel/close_div");
     $this->template_admin->footer();
 }
开发者ID:azanium,项目名称:Klumbi-Web,代码行数:33,代码来源:leaderboard.php

示例6: index

 function index()
 {
     $config['base_url'] = base_url() . 'index.php/con_toga/index/';
     $config['total_rows'] = $this->modtoga->pinjamtoga()->num_rows();
     $config['per_page'] = 8;
     if (isset($_POST['btCari'])) {
         $cari = $this->input->post('cari');
         $id = array('NPM' => $cari);
         $hasil = $this->modtoga->cek_input($id);
         if ($hasil == 0) {
             echo "<script>alert('Data Tidak Ditemukan')\n\t\t\t\tlocation.href='con_toga'</script>";
         } else {
             $config['total_rows'] = $this->modtoga->caridata($cari)->num_rows();
             $this->pagination->initialize($config);
             $data['paging'] = $this->pagination->create_links();
             $halaman = $this->uri->segment(3);
             $halaman = $halaman == '' ? 0 : $halaman;
             $data['pinjamtoga'] = $this->modtoga->caridatapaging($cari, $halaman, $config['per_page']);
             $this->template->load('Template_keuangan', 'Keuangan/laporan/Toga/laporantoga', $data);
         }
     } else {
         $this->pagination->initialize($config);
         $data['paging'] = $this->pagination->create_links();
         $halaman = $this->uri->segment(3);
         $halaman = $halaman == '' ? 0 : $halaman;
         $data['pinjamtoga'] = $this->modtoga->pinjamtogapaging($halaman, $config['per_page']);
         $this->template->load('Template_keuangan', 'Keuangan/laporan/Toga/laporantoga', $data);
     }
 }
开发者ID:ariespirnando,项目名称:PROJEK02-2015,代码行数:29,代码来源:con_toga.php

示例7: _is_auth_success

 /**
  * [_is_auth_success 验证权限是否成功]
  * @param  [type]  $auths [description]
  * @return boolean        [description]
  */
 private function _is_auth_success($auths)
 {
     $route = Common::get_route();
     //需权限
     if (array_key_exists($route, $auths)) {
         $user = isset($_SESSION[$this->login_in_session_name]) ? $_SESSION[$this->login_in_session_name] : NULL;
         $user_role = isset($user['role']) ? $user['role'] : NULL;
         //有权限
         if (strstr($auths[$route], "|{$user_role}|")) {
             return TRUE;
         } else {
             //有登录权限
             if (strstr($auths[$route], "|1|")) {
                 //已登录
                 if (!empty($user)) {
                     return TRUE;
                 } else {
                     $this->error->output('NOTLOGIN_ERROR', array('script' => 'swal({title: "请登录后再进行操作",type: "warning",showCancelButton: true,confirmButtonColor: "#DD6B55",confirmButtonText: "注册/登录",closeOnConfirm: false},function () {showsign();});'));
                 }
             }
             //没有权限
             $this->error->output('NOAUTH_ERROR', array('script' => 'window.location.href ="' . base_url() . '";'));
         }
     } else {
         return TRUE;
     }
 }
开发者ID:897475686,项目名称:vc,代码行数:32,代码来源:auth_service.php

示例8: common_index

 public function common_index($sql_queries)
 {
     $this->load->helper('file');
     //above line helps to create and write the file
     $role_code = $_SESSION['user_data']['result'][0]['user_role_code'];
     //above line helps to get user code from session
     $product_name = $_SESSION['user_data']['result'][0]['user_product_names'];
     //above line helps to get user product from session
     $data['module'] = $module = $this->uri->segment(1);
     //above line helps to get user module from browser url
     $data['class'] = $class = $this->uri->segment(2);
     //above line helps to get user class on which we shall work
     $data['url'] = $url = $module . '/' . $class;
     //above line helps to get
     $get_page_details_controls = $this->get_page_details_controls($url, $role_code);
     $data['page_name'] = $page_name = $get_page_details_controls[0]['menu_text'];
     $data['page_breadcrumb'] = array($module, $class);
     $data['page_access_controls'] = $get_page_details_controls[0];
     $data['form_name'] = $page_name . ' Form';
     $data['form_url'] = base_url() . $url . '/' . $class . '_action';
     $data['list_name'] = $page_name . ' List';
     $data['list_url'] = base_url() . $module . '/' . $class . '/' . $class . '_list';
     $data['del_url'] = base_url() . $url . '/' . $class . '_delete';
     $columns = $this->columns($sql_queries);
     $data['columns'] = $columns['columns'];
     $data['js_function_path'] = 'assets/app/js/' . $module . '/' . $module . '_function.js';
     $data['errorInfo'] = $columns['errorInfo'];
     $data['js_path'] = 'assets/app/js/' . $url . '.js';
     $data['main_menu'] = $this->usermenumodel->usermenu($role_code, $product_name);
     //echo '<pre>'.print_r($data['main_menu'],true);die();
     return $data;
 }
开发者ID:aakash5792,项目名称:sample,代码行数:32,代码来源:usermenumodel.php

示例9: post

 public function post($news_id, $p = 0)
 {
     $category = $this->db->query("SELECT * FROM td_news WHERE news_id = '" . $news_id . "'")->result_array();
     $category['p_c_name'] = $this->db->query("SELECT * FROM td_category WHERE id = '" . $category[0]['category'] . "'")->result_array();
     $category['menus'] = $this->db->query('SELECT * FROM td_category LIMIT 7')->result_array();
     $category['top_banner'] = $this->db->query('SELECT * FROM td_sponsor WHERE sp_pos = "top"')->result_array();
     $category['current_news'] = $this->db->query('SELECT * FROM td_news LIMIT 20')->result_array();
     $category['breking_news'] = $this->db->query('SELECT * FROM td_news WHERE slider = 1')->result_array();
     $category['previous'] = $this->db->query('select * from td_news where news_id = (select max(news_id) from td_news where news_id < "' . $news_id . '")')->result_array();
     $category['next'] = $this->db->query('select * from td_news where news_id = (select min(news_id) from td_news where news_id > "' . $news_id . '")')->result_array();
     $limit = 6;
     //how many items to show per page
     $page = $p;
     if ($page) {
         $start = ($page - 1) * $limit;
     } else {
         $start = 0;
     }
     $category['post_data'] = $this->db->query("select * from td_news where news_id = '" . $news_id . "' LIMIT {$start}, {$limit} ")->result_array();
     $total_pages = $this->db->query("select * from td_news where news_id = '" . $news_id . "'")->num_rows();
     require_once APPPATH . "libraries/pagination.php";
     $category['res'] = create_pagination('td_news', base_url() . 'index.php/gallery/galleryImages/' . $news_id, $limit, $page, $total_pages);
     //$this->load->view('table',$result);
     $category['total_item'] = $total_pages;
     $this->load->view('post', $category);
 }
开发者ID:projukti,项目名称:dumkal,代码行数:26,代码来源:news.php

示例10: getNextBanner

    /**
     *	this one is the magic one... (pentru asta am facut aceasta clasa...)
     *	scoatem urmatorul banner pentru un grup si incrementam view-ul...
     */
    function getNextBanner($group)
    {
        $CI =& get_instance();
        $output = "";
        $CI->db->where("banner_group", $group);
        $CI->db->where("order", "1");
        $query = $CI->db->get('banners');
        if ($query->num_rows() > 0) {
            $prev_banner = $query->row_array();
            $prev_id = $prev_banner["id"];
        } else {
            $prev_id = 0;
        }
        $CI->db->where("banner_group", $group);
        $CI->db->select_max('id', 'last_id');
        $query = $CI->db->get('banners');
        $last_banner = $query->row_array();
        $last_id = $last_banner["last_id"];
        $banner_id_where = "AND `b`.`id` > (SELECT `id` FROM `banners` WHERE `order` = '1')";
        if ($prev_id == 0 || $prev_id == $last_id) {
            $banner_id_where = "";
        }
        $query = $CI->db->query("SELECT \r\n\t\t\t\t\t\t\t\t\t`b`.*,\r\n\t\t\t\t\t\t\t\t\t`bl`.`name`,\r\n\t\t\t\t\t\t\t\t\t`bl`.`description`\r\n\t\t\t\t\t\t\t\tFROM \r\n\t\t\t\t\t\t\t\t\t`banners` as `b`\r\n\t\t\t\t\t\t\t\t\tLEFT JOIN `banners_lang` as `bl`\r\n\t\t\t\t\t\t\t\t\t\tON (`bl`.`banner_id` = `b`.`id`)\r\n\t\t\t\t\t\t\t\tWHERE\r\n\t\t\t\t\t\t\t\t\t`b`.`banner_group` = '{$group}'\r\n\t\t\t\t\t\t\t\t\tAND `bl`.`lang_id` = '" . $CI->lang_id . "'\r\n\t\t\t\t\t\t\t\t\t{$banner_id_where}\r\n\t\t\t\t\t\t\t\tLIMIT 1\r\n\t\t\t\t\t\t\t\t");
        if ($query->num_rows() > 0) {
            $banner = $query->row_array();
            // setam toate la 0 si asta curent la 1
            $CI->db->query("UPDATE `banners` SET `order` = '0' WHERE `banner_group` = '{$group}' ");
            $CI->db->query("UPDATE `banners` SET `order` = '1', `views` = `views`+1 WHERE `id` = '" . $banner["id"] . "' ");
            $output .= '<a href="' . site_url("banners/navigate/" . $banner["id"]) . '" target="_blank" title="' . $banner["name"] . ' - ' . $banner["description"] . '">
				<img src="' . base_url() . 'uploads/banners/' . $banner["file_name"] . '" alt="' . $banner["name"] . ' - ' . $banner["description"] . '"/></a>';
        }
        return $output;
    }
开发者ID:git-ecorise,项目名称:ctshop,代码行数:37,代码来源:BannerRotator.php

示例11: meja

 public function meja($code = '')
 {
     $access = strtolower($this->module . '.' . __CLASS__ . '.' . __FUNCTION__);
     $this->permission->check_permission($access);
     $data['operator'] = $this->session->userdata('astrosession');
     $date = date('Y-m-d');
     $id = $data['operator'][0]->id;
     $cek = $this->mk->cek($id, $date);
     if ($cek >= 1) {
         $data['title'] = "Kasir";
         $data['sidebar_active'] = "kasir";
         $data['resv_list'] = $this->ksr->get_resv_list();
         $data['stats'] = $this->ksr->get_statistik();
         $data['meja'] = $this->ksr->get_meja($code);
         $data['meja_isi'] = $this->ksr->get_meja_isi();
         $data['meja_tergabung'] = $this->ksr->get_meja_tergabung();
         // foreach ($data['meja_tergabung'] as $key => $value)
         // 	array_push($data['meja_isi'], $value);
         // print_r($data['meja_isi']);exit();
         $data['reservasi'] = $this->ksr->get_reserved();
         $data['code_meja'] = $this->ksr->code_meja();
         $data['content'] = $this->load->view($this->module . '/pilih-meja', $data, TRUE);
         $this->load->view('/template', $data);
     } else {
         redirect(base_url('kasir/cashdraw/'));
     }
 }
开发者ID:ahmadsm,项目名称:iwakkoicenter,代码行数:27,代码来源:kasir.php

示例12: index

 function index($offset = FALSE)
 {
     $this->load->model('Productmodel');
     $this->load->library('pagination');
     $this->load->helper('text');
     $this->load->library('form_validation');
     $this->load->helper('form');
     //Setup Pagination
     $perpage = 25;
     $config['base_url'] = base_url() . "products/index/";
     $config['uri_segment'] = 3;
     $config['total_rows'] = $this->Productmodel->countAll();
     $config['per_page'] = $perpage;
     $this->pagination->initialize($config);
     //Get all Product
     $products = array();
     $products = $this->Productmodel->listAll($offset, $perpage);
     //render view
     $inner = array();
     $inner['products'] = $products;
     $inner['pagination'] = $this->pagination->create_links();
     $page = array();
     $page['content'] = $this->load->view('product-index', $inner, TRUE);
     $this->load->view('shell', $page);
 }
开发者ID:ravinderphp,项目名称:skfood,代码行数:25,代码来源:products.php

示例13: index

 public function index()
 {
     $filtro_usuario = $this->input->post('usuario');
     $filtros_usuario = $this->paginador_model->filtro($filtro_usuario, 'usuario_filtro');
     /**
      * configuracion de paginacion
      */
     $data['usuarios'] = $this->usuario_model->get_usuarios($filtros_usuario);
     $total_rows = $data['usuarios'] == false ? 0 : $data['usuarios']->num_rows();
     $base_url = site_url('maestro/usuario/index');
     $config = $this->paginador_model->paginar($total_rows, $base_url);
     $perpage = $this->paginador_model->get_perpage();
     $this->pagination->initialize($config);
     /**
      * fin paginacion.
      */
     $data['per_page'] = $perpage;
     $data['usuarios'] = $this->usuario_model->get_usuarios($filtros_usuario, $perpage, $this->uri->segment(4));
     $data0['roles'] = $this->usuario_model->buscar('roles');
     $data0['bodegas'] = $this->usuario_model->buscar('bodegas', array('bode_estado' => 'A'));
     $data['vista_nuevo_usuario'] = $this->load->view('nuevo_usuario_view', $data0, true);
     $data['vista_editar_usuario'] = $this->load->view('editar_usuario_view', $data0, true);
     $data['vista_buscar_usuario'] = $this->load->view('buscar_usuario_view', $data0, true);
     $menu = array(array('callback' => 'nuevo_usuario();return false;', 'val' => '<img class="qtip" alt="Nuevo Usuario"  src="' . base_url() . 'assets/images/add-files.png" />'), array('callback' => 'buscar_usuario();return false;', 'val' => '<img class="qtip" alt="Buscar Usuario" src="' . base_url() . 'assets/images/search.png" />'), array('val' => '<img class="qtip" alt="Mostrar Todos" src="' . base_url() . 'assets/images/all.png" />', 'href' => site_url('maestro/usuario/todos')));
     $this->run('usuarios_view', $data, 'Listado de usuarios', $menu, null, null, 'usuario.js');
 }
开发者ID:jratenci,项目名称:dee,代码行数:26,代码来源:usuario.php

示例14: suggest_university

 function suggest_university()
 {
     if (!$this->tank_auth->is_admin_logged_in()) {
         redirect('admin/adminlogin/');
     } else {
         $data = $this->path->all_path();
         $data['user_id'] = $this->tank_auth->get_admin_user_id();
         $data['admin_user_level'] = $this->tank_auth->get_admin_user_level();
         $data['admin_priv'] = $this->adminmodel->get_user_privilege($data['user_id']);
         if (!$data['admin_priv']) {
             redirect('admin/adminlogout');
         }
         $hint = strtolower($_GET["q"]);
         if (!$hint) {
             return;
         }
         $data['univ_info'] = $this->autosuggest_model->get_univ_detail($hint);
         if ($data['univ_info'] != 0) {
             foreach ($data['univ_info'] as $univ_info) {
                 $univ_name = $univ_info->univ_name;
                 $univ_id = $univ_info->univ_id;
                 if (file_exists(getcwd() . '/uploads/univ_gallery/' . $univ_info->univ_logo_path) && $univ_info->univ_logo_path != '') {
                     $img_name = $univ_info->univ_logo_path;
                 } else {
                     $img_name = 'logo.png';
                 }
                 $img = '<img src="' . base_url() . '/uploads/univ_gallery/' . $img_name . '" style="width:50px;height:25px;">';
                 echo $img . '<b>' . "{$univ_name}|{$univ_id}\n";
             }
         } else {
             echo 'No Result Found';
         }
     }
 }
开发者ID:flyeven,项目名称:Meet-Univ,代码行数:34,代码来源:autosuggest.php

示例15: index

 /**
  * @author : Gede Lumbung
  * @web : http://gedelumbung.com
  **/
 function index($title = "", $uri = 0)
 {
     if ($this->session->userdata('logged_in') != "") {
         $id_param = $this->session->userdata("id_member");
         $d['left_top_menu'] = $this->app_global_web_model->generate_menu("kiri", "nav pull-left");
         $d['right_top_menu'] = $this->app_global_web_model->generate_menu("kanan", "nav pull-right");
         $d['center_bottom_menu'] = $this->app_global_web_model->generate_menu("footer");
         $d['combo_lokasi'] = $this->app_global_web_model->generate_combo_lokasi();
         $d['combo_kategori'] = $this->app_global_web_model->generate_combo_kategori();
         $d['list_kategori'] = $this->app_global_web_model->generate_list_kategori("nav nav-list");
         $d['left_artikel_hot'] = $this->app_global_web_model->generate_front_artikel($_SESSION['site_limit_artikel_hot'], 0, "counter", 1);
         $d['left_iklan_hot'] = $this->app_global_web_model->generate_list_iklan($_SESSION['site_limit_sidebar'], "counter");
         $d['left_iklan_new'] = $this->app_global_web_model->generate_list_iklan($_SESSION['site_limit_sidebar'], "id_iklan");
         $where['id_member'] = $id_param;
         $gen_menu = $this->db->get_where("dlmbg_member", $where);
         if ($gen_menu->num_rows() == 0) {
             redirect(base_url());
         }
         $menu_crumb = $gen_menu->row();
         $this->breadcrumb->append_crumb('BERANDA', base_url());
         $this->breadcrumb->append_crumb('DASHBOARD', base_url() . 'user/dashboard');
         $this->breadcrumb->append_crumb(strtoupper($menu_crumb->nama), base_url() . 'web/kategori/get/' . $id_param . '/' . url_title($menu_crumb->nama, '-', TRUE));
         $d['dt_retrieve'] = $this->app_user_web_model->generate_detail_member($id_param, $_SESSION['site_limit_iklan_kategori'], $uri);
         $this->load->view($_SESSION['site_theme'] . '/bg_header', $d);
         $this->load->view($_SESSION['site_theme'] . '/user/dashboard/bg_home');
         $this->load->view($_SESSION['site_theme'] . '/bg_left');
         $this->load->view($_SESSION['site_theme'] . '/bg_footer');
     } else {
         redirect(base_url());
     }
 }
开发者ID:mylinkedshare,项目名称:Advertising,代码行数:35,代码来源:dashboard.php


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