HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/awaldron/www/archive/ras/application/controllers/stonegate.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Stonegate extends CI_Controller {

	public function index()
	{
		$data = array();
		$data['page_title'] = "The Village at Stonegate";
		$data['tab_on'] = 'devs';
		$data['split'] = false;
		$data['slider'] = false;
		
		$gal_ids = array(10,11,14); 
		$this->db->select();
		$this->db->from("ras_gallery as A, ras_gallery_phogal as B, ras_gallery_photo as C");
		$this->db->where_in("A.gal_id", $gal_ids);
		$this->db->where("B.gal_id = A.gal_id");
		$this->db->where("B.order = 1");
		$this->db->where("B.photo_id = C.photo_id");
		$this->db->order_by("A.gal_id", "ASC");
		
		$q =  $this->db->get();		
		$data['gdata'] = rset($q);
		
		$this->load->view('v_page_head',$data);
		$this->load->view('vStonegate');
		$this->load->view('v_page_foot');
	}
	
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */