<?php

require_once "administrator/includes/UserFunctions.php";
require_once "administrator/includes/ADAO.php";
require_once "administrator/includes/projectConstant.php";
$cat_id = 1004;
$banner = UserFunctions::getBannerName($cat_id);
$key = $_GET['search_key'];
$cat = $_GET['category'];
$city = $_GET['city'];
$res = ADAO::getClassifiedSearchCase($key, $cat, $city);
switch ($res) {
    case 1:
        $result = ADAO::getClassifiedsSearchPriorityWise($key, $cat, $city);
        break;
    case 3:
        $result = ADAO::getClassifiedsSearchDirect($key, $cat, $city);
        break;
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Social Search Book</title>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen"/>
<style type="text/css">
<!--
body {
	background-image: url(images/pgbg.jpg);