code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php
/**
* Roots includes
*
* The $roots_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/roots/pull/1042
*/
$roots_... | PHP |
<?php get_template_part('templates/content', 'single'); ?>
| PHP |
<?php
if (post_password_required()) {
return;
}
?>
<section id="comments">
<?php if (have_comments()) : ?>
<h3><?php printf(_n('One Response to “%2$s”', '%1$s Responses to “%2$s”', get_comments_number(), 'roots'), number_format_i18n(get_comments_number()), get_the_title()); ?></h3... | PHP |
<div class="page-header">
<h1>
<?php echo roots_title(); ?>
</h1>
</div>
| PHP |
<?php echo get_avatar($comment, $size = '64'); ?>
<div class="media-body">
<h4 class="media-heading"><?php echo get_comment_author_link(); ?></h4>
<time datetime="<?php echo get_comment_date('c'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?>"><?php printf(__('%1$s', 'roots'),... | PHP |
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<h4><?php the_title(); ?></h4>
<?php get_template_part('templates/entry-meta'); ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php wp_link_pages(array('before' => '<nav class="page-... | PHP |
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<nav class="pagination">', 'after' => '</nav>')); ?> | PHP |
<time class="published" datetime="<?php echo get_the_time('c'); ?>"><?php echo get_the_date(); ?></time>
<p class="byline author vcard"><?php echo __('By', 'roots'); ?> <a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>" rel="author" class="fn"><?php echo get_the_author(); ?></a></p>
| PHP |
<footer>
<div class="container">
<div id="mainFooter" class="row">
<div class="col-md-8">
<?php
$footerNav1 = array(
'theme_location' => '',
'menu' => '旭化成の住まい',
'menu_class' => 'list02',
'echo' => true,
... | PHP |
<?php dynamic_sidebar('sidebar');
$faetureUser = array(
'menu' => 'Sidebar',
'menu_class' => 'nav main-menu',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'items_wrap' => '<ul class="%2$s">%3$s</ul>',
'walker' => new themeslug_walker_nav_menu(),
);
wp_nav_men... | PHP |
<header>
<div class="topHeader">
<div class="container">
<div class="row">
<?php
$siteNav = array(
'menu' => 'Site Navigation',
'menu_class' => 'nav navbar-nav',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
... | PHP |
<article <?php post_class(); ?>>
<header>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php get_template_part('templates/entry-meta'); ?>
</header>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div>
</article>
| PHP |
<!DOCTYPE html>
<html lang="en" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title('|', true, 'right'); ?></title>
<?php wp_head(); ?>
... | PHP |
<?php dynamic_sidebar('home-body'); ?> | PHP |
<form role="search" method="get" class="search-form form-inline" action="<?php echo esc_url(home_url('/')); ?>">
<label class="sr-only"><?php _e('Search for:', 'roots'); ?></label>
<div class="input-group">
<input type="search" value="<?php echo get_search_query(); ?>" name="s" class="search-field form-control"... | PHP |
<?php get_template_part('templates/page', 'header'); ?>
<?php if (!have_posts()) : ?>
<div class="alert alert-warning">
<?php _e('Sorry, no results were found.', 'roots'); ?>
</div>
<?php get_search_form(); ?>
<?php endif; ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/c... | PHP |
<?php get_template_part('templates/page', 'header'); ?>
<div class="alert alert-warning">
<?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
</div>
<p><?php _e('It looks like this was the result of either:', 'roots'); ?></p>
<ul>
<li><?php _e('a mistyped address', 'roots'); ?></l... | PHP |
<?php
/*
Template Name: Custom Template
*/
?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'page'); ?>
<?php endwhile; ?>
| PHP |
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'page'); ?>
<?php endwhile; ?>
| PHP |
<?php
/**
* Use Bootstrap's media object for listing comments
*
* @link http://getbootstrap.com/components/#media
*/
class Roots_Walker_Comment extends Walker_Comment {
function start_lvl(&$output, $depth = 0, $args = array()) {
$GLOBALS['comment_depth'] = $depth + 1; ?>
<ul <?php comment_class('media lis... | PHP |
<?php
/**
* Scripts and stylesheets
*
* Enqueue stylesheets in the following order:
* 1. /theme/assets/css/main.css
*
* Enqueue scripts in the following order:
* 1. jquery-1.11.1.min.js via Google CDN
* 2. /theme/assets/js/vendor/modernizr.min.js
* 3. /theme/assets/js/scripts.js (in footer)
*
* Google Analyt... | PHP |
<?php
/**
* Theme wrapper
*
* @link http://roots.io/an-introduction-to-the-roots-theme-wrapper/
* @link http://scribu.net/wordpress/theme-wrappers.html
*/
function roots_template_path() {
return Roots_Wrapping::$main_template;
}
function roots_sidebar_path() {
return new Roots_Wrapping('templates/sidebar.php'... | PHP |
<?php
/**
* Enable theme features
*/
add_theme_support('soil-clean-up'); // Enable clean up from Soil
add_theme_support('soil-relative-urls'); // Enable relative URLs from Soil
add_theme_support('soil-nice-search'); // Enable /?s= to /search/ redirect from Soil
add_theme_support('bootstrap-gallery'); ... | PHP |
<?php
/**
* Page titles
*/
function roots_title() {
if (is_home()) {
if (get_option('page_for_posts', true)) {
return get_the_title(get_option('page_for_posts', true));
} else {
return __('Latest Posts', 'roots');
}
} elseif (is_archive()) {
$term = get_term_by('slug', get_query_var('t... | PHP |
<?php
/**
* Roots initial setup and constants
*/
function roots_setup() {
// Make theme available for translation
// Community translations can be found at https://github.com/roots/roots-translations
load_theme_textdomain('roots', get_template_directory() . '/lang');
// Register wp_nav_menu() menus
// http... | PHP |
<?php
/**
* Determines whether or not to display the sidebar based on an array of conditional tags or page templates.
*
* If any of the is_* conditional tags or is_page_template(template_file) checks return true, the sidebar will NOT be displayed.
*
* @link http://roots.io/the-roots-sidebar/
*
* @param array lis... | PHP |
<?php
/**
* Cleaner walker for wp_nav_menu()
*
* Walker_Nav_Menu (WordPress default) example output:
* <li id="menu-item-8" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8"><a href="/">Home</a></li>
* <li id="menu-item-9" class="menu-item menu-item-type-post_type menu-item-object-pa... | PHP |
<?php
/**
* Clean up gallery_shortcode()
*
* Re-create the [gallery] shortcode and use thumbnails styling from Bootstrap
* The number of columns must be a factor of 12.
*
* @link http://getbootstrap.com/components/#thumbnails
*/
function roots_gallery($attr) {
$post = get_post();
static $instance = 0;
$in... | PHP |
<?php
/**
* Clean up the_excerpt()
*/
function roots_excerpt_more($more) {
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'roots') . '</a>';
}
add_filter('excerpt_more', 'roots_excerpt_more');
/**
* Manage output of wp_title()
*/
function roots_wp_title($title) {
if (is_feed()) {
r... | PHP |
<?php
/**
* Utility functions
*/
function is_element_empty($element) {
$element = trim($element);
return !empty($element);
}
// Tell WordPress to use searchform.php from the templates/ directory
function roots_get_search_form($form) {
$form = '';
locate_template('/templates/searchform.php', true, false);
r... | PHP |
<?php
/**
* Theme activation
*/
if (is_admin() && isset($_GET['activated']) && 'themes.php' == $GLOBALS['pagenow']) {
wp_redirect(admin_url('themes.php?page=theme_activation_options'));
exit;
}
function roots_theme_activation_options_init() {
register_setting(
'roots_activation_options',
'roots_theme_a... | PHP |
<?php
/**
* WordPress User Page
*
* Handles authentication, registering, resetting passwords, forgot password,
* and other user handling.
*
* @package WordPress
*/
/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname(__FILE__) . '/wp-load.php' );
// Redirect to https login ... | PHP |
<?php
/**
* Handle Trackbacks and Pingbacks Sent to WordPress
*
* @since 0.71
*
* @package WordPress
* @subpackage Trackbacks
*/
if (empty($wp)) {
require_once( dirname( __FILE__ ) . '/wp-load.php' );
wp( array( 'tb' => '1' ) );
}
/**
* Response to a trackback.
*
* Responds with an error or success XML me... | PHP |
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex pag... | PHP |
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
| PHP |
<?php
/** Sets up the WordPress Environment. */
require( dirname(__FILE__) . '/wp-load.php' );
add_action( 'wp_head', 'wp_no_robots' );
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( ... | PHP |
<?php
$pageTitle = "Advetisement";
include 'includes/header.php';
include 'includes/DBConnection.php';
?>
<?php
if(!isset($_GET['type']) || !isset($_GET['id']) )
{
$_SESSION['ErrorText'] = "Error loading advertisement!!";
header("location:errorpage.php");
}
... | PHP |
<?php
$pageTitle = "Publish Advertisement";
# $_GET['id'] must be set to ID of the Advertisement
if(isset($_POST['submit']))
{
extract($_POST);
require 'includes/mobileadvertisement.php';
$ad = new MobileAdvertisement();
$ad->publishAdvertisement($id , $duration );
echo 'Done....';
echo... | PHP |
<?php
session_start();
$pageTitle="Customer Registration";
include 'includes/header.php';
include 'includes/DBConnection.php';
include 'includes/Customer.php';
// Going to save the registration details
if(isset($_SESSION['role'])){
if($_SESSION['role']==1){
$_SESSION[... | PHP |
<?php
$pageTitle = "Real Estate Advertisement";
session_start();
//Users mustbe logged in
if(!isset($_SESSION['UserID']))
{
header("location:login.php");
exit;
}
require 'includes/realestateadvertisement.php';
//Variables needed for later use
$size = "" ; //Size of the estate
$descripti... | PHP |
<?php
#AdSearch.php
#
#used to search ads
//Check whether the form is submitted
if (isset($_POST['submit']))
{
}
$pageTitle = 'Ad Search';
include 'includes/header.php';
?>
<script type="text/javascript" language="javascript" src="scripts/adsearch.js"></script>
<br />
<div >
<span style=... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
$pageTitle = "Manage Phone Makes";
include 'includes/header.php';
include_once 'includes/DBConnection.php';
//Users mustbe logged in
if(!isset($_SESSION['UserID']))
{
$_SESSION['redirect']=$_... | PHP |
<?php
#SearchResult.php
#for displaying search results
$pageTitle = 'Search Results';
require 'includes/adsearch.inc';
include 'includes/header.php';
echo "<script language='javascript' src='scripts/searchresult.js' > </script>";
?>
<br />
<div>
<input type="button" value="Print" onclick="return w... | PHP |
<?php
$pageTitle = "Customer";
include 'includes/header.php';
include_once 'includes/Customer.php';
include_once 'includes/DBConnection.php';
?>
<?php
if(isset($_GET['id'])){
$cust=new Customer(0);
$cust->getDetails($_GET['id']);
echo $cust->__get('initials')." ".$cust->__ge... | PHP |
<?php
session_start();
$invalid=false;
include 'includes/dbconnection.php';
function loginUser()
{
extract($_POST);
$DBCon = new DBConnection();
//hash the password
$password = md5($password);
//Prepare the query
... | PHP |
<?php
$pageTitle = "Mobile Advertisement";
?>
<?php include ('includes/header.php');
include "includes/DBConnection.php";
include_once('includes/MobileAdvertisement.php');
?>
<style type="text/css" >
h2{
background-color:#ccffcc;
font-weight: lighter;
... | PHP |
<?php
#for ajax in ads.php
include_once "includes/adbrowser.php";
if(!isset($_GET['type']) || !isset($_GET['step']) )
{
exit;
}
extract ($_GET);
if($type == 'e')
{
$Ad = new AdBrowser();
$Ad->position = $step;
$Ad->Browse(2,$method);
}
else if($type == 'a')
{
... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
include '../includes/DBConnection.php';
if(isset($_GET['val'])){
$con=new DBConnection();
$db=$con->getConnection();
$like=$_GET['val']."%";
$query="SELECT NIC FROM customer WHERE NIC LIKE '$like... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
$pageTitle = "Manage Phone Makes";
include 'includes/header.php';
include_once 'includes/DBConnection.php';
?>
<style type="text/css">
table,th,td{
border:1px solid yellowgreen;
... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
$pageTitle = "Add New Administrator";
include 'includes/header.php';
include_once 'includes/DBConnection.php';
include 'includes/Customer.php';
//User has admin power
echo "<f... | PHP |
<?php
session_start();
$pageTitle = "New Advertisement";
include 'includes/header.php';
if(isset($_SESSION['role'])){
/*if($_SESSION['role']==1){
$_SESSION['ErrorText']="You are not allowed to perform this action!.";
header("location:errorPage.php");
}*/
}else if(!isset($_SESSION['U... | PHP |
<?php
session_start();
if(!isset($_SESSION['role']) || $_SESSION['role'] != 0)
{
$_SESSION['ErrorText'] = "Restricted Area!!!";
header('location:errorpage.php');
}
$pageTitle = "Ad validator";
include 'includes/header.php';
?>
<?php
if(isset($_POST['submit']))
{
require 'i... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
$pageTitle = "Add New Administrator";
include 'includes/header.php';
include_once 'includes/DBConnection.php';
include 'includes/Customer.php';
//Users mustbe logged in
if(!isset($_SESSION['U... | PHP |
<?php
$pageTitle = "Advertisements";
include 'includes/header.php';
include 'includes/ADBrowser.php';
?>
<script src="scripts/ads.js" type="text/javascript" language="javascript"></script>
<h3 class="caption"><u>Phone Advertisements</u></h3>
<div >
<select style="float: right; margin-right: 20px;" id... | PHP |
<?php
$pageTitle = "Error";
include 'includes/header.php'
?>
<h3 style="color: red;">An error occured</h3><br />
<?php
if(isset($_SESSION['ErrorText']))
{
echo '<span style=\'color:maroon\'>';
echo $_SESSION['ErrorText'];
echo '</span>';
}
?>
<br /><br /><b><a href="index.php">Click ... | PHP |
<?php
$pageTitle = "Advertisements";
include_once 'includes/header.php';
?>
<script src="scripts/publicads.js" language="javascript"></script>
<div > <b> Select Advertisement Type</b>
<br />
<div style="margin-top:20px;">
<input type="button" id="Phone" value="Phone Adve... | PHP |
<?php
$pageTitle="Automobile Advertisement";
session_start();
//
require 'includes/automobileadvertisement.php';
//Variables for holding various data
$NIC = "";
$ad_id = "";
$make ="";
$model ="";
$price ="";
$mileage ='';
$year = '';
$description="";
if(isset($_GET['updateid'])) //update
{
han... | PHP |
<?php
#for displaying ads of current user
$pageTitle = "My Advertisements";
include 'includes/header.php';
?>
<h3 class="caption">Advertisements submitted by me</h3>
<br />
<?php
require 'includes/myads.php';
if(isset($_SESSION['NIC']))
{
$myads = new MyAds($_SESSION['NIC']... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Advertisement
*
* @author Harindra
*/
abstract class Advertisement {
//put your code here
protected $adID;
protected $added_date;
protected $life_time;
protected ... | PHP |
<?php
#MyAds.php
#this is the class for diplaying advertisements related to specific NIC no
require_once 'DBConnection.php';
class MyAds{
#NIC of the owner
private $NIC;
static $var = 0 ;
//Constructor
public function __construct(... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of MobileAdvertiesement
*
* @author Harindra
*/
include_once('advertisement.php');
include_once('dbconnection.php');
class MobileAdvertisement extends Advertisement {
//Class var... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of User
*
* @author Harindra
*/
abstract class SystemUser {
//put your code here
protected $Username;
protected $Password;
protected $Email;
protected $uRole;
}
?>
| PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Customer
*
* @author Harindra
*/
include 'SystemUser.php';
class Customer extends SystemUser{
//put your code here
private $idNo,$initials,$lastName,$address,$telHome,$telOffice,$... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of AutoMobileAdvertisement
*
* @author Harindra
*/
include_once 'Advertisement.php';
include_once 'dbconnection.php';
class AutoMobileAdvertisement extends Advertisement{
//put your code... | PHP |
<?php
if(!session_id())
session_start();
$loginText = "Sign In";
if(isset($_SESSION['UserID']) && $_SESSION['UserID'] != 0)
{
$loginText ="Sign Out <b>".$_SESSION['uname']."</b>";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E... | PHP |
<?php
#AdSearch.inc
#class for searching ads
require 'DBConnection.php';
#Begin class definition
class AdSearch{
private $step = 10;
private $cMaxVisible = 10;
//Class constants
const SEARCH_AUTOMOBILE = 1;
const SEARCH_MOBILE = 2;
const SEARCH_REAL_ESTATE = 3;
... | PHP |
<!-- this is for ajax. not a web page -->
<?php
require_once('adbrowser.php');
//Check whether ad type and searching method is set
if(!isset($_GET['type']) || !isset($_GET['method']) )
{
die('Invalid request');
}
extract($_GET);
$adbrowser = new AdBrowser... | PHP |
<?php
if(!isset($_SESSION['NIC'])|| !isset($_SESSION['role']))
{
exit;
}
if(!isset($_GET['type'])|| !isset($_GET['id']))
{
exit;
}
extract($_GET);
if(!is_numeric($id))
{
exit('Invalid id specified');
}
$query1 ... | PHP |
<?php
require 'DBConnection.php';
class AdChecker
{
private $curDate;
public function __construct()
{
$this->curDate = strtotime(date('Y-n-j'));
}
public function Check()
{
echo '<br/>';
$updateQuery = "";
$updatedCount = 0;
... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of DBConnection
*
* @author Harindra
*/
class DBConnection {
//put your code here
private $server,$database,$username,$password;
private $db_connection;
public function __c... | PHP |
<?php
/**
* @author Kanchana
* @copyright 2011
*/
require_once 'DBConnection.php';
class AdBrowser
{
//Class constants
const SEARCH_ALL = 0; //Search all adds including active and inactive
const SEARCH_ACTIVE = 1; //search only active ads
const SEARCH_PUBLISHED = 2;//Search all... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of RealEstateAdvertisement
*
* @author Harindra
*/
include_once('advertisement.php');
include_once('dbconnection.php');
class RealEstateAdvertisement extends Advertisement {
... | PHP |
<?php
$pageTitle = "Home Page";
include 'includes/header.php' ?>
<!-- Script tags goes here -->
<p><b>Search all customers currently registered.</b></p>
<p>Enter NIC Number here <input type="text" id="NICNo"/>
<input type="button" id="SearchCustomer" value="Search" />
</p><br />
<p><b>Search advertisemen... | PHP |
<?php
session_start();
$pageTitle = "Customer";
include 'includes/header.php';
include 'includes/DBConnection.php';
include 'includes/Customer.php';
if(isset($_SESSION['role'])){
if($_SESSION['role']==1){
$_SESSION['ErrorText']="You are not allowed to perform this action!.";... | PHP |
<?php /* <body><pre>
-------------------------------------------------------------------------------------------
CKEditor - Posted Data
We are sorry, but your Web server does not support the PHP language used in this script.
Please note that CKEditor can be used with any other server-side language than ... | PHP |
<!DOCTYPE html>
<?php
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
?>
<html>
<head>
<meta charset="utf-8">
<title>Sample — CKEditor</title>
<link rel="stylesheet" href="sample.css">
</head>
<body>
<... | PHP |
<?php
$lang['upload_userfile_not_set'] = "Unable to find a post variable called userfile.";
$lang['upload_file_exceeds_limit'] = "The uploaded file exceeds the maximum allowed size in your PHP configuration file.";
$lang['upload_file_exceeds_form_limit'] = "The uploaded file exceeds the maximum size allowed by the sub... | PHP |
<?php
$lang['cal_su'] = "Su";
$lang['cal_mo'] = "Mo";
$lang['cal_tu'] = "Tu";
$lang['cal_we'] = "We";
$lang['cal_th'] = "Th";
$lang['cal_fr'] = "Fr";
$lang['cal_sa'] = "Sa";
$lang['cal_sun'] = "Sun";
$lang['cal_mon'] = "Mon";
$lang['cal_tue'] = "Tue";
$lang['cal_wed'] = "Wed";
$lang['cal_thu'] = "Th... | PHP |
<?php
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
$... | PHP |
<?php
$lang['date_year'] = "Year";
$lang['date_years'] = "Years";
$lang['date_month'] = "Month";
$lang['date_months'] = "Months";
$lang['date_week'] = "Week";
$lang['date_weeks'] = "Weeks";
$lang['date_day'] = "Day";
$lang['date_days'] = "Days";
$lang['date_hour'] = "Hour";
$lang['date_hours'] = "Hours";
$lang['date_m... | PHP |
<?php
$lang['ut_test_name'] = 'Test Name';
$lang['ut_test_datatype'] = 'Test Datatype';
$lang['ut_res_datatype'] = 'Expected Datatype';
$lang['ut_result'] = 'Result';
$lang['ut_undefined'] = 'Undefined Test Name';
$lang['ut_file'] = 'File Name';
$lang['ut_line'] = 'Line Number';
$lang['ut_passed'] = 'Passed'... | PHP |
<?php
$lang['email_must_be_array'] = "The email validation method must be passed an array.";
$lang['email_invalid_address'] = "Invalid email address: %s";
$lang['email_attachment_missing'] = "Unable to locate the following email attachment: %s";
$lang['email_attachment_unreadable'] = "Unable to open this attachment: %... | PHP |
<?php
$lang['required'] = "The %s field is required.";
$lang['isset'] = "The %s field must have a value.";
$lang['valid_email'] = "The %s field must contain a valid email address.";
$lang['valid_emails'] = "The %s field must contain all valid email addresses.";
$lang['valid_url'] = "The %s field must contain ... | PHP |
<?php
$lang['migration_none_found'] = "No migrations were found.";
$lang['migration_not_found'] = "This migration could not be found.";
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could ... | PHP |
<?php
$lang['imglib_source_image_required'] = "You must specify a source image in your preferences.";
$lang['imglib_gd_required'] = "The GD image library is required for this feature.";
$lang['imglib_gd_required_for_props'] = "Your server must support the GD image library in order to determine the image properties.";
... | PHP |
<?php
$lang['ftp_no_connection'] = "Unable to locate a valid connection ID. Please make sure you are connected before peforming any file routines.";
$lang['ftp_unable_to_connect'] = "Unable to connect to your FTP server using the supplied hostname.";
$lang['ftp_unable_to_login'] = "Unable to login to your FTP serv... | PHP |
<?php
$lang['terabyte_abbr'] = "TB";
$lang['gigabyte_abbr'] = "GB";
$lang['megabyte_abbr'] = "MB";
$lang['kilobyte_abbr'] = "KB";
$lang['bytes'] = "Bytes";
/* End of file number_lang.php */
/* Location: ./system/language/english/number_lang.php */ | PHP |
<?php
$lang['profiler_database'] = 'DATABASE';
$lang['profiler_controller_info'] = 'CLASS/METHOD';
$lang['profiler_benchmarks'] = 'BENCHMARKS';
$lang['profiler_queries'] = 'QUERIES';
$lang['profiler_get_data'] = 'GET DATA';
$lang['profiler_post_data'] = 'POST DATA';
$lang['profiler_uri_string'] = 'URI STRING';
$la... | 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 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.