Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Codeigniter Starter panel is a set of libraries and configurations for starting clean admin panel.
PHP CSS JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
application Added Public_Controller for extends migrations functionality.
assets/css Converted tabs to spaces
sparks/template/1.9.0 First commit
system Update codeigniter to 2.1.4
tools First commit
user_guide First commit
.gitignore
README.md Corrected grammatical errors for README, remove migrations instruction.
index.php
license.txt First commit

README.md

Codeigniter Starter panel

Codeigniter Starter Panel is a simple and full customizable Administration panel include flexible Authentication mode.

Sources

  • Codeigniter 2.1.4
  • Sparks (getsparks.org)
  • Template Library (Philsturgeon)
  • CSS3 PIE (Jason Johnston)

Install

  1. Copy the project in your web root directory
  2. Configure DB Settings in application/config/database.php
  3. The first time to access at your application, the migrations run automatically
  4. Congratulations the Starter Panel run!
  5. Access with username: admin password: password

Basic usage

All controllers extends to Admin_controller for restrict access.

Example

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Controller_name extends Admin_controller
{

    public function index()
    {
        $this->load->view('dashboard/welcome_message');
    }
}

The users table use the following structure:

CREATE TABLE `users` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(60) NOT NULL,
  `password` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `last_login` datetime DEFAULT NULL,
  `last_login_ip` varchar(45) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
);

After run migration you can alter the users table.

Something went wrong with that request. Please try again.