This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Base Admin Controller | |
* | |
*/ | |
class GRR_Admin_Controller extends CI_Controller | |
{ | |
/** | |
* Assets (JS/CSS) from the Controllers | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Base Controller | |
* | |
*/ | |
class MY_Controller extends Controller | |
{ | |
/** | |
* Auth Library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Dashboard Controller | |
* | |
**/ | |
class Dashboard extends Controller | |
{ | |
/** | |
* dashboard::dashboard() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
require 'mechanize' | |
require 'money' | |
require 'ostruct' | |
module Itau | |
class Session < Struct.new(:ci, :pass) | |
def login | |
login_page = agent.get(itaurl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'numberposts' => 18, | |
'orderby' => 'post_date', | |
'post_type' => 'cartelera' | |
); | |
$posts = get_posts( $args ); | |
if ( count( $posts ) > 0 ) : | |
?> | |
<div class="cinema"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define Esencia JS Namespace | |
function esencia_js_namespace() { | |
?><script type="text/javascript"> | |
/* <![CDATA[ */ | |
// Global Esencia Namespace | |
window.esencia = window.esencia || {}; | |
// Theme Namespace | |
esencia.theme = esencia.theme || {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Add Brentwood Employees | |
-- | |
INSERT INTO employee_brentwood ( | |
user_name, | |
user_firstname, | |
user_surname, | |
user_email, | |
user_password, | |
user_level, |
NewerOlder