code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://programmersvoice.com
* @version 1.0.4
* @copyright Adam Griffiths 2009
*
* Auth provides a powerful, lightweight and simple interface for user authentication
*/
$lang['insufficient_privs'] = "Y... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://programmersvoice.com
* @version 1.0.4
* @copyright Adam Griffiths 2009
*
* Auth provides a powerful, lightweight and simple interface for user authentication
*/
$lang['insufficient_privs'] = "Y... | PHP |
<ul id="navigation">
<?php
if(logged_in())
{
?>
<li><?php echo anchor('admin/dashboard', 'Dashboard'); ?></li>
<li><?php if(user_group('admin')) { echo anchor('admin/users/manage', 'Manage Users'); } ?></li>
<li><?php echo anchor('logout', 'Logout'); ?></li>
<?php
}
else
{
?>
<li><?php echo anchor('logi... | PHP |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style type="text/css">
body{background-image:none;background-color:white;color:#231e18;background-repeat:no-repeat;margin:0;font-family:Helvetica;font-size:12px;}
#container{width:1000px;margin:0 auto;}
... | PHP |
<div id="login">
<h2>Login</h2>
<div class="box">
<form method="POST">
Username/Email:<br />
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" class="form" /><?php echo form_error('username'); ?><br /><br />
Password:<br />
<input type="password" name="password... | PHP |
<div id="login">
<?php if(empty($username)) { ?>
<h2>Register</h2>
<?php } else { ?>
<h2>Update</h2>
<?php } ?>
<div class="box">
<form method="post">
<?php if(empty($username)) { ?>
Username:<br />
<input type="text" name="username" size="50" class="form" value="<?php echo set_value('username'); ... | PHP |
<h2>Message</h2>
<p><?php echo $message; ?></p> | PHP |
<h2>User Successfully Deleted</h2>
<p>The user has now been deleted.</p> | PHP |
<h2>Manage Users</h2>
<?php echo $this->table->generate(); ?> | PHP |
<div id="login">
<h2>Success!</h2>
<div class="box">
<?php echo $msg; ?>
</div>
</div> | PHP |
<h2>Dashboard</h2>
<p>Welcome <?php echo username(); ?>.</p> | PHP |
<?php
$this->load->view($this->config->item('auth_views_root') . 'header');
if(isset($data))
{
$this->load->view($this->config->item('auth_views_root') . 'pages/'.$page, $data);
}
else
{
$this->load->view($this->config->item('auth_views_root') . 'pages/'.$page);
}
$this->load->view($this->config->item('auth_views_... | PHP |
<?php
function logged_in()
{
$CI =& get_instance();
if($CI->ag_auth->logged_in() == TRUE)
{
return TRUE;
}
return FALSE;
}
function username()
{
$CI =& get_instance();
return $CI->session->userdata('username');
}
function user_group($group)
{
$CI =& get_instance();
$system_group = $CI->ag_auth->config... | PHP |
<?php
function logged_in()
{
$CI =& get_instance();
if($CI->ag_auth->logged_in() == TRUE)
{
return TRUE;
}
return FALSE;
}
function username()
{
$CI =& get_instance();
return $CI->session->userdata('username');
}
function user_group($group)
{
$CI =& get_instance();
$system_group = $CI->ag_auth->config... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://adamgriffiths.co.uk
* @version 2.0.3
* @copyright Adam Griffiths 2011
*
* Auth provides a powerful, lightweight and simple interface for user authentication .
*/
ob_start();
class AG_Auth
{
v... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://adamgriffiths.co.uk
* @version 2.0.3
* @copyright Adam Griffiths 2011
*
* Auth provides a powerful, lightweight and simple interface for user authentication .
*/
class AG_Auth_model extends CI_M... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://adamgriffiths.co.uk
* @version 2.0.3
* @copyright Adam Griffiths 2011
*
* Auth provides a powerful, lightweight and simple interface for user authentication .
*/
class Application extends CI_Con... | PHP |
<?php
class Users extends Application
{
public function __construct()
{
parent::__construct();
$this->ag_auth->restrict('admin'); // restrict this controller to admins only
}
public function manage()
{
$this->load->library('table');
$data = $this->db->get($this->ag_auth->config['auth_user_tab... | PHP |
<?php
class Admin extends Application
{
public function __construct()
{
parent::__construct();
}
public function index()
{
if(logged_in())
{
$this->ag_auth->view('dashboard');
}
else
{
$this->login();
}
}
}
/* End of file: dashboard.php */
/* Location: application/controllers/admin/dashbo... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
... | PHP |
<?php
/**
* Authentication Library
*
* @package Authentication
* @category Libraries
* @author Adam Griffiths
* @link http://adamgriffiths.co.uk
* @version 1.0.6
* @copyright Adam Griffiths 2009
*
* Auth provides a powerful, lightweight and simple interface for user authentication
*/
/**
* The array which holds your... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Catalan
*
* Author: Wilfrido García Espinosa
* contacto@wilfridogarcia.com
* @wilfridogarcia
*
* Translation: Oriol Navascuez
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created:... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Spanish
*
* Author: Wilfrido Garc�a Espinosa
* contacto@wilfridogarcia.com
* @wilfridogarcia
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 05.04.2010
*
* Description: ... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Finnish
*
* Author: Jarno Fabritius
* jarno.fabritius@meisso.com
* @meisso_jarno
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 01.03.2011
*
* Description: Finnish lang... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Norwegian
*
* Author: Tomas E. Sandven
* tomas191191@gmail.com
* @codemonkey1991
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 01.01.2012
*
* Description: Norwegian lan... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Polish
*
* Author: Bart Majewski
* hello@bartoszmajewski.pl
* @bart_majewski
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 03.23.2010
*
* Description: Polish language ... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Turkish (UTF-8)
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
* Translation: Acipayamli Ozi
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 05.01.2010
*
* ... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - German
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
* Translation: Bernd Hückstädt
* akademie@joytopia.net
*
*
* Location: http://github.com/be... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Swedish
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 03.14.2010
*
* Description: Swedish language file for Ion Aut... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Russian (UTF-8)
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
* Translation: Petrosyan R.
* for@petrosyan.rv.ua
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Creat... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - English
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 03.14.2010
*
* Description: English language file f... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Greek
*
* Author: Vagelis Papaloukas
* vagelispapalou@yahoo.gr
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 02.04.2011
*
* Description: Greek language file for Ion Auth messag... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Ukraine (UTF-8)
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
* Translation: Petrosyan R.
* for@petrosyan.rv.ua
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Creat... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - French
*
* Author: Stan
* tfspir@gmail.com
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 03.23.2010
*
* Description: French language file for Ion Auth messages and errors
*
*/
// Account Creation... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Arabic
*
* Author: Emad Elsaid
* blazeeboy@gmail.com
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 30.08.2010
*
* Description: Arabic language file for Ion Auth messages and er... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Dutch
*
* Author: Jeroen van der Gulik
* jeroen@isset.nl
*
* Adjustments by Dieter
*
* Location: http://github.com/benedmunds/CodeIgniter-Ion-Auth
*
* Created: 05.01.2010
*
* Description: Dut... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Estonian
*
* Author: Esko Lehtme
* esko@tsoon.com
* @eskolehtme
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 01.09.2011
*
* Description: Estonian language file for I... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Italian
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 07.08.2010
*
* Description: Italian language fi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Japanese
*
* Author: Nobuo Kihara
* softark@gmail.com
*
* Created: 2010-10-30
*
* Description: Japanese language file for Ion Auth messages and errors
*
*/
// Account Creation
$lang['account_creation_successf... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
* Every application needs to support the famous pirate language
*
* @author Yorick Peterse <info [at] yorickpeterse [dot] com>
* @link http://www.yorickpeterse.com/
*
*/
// Account Creation
$lang['account_creation_successful... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Chinese Traditional
*
* Author: Bo-Yi Wu
* appleboy.tw@gmail.com
* @taiwan
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 03.14.2011
*
* Description: Chinese language fi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Lang - Indonesian
*
* Author: Toni Haryanto
* toha.samba@gmail.com
* @yllumi
*
* Location: https://github.com/yllumi/CodeIgniter-Ion-Auth
*
* Created: 11.15.2011
*
* Description: Indonesian langu... | PHP |
<div class='mainInfo'>
<div class="pageTitle">Login</div>
<div class="pageTitleBorder"></div>
<p>Please login with your email/username and password below.</p>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("auth/login");?>
<p>
<label for="identity">Email/Usern... | PHP |
<h1>Change Password</h1>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("auth/change_password");?>
<p>Old Password:<br />
<?php echo form_input($old_password);?>
</p>
<p>New Password:<br />
<?php echo form_input($new_password);?>
</p>
<... | PHP |
<div class='mainInfo'>
<h1>Edit User</h1>
<p>Please enter the users information below.</p>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("admin/edit_user/".$this->uri->segment(3));?>
<p>First Name:<br />
<?php echo form_input($firstName);?>
</p>
<p>La... | PHP |
<div class='mainInfo'>
<h1>Create User</h1>
<p>Please enter the users information below.</p>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("auth/create_user");?>
<p>First Name:<br />
<?php echo form_input($first_name);?>
</p>
<p>Last Name:<br />
... | PHP |
<div class='mainInfo'>
<div class="pageTitle">Deactivate User</div>
<div class="pageTitleBorder"></div>
<p>Are you sure you want to deactivate the user '<?php echo $user->username; ?>'</p>
<?php echo form_open("auth/deactivate/".$user->id);?>
<p>
<label for="confirm">Yes:</label>
<inpu... | PHP |
<h1>Forgot Password</h1>
<p>Please enter your email address so we can send you an email to reset your password.</p>
<div id="infoMessage"><?php echo $message;?></div>
<?php echo form_open("auth/forgot_password");?>
<p>Email Address:<br />
<?php echo form_input($email);?>
</p>
<p><?php ... | PHP |
<html>
<body>
<h1>New Password for <?php echo $identity;?></h1>
<p>Your password has been reset to: <?php echo $new_password;?></p>
</body>
</html> | PHP |
<html>
<body>
<h1>Reset Password for <?php echo $identity;?></h1>
<p>Please click this link to <?php echo anchor('auth/reset_password/'. $forgotten_password_code, 'Reset Your Password');?>.</p>
</body>
</html> | PHP |
<html>
<body>
<h1>Activate account for <?php echo $identity;?></h1>
<p>Please click this link to <?php echo anchor('auth/activate/'. $id .'/'. $activation, 'Activate Your Account');?>.</p>
</body>
</html> | PHP |
<div class='mainInfo'>
<h1>Users</h1>
<p>Below is a list of the users.</p>
<div id="infoMessage"><?php echo $message;?></div>
<table cellpadding=0 cellspacing=10>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
<th>Groups</th>
<th>Status</th>
</tr>
<?php foreach ($users as $user... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Location: http://github.com/benedmunds/CodeIgniter-Ion-Auth
*
* Created: 10.01.2009
*
* Description: Modif... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Model
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Location: http://github.com/benedmunds/CodeIgniter-Ion-Auth
*
* Created: 10.01.2009
*
* Description:... | PHP |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Auth extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->library('ion_auth');
$this->load->library('session');
$this->load->library('form_validation');
$this->load->database();
$this->load->helpe... | PHP |
<?php
# Load the Ion Auth library when the spark is loaded
$autoload['libraries'] = array('ion_auth');
| PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Ion Auth Config
*
* Author: Ben Edmunds
* ben.edmunds@gmail.com
* @benedmunds
*
* Added Awesomeness: Phil Sturgeon
*
* Location: http://github.com/benedmunds/ion_auth/
*
* Created: 10.01.2009
*
... | PHP |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</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 {... | PHP |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</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 {... | PHP |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>
<link rel="stylesheet" type="text/css" href="<?php asset('public/css/style.css') ?>" />
</head>
<body>
<div id="container">
<h1>Welcome to CodeIgniter!</h1>
<div id="body">
<p>
<img src="<?php asset('public... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('asset'))
{
function asset($param, $group = FALSE, $ignore = FALSE)
{
// Get the superobject
$CI =& get_instance();
// Load the asset config file, if not loaded already
$CI->load->config('asset_manager', TRUE)... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('optimize_image'))
{
function optimize_image($file, $quality = 90)
{
// Check that the file isn't already compressed
if (preg_match('/^\.compressed\./', pathinfo($file, PATHINFO_FILENAME)))
{
return $file;
}... | 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 |
<!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 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php
| PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php
/**
* $Id$
*
* Copyright (c) 2011, Donovan Schönknecht. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this l... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Med... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php
Class Pre_system {
/**
*
* Enter description here ...
*/
function install_check()
{
if ( ! preg_match('/admin\/install/', $_SERVER['REQUEST_URI']) &&
! file_exists(APPPATH.'config/base.php'))
{
// Log a little message so we know where we are
log_message('error', 'Config file "base.php" doesn... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Install_model extends CI_Model {
function __construct()
{
parent::__construct();
$this->load->dbforge();
}
function check_dirs()
{
}
function check_database()
{
}
function create_config_file()
{
}
function edit_se... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Base Model
*
* A base model for all functions which will be used site-wide
*
* IMPORTANT - if your function will not be used site wide, do not put it in here!
*
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @since 2012-0... | PHP |
<?php
class User extends CI_Model {
function __construct()
{
parent::__construct();
echo "<h1>Yes</h1>";
}
}
| PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Asset Manager
*
* Software to automatically manage how assets are delivered on a website
*
* @package Asset Manager
* @author Adam Lewis <adam.lewis@bestservedcold.com>
* @copyright Copyright (c) 2006 - 2012, Best Served Cold Medi... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Sparks
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author CodeIgniter Reactor Dev Team
* @author Kenny Katzgrau <katzgrau@gmail.com>
* @since CodeIgniter Version 1... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Homepage 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Install extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->model('admin/install_model', 'install');
$this->load->helper('form');
}
function index()
{
$this->load->view('admin/install/check'... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.