Scrip php busca
/**
* @Copyright Copyright (C) 2012 ... Ahmad Bilal
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* Company: Buruj Solutions
+ Contact: www.burujsolutions.com , ahmad@burujsolutions.com
* Created on: April 05, 2012
^
+ Project: JS Autoz
^
*/
defined('_JEXEC') or die('Restricted access');
$title = $params->get('title');
$shtitle = $params->get('shtitle');
$radiuslimit= $params->get('radiussearch');
$make = $params->get('make');
$vsmodel = $params->get('model');
$modelyear = $params->get('modelyear');
$price = $params->get('price');
$reglocation = $params->get('reglocation');
$loclocation = $params->get('loclocation');
$mileage = $params->get('mileage');
$transmission = $params->get('transmission');
$condition = $params->get('condition');
$fueltype = $params->get('fueltype');
$engcapacity = $params->get('engcapacity');
$exteriorcolor = $params->get('exteriorcolor');
$cylinder = $params->get('cylinder');
$sliding= $params->get('sliding','1');
$consecutivesliding= $params->get('consecutivesliding','3');
$noofcolperrow= $params->get('noofcolperrow','1');
$itemid= $params->get('itemid');
$colwidth = round(100 / $noofcolperrow);
$colwidth = $colwidth.'%';
$colcount = 1;
$curdate = date('Y-m-d H:i:s');
$componentAdminPath = JPATH_ADMINISTRATOR . '/components/com_jsautoz';
$componentPath = 'components/com_jsautoz';
$trclass=array('odd','even');
require_once $componentPath . '/models/modplug.php';
require_once $componentPath . '/models/buyer.php';
$model = new JSAutozModelModplug();
$model1 = new JSAutozModelBuyer();
$config = $model->getConfig('default');
$lang = & JFactory :: getLanguage();
$lang->load('com_jsautoz');
$searchoption = $model1->getModSearchOptions();
$document =& JFactory::getDocument();
$document->addStyleSheet('components/com_jsautoz/themes'.$config['theme']);