?>
</option><option value="1">Buy</option><option value="2">Sell</option></select>
           
       
                              </td>
                            </tr>
                         
                            <tr>
                              <td height="35">Property Type:</td>
                              <td height="35">&nbsp;</td>
                              <td height="35">
 <select name="category" size="1" id="category" class="selectfield"><option selected="selected" value="<?php 
echo $property_details['estate_type'];
?>
"><?php 
echo UserFunctions::getPropertyTypeName($property_details['estate_type']);
?>
</option><option value="1">Kothi</option><option value="2">Flat</option><option value="3">Plot<option value="4">PG</option><option value="6">Agricultural Land</option>
           
            </select>
           
       
                              </td>
                            </tr>
                             <tr>
                              <td height="35"> Description</td>
                              <td height="35">&nbsp;</td>
                              <td height="35"><label>
                                <textarea name="des"><?php 
echo $property_details['estate_des'];
?>
                      <td width="163" rowspan="2">&nbsp;</td>
                      <td width="407" height="33"><table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="292"><div id="add_title"><h3><a href="#"><?php 
    if ($row['estate_pur'] == 1) {
        echo "Buy";
    } else {
        echo "Sell";
    }
    ?>
</a></h3></div></td>
                            <td width="108">&nbsp;</td>
                          </tr>
                          <tr>
                          <td colspan="2"><p id="meta-info">Property&nbsp;|&nbsp;<?php 
    echo UserFunctions::getPropertyTypeName($row['estate_type']);
    ?>
</p></td>
                      </table></td>
                    </tr>
                    <tr>
                      <td><p id="des-info"><?php 
    echo $row['estate_des'];
    ?>
</p></td>
                    </tr>
                     <tr><td>&nbsp;</td>
                    
                    <td><p id="contact-info">Address:&nbsp;<?php 
    echo $row['estate_loc'];
    ?>