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 4.3.2 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://www.... | 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 defined('BASEPATH') OR exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2006 - 2012, EllisLab, Inc.
* @license http://codeigniter.com/use... | 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) 2006 - 2012, 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 EllisLab Dev Team
* @copyright Copyright (c) 2006 - 2012, EllisLab, Inc.
* @license http://codeigniter.c... | 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://codeig... | 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 |
<?php
$lang['file_mng_library'] ='Thư viện';
$lang['file_mng_choose_file_upload'] ='Chọn tập tin Upload ';
$lang['file_mng_upload_file'] ='Upload tập tin';
$lang['file_mng_choose_file'] ='Chọn tập tin';
$lang['file_mng_add_file']="Thêm tập tin";
$lang['file_mng_image']='Ảnh';
$lang['file_mng_title']='Tiêu đề';... | 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... | 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['news']="Tin Tức";
$lang['news_name'] = "Tiêu đề";
$lang['news_name_en'] = "Tiêu đề tiếng Anh";
$lang['news_description'] = "Mô tả ngắn";
$lang['news_description_en'] = "Mô tả ngắn tiếng Anh";
$lang['news_content'] = "Chi tiết";
$lang['news_content_en'] = "Chi tiết tiếng Anh";
$lang['news... | PHP |
<?php
/* Category **/
$lang['category_news'] = "Chuyên mục tin tức";
$lang['category_news_name'] = "Tên tiếng Việt";
$lang['category_news_name_en'] = "Tên tiếng Anh";
$lang['category_news_code'] = "Mã chuyên mục tin tức";
$lang['category_news_parent'] = "Chuyên mục cha";
$lang['category_news_select_parent'] = "Ch... | PHP |
<?php
$lang['required'] = "%s không được để trống .";
$lang['isset'] = "%s phải có một giá trị.";
$lang['valid_email'] = "%s phải là một địa chỉ Email hợp lệ.";
$lang['valid_emails'] = "%s phải là những địa chỉ Email hợp lệ.";
$lang['valid_url'] = "%s phải là một U... | PHP |
<?php
/* Category **/
$lang['doanhnghiep_category_name'] = "Tên doanh nghiệp";
?> | PHP |
<?php
$lang['dsq_title'] = "Tiêu đề";
$lang['dsq_description'] = "Mô tả ngắn";
$lang['dsq_content'] = "Chi tiết";
$lang['dsq_image']="Hình đại diện";
$lang['dsq_danhsach']="Danh sách đại sứ quán";
$lang['functions']="Chức năng";
//============== CATEGORY============
$lang['dsq_category']="Tên hội đồng hươn... | PHP |
<?php
$lang['file_mng_library'] ='Thư viện';
$lang['file_mng_choose_file_upload'] ='Chọn tập tin Upload ';
$lang['file_mng_upload_file'] ='Upload tập tin';
$lang['file_mng_choose_file'] ='Chọn tập tin';
$lang['file_mng_add_file']="Thêm tập tin";
$lang['file_mng_image']='Ảnh';
$lang['file_mng_title']='Tiêu đề';... | 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['title'] = "Tiêu đề";
$lang['short']="Tin vắn tắt";
$lang['content']="Chi tiết";
$lang['tag']="Tag";
$lang['select']="--- Select ---";
$lang['add'] = "Đăng tin mới";
$lang['functions']="Chức năng";
$lang['logo']="Hình ảnh";
$lang['order']="Thứ tự";
$lang['status']="Trạng thái";
?>
| PHP |
<?php
$lang['file_image_cat'] = "Danh mục hình ảnh";
$lang['file_image_name'] = "Tiêu đề tiếng Việt";
$lang['file_image_name_en'] = "Tiêu đề tiếng Anh";
$lang['file_image_description'] = "Mô tả ngắn tiếng Việt";
$lang['file_image_description_en'] = "Mô tả ngắn tiếng Anh";
$lang['file_image_seo_keyword'] = "Từ khóa tìm ... | PHP |
<?php
$lang['title'] = "Tiêu đề";
$lang['short']="Tin vắn tắt";
$lang['content']="Chi tiết";
$lang['description'] = "Mô tả ngắn";
$lang['description_en'] = "Mô tả ngắn tiếng Anh";
$lang['tag']="Tag";
$lang['select']="--- Select ---";
$lang['add'] = "Đăng tin mới";
$lang['update'] = "Cập nhật";
$lang['ima... | PHP |
<?php
$lang['title'] = "Tiêu đề";
$lang['description'] = "Mô tả ngắn";
$lang['content'] = "Chi tiết";
$lang['image']="Hình đại diện";
$lang['danhsach']="Danh sách đại sứ quán";
$lang['functions']="Chức năng";
//============== CATEGORY ============
$lang['category']="Tên hội đồng hương";
$lang['title_add']... | PHP |
<?php
$lang['hoidonghuong_title'] = "Tiêu đề";
$lang['hoidonghuong_description'] = "Mô tả ngắn";
$lang['hoidonghuong_content'] = "Chi tiết";
$lang['hoidonghuong_image']="Hình đại diện";
$lang['hoidonghuong_danhsach']="Danh sách đại sứ quán";
$lang['functions']="Chức năng";
//============== CATEGORY ========... | PHP |
<?php
$lang['home'] = "Home";
$lang['show'] = "Show";
$lang['games'] = "Games";
$lang['artists'] = "Artists";
$lang['spotlight'] = "Spotlight";
$lang['menu.news'] = "News";
$lang['about'] = "About";
$lang['setup'] = "Music";
$lang['album'] = "Album";
$lang['timeline'] = "Timeline";
$lang['group_song'] = "Gro... | PHP |
<?php
/********* Admin *****************/
$lang['system_manager']="Quản trị hệ thống";
$lang['delete']='Xóa';
$lang['record'] = "Dòng";
$lang['total'] = "Tổng";
$lang['email']='Email';
$lang['functions'] = "Chức năng";
$lang['active'] = "Đã kích hoạt";
$lang['content'] = "Nội dung";
$lang['deactive'] = "Ch... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
| 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... | PHP |
<?php
$lang['file_mng_library'] ='Thư viện';
$lang['file_mng_choose_file_upload'] ='Chọn tập tin Upload ';
$lang['file_mng_upload_file'] ='Upload tập tin';
$lang['file_mng_choose_file'] ='Chọn tập tin';
$lang['file_mng_add_file']="Thêm tập tin";
$lang['file_mng_image']='Ảnh';
$lang['file_mng_title']='Tiêu đề';... | 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['file_image_cat'] = "Danh mục hình ảnh";
$lang['file_image_name'] = "Tiêu đề tiếng Việt";
$lang['file_image_name_en'] = "Tiêu đề tiếng Anh";
$lang['file_image_description'] = "Mô tả ngắn tiếng Việt";
$lang['file_image_description_en'] = "Mô tả ngắn tiếng Anh";
$lang['file_image_seo_keyword'] = "Từ khóa tìm ... | PHP |
<?php
$lang['home'] = "Home";
$lang['show'] = "Show";
$lang['games'] = "Games";
$lang['artists'] = "Artists";
$lang['spotlight'] = "Spotlight";
$lang['menu.news'] = "News";
$lang['about'] = "About";
$lang['setup'] = "Music";
$lang['album'] = "Album";
$lang['timeline'] = "Timeline";
$lang['group_song'] = "Gro... | PHP |
<script type="text/javascript">
function insert(file){
$("#hinhanh", top.document).val(file);
windowClose();
}
</script>
<?
$seg2 = $this->router->fetch_method();
?>
<div class="media-upload-header">
<ul id="menu">
<li><a href="<?=base_url()?>mod_file_ma... | PHP |
<ul class="list_img">
<?foreach($list as $rs):?>
<li>
<div>
<img onclick="javascript:insertImage('<?=base_url_site().'uploads/images/'.$rs->lb_dir.'/'.$rs->lb_name?>','<?=$rs->lb_name?>')" src="<?=base_url_site().'uploads/images/'.$rs->lb_dir.'/'.$rs->lb_name?>" alt="" class=... | PHP |
<script type="text/javascript">
function auto_search(url_search)
{
var key_search = $("#key_search").val();
$.ajax({
type: "POST",
url: "<?=base_url()?>"+url_search,
data: {key_search:key_search,field_search:$("#field_search").val(),type:"ajax",category... | PHP |
<!-- Bootstrap styles -->
<link rel="stylesheet" href="<?=base_url()?>templates/js/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- blueimp Gallery styles -->
<link rel="stylesheet" href="<?=base_url()?>templates/js/fileupload/io/blueimp-gallery.min.css">
<!-- CSS to style the file input field as button and adjust th... | PHP |
<div class="clear"></div>
<table class="site">
<tr>
<td colspan="6">
<? //if($this->acl->check('dels')){ ?>
<input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?=lang('admin.deletes');... | PHP |
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="<?=base_url()?>templates/js/jcrop/jquery.min.js"></script>
<script type="text/javascript" src="<?=base_url()?>templates/js/jcrop/jquery.Jcrop.min.js"></script>
<link rel="stylesheet" href="<?=base_url()?>templates/js/jcrop/css/jquery.Jcrop.css" type... | PHP |
<table class="form">
<tr>
<td class="label required">Category</td>
<td>
<select class="w200" name="image_category_id" id="image_category_id">
<option value="">Category</option>
<?php foreach($list_category as $category){
echo '<o... | PHP |
<link rel="stylesheet" type="text/css" href="<?=base_url();?>templates/css/ui/colorbox.css" />
<script type="text/javascript">
var arr_obj_img = new Array();
function auto_search(url_search)
{
var key_search = $("#key_search").val();
$.ajax({
type: "POST",
... | PHP |
<?php
function searchBar($class=array(),$option,$url_search)
{
$CI =& get_instance();
$search_bar = isset($class['search_bar'])?$class['search_bar']:'search_bar';
$key_search = isset($class['key_search'])?$class['key_search']:'key_search';
$field_search = isset($class['field_search'])?$class['fiel... | PHP |
<?php
function fn_resize_image($src, $dest, $new_width = 0, $new_height = 0, $make_box = true, $bg_color = '#ffffff', $save_original = false)
{
static $notification_set = false;
static $gd_settings = array();
if(file_exists($dest))
{
unlink($dest);
}
if (file_exists($src) && !empty($dest) &... | PHP |
<?php
/*
* jQuery File Upload Plugin PHP Class 6.9.0
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
class UploadHandler
{
protected $options;
// PH... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Image_model extends CI_Model{
function __construct()
{
parent::__construct();
}
function getAllFile($num,$offset,$arr_search=array())
{
$this->db->select('sys_image_data.*,sys_image_category.image_catego... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Multi_Upload extends CI_Controller
{
protected $_templates;
function __construct()
{
parent::__construct();
$this->pre_message = "";
$this->load->model('image_model','image');
$this->lang->load('... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Image_Manager extends CI_Controller
{
protected $_templates;
public $_module_name = "";
function __construct()
{
parent::__construct();
$this->pre_message = "";
$this->load->helper('search') ;
$this-... | PHP |
<? if (! defined('BASEPATH')) exit('No direct script access allowed');
class image_manager_editor extends CI_Controller
{
protected $_templates;
function __construct()
{
parent::__construct();
$this->pre_message ='';
$this->load->model('image_model','image');
$this->load->... | PHP |
<style type="text/css">
* {
font-family: Verdana, Geneva, sans-serif;
font-weight: 12px;
}
</style>
<?=form_open(uri_string());?>
<?
$cm_kind = $this->config->item('cm_kind') ;
?>
<table class="form" width="100%">
<tr>
<td class="label">Loại comment</td>
<td><?=$cm_kind["$rs->kind"]... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="label">Loại comment</td>
<td><select name="cm_kind" id="cm_kind" class="w250">
<?
$cm_kind = $this->config->item('cm_kind') ;
for($i=0;$i<count($cm_kind);$i++){
?>
<option value="<?=$i?>"><?=$cm_kind[$i]?></... | PHP |
<!--<script src="<?php echo base_url_site();?>templates/js/realtime/socket.io.js"></script>
<script src="<?php echo base_url_site();?>templates/js/realtime/realtime.js"></script>-->
<?
$attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open($this->_module_name.'/comment/trashes', $attributes);... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="label">Loại comment</td>
<td><select name="cm_kind" id="cm_kind" class="w250">
<?
$cm_kind = $this->config->item('cm_kind') ;
for($i=0;$i<count($cm_kind);$i++){
?>
<option value="<?=$i?>"><?=$cm_kind[$i]?... | PHP |
<?php
class Comment_model extends CI_Model{
function __construct()
{
parent::__construct();
}
/*function get_all_comment($num, $offset, $kind=0)
{
if($kind) $this->db->where('comment.cm_kind', $kind);
$this->db->select('lb_email,fm_comment.*') ;
$this->db->order_by('comment_id','D... | PHP |
<?php
class Comment_model extends CI_Model{
function __construct()
{
parent::__construct();
}
function get_all_comment($num, $offset, $kind=0)
{
if($kind) $this->db->where('fm_comment.cm_kind', $kind);
$this->db->select('lb_email,fm_comment.*') ;
$this->db->order_by('comment_id','... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Comment extends CI_Controller
{
public $_module_name = "";
public $pre_message="";
function __construct()
{
parent::__construct();
$this->_module_name = $this->router->fetch_module();
$this->load->c... | PHP |
<?php
//Vi tri cac banner
$config['pos_banner'][] = 'Chưa chọn' ;
$config['pos_banner'][] = 'Home' ;
$config['pos_banner'][] = 'Right' ;
$config['pos_banner'][] = 'Show detail' ;
$config['pos_banner'][] = 'Khám phá - Artist' ;
//Các loại comment
$config['cm_kind'][] = 'Chưa chọn' ;
$config['cm_kind'][] = '... | PHP |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
$lang['type']="Banner type";
$lang['choose_type']="Choose type";
$lang['name']="Tiêu đề";
$lang['link']="Liên kết";
$lang['image']="Hình ảnh";
$lang['position']="Vị trí";
$lang['order']="Thứ tự";
$lan... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="w150 label required"><?=lang('banner.type');?></td>
<td>
<select name="banner_type" id="banner_type" style="width:250px;">
<option value=""><?=lang('banner.choose_type');?></option>
... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="w150 label required"><?=lang('banner.type');?></td>
<td>
<select name="banner_type" id="banner_type" style="width:250px;">
<option value=""><?=lang('banner.choose_type');?></option>
... | PHP |
<?
$attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open($this->_module_name.'artist/dels', $attributes);
?>
<table class="admindata">
<thead>
<tr>
<th colspan="8"> <input type="submit" onClick="return verify_del();" name="btn_submit" class="submit" value="<?=lang(... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="w150 label"><?=lang('type');?></td>
<td>
<select name="banner_type" id="banner_type" style="width:250px;">
<option value=""><?=lang('choose_type');?></option>
<?php foreach($list_ban... | PHP |
<?=form_open(uri_string());?>
<table class="form">
<tr>
<td class="w150 label required"><?=lang('banner.type');?></td>
<td>
<select name="banner_type" id="banner_type" style="width:250px;">
<option value=""><?=lang('banner.choose_type');?></option>
... | PHP |
<?=form_open(uri_string(),array('id'=>'adminform'));?>
<table class="form" style="">
<tr>
<td class="w150 label">Tên Picture</td>
<td><input type="text" name="bntop_name" class=" w300" value="<?=$bntop_name?>"></td>
</tr>
<tr>
<td class="label">Link Picture</td>
<td... | PHP |
<?
$attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open($this->_module_name.'/banner/dels', $attributes);
?>
<input type="hidden" name="offset" value="<?=(int)$offset?>">
<table class="admindata">
<thead>
<tr>
<th colspan="6"> <input type="submit" onclick="return... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Banner_model extends CI_Model
{
function __construct()
{
parent::__construct();
}
function getAllBanner($num,$offset)
{
$this->db->where('bl_active !=', -1);
$this->db->order_by('dt_create','DESC');
retur... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Artist_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
function get_all($num, $offset, $banner_type='')
{
//if($banner_type) $this->db->where('banner_type', $banner_type);
... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Banner extends CI_Controller
{
public $_module_name = "";
function __construct()
{
parent::__construct();
$this->_module_name = $this->router->fetch_module();
$this->lang->load('banner');
$this->load... | PHP |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Artist extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->_module_name = $this->router->fetch_module().'/';
$this->pre_message = "" ;
$this->load->model('artist_model','artist');
... | PHP |
<?php
//Vi tri cac banner
$config['pos_banner'][] = 'Chưa chọn' ;
$config['pos_banner'][] = 'Home' ;
$config['pos_banner'][] = 'Right' ;
$config['pos_banner'][] = 'Show detail' ;
$config['pos_banner'][] = 'Khám phá - Artist' ;
?> | PHP |
<div class="box-white"><?=$title?></div>
<div class="box-content">
<?$attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open('admin/dels', $attributes);?>
<input type="hidden" name="page" value="<?=(int)$this->uri->segment('3')?>">
<table class="admindata">
<thead>
... | PHP |
<script type="text/javascript">
function insert(file){
$("#hinhanh", top.document).val(file);
windowClose();
}
</script>
<? $seg2 = $this->uri->segment(2); ?>
<div class="media-upload-header">
<ul id="menu">
<li><a href="<?=base_url()?>editor/index" <? if($seg2=='index'){echo ' c... | PHP |
<script type="text/javascript">
function insert(file){
$("#hinhanh", top.document).val(file);
parent.$.fn.colorbox.close();
}
</script>
<? $seg2 = $this->uri->segment(2); ?>
<div class="media-upload-header">
<ul id="menu">
<li><a href="<?=base_url()?>editor/index" <? if($seg2=='index'){echo ' c... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.