Skip to content

Instantly share code, notes, and snippets.

View patrickegp's full-sized avatar

Patrick patrickegp

View GitHub Profile
@patrickegp
patrickegp / list.js
Created April 18, 2017 17:37
JSON provincias República Dominicana
var provinces = [
{id:1, name: 'Azua'},
{id:2, name: 'Bahoruco'},
{id:3, name: 'Barahona'},
{id:4, name: 'Dajabón'},
{id:5, name: 'Distrito Nacional'},
{id:6, name: 'Duarte'},
{id:7, name: 'Elías Piña'},
{id:8, name: 'El Seibo'},
{id:9, name: 'Espallat'},
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Pagination Config
*
* Just applying codeigniter's standard pagination config with twitter
* bootstrap stylings
*
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @author Mike Funk
* @link http://codeigniter.com/user_guide/libraries/pagination.html