<?php
/***************************************************************************
*                                                                          *
* Copyright (c) 2005 ISPG Technologies (I) Pvt Ltd. All rights reserved.   *
*                                                                          *
* This  is  commercial  software,  only  users  who have purchased a valid *
* license  and  accept  to the terms of the  License Agreement can install *
* and use this program.                                                    *
*                                                                          *
****************************************************************************
* PLEASE READ THE FULL TEXT  OF THE SOFTWARE  LICENSE   AGREEMENT  IN  THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE.            *
****************************************************************************/	//
//$Id:	InstantbannerModel.php,	v	1.0	2013/03/13	
//
class InstantbannerModel extends Model
{
	public function listBanner($params=array())
	{
		extract($params);
		
		$sql="
			SELECT
				* 
			FROM
				".DB_PREFIX."instant_banner
			WHERE
				bannerStatus!='D'
		";
		return $this->ObjDatabase->readValues($sql);
	}
}
