This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config.
| <html> | |
| <head> | |
| <script type="text/javascript"> | |
| function createCookie(name,value,days) { | |
| var expires = ""; | |
| if (days) { | |
| var date = new Date(); | |
| date.setTime(date.getTime() + (days*24*60*60*1000)); |
| <?php | |
| defined('BASEPATH') or exit('No direct script access allowed'); | |
| class Welcome extends CI_Controller | |
| { | |
| public function index($page = 1) | |
| { | |
| //load model | |
| $this->load->model('people_model'); |
This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config.
| <?PHP | |
| // Generates a strong password of N length containing at least one lower case letter, | |
| // one uppercase letter, one digit, and one special character. The remaining characters | |
| // in the password are chosen at random from those four sets. | |
| // | |
| // The available characters in each set are user friendly - there are no ambiguous | |
| // characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option, | |
| // makes it much easier for users to manually type or speak their passwords. | |
| // | |
| // Note: the $add_dashes option will increase the length of the password by |