Server IP : 192.185.129.71 / Your IP : 3.16.147.87 Web Server : Apache System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : svymadmin ( 4072) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home4/svymadmin/public_html/application/controllers/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home 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 controller is set as the default controller in * config/routes.php, it's displayed at http://example.com/ * * So any other public methods not prefixed with an underscore will * map to /index.php/welcome/<method_name> * @see https://codeigniter.com/user_guide/general/urls.html */ public function index() { $this->load->view('aindex'); } public function viewPage() { $this->load->view("viewPage"); } public function annual_report() { $page_data["annualreport"] = $this->db->get("annual_report")->result_array(); $this->load->view('annual_report',$page_data); } public function story() { $page_data["annualreport"] = $this->db->get("annual_report")->result_array(); $this->load->view("story",$page_data); } public function story_details() { $page_data["annualreport"] = $this->db->get("annual_report")->result_array(); $this->load->view("story_details",$page_data); } public function event() { $page_data["annualreport"] = $this->db->get("annual_report")->result_array(); $this->load->view("event",$page_data); } public function event_detail() { $page_data["annualreport"] = $this->db->get("annual_report")->result_array(); $this->load->view("event_detail",$page_data); } }