<?php 
	class AboutsController extends AppController{
		public $name = 'Abouts';
		public $components = array('RequestHandler', 'Session');
		public $uses = array('About','News');
		
		
		
		public function index(){
			$data = $this->About->find('all');
			$this->set(compact('data'));
			
			$new = $this->News->find('all', array('conditions'=>array('status'=>'1'), 'limit'=>'3', 'order'=>'id desc'));
			$this->set(compact('new'));
			//debug($new);exit;
		}
		
		
		
		
		
		
	}





?>