code
stringlengths
1
2.01M
language
stringclasses
1 value
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class news_model extends CI_Model { function __construct($type=null,$init=false) ...
PHP
<?php class gift_model extends CI_Model { function __construct() { parent::__construct(); } function update($ID,$params){ $this->db ->set('ActiveTime', 'NOW()', FALSE) ->where('ID', $ID) ->update('gift_code_513', $params...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class category_model extends CI_Model { function __construct($type = null, $init = false) { ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class customer_model extends backend_model { function __construct() { ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class news_model extends backend_model { function __construct() { parent:...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class base_model extends backend_model { function __construct($table='',$prefix='') ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class category_model extends Backend_Model { function __construct() { par...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class user_model extends backend_model { function __construct() { parent:...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class privilege_model extends CI_Model { private $table; function __construct() ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class gallery_model extends backend_model { function __construct() { pare...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class setting_model extends backend_model { function __construct() { pare...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class auth_model extends CI_Model { function __construct() { parent::__...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of lang_model * * @author Truong */ class lang_model extends backend_model { function __construct() { parent::__construct('language','lang'); } ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class frontend_model extends backend_model { function __construct() { ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class setting_model extends CI_Model { private $table; function __construct() ...
PHP
<?php /** * Array Extension for DataMapper classes. * * Quickly convert DataMapper models to-and-from PHP arrays. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages/extensions/array.html * @version 1.0 */...
PHP
<?php /** * Json Extension for DataMapper classes. * * Quickly convert DataMapper models to-and-from JSON syntax. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages/extensions/json.html * @version 1.1 */ ...
PHP
<?php /** * SimpleCache Extension for DataMapper classes. * * Allows the usage of CodeIgniter query caching on DataMapper queries. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages/extensions/simplecache.ht...
PHP
<?php /** * Row Index Extension for DataMapper classes. * * Determine the row index for a given ID based on a query. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages/extensions/worindex.html * @version 1...
PHP
<?php /** * Nested Sets Extension for DataMapper classes. * * Nested Sets DataMapper model * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author WanWizard * @info Based on nstrees by Rolf Brugger, edutech * http://www.edutech.ch/contribution/nstrees * @version 1.0 ...
PHP
<?php /** * CSV Extension for DataMapper classes. * * Quickly import and export a set of DataMapper models to-and-from CSV files. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages/extensions/csv.html * @ve...
PHP
<?php /** * HTMLForm Extension for DataMapper classes. * * A powerful extension that allows one to quickly * generate standardized forms off a DMZ object. * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author Phil DeJarnett * @link http://www.overzealous.com/dmz/pages...
PHP
<?php /** * Translate Extension for DataMapper classes. * * Translate DataMapper model fields containing language strings * * @license MIT License * @package DMZ-Included-Extensions * @category DMZ * @author WanWizard * @version 1.0 */ // ----------------------------------------------------------------...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class Backend_Model extends CI_Model { private $configs; function __co...
PHP
<?php class Grid_Model extends CI_Model { private $configs; function __construct() { parent::__construct(); $this->configs["strWhere"] = "WHERE TRUE"; $this->configs["strGroupBy"]=""; $this->configs["strOrderBy"]=""; $this->configs["usingLimit"] = true; $this...
PHP
<?php class test extends BACKEND_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since thi...
PHP
<?php class excution extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this ...
PHP
<?php class home extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this cont...
PHP
<?php class notice extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this co...
PHP
<?php define('AUTH_TIMEOUT','300'); define('AUTH_SECRETKEY','daylapassword!@#'); define('AUTH_KEY','teaser_chandai'); define('AUTH_URL','http://id.mgo.vn/'); if(!isset($_SESSION)) session_start(); if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * @property api $api * @property...
PHP
<?php class plugin extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this controller is...
PHP
<?php class excution extends CI_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follo...
PHP
<?php class home extends CI_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. ...
PHP
<?php class system extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ function __constr...
PHP
<?php define("CCTRL", "permission"); define("CCTRLNAME", "permission"); define("TOKEN", "bb6222905ef8419183b5437779497596"); class permission extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuo...
PHP
<?php class content extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ function __const...
PHP
<?php class auth extends CI_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ function __construct() {...
PHP
<?php class filemanage extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ function __cons...
PHP
<?php define("CCTRL", "category"); define("CCTRLNAME", "category"); define("TOKEN", "bb6222905ef8419183b5437779497596"); class category extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuon...
PHP
<?php class wallpaper extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ function __const...
PHP
<?php define("CCTRL", "users"); define("CCTRLNAME", "users"); define("TOKEN", "bb6222905ef8419183b5437779497596"); class user extends BACKEND_Controller { /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruon...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | Foreign Characters | ------------------------------------------------------------------- | This file contains an array of foreign characters for transliteration | conver...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functi...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | USER AGENT TYPES | ------------------------------------------------------------------- | This file contains four arrays of user agent data. It is used by the | User Age...
PHP
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Enable/Disable Migrations |-------------------------------------------------------------------------- | | Migrations are disabled by default but should be enabled ...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Hooks | ------------------------------------------------------------------------- | This file lets you define "hooks" to extend CI without hacking the core | files...
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Website details | | These details are used in emails sent by authentication library. |-------------------------------------------------------------------------- */ $...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* * Name: flexi auth Config * * Author: * Rob Hussey * flexiauth@haseydesign.com * haseydesign.com/flexi-auth * * Copyright 2012 Rob Hussey * * Previous Authors / Contributors: * Ben Edmunds, benedmunds.com * Phil Sturgeon, phil...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $_doctypes = array( 'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', 'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | SMILEYS | ------------------------------------------------------------------- | This file contains an array of smileys for use with the emoticon helper. | Individual ima...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | MIME TYPES | ------------------------------------------------------------------- | This file contains an array of mime types. It is used by the | Upload class to help i...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | File and Directory Modes |-------------------------------------------------------------------------- | | These prefs are used when checking and setting modes when...
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Email | ------------------------------------------------------------------------- | This file lets you define parameters for sending emails. | Please see the user gu...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your dat...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep t...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Profiler Sections | ------------------------------------------------------------------------- | This file lets you determine whether or not various sections of Pro...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your bas...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $config['enable_cache']=false; ?>
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Data Mapper Configuration * * Global configuration settings that apply to all DataMapped models. */ $config['prefix'] = ''; $config['join_prefix'] = 'join_'; $config['error_prefix'] = ''; $config['error_suffix'] = ''; $co...
PHP
<?php //session_save_path($_SERVER['DOCUMENT_ROOT'] . '/sessions'); //ini_set('session.gc_probability', 1); session_start(); include 'libraries/function.php'; /* *--------------------------------------------------------------- * APPLICATION ENVIRONMENT *-------------------------------------------------------...
PHP
char sample[] = { "\"Amazing Electronic Fact: If you scuffed your feet long enough without\n" " touching anything, you would build up so many electrons that your\n" " finger would explode! But this is nothing to worry about unless you\n" " have carpeting.\" --Dave Barry\n" };
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $route['404_override'] = ''; $route['default_controller'] = "default/index/index"; // login $route['login'] = "default/user/login"; // get-food $route['get-food'] = "default/index/getfood"; // categories-food $route['get-categories-food'] = ...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* ------------------------------------------------------------------- * EXPLANATION OF VARIABLES * ------------------------------------------------------------------- * * ['mongo_hostbase'] The hostname (and port number) of your mongod or...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | File and Directory Modes |-------------------------------------------------------------------------- | | These prefs are used when checking and setting modes when...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, ...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep t...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | MIME TYPES | ------------------------------------------------------------------- | This file contains an array of mime types. It is used by the | Upload class to help i...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | Foreign Characters | ------------------------------------------------------------------- | This file contains an array of foreign characters for transliteration | conver...
PHP
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Enable/Disable Migrations |-------------------------------------------------------------------------- | | Migrations are disabled by default but should be enabled | whe...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | USER AGENT TYPES | ------------------------------------------------------------------- | This file contains four arrays of user agent data. It is used by the | User Age...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Hooks | ------------------------------------------------------------------------- | This file lets you define "hooks" to extend CI without hacking the core | files...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Profiler Sections | ------------------------------------------------------------------------- | This file lets you determine whether or not various sections of Pro...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $_doctypes = array( 'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', 'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); // Generally localhost $config['host'] = "localhost"; // Generally 27017 $config['port'] = 27017; // The database you want to work on $config['db'] = "VTVNow"; // Required if Mongo is running in auth mode $config['user'] = ""; $confi...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | SMILEYS | ------------------------------------------------------------------- | This file contains an array of smileys for use with the emoticon helper. | Individual ima...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Mcontent extends MY_Model { public function __construct() { parent::__construct(); } public function Search($keyword,$limit,$stt) { $sql_limit = 'LIMIT '.$stt.','.$limit; $data1 = $this->d...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Mindex extends MY_Model { public function __construct() { parent::__construct(); } public function getCategoriesFoodDb(){ $id_restaurent = $this->getParamInt('id_restaurent'); $id_admin = $this->getParamInt('i...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Muser extends MY_Model { public function __construct() { parent::__construct(); } public function loginUser() { $uname = $this->getParamString('username'); $upass = $this->getParamString('password...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Index extends MY_Controller { public function __construct() { parent::__construct(); $this->data['controller'] = 'index'; $this->load->model('Mindex'); } public function getcategoriesfood(){ die(...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class User extends MY_Controller { public function __construct() { parent::__construct(); $this->data['controller'] = 'user'; $this->load->model('Muser'); } public function login() ...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Content extends MY_Controller { public function __construct() { parent::__construct(); //$this->checkAdmin($this->session->userdata('admin_id')); $this->data['controller'] = 'content'; ...
PHP
<!DOCTYPE html> <html lang="en"> <head> <title>Error</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px; font: ...
PHP
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> <h4>A PHP Error was encountered</h4> <p>Severity: <?php echo $severity; ?></p> <p>Message: <?php echo $message; ?></p> <p>Filename: <?php echo $filepath; ?></p> <p>Line Number: <?php echo $line; ?></p> </div>
PHP
<!DOCTYPE html> <html lang="en"> <head> <title>Database Error</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px...
PHP
<!DOCTYPE html> <html lang="en"> <head> <title>404 Page Not Found</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: ...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_base.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @package CodeIgniter * @author Alessandro Arno...
PHP
<?php Class Ultility { public function rplUri($var) { $vowels = array("-"," -","- ","“","”"," "," "," "," ", "/",'\"',"\'", "+", "=", "{", "}", ")", "(", "!", "`", "'", "~", "@", "#", "$", "%", "^", "&", "*", "_", "!", "!", ".", ",", ";", ":", "]", "[","/"); $rc = strtolower(str_replace($v...
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_cursor.php'); require_once('Cimongo_extras.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @package CodeIgniter * @author Alessandro Arnodo | a.arnodo@gmail.com | @vesparny * @cop...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_base.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @package CodeIgniter * @author Alessandro Arno...
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_cursor.php'); require_once('Cimongo_extras.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * @package CodeIgniter * @author Alessandro Arnodo | a.arnodo@gmail.com | @vesparny * @cop...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_cursor.php'); require_once('Cimongo_base.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * Inspired by h...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once('Cimongo_cursor.php'); require_once('Cimongo_base.php'); /** * CodeIgniter MongoDB Library * * A library to interact with the NoSQL database MongoDB. * For more information see http://www.mongodb.org * * Inspired by h...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /**1829 * CodeIgniter MongoDB Active Record Library * * @category Library * @package CodeIgniter * @author Alex Bilbie <alex@alexbilbie.com> * @copyright 2012 Alex Bilbie. * @license MIT License http://www.opensource.org/licenses/...
PHP
<?php if ( ! defined('BASEPATH')) exit('Vui lòng liên hệ nhatnv'); class MY_Controller extends CI_Controller { public $_data; public function __construct(){ parent::__construct(); $this->load->helper(array('url','text', 'form')); $this->load->library(array('session')); ...
PHP
<?php Class MY_Model extends CI_Model { /* ** GET PARAM ** */ //public $_smtp_host = 'mail.gvtechcom.vn'; //public $_smtp_user = 'info@gvtechcom.vn'; //public $_smtp_pass = 'abcde@123'; //public $_smtp_user = 'dungdc@gvtechcom.vn'; // public $_smtp_pass = 'dung1234'; private funct...
PHP
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); /* load the MX_Router class */ require APPPATH."third_party/MX/Router.php"; class MY_Router extends MX_Router {}
PHP
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); /* load the MX_Loader class */ require APPPATH."third_party/MX/Loader.php"; class MY_Loader extends MX_Loader {}
PHP