PHP 8.1.33
Preview: Modal.php Size: 1.08 KB
/home/jambtst2015/public_html/app/application/controllers/Modal.php

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Modal extends CI_Controller {

	
	function __construct()
    {
        parent::__construct();
		$this->load->database();
		$this->load->library('session');
		/*cache control*/
		$this->output->set_header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');
        $this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
        $this->output->set_header('Pragma: no-cache');
        $this->output->set_header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); 
    }
	
	/***default functin, redirects to login page if no admin logged in yet***/
	public function index()
	{
		
	}
	
	
	/*
	*	$page_name		=	The name of page
	*/
	function popup($page_name = '' , $param2 = '' , $param3 = '')
	{
		$account_type		=	$this->session->userdata('login_type');
		$page_data['param2']		=	$param2;
		$page_data['param3']		=	$param3;
		$this->load->view( 'backend/'.$account_type.'/'.$page_name.'.php' ,$page_data);
		
		echo '<script src="assets/js/neon-custom-ajax.js"></script>';
	}
}

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
6.00 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
94.87 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
131 B lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
484 B lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
7.09 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
29.60 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.08 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
967 B lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
15.58 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
18.88 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
18.17 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
32.89 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.66 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).